Reply To: XML Socket API questions 2017-12-21T17:20:56+00:00

HOME Forums Gateways Raspberry Pi XML Socket API questions Reply To: XML Socket API questions

Anonymous
Post count: 259

I assume is should be using a Node_ClusterCommand to turn the light on and off via xml socket API, but i can’t find an exmaple of what to send or how to do that ?

Yes you can use Node_ClusterCommand API to communicate to your devices. Below is an example for Insteon devices.
// READ STATUS

ZBP_Node
Node_ClusterCommand

2
27749
0
0
0
[25,0]

11161

………………………………………..

//TURN OFF
Inside Harmony Controller:: Node_ClusterCommand
Time Sent: Mon Jun 10 11:06:19 GMT-0700 2013
………………………………………..

ZBP_Node
Node_ClusterCommand

2
27749
0
0
0
[19,0] //Turn ON would be [17,255]

14921

………………………………………..