Set relay status#
Minimum API level
API version 5.0 or higher
Function call (URL) | Permissions | Possible parameters |
---|---|---|
/app_relais_set_status | admin / 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_status?id=4177&status=1
Info
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 type | Possible content |
---|---|
successful | true or false |