<< Click to Display Table of Contents >> Navigation: The API > JSON Adminstrator API > REST Resources > System > POST > POST /system/receiveMode |
receiveMode
The gateway has two operation modes.
•regular operation mode it listens to regular telegrams
•learn-in Mode it listens to Learn-in telegrams and to regular telegrams
The gateway by itself terminates the Learn-in mode after 180 seconds of listening. You can stop the learn-in mode earlier by sending the command again with the parameter "normalmode"
Client to Gateway:
Resource Path |
HTTP method |
/system/receiveMode |
POST |
Necessary additional call parameters:
parameter |
datatype |
value / formatting |
description |
receiveMode |
string |
normalMode | learnMode |
Values to change the operation mode of the gateway |
Example:
Set receive mode to learn in mode.
Request: |
POST /system/receiveMode |
{ "receiveMode" : "learnMode" }
|
Gateway answer: |
{ "header": { "httpStatus": 200, "content": "receiveMode", "gateway": "DC-GW/EO-IP v0.99.1", "timestamp": "2016-05-10T15:17:44.445+0200" }, "receiveMode": "learnMode" }
|