Wie kann ich das MQTT-Passwort in Home Assistant auslesen?
24. Februar 2025 um 06:00
Das MQTT-Passwort lässt sich auf der Konsole des Home Assistant Systems in der Datei /mnt/data/supervisor/homeassistant/.storage/core.config_entries
finden. Der entsprechende Eintrag sieht bei mir wie folgt aus:
{
"created_at": "1970-01-01T00:00:00+00:00",
"data": {
"birth_message": {
"payload": "online",
"qos": 0,
"retain": false,
"topic": "homeassistant/status"
},
"broker": "localhost",
"discovery": true,
"discovery_prefix": "homeassistant",
"password": "hierstehtmeinmegalangesundkomplexespasswort",
"port": 1883,
"username": "homeassistant",
"will_message": {
"payload": "offline",
"qos": 0,
"retain": false,
"topic": "homeassistant/status"
}
},
Jetzt steht das Passwort in meinem Passwort-Manager KeePassXC und ich werde auf diesen Beitrag hoffentlich nicht so schnell zurückgreifen müssen.
Weitere Links zum Thema
- No longer able to retrieve password in HA #3603 – https://github.com/home-assistant/addons/issues/3603
- Home Assistant – https://www.home-assistant.io/
- Tasmota – https://tasmota.github.io/docs/
- Home Assistant Tasmota Integration – https://www.home-assistant.io/integrations/tasmota/
- Tasmota Home Assitant Integration – https://tasmota.github.io/docs/Home-Assistant/