This query returns a list of when your AirVisual device's CO2 level was below a value you provide. Note: this query will only return future events after this Applet is created.API endpoint slug IQAir.history_of_device_s_co2_is_below Runtime method performQuery("IQAir.history_of_device_s_co2_is_below")
Query fields Label Threshold Slug threshold Required true Can have default value true
Ingredients Slug created_at Filter code IQAir.historyOfDeviceSCo2IsBelow.CreatedAt Type Date with time (ISO8601) Example 2020-07-08T04:17:06.000+05:00 Slug value Filter code IQAir.historyOfDeviceSCo2IsBelow.Value Type String Example 124 Slug node_name Filter code IQAir.historyOfDeviceSCo2IsBelow.DeviceName Type String Example Home Slug metric Filter code IQAir.historyOfDeviceSCo2IsBelow.Metric Type String Example AQI Slug threshold Filter code IQAir.historyOfDeviceSCo2IsBelow.Threshold Type String Example 50 Slug unit Filter code IQAir.historyOfDeviceSCo2IsBelow.Unit Type String Example ppm