New services
Explore Plans
Mobile menu Close menu
SmappeeSmappee

History of Power exceeded threshold

This query returns a list of times when the power rose above the specified value in watts. Note: this query will only return future events after this Applet is created.

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 a list of times when the power rose above the specified value in watts. Note: this query will only return future events after this Applet is created.
API endpoint slug
smappee.history_of_power_exceeded_threshold
Runtime method
performQuery("smappee.history_of_power_exceeded_threshold")

Query fields

Service location Dropdown list

Label
Service location
Helper text
The service location.
Slug
service_location
Required
true
Can have default value
false

Above Text input

Label
Rises above
Helper text
The threshold value specified in watts e.g. 120
Slug
above
Required
true
Can have default value
true

Ingredients

Service locationThe service location that is being monitored.

Slug
serviceLocation
Filter code
Smappee.historyOfPowerExceededThreshold.ServiceLocation
Type
String
Example
Home

Avg power in wattsAverage power value in watts.

Slug
power
Filter code
Smappee.historyOfPowerExceededThreshold.AvgPowerInWatts
Type
String
Example
50

Threshold in wattsThe threshold value in watts that has been exceeded.

Slug
threshold
Filter code
Smappee.historyOfPowerExceededThreshold.ThresholdInWatts
Type
String
Example
500

Avg solar power in wattsAverage solar power value in watts.

Slug
solar
Filter code
Smappee.historyOfPowerExceededThreshold.AvgSolarPowerInWatts
Type
String
Example
1200

Created atDate and time event was created.

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