Greetings and Help!
I am trying to set up mqtt on my new homeassistant on a raspberry pi 4 running homeassistant os
- Core2024.1.6
- Supervisor2024.01.1
- Operating System11.5
- Frontend20240104.0
I have installed the mqtt add on. I have configured the broker to:
the defaults. No user names supplied. It seems to start OK.
But when I try to start the client i get the following error if I point to my IP address with user and password listed in my user list. debug output:
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.1.6",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.11.6",
"docker": true,
"arch": "aarch64",
"timezone": "America/New_York",
"os_name": "Linux",
"os_version": "6.1.63-haos-raspi",
"supervisor": "2024.01.1",
"host_os": "Home Assistant OS 11.5",
"docker_version": "24.0.7",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {},
"integration_manifest": {
"domain": "mqtt",
"name": "MQTT",
"codeowners": [
"@emontnemery",
"@jbouwh"
],
"config_flow": true,
"dependencies": [
"file_upload",
"http"
],
"documentation": "https://www.home-assistant.io/integrations/mqtt",
"iot_class": "local_push",
"quality_scale": "gold",
"requirements": [
"paho-mqtt==1.6.1"
],
"is_built_in": true
},
"data": {
"connected": true,
"mqtt_config": {
"broker": "192.168.1.122",
"port": 1883,
"username": "**REDACTED**",
"password": "**REDACTED**",
"discovery": true,
"discovery_prefix": "ha",
"birth_message": {
"topic": "ha/status",
"payload": "online",
"qos": 0,
"retain": false
},
"will_message": {
"topic": "ha/status",
"payload": "offline",
"qos": 0,
"retain": false
}
},
"devices": [],
"mqtt_debug_info": {
"entities": [],
"triggers": []
}
}
}
when i look at the errors it says that the user is not valid. If I point the client to another mosquitto broker running on another raspberry pi it works fine.
What am I doing wrong?
Thank in advance!
L. Schenk