hassio-addons / addon-grafana

Grafana - Home Assistant Community Add-ons
https://addons.community
MIT License
221 stars 61 forks source link

impossible to configure plugin marcusolsson-csv-datasource #223

Closed Sylv63 closed 2 years ago

Sylv63 commented 2 years ago

Problem/Motivation

I want to allow local mode into marcusolsson-csv-datasource plugin

Expected behavior

I need to add in config file [plugin.marcusolsson-csv-datasource] allow_local_mode = true

So I use env_vars option

env_vars:

Actual behavior

error on save

Échec de l'enregistrement de la configuration du module complémentaire, not a valid value. Got {'plugins': ['marcusolsson-csv-datasource'], 'env_vars': [{'name': 'GF_PLUGIN_MARCUSOLSSON_CSV_DATASOURCE_ALLOW_LOCAL_MODE', 'value': True}], 'ssl': True, 'certfile': 'fullchain.pem', 'keyfile': 'privkey.pem'}

Steps to reproduce

I try

env_vars:

env_vars:

env_vars:

Sylv63 commented 2 years ago

I find the solution

env_vars:

name: GF_PLUGIN_MARCUSOLSSON_CSV_DATASOURCE_ALLOW_LOCAL_MODE value: 'true'

I can save now, but not work "local mode has been disabled by your administrator"

I try also name: GF_PLUGIN_MARCUSOLSSON_CSV_DATASOURCE_ALLOW_LOCAL_MODE value: on

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!