UG_Wiser Home Essential API_WH-00

Fetching the Device Details by ID

You can fetch the device details such as ID, name, current state, and target state using the Try It section in the API. Here is an example of fetching the smartplug details. You can follow the same process for all devices to fetch the device details.

Prerequisites:

Before you start, ensure you have the following details:

  • API Subscription Key

  • Bearer Token

  • Device ID

  • urn ID

  1. On the left pane, click Control.
  2. Click Fetch SmartPlug By Id.
    The API window appears.
  3. On the right pane, click Try It.
  4. In the Security (A) section, enter the following details:
    • API Subscription key (B): Enter the subscription key.

    • Bearer token (C): Enter the bearer token.

    NOTE: Your credentials will be saved until the end of the browser session.
  5. In the Parameters section, enter the following details:
    • DeviceId (D): Enter the device ID.

    • urn (E): Enter the urn ID.

  6. Click Send (F).
You can see the device details.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?