27
5.2 Open API: M2M Protocols
All M2M protocols use the same values for the action parameter to control the output. Allowed
values are:
0 – turns the output off
1 – turns the output on
2 – short OFF – turns the output off for a short
time (if the output was off, it will be turned on)
3 – short ON – turns the output on for a short
time (if the output was on, it will be turned off)
4 – toggle – toggles the current output state
5 – no 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 be active at any time!
Following M2M API Protocols cannot run in parallel to NETIO Cloud Connection:
MQTT-flex
Netio Push
The notification message appears if you try to enable unsupported combination.
,2
The short-off/short-on duration can be also specified in the command issued over the respective M2M protocol. If
unspecified, the “Short ON/OFF delay” value is used.