Devices

Updates the On/Off Switch on a device. For new implementations please use the "actions" command

Updates the On/Off Switch on a device For new implementations please use the "actions" command

put/Devices/{id}

Request

  • Base URL: https://api.smart-me.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.smart-me.com/Devices/{id}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token)
    • HTTP basic

Path parameters

idstring uuid required

The ID of the device

Query parameters

switchStateboolean required

The new state of the switch

switchNumberinteger

The number of the switch if there are multiple (1 for L1, 3 for L3)

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.