12-10-2020, 02:57 AM
I think you not need to use send query command to read relay state. Because every time if controlled by wall switch panel or wireless remoter will auto feedback command "Feedback:RELAY-KEY-255,x,1,OK (x is the channel of Relay)"
another relay feedback commands are :
RELAY-SET-255,x,1,OK (Turn ON Relay x successed) this is turn on/off one relay's feedback
RELAY-SET_ALL-255,D3,D2,D1,D0,OK this is turn on/off all relays' feedback.
You just have to analyze these commands for relay state update.
relay controller's input port is for alarm sensor use, not for manual control.
another relay feedback commands are :
RELAY-SET-255,x,1,OK (Turn ON Relay x successed) this is turn on/off one relay's feedback
RELAY-SET_ALL-255,D3,D2,D1,D0,OK this is turn on/off all relays' feedback.
You just have to analyze these commands for relay state update.
relay controller's input port is for alarm sensor use, not for manual control.