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

Loosing all Hue Devices after a few seconds #866

Closed
mareeekkkk opened this issue Dec 27, 2020 · 8 comments
Closed

Loosing all Hue Devices after a few seconds #866

mareeekkkk opened this issue Dec 27, 2020 · 8 comments
Labels

Comments

@mareeekkkk
Copy link

Similar issue to #824

Hi!
After updating the homebridge-hue plugin some days ago, all lights defaulted back to the Standardroom. After a few seconds, they disappear. Every other Homebridge Accessory is running good (Samsung Tizen, Unifi Protect Camera etc.)

I did a clean install of homebridge with LTS version of Homebridge, homebridge-hue and node / npm. Still no change, same problem occurs. The lights come back after a homebridge restart and then disappear after a few seconds.

Switched to Homebridge 1.3.0-beta.33 like described in #824. Still no change, same behaviour.

Heres a debug dump:
homebridge-hue.json.zip

Thank you for your support! If more information or testing is required i will provide what i can 👍

@ebaauw
Copy link
Owner

ebaauw commented Dec 27, 2020

This is probably caused by the Hue app, syncing HomeKit with the Hue bridge configuration, or by an old iOS version, causing the sync over iCloud between your devices to fail. See #813.

@mareeekkkk
Copy link
Author

I created a new HomeKit "Home" with no sharing. Removed all other iCloud devices from Home-Sync. Added only homebridge and didn't touch the Hue-App at all. It's not added as accessory nor configured for HomeKit use.

Same issue as before. All lights disappear after a few seconds.

@ebaauw
Copy link
Owner

ebaauw commented Dec 27, 2020

As I explain in #813, technically Homebridge Hue cannot make accessories disappear.

Removed all other iCloud devices from Home-Sync.

I have no idea what that means. Did you turn of Home under Apps using iCloud in the iCloud settings of all your devices (except the one you're using to interact with the new home). Including any Home hub(s)? It's probably easier to create the new home under a different iCloud account.

@mareeekkkk
Copy link
Author

Yes, turned off the iCloud syncs for all devices using this iCloud account. I started a new issue on the Homebridge Github. #2760
If its not a Plugin issue i hope there is some solution to the problem. I am curious because i have multiple places where i maintain homebridge setups with the same configuration (homebridge+hue) and they all run the same softwareversions and i never had this problem before.

@ebaauw
Copy link
Owner

ebaauw commented Dec 27, 2020

Are you saying it's also accessories by other plugins? In that case, it's probably an issue with Homebridge starting with the wrong configuration, not exposing any accessories, and HomeKit kicking them out. After you restart Homebridge with the right config, the accessories are re-exposed, but HomeKit sees them as new accessories. Double-check how you start Homebridge, under which user, with which user directory (containing config.json), using sudo or not, etc. Are you sure you changed the username in the bridge section when creating a new Homebridge instance?

@mareeekkkk
Copy link
Author

Sorry, i wrote it wrong in the Homebridge Issue #2760. Its only the hue lights that disappear. I will doublecheck everything tomorrow. But i already did a clean install of the raspberry following the official install guide, and the same problem occured.
More and more, i am concerned that it has something to do with the iCloud or iOS device setup.

@ebaauw
Copy link
Owner

ebaauw commented Jan 8, 2021

More and more, i am concerned that it has something to do with the iCloud or iOS device setup.

That, or the Hue app syncing the Hue bridge config with HomeKit. I'll refrain from exposing Unqiue ID in the next version of Homebridge Hue, so the Hue app should no longer mess with accessories exposed by Homebridge Hue.

@mareeekkkk
Copy link
Author

Just to update you on this issue. I sorted it out by removing all devices from the iCloud Home sync, creating a new home and adding a fresh install of homebridge to Homekit. So issues since then.
Thanks for your support!

@ebaauw ebaauw closed this as completed Jan 8, 2021
ebaauw added a commit that referenced this issue Jan 8, 2021
- Remove _Configured Name_ characteristic, see #861;
- Remove _Unique ID_ characteristic, see #866.
- Handle case where same resource is in different type resourcelinks (`outlet`, `switch`, `valve`), see #882;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants