About this trigger
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 trigger fires when the socket you select is switched off.
- API endpoint slug
- powahome.socket_switched_off
Trigger fields
Mac and channel Dropdown list
- Label
- Which socket?
- Helper text
- The name of the socket to monitor
- Slug
- mac_and_channel
- Required
- true
- Can have default value
- false
Ingredients
Happened atDate and time event was happened.
- Slug
- happened_at
- Filter code
- Powahome.socketSwitchedOff.HappenedAt
- Type
- Date with time (ISO8601)
- Example
- 2020-07-08T04:17:06.000+05:00
StateThe state of the socket after the event.
- Slug
- state
- Filter code
- Powahome.socketSwitchedOff.State
- Type
- String
- Example
- false
NameThe name of the socket switched off.
- Slug
- name
- Filter code
- Powahome.socketSwitchedOff.Name
- Type
- String
- Example
- Lamp
Room nameThe name of the room where the socket is installed.
- Slug
- room_name
- Filter code
- Powahome.socketSwitchedOff.RoomName
- Type
- String
- Example
- Kitchen