Set status of a relay (API version 5.0 or higher)

Function call (URL)PermissionsPossible parameters
/app_relais_set_statusAdmin
Sub-Admin
User
id
Unique Id of the relay

status
1 switch on
0 switch off


Beispiel-Aufruf:
https://192.168.0.240/app_relais_set_status?id=4177&status=1

Note: A user can only set the status of a relay if he has the appropriate authorization. For this purpose, the functions “Switching relays and alarms” or “Open door” must be activated in the user properties under Authorisations.


Response typePossible content
successfultrue Setting the status of the relay successful<
false Setting the status of the relay not successful

Example response:

{ "successful": true }