Expose GPIO modules (Raspberry Pi, Beaglebone, PCF8754, PiFace2 etc.) and digital sensors (LM75 etc.) to an MQTT server for remote control and monitoring.
MIT License
470
stars
159
forks
source link
[Feature] Consume host/user/pass from env variables or command line #406
Is your feature request related to a problem? Please describe.
I'd like to bring to mqtt-io ability to be launched in single click as Home Assistant integration. To implement this, it is required to add the ability to read authentication related configuration values from environment variables or from the command line.
Is your feature request related to a problem? Please describe.
I'd like to bring to mqtt-io ability to be launched in single click as Home Assistant integration. To implement this, it is required to add the ability to read authentication related configuration values from environment variables or from the command line.
Describe the solution you'd like
Option 1: Env vars
Option 2: Command line arguments
The questions are:
Describe alternatives you've considered
It is possible to implement the similar behaviour on top of current implementation
More info: https://github.com/hassio-addons/addon-mqtt-io/issues/19
But in the maintainer's opinion and in my opinion, this is too complicated and error prone a design for configuration.
Additional context
I'd like to work on this feature in the core https://github.com/flyte/mqtt-io and ha addon https://github.com/hassio-addons/addon-mqtt-io/
Related issues: