-
Notifications
You must be signed in to change notification settings - Fork 25
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
Sensors immediately become unavailable #77
Comments
This looks like the MQTT script keeps crashing, restarting and crashing again, etc... Can you show the log of the Add-on / or combined.log file in the data directory? |
The addon log was blank so I restarted it and got the following:
|
Looks fine to me, are you still getting disconnects? |
Maybe when you run the add-on with log level 'debug' there will be more information? I think this is an option in the add-on config... |
Hmmm, doesn't seem to give much more:
|
I think it is an issue with the MQTT broker then... Verify the password, url, etc... Try to get more debug logging on the MQTT broker side... On thing I encountered sometimes is that the HA MQTT add-on does not allow you to use The add-on seems to run fine up until the point it is trying to connect to the MQTT broker... |
Yeah I did try that already, and I saw the one about using homeassistant as the user name, which I haven't done. I will play around with the MQTT side though and see if I can get it working. Thanks. |
Got the wireless battery powered doorbell to be recognised and added to the MQTT but after 1 second it all the sensors become unavailable.
My MQTT log also looks like this:
1624557936: Socket error on client , disconnecting.
1624558056: New connection from 172.30.32.2 on port 1883.
1624558056: Socket error on client , disconnecting.
1624558176: New connection from 172.30.32.2 on port 1883.
1624558176: Socket error on client , disconnecting.
1624558296: New connection from 172.30.32.2 on port 1883.
1624558296: Socket error on client , disconnecting.
1624558416: New connection from 172.30.32.2 on port 1883.
1624558416: Socket error on client , disconnecting.
1624558536: New connection from 172.30.32.2 on port 1883.
1624558536: Socket error on client , disconnecting.
The text was updated successfully, but these errors were encountered: