How do i set values to a Zigbee subdevice?

Hi,
I own a Zigbee/Bluetooth gateway and some temp sensors.
I can read the Data and visualize them.

Now I got some Zigbee heaters and also can read and visualize the Data.

But how can I set the Data?
I'm using the "node-red-contrib-tuya-devices" Nodes

msg.payload ={
    "code": "action",
        "input_params": {
        "cid" : "xxxxxxxxxxxxx",
        "dps" : "7",
        "set" : "true"
}
}
return msg;

This does not work. It should set the kids lock

msg.payload ={
   dps: 4,
   cid: "xxxxxxx",
    set : msg.payload
}
return msg;

This does not work but should set the setpoint.

Do you have some ideas?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.