-
Notifications
You must be signed in to change notification settings - Fork 21
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
MQTT Issues - reconnects and status #154
Comments
You are right, that fix is implemented in v3.7.2, and was tested by the people having the issue. |
Which MQTT server on which OS are you using? |
Mosquitto as official addon on Home Assistant OS |
Do you have the possibillity to install a standalone mosquitto server on Linux to see if this behaviour persists with your SmartEVSE? |
I should be able to try in docker container on a server, outside of HA. Will try later today and let you know. |
I have tested by installing official docker image of mosquitto, running on unraid server.
|
Rebooting the controller seems the most logical thing to do in this test situation... |
Strange - rebooted EVSE (did that yesterday too), and I no longer see that behavior neither on mosquitto docker not in HA addon |
This strange behaviour should be solved in this version: Please test! |
Describe the bug
I have configured my MQTT details. It connects fine to the server, I verified it via mqtt explorer, device is correctly reporting all the values. However there are 2 issues:
webinterface of EVSE always shows "disconnected"
I see lot of reconnects on the mqtt server, like every minute. I found topic SmartEVSE randomly goes to unavailable in HA when connected via MQTT #115 which seems similar to what people were seeing, but it suggested fix would be incorporated in 3.7.0. I am on 3.7.2
Published state on mqtt server in SmartEVSE-xxxx/connected topic (mosquito addon in HA) is bouncing from offline to online constantly.
Publishing anything to /set/ topic works only if I make few tries to publish the same value. Perhaps it has something to do with often reconnects? Maybe it is also why webUI doesn't show it properly?
Upload your config
Press the "raw" button in the SmartEVSE webserver and upload the json settings file, so we can look at your configuration.
-attached
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect no reconnects on MQTT server. This is the only client that does this. Also I would expect "connected" status in the webUI
Screenshots
See above
settings.json
The text was updated successfully, but these errors were encountered: