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
Supla device not always connect after reboot #3072
Comments
If this Supla device doesn't connect, isn't it more likely that the issue is on that device' side? Has the Supla device logs you can see if connection attempt fail or something? |
I check this, devices was still connected to Supla servers, but Mosquitto after restart HA do not connect to mqtt86.supla.ogr mqtt service/broker. As shown |
Sorry, I am not familiar with Supla devices and don't understand how this all works/is connected. To me it sounds like Mosquitto add-on is somehow connected to the Supla servers? How is this working/how is this configured? |
General connections are: WIFI DEVICE <=> internet <=> SUPLA CLOUD / MQTT BROKER <=> internet <=> HA/MOSQUITTO Issue occur between connection Mosquitto and Supla broker. Because usual issue occur after restart HA then starting Mosquitto probably waiting for other local/HA service or there are no network or some other reason, not sure because cannot found logs. Can anybody tell me where are store Mosquitto logs? Have Home Assistand add-on. |
There is the Logs tab on the add-on page. But you are probably looking for old logs? You can use the host logs and use the add-on name as identifier to get old logs, e.g.
Check |
It seems that this is essentially a duplicate of #3012? |
Yes, this is the same issue, also have bridge connection in Mosquitto in file /share/mosquitto/bridge.conf: `connection bridge-kjaoirYdiYTd address mqtt86.supla.org:8883 When issue occur then simple restart Mosquitto establish connection to Supla broker happened due to restart HA but this is randomly cause, after one restart is connect successful, next restart cannot connect. Regarding logs yes, searching from longer time but have from today only, from about restart Mosquito time: [core-ssh ~]$ ha host logs -t addon_core_mosquitto |
Today restart HA and Z2M working but all sensors connected via bridge to Suplay MQTT broker again not udpated: Moquitto logs is, nothing special I think: s6-rc: info: service s6rc-oneshot-runner: starting And logs: [core-ssh ~]$ ha host logs -t addon_core_mosquitto |
did your resolved this issue? |
Found root of cause, the issue is in text below bolted, problem is bridge timeout. Summary - what is default timeout value for bridge and how to increase it? s6-rc: info: service s6rc-oneshot-runner: starting |
I don't have a log right now but can confirm this is also happening to me, issue on the mosquitto project here: eclipse/mosquitto#2634 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Anti-Stalebot bump... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Once again, a damned "Anti Stalebot" comment... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Think this can be closed by now since Mosquito has been updated to apparently fix this issue. |
For me, the requestor, update fix the issue so can be close. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Describe the issue you are experiencing
Time to time (cannot found the key, after restart HA manually or due to upgrade HA OS like yesterday end of day from 2023.5.3 -> 2023.5.4) devices integrated by Supla MQTT via mosquitto do not connect automatically to Supla servers. I have two devices MEW Zamel energy-meter and Gosound smart socket, both from restart time do not reporting data, some exposes of them below:
After restart mosquitto add-on data from Supla start downloading, one example:
Unfortunately cannot found long logs in UI, if someone can provide path in OS to mosquitto logs then I will deliver.
Very similar issue from quarter ago #2945
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Mosquitto broker
What is the version of the add-on?
6.2.1
Steps to reproduce the issue
System Health information
System Information
Home Assistant Community Store
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: