Open anjos opened 6 months ago
Just to clarify: are you missing the group or the devices within that group?
Did you set anything specific related to groups in your plugin configuration?
The group. I did not set anything specific to the missing groups.
Here is some extra information: deleting and recreating the groups does not work anymore - even if I use a different group id. Frankly, I'm a bit lost.
Some of the groups actually survive the reboot, but are not shown as lights on the Home app, but have a "house icon" instead.
In the logs it should show which exposes information is used for a group when Homebridge starts (might have to enable debug logs for that). Can you check those logs?
It might be that one of the devices in the group has erroneous/incorrect exposes information. Only properties supported by all devices in the group will normally be used, unless you specify the information by hand in the plugin configuration.
Thanks for pointing me somewhere, @itavero - I'll check the plugin logs and come back when I understand this better.
That was right on the money, @itavero - all affected groups contain plugs (either from Ikea or Philips Hue). The presence of the plug may be affecting the exposure as you suggested.
I enabled debug logs in homebridge using the asterisk *
setting.
Nothing strikes me as faulty. Of course, other smart lights (bulbs) expose more information, however it would make sense that at least the ON/OFF functionality works across all devices.
Would you have any follow-up remarks and tips to get this working? Thanks!
So you have a switch
and a light
in the same group?
I can imagine that they do not really have overlapping exposes information, even though they do have similar properties.
The Homebridge logs should also show the exposes
information used for the group (or perhaps an error if it failed to determine it).
Either way, the solution will probably be to manually specify the exposes
information to be used for this group (e.g. take the one from the light and remove pretty much everything except the state
or something like that).
It appears that this issue did not have an update in quite some time. Please check if you can provide any additional information to help resolve this issue. If there isn't any activity in the next two weeks, this issue will be closed automatically. Thank you for your contributions!
Is there an existing issue for this?
Describe the bug
I have an issue with this plugin where I loose some of my grouped devices between restarts of this plugin.
It does not happen to all grouped devices. Those with scenes in z2m seem to be more affected than other grouped devices, however I have not yet understood why.
If I delete and recreate the group in z2m (and re-program all scenes), then it works - homebridge-z2m can detect the grouped device and correctly expose it to the Home App. After the next reboot, select group devices (always the same few) are gone again and I have to redo it once more.
Any ideas on where to look for issues?
Related devices
Grouped devices containing z2m scenes.
Related Devices
No response
Steps To Reproduce
As narrated above, however I understand I'm providing limited information. Please let me know how to complement it.
Expected behavior
Grouped devices should survive reboots of this plugin.
Device entry
Status update
Messages from this plugin