This query returns a list of when your device detected a CO2 level above the value you specified. Note: this query will only return future events after this Applet is created.
API endpoint slug
hager_iot.history_of_co2_level_rises_above_a_threshold
Runtime method
performQuery("hager_iot.history_of_co2_level_rises_above_a_threshold"}
Query fields
Label
Which device?
Slug
cid
Required
true
Can have default value
false
Label
What threshold?
Helper text
In PPM
Slug
threshold
Required
true
Can have default value
true
Ingredients
Slug
created_at
Filter code
HagerIot.historyOfCo2LevelRisesAboveAThreshold.CreatedAt
Type
Date with time (ISO8601)
Example
2020-07-08T04:17:06+05:00
Slug
name
Filter code
HagerIot.historyOfCo2LevelRisesAboveAThreshold.Name
Type
String
Example
My Device
Slug
sid
Filter code
HagerIot.historyOfCo2LevelRisesAboveAThreshold.SystemSerialNumber
Type
String
Example
HGR12345678901234567890
Slug
systemName
Filter code
HagerIot.historyOfCo2LevelRisesAboveAThreshold.SystemName
Type
String
Example
My System
Slug
threshold
Filter code
HagerIot.historyOfCo2LevelRisesAboveAThreshold.Threshold
Type
String
Example
50
Slug
co2
Filter code
HagerIot.historyOfCo2LevelRisesAboveAThreshold.CurrentValue
Type
String
Example
60