Description
First of all. Thank you for making this great pallet for Node-RED! I use it with a lot of pleasure to enable non-Friends of Hue devices to Homekit. Huemagic allows me to make more advanced sensor scenes that are not possible with Hue. And I can easily communicate with a low memory device like an Arduino while I save a lot of time by making cases/intelligence parts on the Node-RED side.
Describe the bug
The group node does not return the status payload when all lights in the group changed to on or to off.
According to the manual it should return the status payload.
"If a change in the group is detected, the following status message is returned from the node. Please note that the group only outputs status messages when either the last light is switched off or when the first light is switched on (if all were switched off beforehand)."
Flow to Reproduce
Add a group node with a debug node to read status. Turn all the lights off in this group via the (e.g. Hue) app. The group node does not return the status payload. If you inject the group node with payload.status = true, the group node generates the status payload.
In my testcase I use a group with only two bulbs. No other devices. I want to be sure that the switch might be counted as a device. I could add code, but that would be specific for my house. The work to adapt it is more than to drop these 3 nodes by yourself.
Please complete the following information:
- Node-RED version: 2.2.2
- NodeJS version: 14.19.0
- Device running Node-RED: 2 Pi's.
Activity