homebridge-homematic
homebridge-homematic copied to clipboard
No updates in Homebridge/HomeKit after rebooting the CCU
Hi all,
if I reboot my CCU3, Homebridge does not get any updates, neither in the WebUI nor in the Home-App on an iPhone or iPad. In the CCU3 I can still see that for example a Motion Detector (HmIP-SMI) has detected something.
As soon as I restarted the Homebridge services it is working fine again.
CCU3: 3.63.9 Homebridge: 1.4.1 Node.js: 14.19.3 homebridge-homematic: v0.2.226
Any idea how I can solve this? Logs are showing nothing.
Thanks a lot, KoMa1978
This is by design. HomeBrdige subscribes to CCU to receive events. If CCU reboots the CCU no longer knows about these subscriptions and does not send any more event updates to homebridge.
Workaround: In your CCU you can start a program on reboot, which restarts the service on homebridge.
Or you switch to HAP-HomeMatic CCU Plug-In.
I‘ll try that Programm. I assume the HAP Plug-in is the more elegant version but since my CCU is in a separate VLAN than my iPhones I assume they won’t find the HomeKit devices.
I‘ll try that Programm. I assume the HAP Plug-in is the more elegant version but since my CCU is in a separate VLAN than my iPhones I assume they won’t find the HomeKit devices.
If you have multiple LANs or VLANs, then you can put Avahi on the Router which will forward the Bonjour broadcasts.
Would it be possible to implement an automatic re-connect? Using the PING command of the XMLRPC service, the plugin could periodically check if the connection to the CCU is still alive and attempt to re-connect if it isn't. This way it should never be necessary to restart anything if the connection is lost temporarily. Connection loss can happen for a number of reasons, including CCU reboot but also other changes in the network.