Skip to content
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

No updates in Homebridge/HomeKit after rebooting the CCU #710

Open
KoMa1978 opened this issue Jun 17, 2022 · 4 comments
Open

No updates in Homebridge/HomeKit after rebooting the CCU #710

KoMa1978 opened this issue Jun 17, 2022 · 4 comments

Comments

@KoMa1978
Copy link

KoMa1978 commented Jun 17, 2022

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

@jb-home
Copy link
Contributor

jb-home commented Jun 18, 2022

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.

@KoMa1978
Copy link
Author

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.

@dkrizic
Copy link

dkrizic commented Jun 18, 2022

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.

@arrizer
Copy link

arrizer commented Aug 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants