Automate Reddit
Explore Plans
Mobile menu Close menu
myStrommyStrom

Switch - Consumption

This trigger fires when Switch has power usage above or below certain threshold.

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 Switch has power usage above or below certain threshold.
API endpoint slug
mystrom.consumption

Trigger fields

Mac Dropdown list

Label
Which device?
Helper text
Please select your device
Slug
mac
Required
true
Can have default value
false

Type Dropdown list

Label
Usage above or below threshold?
Helper text
Please chose if trigger fire when power consumption is below or above threshold
Slug
type
Required
true
Can have default value
true

Limit Text input > Regular expression

Label
Power consumption threshold
Helper text
This is power consumption that needs to be crossed for trigger to fire
Slug
limit
Required
true
Can have default value
true

Ingredients

Created atDate and time event was created.

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