AirRohr - Flow to Monitor particulate matter with a ESP and SDS011

With this flow you can monitor the Air particulate matter. I Use on a ESP the AirRohr Firmware and a Nova pm sensor SDS011. If you want to see the Temperature and Humidity you need a DHT22 Sensor.

You need to install:

node-red-dashboard

If you have questions contact me: http://www.imakeyouintelligent.com/

[{"id":"d8dc61c8.9e29d","type":"http in","z":"fe32e996.646f9","name":"Airrohr API","url":"/input","method":"post","upload":true,"swaggerDoc":"","x":100,"y":480,"wires":[["ef354a77.971588","c3f6b162.ea4898","7ca2da12.e53994","f9b4add1.0f18a8","6680f563.fa57b4"]]},{"id":"ef354a77.971588","type":"http response","z":"fe32e996.646f9","name":"","statusCode":"","headers":{},"x":370,"y":580,"wires":[]},{"id":"c3f6b162.ea4898","type":"change","z":"fe32e996.646f9","name":"PM10 Sensor SDS011","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.sensordatavalues[0].value","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":420,"wires":[["117ea296.08cfd5"]]},{"id":"117ea296.08cfd5","type":"ui_chart","z":"fe32e996.646f9","name":"","group":"c6884e90.8da8a","order":0,"width":"27","height":"8","label":"Grosspatikel Sensor PM10 Werte in µg/m³","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"30","removeOlder":"24","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":760,"y":420,"wires":[[],[]]},{"id":"7ca2da12.e53994","type":"change","z":"fe32e996.646f9","name":"PM2.5 Sensor SDS011","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.sensordatavalues[1].value","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":460,"wires":[["a3aee2e1.f90758"]]},{"id":"a3aee2e1.f90758","type":"ui_chart","z":"fe32e996.646f9","name":"","group":"c6884e90.8da8a","order":0,"width":"27","height":"8","label":"Kleinpartikel Sensor PM2.5 Werte in µg/m³","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"30","removeOlder":"24","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":770,"y":460,"wires":[[],[]]},{"id":"f9b4add1.0f18a8","type":"change","z":"fe32e996.646f9","name":"Temperatur Sensor DHT22","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.sensordatavalues[2].value","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":500,"wires":[["e59b12ab.859d2"]]},{"id":"6680f563.fa57b4","type":"change","z":"fe32e996.646f9","name":"Luftfeuchtigkeit Sensor DHT22","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.sensordatavalues[3].value","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":450,"y":540,"wires":[["3f6b141e.70364c"]]},{"id":"e59b12ab.859d2","type":"ui_chart","z":"fe32e996.646f9","name":"","group":"c6884e90.8da8a","order":0,"width":"27","height":"8","label":"Temperatur Sensor Werte in Celsius","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-20","ymax":"50","removeOlder":"24","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":740,"y":500,"wires":[[],[]]},{"id":"3f6b141e.70364c","type":"ui_chart","z":"fe32e996.646f9","name":"","group":"c6884e90.8da8a","order":0,"width":"27","height":"8","label":"Luftfeuchtigkeit Sensor Werte in %","chartType":"line","legend":"true","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"100","removeOlder":"24","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":740,"y":540,"wires":[[],[]]},{"id":"b773e9ab.24fdc","type":"comment","z":"fe32e996.646f9","name":"Feinstaubbelastung vom ESP-05A9CC","info":"","x":190,"y":380,"wires":[]},{"id":"c6884e90.8da8a","type":"ui_group","z":"","name":"AirRohr","tab":"ec8e3abe.a99b38","disp":true,"width":"27"},{"id":"ec8e3abe.a99b38","type":"ui_tab","z":"","name":"AirRohr-Dashboard","icon":"dashboard","order":2}]
heydemar

Flow Info

created 1 month ago

Node Types

Core
  • change (x4)
  • comment (x1)
  • http in (x1)
  • http response (x1)
Other
  • ui_chart (x4)
  • ui_group (x1)
  • ui_tab (x1)

Tags

  • Monitor
  • Dashboard
  • Air
  • Temperature
  • Humidity
  • DHT22
  • SDS011
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option