Set Open/Close state
This command sets up the valve so it alternates between its two states (open/close) for a certain time interval. The whole process is cyclical, meaning it can go indefinitely depending on how it is set up or the valve can move from one state to the other and remain
The command explanation is in the table below.
Byte index | Hex value - Meaning |
0 | 01 – The command code. |
1 | XX – time the valve will be opened for in minutes |
2 | XX – time the valve will be closed for in minutes |
Example command: 0x010203
02[HEX] = 02[DEC] -> the valve will be opened for 2 minutes
03[HEX] = 03[DEC] -> the valve will be closed for 3 minutes
At this point it will open again for 2 minutes, close for 3 after, etc.
Example command: 0x010200
02[HEX] = 02[DEC] -> the valve will be opened for 2 minutes
00[HEX] = 00[DEC] -> the valve will be closed for 0 minutes (never closed)
In this case the command will keep the valve permanently open until another command instructs it to close.
Example command: 0x010003
00[HEX] = 00[DEC] -> the valve will be opened for 0 minutes (never opened)
03[HEX] = 03[DEC] -> the valve will be closed for 3 minutes
In this case the command will keep the valve permanently closed until another command instructs it to open.
Last updated