Tapo Trigger icon

Tapo Trigger

Triggers when a Tapo device changes its state

Tapo Trigger

AI-generated

Summary

Polls a Tapo device for power-state changes and emits an item when its on/off state changes. Choose local IP or cloud discovery to connect; cloud mode requires selecting a device from the account’s discovered devices.

Inputs

  • Connection Mode — Select Via local IP (default) or From cloud (discovery).
  • Device IP — Required for local mode; IP address used to log in to the device.
  • Device (cloud only) — Required for cloud mode; choose a device discovered using the Tapo account credentials.
  • Update devices — Refreshes the cloud device options.
  • Polling Interval (seconds) — Polling frequency in seconds; defaults to 60.
  • TapoAccount credentials (required) — Tapo account email and password used to log in locally or through the cloud.

Output shape

Emits a single-item array when the device power state changes.

Each emitted item contains event: "stateChanged", state: the device_on value, and timestamp: an ISO timestamp. The initial poll records the current state without emitting; polling errors are logged. Polling stops when the trigger closes.

Links

Discussion