deconz-community / node-red-contrib-deconz

Node-Red Nodes for deCONZ connectivity.
GNU General Public License v3.0
84 stars 16 forks source link

monitor groups #3

Closed MattL0 closed 5 years ago

MattL0 commented 5 years ago

Hi, Do you think you'll be able to create a node to monitor the groups states ?

thank you

andreypopov commented 5 years ago

hi, event node is not enough? what do u want to get in payload ?

vandalon commented 5 years ago

I think he means that it would be possible to select a light group with the in node. So that you can have action when a single light within one group turns on. At least that is something I would like to see ;)

andreypopov commented 5 years ago

When I turn on group I receive several events:

1) event for every light in group 2019-07-09_20-22-20

2) unknown group id, I dont know what is it 2019-07-09_20-22-28

3) event for my group, we have 2 options in state: all_on and any_on 2019-07-09_20-20-46

vandalon commented 5 years ago

14

vandalon commented 5 years ago

Fixed with #14 and #21 but only for get node

vandalon commented 5 years ago

This should be resolved via #23

vandalon commented 5 years ago

23 had bugs and I did a refactor of the group handling, should now working better in #25

vandalon commented 5 years ago

@MattL0 Can you please check if your issue is resolved and if so, close the issue?

andreypopov commented 5 years ago

install 0.11.0

MattL0 commented 5 years ago

I'll wait for .11 sorry

MattL0 commented 5 years ago

is group only available via polling?

andreypopov commented 5 years ago

already published, wait for npm or

cd ~/.node-red npm install node-red-contrib-deconz@0.11.0 node-red-stop sudo npm cache clean --force node-red-start

vandalon commented 5 years ago

No, in 0.11 a group is seen as a meta-device and handled as such. So updates also via websocket

MattL0 commented 5 years ago

Thanks !! works perfect !!

MattL0 commented 5 years ago

I'll do another topic to poll the characteristics of groups , I think it is not available for websocket?

andreypopov commented 5 years ago

try GET node, complete msg debug node 2019-07-23_09-54-56

MattL0 commented 5 years ago

yes it is under action !thanks Now i should be able to drop the plugin at HomeSeer and use this . ( and the json api for output for now ).

MattL0 commented 5 years ago

aww , So output node works now? just tried it.

vandalon commented 5 years ago

Output node works how?

MattL0 commented 5 years ago

i am able to control light with the output node on github it was written that it did not work.

vandalon commented 5 years ago

I can't remember that not working :)