HOME › Forums › Gateways › Raspberry Pi › Insteon std vs extended commands
-
AuthorPosts
-
Anonymous
InactiveJuly 19, 2013 at 7:40 amPost count: 16Folks
I guess i am a little confused and can’t figure something out from the docs.
If i want to send a std insteon command such as thisLight ON 0x02 All 0x11 0x00 ⇒ 0xFF Not Parsed
then this command seems to work great (for insteon lamp 1A:34:AE corresponding to zbpserver device 27749
Node_ClusterCommand 2 27749 0 0 0 [17, 255] the light goes on which is good
and i get this back as confirmation
Node_ClusterCommand 0 267f21d7-c9a3-463e-94c5-9b9811fb9c89 followed by this
Node_ClusterCmdRsp 0 6c65 0 0 0 0 [2b,11,ff] for lights off its similar
Node_ClusterCommand 2 27749 0 0 0 [19, 0] Node_ClusterCommand 0 1e8897de-9b50-4c93-bb3a-2de6c2068bd6 Node_ClusterCmdRsp 0 6c65 0 0 0 0 [2b,13,00] so std insteon commands seem to work just fine
Question is how do i send an extended insteon command ?
S
Anonymous
InactiveJuly 20, 2013 at 12:42 amPost count: 259It would be something like this:
ZBP_Node
Node_ClusterCommand0
27749
0
0
1
[2f,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] //Read Binding56903
You can try it but unfortunately this won’t work with the zbpserver version you have, but when we update the repo with a new package, will have this fix included. Thanks for your patience.
Anonymous
InactiveJuly 20, 2013 at 2:29 amPost count: 16Dhawal
Thanks for the quick reply, much appreciated. The above looks reasonable, i’ll keep my
eyes open for the new release, am enthused to test it hot off the press as it seems like
a few of my problems will get addressed.Cheers
S
Anonymous
InactiveJuly 20, 2013 at 7:57 pmPost count: 16Dhawal
Gave your suggestion a try anyway, and it looks like it works just fine for me 🙂I sent this (before xml formatting)
hapc_zbp:: Insteon_ReadBinding(1A:34:AE)
hapc_zbp:: zbp_Message(Node_ClusterCommand,ZBP_Node,[(‘uchar’, 0), (‘ushort’, 27749), (‘uchar’, 0), (‘ushort’, 0), (‘uchar’, 1), (‘QByteArray’, [47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])],11,Node_ClusterCmdRsp)and get this (after xml unformatting, concat of 11 seperate async replies)
hapc_zbp:: Insteon_ReadBinding() completed with reply [0, 27749, 0, 0, 0, 0, ] in 0:00:04.088202 seconds
which seems on first pass to be the correct data, so it looks like its working for me juts fine.
thanks again for your help is much appreciated
S
Anonymous
InactiveJuly 22, 2013 at 6:04 pmPost count: 259Oh good, I’m glad that worked.
-
AuthorPosts
- You must be logged in to reply to this topic.