Explore Plans
Mobile menu Close menu
iotty Smart Homeiotty Smart Home

Smart Outlet turned on or off

This trigger fires when one of your iotty Smart Outlet devices is turned on or off.

Developer info

API endpoint slug
iottysmarthome.state_outlet_onoff

Trigger fields

Device ID Dropdown list

Label
Which iotty device was turned on or off?
Slug
device_id
Required
true
Can have default value
false

State Dropdown list

Label
Check whether the iotty device is on or off
Slug
state
Required
true
Can have default value
false

Ingredients

SourceWas the device turned on manually, by iotty App, or by some smart home platforms?

Slug
source
Filter code
Iottysmarthome.stateOutletOnoff.Source
Type
String
Example
1

Device nameThe name of your iotty device

Slug
device_name
Filter code
Iottysmarthome.stateOutletOnoff.DeviceName
Type
String
Example
Bedroom left Outlet

Created atDate and time event was created.

Slug
created_at
Filter code
Iottysmarthome.stateOutletOnoff.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06.000+05:00

Outlet stateThe state of the iotty Smart Outlet (on or off)

Slug
outlet_state
Filter code
Iottysmarthome.stateOutletOnoff.OutletState
Type
String
Example
on