ChangeZWaveSwitchOutlet

PUT

Change Z-Wave Switch/Outlet

Change the state of a z-wave switch or outlet. Switch ID can be found in the GET /locations resource.

Example Off:

{
    "state": "Off"
}

Example On:

{
    "state": "On"
}

Example Brightness:

{
    "brightnessLevel": 80
}

Resource URL

https://api.honeywell.com/v2 /homesecurity/devices/{deviceId}/switches/{switchId}/state

Query Parameters


Name Values Description
apikey
(required)

Your API Key

locationId
(required)

LocationID for the requested device


Request Body

deviceId DeviceID for the requested device true

switchId Sub device ID for the requested automation device true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Resource Summary

Security

Content Type

application/json

Working...