fabiobui / node-red-contrib-myhome-bticino

MIT License
3 stars 0 forks source link

How to manage calls to group (of lights) #3

Open FredBlo opened 3 years ago

FredBlo commented 3 years ago

Managing lights works fine in ON/OFF modes. I would have liked to process group requests.

I looked and such requests are very similar in OpenWebNet,

Therefore I used a light point node and set the group name ('#11' in my sample) as 'Light' in node. Everything works fine (to push state or get state when group calls are invoked on the BUS). Only flaw is that node-red considers the node as badly configured (since it does not expect the '#')

Could it be possible to add a new node type for group light calls knowing this ? (or extend the current light to also 'support' group light param including the '#')

Thanks

FredBlo commented 3 years ago

Fyi, I refactored a new node-red nodes set 'node-red-contrib-myhome-bticino-v2' based on this one. In this v2, this improvement request is included, and new functionalities have been added too. See detailed Node-RED info page for more info about improvements, bug fixes & upgrade info/procedure. Feel free to discuss about it directly on GitHub (either issues or discussions)