New on IFTTT
Explore Plans Developers
Mobile menu Close menu
eWeLink Smart HomeeWeLink Smart Home

Current power state

This query returns the on/off state of the device you choose.

About this query

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This query returns the on/off state of the device you choose.
API endpoint slug
ewelink.power_state_query
Runtime method
performQuery("ewelink.power_state_query")

Query fields

Device list query Dropdown list

Label
Which deviceļ¼Ÿ
Helper text
This query returns the on/off state of the device you choose
Slug
device_list_query
Required
false
Can have default value
false

Ingredients

Query device nameName of eWeLink device.

Slug
devicename_is
Filter code
Ewelink.powerStateQuery.QueryDeviceName
Type
String
Example
E.g. eWeLinkSmartHomeDevice

Query power statepower state of the device.

Slug
power_state
Filter code
Ewelink.powerStateQuery.QueryPowerState
Type
String
Example
E.g on