-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Server & username & password automatic detection #134
Comments
As the config is managed through a manually created file, not sure how this would be possible? |
@sinclairpaul You may find how it is implemented in Zigbee2MQTT https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/blob/6d5d0e5fd3b37c840a3b218814905914fa3c1e5f/common/rootfs/docker-entrypoint.sh#L89-L100 |
Thanks I'm aware, and it's passed through Environment Variables, this application has a file managed by the user. |
Yes, and if server/username/password not specified by the user then it consumed from the env vars. It is super helpful (end easy to use) for simple setup like mosquitto, mqtt and mqtt-io on the same machine. |
Which is due to the fact that the application supports configuration via Environment Variables, this doesn't. You can look at the MQTT IO documentation for reference which this addon installs. |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
I've added support for the environment variables https://github.com/flyte/mqtt-io?tab=readme-ov-file#execution |
Problem/Motivation
It would be really great to have automatic detection of
server
&username
&password
for local mosquitto installation.Expected behavior
Like in
Zigbee2MQTT
:https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/blob/6d5d0e5fd3b37c840a3b218814905914fa3c1e5f/common/rootfs/docker-entrypoint.sh#L89-L100
Actual behavior
Manual configuration
The text was updated successfully, but these errors were encountered: