
ESP32SR88
User Manual v1.7
GR Get Relay.
Will return the state of the relay.
To get the status of relay 6:
GR 6
1
GR 6
0
GR 9
fail
< relay 9 does not exist.
GI Get Input.
Will return the status of an input.
GI 2
0
Input 2 is low (Green Led is on)
GI 2
Input 2 is high (Green Led is off)
1
GI 9
fail
Only 8 inputs available
AL Get All 8 inputs.
AL
11111011
Here, Input 6 is low, all others are high.
Inputs are numbered from left to right, 1 to 8.
Password
From version 1.5 we have added a password to the ASCII commands, this can be set with the AP
command over the USB connection. The password is passed as a prefix to any command.
For example if a password is set and relay 1 is required to be turned on, start with the password (example
password of 1234), then the command, so it becomes: 1234 SR 1 1
Copyright
© 2021,
Devantech Ltd.
All rights reserved.
11