ioBroker.zigbee
ioBroker.zigbee copied to clipboard
Add "send_payload" state to groups
all groups does not contain a state for send_payload
What's the reason and would it be possible to include?
for what you need this function?
for single lamps it's possible to do that to send one command to set on state, brightness, color-temp with one command. it is also possible directly with zigbee2mqtt to do that with groups.
Now, with my Adapter LightControl it's possible to define one state as "command" state. It's much easier for the user as to set single states for state, brightness, color-temp, color, transition_time, ..... and it's much faster to control a light with one command.
In a parameter file, I define the different kinds of commands for each adapter or device.
The reason for the groups not containing a send_payload state is that groups inherently do not publish states. The list of states for the groups is generated by the zigbee adapter off a template list within the adapter.
the send_payload state is aimed at providing direct access to converters available in the zigbee-herdsman-converters, and attempts to link the given JSON to one or more converters published by the device-type. This is not feasible for groups.
an adaptation may be possible but will never work the same as the send_payload does for standard zigbee devices. As such I currently do not see this being implemented.
A.