Switch relay (API version 5.0 or higher)

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

status
1 switch on
0 switch off


Example call:
https://192.168.0.240/app_relais_set?id=4177&status=1

Note: A user can only switch 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 Authorizations.


Response typePossible content
successfultrue Switching of the relay successful
false Switching the relay not successful

Example response:

{ "successful": true }