HOME Forums Gateways EZSrve EZServ response to EZSnsRF signal Reply To: EZServ response to EZSnsRF signal

Post count: 30

grif, thanks for the tip. I’ve changed my code so the output is now:

LightOn 2,50,9,4c,df,0,0,2,c7,11,0 from: (9:4c:df) group: 2 flags: {7, 6, 2, 1, 0}

Bit banging is a sick joke in Java – the language doesn’t even have an unsigned byte type.

There are some instructions for which cmd2 ends up being the group number, AssignToAllLinkGroup is one of them. Is there a way to determine from the flags whether CMD2 is a group, or does it have to be done on a case by case basic based on the value of CMD1?

Now I’ve just gotta figure out how to implement the Listener pattern once I’ve cracked all of these messages, but at least that’s a general comp sci instead of an Insteon problem…