New services
Explore Plans
Mobile menu Close menu
iotty Smart Homeiotty Smart Home

Turn on/off a Smart Outlet

This action sends a command to one of your iotty Smart Outlets.

About this action

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
API endpoint slug
iottysmarthome.cmd_outlet_turnonoff
Filter code method
Iottysmarthome.cmdOutletTurnonoff.skip(string?: reason)
Runtime method
runAction("iottysmarthome.cmd_outlet_turnonoff", {})

Action fields

Device ID Dropdown list

Label
Which iotty device should I turn on or off?
Slug
device_id
Required
true
Can have default value
false

Command Dropdown list

Label
Which command should I send?
Slug
command
Required
true
Can have default value
false