sfudeus / homematic_exporter

Prometheus exporter for homematic ccu3
Apache License 2.0
23 stars 17 forks source link

config parameters as enviroment variables #33

Open DanielWeeber opened 2 years ago

DanielWeeber commented 2 years ago

parameters for /usr/local/homematic_exporter (esp. "ccu_host") should be configurable via enviroment variables

would be better/easier/more usual for running as a docker

sfudeus commented 2 years ago

Agreed - unfortunately the Python library I am using does not have support for initializing cli args based on environment variables. Setting defaults from env would have the drawback of losing the explicit definition of required arguments.