The bytes 3 and 4 aren’t clear enough for me : could you detail more ? as I’ve to indicate in request which relay is concerned
0F FB @@ 08 FB [b2 b3 b4]
DATABYTE2 = Relay bit number
DATABYTE3 = Disable/inhibit/Forced on setting
DATABYTE4 = Relay status
Where can I find if relay is ON or OFF or Blinking ? b2 or b4
0F FB 34 08 FB [b2= 01] [b3= 00] [b4= 01] [Led Fast= 20] [countdown= 00 00 3D] [Check= 60]
By the way, could you give me an advice to detect kind of module response to FA Request ?
All Status responses are 8 bytes ? could I create this kind of mask : “0FFB08” and check later byte1 ?
Forced on means that the relays is on, and it will stay on until the cancel force on command is received. if no such command is received then the relay will stay on.
Bytes 2 en byte4 have no redundancy, byte 2 defines for what channel this ‘relay status’ command is sent.
[quote=“cereal”]Forced on means that the relays is on, and it will stay on until the cancel force on command is received. if no such command is received then the relay will stay on.
Bytes 2 en byte4 have no redundancy, byte 2 defines for what channel this ‘relay status’ command is sent.[/quote]
I just remind that many frames could occurs around same time ! Byte2 remind which frame response it is, rather Byte4 informs about kind of activity : sorry for my last mistake.
However, I’m writing a status reading procedure and I would to use a filter (to find status response).
Is 0F FB @@ 08 enough (if I’m waiting for module address @@) ?
Else, I’ve to make a filter with multiple possibilities :
0FFB@@08EE (dimmer)
0FFB@@08FB (relay)
0FFB@@08EC (blind)
???
Yes, just look for value of databyte1 matches the command _xxxxxx_status ( e.g. EC or EE …). Be sure to reserve a array of 8 bytes where you can put the data you recieve in or you can test directly the status databyte.