Retrieve relay status#
Minimum API level
API version 5.0 or higher
Function call(URL) | Permissions | Possible parameters |
---|---|---|
/app_relais_get_status | admin / sub-admin / user | id: unique id of the relay |
Example call:
https://192.168.0.240/app_relais_get_status?id=4177
Info
A user can only query 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 |
status | only when successful: 0 or 1 |
Example response: