telegram;

<< Click to Display Table of Contents >>

Navigation:  The API > Simple API > Messages from Gateway >

telegram;

Telegram

On all events (flag "TransmitOnEvent" true), the gateway transmits an event in form of a telegram over the simple API. If a device has several function groups in the "from" or "both" direction, then the gateway will issue a telegram string for each group subsequently.

 

Gateway event telegram

telegram;deviceId=01842329;friendlyId=WeatherStation;timestamp=2016-05-24T13:02:43.701+0200;direction=from;dawnSensor=329.08[lx];temperature=26.82[?C];windSpeed=0.00[m/s];dayNight=day(Day);rainIndication=noRain(No rain)

telegram;deviceId=FEFEAB5E;friendlyId=RockerSwitch_dbo;timestamp=2016-05-24T13:03:17.983+0200;direction=from;buttonB0=pressed(Button pressed)

telegram;deviceId=FEFEAB5E;friendlyId=RockerSwitch_dbo;timestamp=2016-05-24T13:03:18.785+0200;direction=from;buttonB0=released(Button released)

telegram;deviceId=01842329;friendlyId=WeatherStation;timestamp=2016-05-24T13:03:48.989+0200;direction=from;dawnSensor=297.74[lx];temperature=26.82[?C];windSpeed=0.00[m/s];dayNight=day(Day);rainIndication=noRain(No rain)

 

 

Telegram formatting
 

String

Meaning

Possible values/Examples

telegram

event transmits a telegram

telegram

deviceId

The ID of the device

1859038

friendlyId

String name of the device

OfficeTemperature

timestamp

The time when the telegram and state received, saved

2015-04-22T16:45:46.150+0200

direction

Direction of Telegram.

from = Destination Gateway
to = Origin Gateway

from

to

function

Function names and their values
(see Function format)

SetPoint=213[N/A]

Temperature=23.53[°C]

SupplyVoltage