You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 13 Current »
Turn a specified Smappee Switch or Comfort plug OFF. This can be done for a specific period or infinite.
https://app1pub.smappee.net/dev/v3/servicelocation/[SERVICELOCATIONID]/actuator/[ACTUATORID]/off
POST
Authorization: Bearer [ACCESS_TOKEN]
[ACCESS_TOKEN] being the access token received from the Get token or Refresh token authentication calls.
{"duration": [DURATION]}
Parameter
Type
Description
SERVICELOCATIONID
Path Parameter
The actual id of an accessible service location (see Get Servicelocations)
ACTUATORID
The id of the actuator object that will be turned off (see Get Servicelocation Info)
duration
JSON attribute
The duration in seconds the actuator should be turned off.
Possible values are:
300
900
1800
3600
Putting 0 will result in a infinite duration.
https://app1pub.smappee.net/dev/v3/servicelocation/123/actuator/2/off
HTTP body:
{"duration": 900}
Empty body