hassio-addons / addon-mqtt-io

MQTT IO - Home Assistant Community Add-ons
MIT License
35 stars 21 forks source link

How to find passwords for `homeassistant` or `addons` users? #132

Open mahnunchik opened 1 month ago

mahnunchik commented 1 month ago

Problem/Motivation

https://github.com/home-assistant/addons/blob/master/mosquitto/DOCS.md#home-assistant-user-management

According to the documentation homeassistant and addons users are pre-registered. I'd like to use mqtt-io addon with Mosquitto broker. Since this is an addon, it makes sense to use the existing addons user for it.

How to find passwords for homeassistant or at least addons user?

Maybe there is some predefined user/pass that can be used in mqtt-io config?

/homeassistant/mqtt-io/config.yml

mqtt:
  host: homeassistant.local
  topic_prefix: mqtt_io
  user: homeassistant #OR addons
  password: #?????????????????
  ha_discovery:
    enabled: yes

Expected behavior

It should be possible to find password for addons user to specify it in addon config.

Actual behavior

I couldn't find the password.

Steps to reproduce

  1. Install Mosquitto broker
  2. Install MQTT IO
  3. I'm shocked that the addon can't connect...
mahnunchik commented 1 month ago

https://github.com/home-assistant/addons/issues/3765

sinclairpaul commented 1 month ago

Depends on the addon configuration itself, you are linking documentation for the Mosquitto addon which doesn't apply.

github-actions[bot] commented 3 weeks 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!

mahnunchik commented 3 weeks ago

I'm working on it to fix this issue https://github.com/flyte/mqtt-io/issues/406