Air quality with SDS011 Channel Feed: | JSON XML CSV |
Field 1 Data: Air quality PM2.5 [µg/m3] | JSON XML CSV |
Field 2 Data: Air quality PM10 [µg/m3] | JSON XML CSV |
Field 3 Data: Temperature [°C] | JSON XML CSV |
Field 4 Data: Air pressure 300m a.s.l. [hPa] | JSON XML CSV |
Field 5 Data: Humidity [%H] | JSON XML CSV |
Field 7 Data: Controller temperature [°C] | JSON XML CSV |
Field 8 Data: Sensor time offset [s] | JSON XML CSV |
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/widgets/1590"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/widgets/1591"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/charts/1?bgcolor=%23ffffff&color=%23d62020&dynamic=true&min=0&results=120&title=PM2.5+%5B%C2%B5g%2Fm3%5D&type=line&yaxismin=0"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/charts/2?bgcolor=%23ffffff&color=%23d62020&dynamic=true&min=0&results=120&title=PM10+%5B%C2%B5g%2Fm3%5D&type=line&yaxismin=0"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/charts/3?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=120&title=Temperature+%5B%C2%B0C%5D&type=line"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/charts/4?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=120&title=Air+pressure+300m+a.s.l.+%5BhPa%5D&type=line"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/charts/5?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=120&title=Humidity+%5B%25H%5D&type=line"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/charts/7?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=120&title=Controller+temperature+%5B%C2%B0C%5D&type=line"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/charts/8?bgcolor=%23ffffff&color=%23d62020&dynamic=true&results=120&title=Sensor+time+offset+%5Bs%5D&type=line"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/status/recent"></iframe>
<iframe width="450" height="260" style="border: 1px solid #cccccc;" src="https://thingspeak.com/channels/357142/maps/channel_show"></iframe>
This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.
i'm doing a huge project for my school about air pollution.
but i can't find any code to make my sensors work.
i see that i use the same kind of sensors.
can i please have your code?
my e-mail adres is "tom2.langedock@gmail.com"
thanks
Thank you very mutch
daniele.sof@gmail.com
REGARDS
JH
johnhardmann@gmail.com
Grüssle,
Danny
REGARDS
JH
johnhardmann@gmail.com
You can try GitHub to look for templates?
For example:
https://github.com/hyanghee/check-dust
BTW: Why do you think it's python?
If you have further problems uploading to thingspeak, I share my python module.
Thx
First of all: good job.
I just noticed that your atmospheric pressure is rather low compared with the official meteorological measurements in the Stuttgart area . This is because the BME measures the absolute pressure. I ran into the same problem when I started using my BME.
In order to obtain normalized valued ("sea level") the BME pressure needs to be corrected by a factor given by the barometric altitude formulae. It doesn't need to be one of the sophisticated versions, the most trivial will do: p(sea level) = p(bme measured) • exp(actual height / 8430) (in meters).
From the location you have given and assuming that the sensor is not on ground level my estimation of the actual altitude is roughly 280m (see OpenTopoMap for iso altitude lines). You might have better data. exp(280/8430) = 1.0337 and right now (25.07.2017, 23:00) using the pressure data of your sensor yields a corresponding sea level pressure of 1012hPa which is in perfect agreement with the sea level pressure of 1013hPa measured at the Stuttgart Airport at the same time. That less than 0.1% difference! Of course the pressure might be indeed slightly different because of the distance between the two locations ...
You might want to try more sophisticated versions of the barometric altitide formula (taking into account humidity and temperature, for example) but you'll find that the results will be very similiar. We should also keep in mind that the BME pressure results are not error free.
Hope that helps (to improve your results).
Best regards
Dirk (dniemeier2012)
Yes, You are right.
Because I'm mainly interested in change of air pressure over time, I decided not to adjust the data to sea level.
So, because the sensor is installed about 300m above sea level, the measured pressure is 3.5% lower then pressure at sea level.
Or, for rough estimation, because the air pressure is usually between approximately 970hPa and 1030hPa, the measured pressure is about 35hPa lower.
I checked this with data from DWD at
https://www.wetterdienst.de/Deutschlandwetter/Stuttgart/Aktuell/107390
better for you:
https://www.wetterdienst.de/Deutschlandwetter/Stuttgart/Aktuell/107380
Nevertheless, I adjusted the title of the chart to make this more clear.
Thank you for the hint.
Best Regards
Thomas
P.S.:
Ursprünglich stamme ich aus Echterdingen und bin teilweise in Leinfelden zur Schule gegangen.
Ich bin im übrigen noch in der "proof of concept" Phase. Regen UND Wind fehlen noch völlig, Feinstaub wollte ich erst auch, aber wo soll hier im Wohngebiet Feinstaub herkommen? Deine Ergebnisse deuten darauf hin, dass sich der Aufwand wirklich nicht lohnt ...
Grüßen aus LE!
Please can I have your code?
My email is zayar.win93@gmail.com
Thanks.
I'm trying to deploy a system for my final project for college; the air pollution levels are sent on to the thingspeak.com but for some reason the channels stay blank. Can I please please have a look at your code at least for comparison and see what I should adjust ?
My email address is 9purpleberries@gmail.com
Many thanks
I used the example from
https://de.mathworks.com/help/thingspeak/continuously-collect-data-and-bulk-update-a-thingspeak-channel-using-a-raspberry-pi-board.html
REGARDS enmarcor@hotmail.com
can I have the codes for this? Would like to try it myself for school project.
email: dd180008@siswa.uthm.edu.my
it is a python script adding the follwing after values:
reqline += '&status=' + datetime.datetime.fromtimestamp( ts ).strftime( '%H:%M:%S' ) + ':%20new%20data'