3 M2M API Protocols
All M2M protocols use the same values for the action parameter control the output.
. If
unspecified, the “Short ON/OFF delay” value used. Allowed
values are:
0 turns the output off
1 turns the output on
2 short OFF turns the output off for short1
time (if the output was off, will turned on)
3 short turns the output for short2
time (if the output was on, will turned off)
4 toggle toggles the current output state
5 operation leaves the output unchanged
6 ignore ignores the action attribute and only respects the state attribute only for XML and
JSON
Only one M2M protocol can active any time!
1,2
The short-off/short-on duration can also specified the command issued over the respective M2M protocol.27
5