node-red-contrib-zigbee icon indicating copy to clipboard operation
node-red-contrib-zigbee copied to clipboard

Allow Zigbee Converter to get/set state of groups

Open Hypnos3 opened this issue 4 years ago • 2 comments

As described in "https://www.zigbee2mqtt.io/information/groups.html" Controlling a group is similar to controlling a single device. For example to turn on all devices that are part of group send a MQTT message to zigbee2mqtt/[GROUP_FRIENDLY_NAME]/set with payload:{ "state": "ON" }

If I send similar to the Zigbee Converter Node I get the error:

TypeError: Cannot read property 'endpoint' of undefined
    at ZigbeeConverter.on [as _inputCallback] (/usr/local/addons/redmatic/lib/node_modules/node-red-contrib-zigbee/nodes/converter.js:148:34)
    at ZigbeeConverter.Node._emitInput (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:199:18)
    at Immediate._onImmediate (/usr/local/addons/redmatic/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/nodes/Node.js:179:33)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)
    at processImmediate (timers.js:658:5)

With the command node the state of a group can be set, but not read.

Hypnos3 avatar Feb 16 '20 23:02 Hypnos3

Same here, would be nice to have this!

opajonk avatar Jan 17 '21 11:01 opajonk

Same here, cmdType read from group ends in "Error: Group undefined not found"

polo89 avatar Feb 17 '21 21:02 polo89