send;

<< Click to Display Table of Contents >>

Navigation:  The API > Simple API > Commands to Gateway >

send;

Send

The ‘send’ command creates an EnOcean telegram which is sent out from the gateway. To send a correct telegram the user must address the ‘deviceID’ which he wants to command and the values what he wants to set in the telegram.

Each EnOcean profile has different functions and number of functions.

User Command/Request

send;deviceID=;function=;function=;..

 

send;deviceId=18938BF;Dimming=12;RampingTime=45;DimmingRange=0;StoreFinalValue=0;SwitchingCommand=0

Gateway Response Example

result;code=1000;value=OK

result;code=1002;value=will send telegram later

result;code=500;value=Code 3011: no matching group found

 

result;code=500;value=Code 3015: invalid value 10.0 of function Setpoint, only scalar allowed

 

result;code=500;value=Code 3016: invalid value 100 of function Setpoint (min: -12.7, max:12.8)

Response formatting

String

Meaning

Possible values/Examples

result

Result of the Command by the Gateway

result

code

Error/success code of the command

1000

500

value

Meaning of the error code or OK in case the telegram is created and sent

OK

Code 3011: no matching group found

Code 3015: invalid value 10.0 of function Setpoint, only scalar allowed

Code 3016: invalid value 100 of function Setpoint (min: -12.7, max:12.8)