Tapo icon

Tapo

Controls TP-Link Tapo lights and plugs

Tapo

AI-generated

Summary

Control TP-Link Tapo plugs, bulbs, and a smart strip by connecting through a device’s local IP or discovering it through the Tapo cloud. Choose an action to change device state or lighting settings, or retrieve its state or plug energy usage.

Inputs

  • Connection Mode (required) — Choose local IP or cloud discovery. Local mode uses Device IP; cloud mode uses the cloud-listed device and Tapo account credentials.
  • Device IP (required) — The device’s IP address, shown in local mode.
  • Device (cloud only) (required) — Select a discovered device, shown in cloud mode. The device list is loaded using the Tapo account credentials; Update devices refreshes the list.
  • Device Type (required) — Select smart plugs (P100/P105/P110/P115), bulbs (L510E/L530E), or the L900-10 smart strip. This determines which actions are offered.
  • Action (required) — Choose Turn On, Turn Off, Set state, Toggle, or Get state. Plugs also offer Get Energy Usage; bulbs and the strip also offer Set Brightness, Set Color, and Set HSL.
  • Brightness — Brightness from 1 to 100, used by Set Brightness.
  • Color (hex) — Hex color passed to the device, used by Set Color; defaults to #ffffff.
  • Hue — Hue from 0 to 360, used by Set HSL.
  • Saturation — Saturation from 0 to 100, used by Set HSL.
  • Luminosity — Luminosity from 0 to 100, used by Set HSL.
  • State — Boolean used by Set state: true turns the device on and false turns it off.

Output shape

A list of one JSON item per input item processed.

Successful actions return status: "ok" and the action performed. Set Brightness, Set Color, and Set HSL include the supplied setting; Get state includes a state boolean; Get Energy Usage includes usage data. State and energy retrieval are available according to the selected device type’s offered actions.

Links

Discussion