Samples

How to open door lock

To open an outdoor station lock you first need to fetch the configuration and search for a device and channel that has a value of "40" as deviceTypeId and a value of "0001" as channelID.
The input datapoint can be used to send a unlock command by setting the value to "1". The output datapoint shows the current state of the lock.

Fetch the configuration

Open the door

Check current state
Returns the following, meaning the door is unlocked

Incoming call notification

To get incoming call notification you first need to subscribe for a device and channel that has a value of "40" as deviceTypeId and a value of "0002" as channelID.
The output datapoint shows the current state.

Subscribe the message
Create download link

Request

Then you can use the link to download the image.