-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
G2M devices show as unavailable until G2M restart #227
Comments
I experience the same, but I've only noticed it when restarting HA in general. After HA boots, the devices remain unavailable, until I restart the Govee Add-on |
I noticed that there was a recent update to the mqtt broker addon to increase the number of messages that it can handle, I suspect that updating that will improve your experience with this issue. |
I have the exact same issue where every time I restart home assistant, my Govee light will be unavailable until I restart the Govee to MQTT Bridge plugin. I'm using the most current version of Mosquitto broker (6.4.1) and still having this issue. |
same issue here |
Same issue here, need to restart the bridge after every home assistant reboot. Edit: I created an automation in nodered to restart the govee addon a few minutes after HA has started as a work around. |
Has this progressed at all or is it still an issue? I still experience it myself. |
Does govee2mqtt support home assistant status messages ( g2m needs to resend the availability and discovery topics after Home Assistant restarts, or send those with retain flag set to on initially otherwise when HA restarts, it is not aware of g2m. I don't see any code that would seem to handle the status messages. |
@mateuszdrab yes: govee2mqtt/src/service/hass.rs Lines 519 to 521 in f937ceb
|
I missed that then 😀 I just reconfigured the topic from Seems to work now 😀 |
Govee Device SKU
H6159, H7060
Govee2MQTT Version
2024.04.29-30cf7732
Describe the issue
Randomly devices disappear and stop updating from Govee2Mqtt. In HA the devices appear as unavailable (2 x H6159, 2 x H7060), restarting Govee2Mqtt alone fixes the issue and the devices then appear as available from HA.
One theory I have is my flood lights which are on a separate smart switch (because it's on an extension cord shared with some other dumb devices that need on/off functionality) gets turned off from the external switch then perhaps G2M doesn't handle an existing Govee device dropping from network and it breaks mqtt functionality for all devices that are still on the network?
Before the restart of G2M, container logs show requesting updates but nothing is propagated to HA.
Startup Diagnostics
This is as far back as the logs show. Since restart fixes, logs after restart are not as useful.
Additional Logs
After Restart of G2M (this happened when all devices were online during day)
Home Assistant Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: