Skip to content
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

Open
mahnunchik opened this issue Sep 19, 2024 · 7 comments
Open

[Feature] Server & username & password automatic detection #134

mahnunchik opened this issue Sep 19, 2024 · 7 comments

Comments

@mahnunchik
Copy link

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

@sinclairpaul
Copy link
Member

As the config is managed through a manually created file, not sure how this would be possible?

@mahnunchik
Copy link
Author

@sinclairpaul
Copy link
Member

Thanks I'm aware, and it's passed through Environment Variables, this application has a file managed by the user.

@mahnunchik
Copy link
Author

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.

@sinclairpaul
Copy link
Member

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.

Copy link

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!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Oct 21, 2024
@mahnunchik
Copy link
Author

I've added support for the environment variables https://github.com/flyte/mqtt-io?tab=readme-ov-file#execution

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants