-
Notifications
You must be signed in to change notification settings - Fork 0
/
airgradient_home.json
1 lines (1 loc) · 6.5 KB
/
airgradient_home.json
1
[{"apiVersion":"influxdata.com/v2alpha1","kind":"Label","metadata":{"name":"compassionate-lumiere-ab2001"},"spec":{"color":"#009f5f","name":"air_quality"}},{"apiVersion":"influxdata.com/v2alpha1","kind":"Dashboard","metadata":{"name":"festive-swanson-2b2001"},"spec":{"associations":[{"kind":"Label","name":"compassionate-lumiere-ab2001"}],"charts":[{"axes":[{"base":"10","name":"x","scale":"linear"},{"base":"10","label":"Temperature","name":"y","scale":"linear","suffix":"°C"}],"colorizeRows":true,"colors":[{"id":"base","name":"laser","type":"text","hex":"#00C9FF"},{"id":"1cZUPEtsznoUafJBHkmkQ","name":"Delorean","type":"scale","hex":"#FD7A5D"},{"id":"tqxrUi2WckUDALQD5na85","name":"Delorean","type":"scale","hex":"#5F1CF2"},{"id":"mPKb3DLDgcE3bXATgOOb8","name":"Delorean","type":"scale","hex":"#4CE09A"}],"decimalPlaces":2,"height":4,"hoverDimension":"auto","kind":"Single_Stat_Plus_Line","legendColorizeRows":true,"legendOpacity":1,"legendOrientationThreshold":100000000,"name":"Temperture (C°)","opacity":1,"orientationThreshold":100000000,"position":"overlaid","queries":[{"query":"from(bucket: \"AirGradientBucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"air_gradient\")\n |> filter(fn: (r) => r[\"SSID\"] == \"Wifi Beats To Study To\")\n |> filter(fn: (r) => r[\"device\"] == \"2acb77\")\n |> filter(fn: (r) => r[\"_field\"] == \"atmp\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")"}],"staticLegend":{"colorizeRows":true,"opacity":1,"orientationThreshold":100000000,"widthRatio":1},"suffix":"°","width":4,"widthRatio":1,"xCol":"_time","yCol":"_value"},{"axes":[{"base":"10","name":"x","scale":"linear"},{"base":"10","label":"PM2.5","name":"y","scale":"linear","suffix":"ug/m³"}],"colorizeRows":true,"colors":[{"id":"3jBRKq7FjHos83_vDuEk4","name":"Nineteen Eighty Four","type":"scale","hex":"#31C0F6"},{"id":"0-DUHPca0lmwQaxYJsilx","name":"Nineteen Eighty Four","type":"scale","hex":"#A500A5"},{"id":"OGGpREth1oxDYMhklghXk","name":"Nineteen Eighty Four","type":"scale","hex":"#FF7E27"},{"id":"base","name":"honeydew","type":"text","hex":"#7CE490"},{"id":"4-cs_uzbtEWmEuIB5RnOI","name":"pineapple","type":"text","hex":"#FFB94A","value":12.1},{"id":"8d9pvzIE8sPImeDUrtFTP","name":"tiger","type":"text","hex":"#F48D38","value":35.5},{"id":"rABZpJ8sLYjpp81aN1q8w","name":"curacao","type":"text","hex":"#F95F53","value":55.5},{"id":"UHJnumS3AojuipLwHeq9Y","name":"ruby","type":"text","hex":"#BF3D5E","value":150.5},{"id":"-KM92kCHqHwoOOlBeRIpj","name":"planet","type":"text","hex":"#513CC6","value":150.5}],"decimalPlaces":0,"height":4,"hoverDimension":"auto","kind":"Single_Stat_Plus_Line","legendColorizeRows":true,"legendOpacity":1,"legendOrientationThreshold":100000000,"name":"PM2.5 (ug/m³)","opacity":1,"orientationThreshold":100000000,"position":"overlaid","queries":[{"query":"from(bucket: \"AirGradientBucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"air_gradient\")\n |> filter(fn: (r) => r[\"SSID\"] == \"Wifi Beats To Study To\")\n |> filter(fn: (r) => r[\"device\"] == \"2acb77\")\n |> filter(fn: (r) => r[\"_field\"] == \"pm02\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")"}],"shade":true,"staticLegend":{"colorizeRows":true,"opacity":1,"orientationThreshold":100000000,"widthRatio":1},"width":4,"widthRatio":1,"xCol":"_time","yCol":"_value","yPos":4},{"axes":[{"base":"10","name":"x","scale":"linear"},{"base":"10","name":"y","scale":"linear"}],"colorMapping":{},"colorizeRows":true,"colors":[{"id":"evvkjFFmWoSBVp12PJizU","name":"Atlantis","type":"scale","hex":"#74D495"},{"id":"zmx-vhQbQvRe2PO-LQogs","name":"Atlantis","type":"scale","hex":"#3F3FBA"},{"id":"h1kQ5nMkAzMC22903570b","name":"Atlantis","type":"scale","hex":"#FF4D9E"}],"geom":"line","height":3,"hoverDimension":"auto","kind":"Xy","legendColorizeRows":true,"legendOpacity":1,"legendOrientationThreshold":100000000,"name":"CO2 & PM2 History","opacity":1,"orientationThreshold":100000000,"position":"overlaid","queries":[{"query":"from(bucket: \"AirGradientBucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"air_gradient\")\n |> filter(fn: (r) => r[\"SSID\"] == \"Wifi Beats To Study To\")\n |> filter(fn: (r) => r[\"device\"] == \"2acb77\")\n |> filter(fn: (r) => r[\"_field\"] == \"co2\" or r[\"_field\"] == \"pm02\")\n |> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)\n |> yield(name: \"last\")"}],"staticLegend":{"colorizeRows":true,"opacity":1,"orientationThreshold":100000000,"widthRatio":1},"width":12,"widthRatio":1,"xCol":"_time","yCol":"_value","yPos":8},{"colors":[{"id":"0","name":"castle","type":"min","hex":"#292933"},{"id":"1","name":"pool","type":"max","hex":"#22ADF6","value":100}],"decimalPlaces":0,"height":4,"kind":"Gauge","name":"Humidity %","queries":[{"query":"from(bucket: \"AirGradientBucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"air_gradient\")\n |> filter(fn: (r) => r[\"SSID\"] == \"Wifi Beats To Study To\")\n |> filter(fn: (r) => r[\"device\"] == \"2acb77\")\n |> filter(fn: (r) => r[\"_field\"] == \"rhum\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")"}],"staticLegend":{},"suffix":"%","width":4,"xPos":4},{"colors":[{"id":"0","name":"honeydew","type":"min","hex":"#7CE490","value":400},{"id":"dDvrAHk-SDTP1IpqwxuDf","name":"viridian","type":"threshold","hex":"#32B08C","value":450},{"id":"pFTXlIxQ6GuRAkeT95biK","name":"pool","type":"threshold","hex":"#22ADF6","value":600},{"id":"UjfbbquBGWp28eaGBavkO","name":"thunder","type":"threshold","hex":"#FFD255","value":1200},{"id":"m8g8HcsD3xq9JfZunAxNt","name":"curacao","type":"threshold","hex":"#F95F53","value":1500},{"id":"1","name":"planet","type":"max","hex":"#513CC6","value":2000}],"decimalPlaces":0,"height":4,"kind":"Gauge","name":"CO2","queries":[{"query":"from(bucket: \"AirGradientBucket\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn: (r) => r[\"_measurement\"] == \"air_gradient\")\n |> filter(fn: (r) => r[\"SSID\"] == \"Wifi Beats To Study To\")\n |> filter(fn: (r) => r[\"device\"] == \"2acb77\")\n |> filter(fn: (r) => r[\"_field\"] == \"co2\")\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)\n |> yield(name: \"mean\")"}],"staticLegend":{},"suffix":" ppm","width":4,"xPos":4,"yPos":4}],"name":"AirGradient Home"}}]