a529987659852 / openwbmqtt

Custom component for home assistant supporting openWB wallbox
35 stars 16 forks source link

always get Client disconnected, not authorised. #65

Closed rbartholomay closed 7 months ago

rbartholomay commented 7 months ago

HI there,

i have a working integration in my old and current homeassistant instance. Currently i work on a switch on a new device. So have install "Mosquitto broker" in HomeAssistant and it working. When is connect my MQTT Explorer to the new HomeAssistant device i see the complete openWB Object.

So i install openwbmqtt with the correct config. But it seems that the openwbmqtt add-on cannot connect to the "Mosquitto broker". I get always "not authorised"

2024-01-19 17:43:15: New connection from 172.30.32.1:35289 on port 1883.
2024-01-19 17:43:15: Client 2wLFgiTai6HF6h0ekEPp6U disconnected, not authorised.

What did I forget? Any idea?

Bye , René

Mosquitto broker 6.4.0 openwbmqtt v0.5.12

Home Assistant:

Core 2024.1.3 Supervisor 2023.12.1 Operating System 11.4 Frontend 20240104.0

rbartholomay commented 7 months ago

... it seems that a new added homeassistant user is not allowed to communicate with the mosquitto broker. I search in the configs for the defined homeassistant user and use this password and it works... really strange....