Reply To: XML Socket API questions 2017-12-21T22:52:48+00:00

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

Anonymous
Post count: 16

Folks
i am not sure how to proceed, i have got past the Sys_Authenticate step and can access the zbpserver just fine
send
ZBP_SystemSys_Authenticate5507b46f340c3bffd9be85a6a9a0387584adb2f9

recv
ZBP_SystemSys_Authenticate0460f0303-6c49-4fa3-90bc-91b04dcdc87a

I can query and get a json list of nodes

send

ZBP_NodeNode_GetAllNodesJson

recv

ZBP_Node
Node_GetAllNodesJson

3
[{ “id”:48823, “name”:””, “image”:””, “hid”:1669163, “user_descriptor”:””, “node_descriptor”:1283, “category”:”503″, “model”:”PLM”, “parameters”:{}},{ “id”:48951, “name”:”Messenger”, “image”:”default.png”, “hid”:14636947900334128, “user_descriptor”:””, “node_descriptor”:52, “category”:””, “model”:”Messenger”, “parameters”:{}},{ “id”:27749, “name”:”Home Office Main Light”, “image”:”default.png”, “hid”:1717422, “user_descriptor”:””, “node_descriptor”:2818, “category”:”b02″, “model”:”b02″, “parameters”:{}}]

15ad256f-4206-4937-8a0d-12652b81a4da

The third node is a simple insteon light switch

I can turn it on and off via the android app, and see this from zbpserver when i do

NodeNode_ClusterCmdRsp06c650000[2b,11,ff]

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 ?

can someone wiser and knowledgable give an example based on above info

cheers