IOT air quality sensor with a raspberry pi and an sds011. That uses MQTT for data transmission and can report PM 2.5 and 10.

@AndreC looks like industrial grade device.
Waiting for exactly the same Nova PM sensor to be delivered.
How does that one behave in terms of precision depending on outside temperature and humidity?
Any details/tips on connecting to apart from ?

@debugger I definitely wouldn't recommend using a raspberry pi I just hacked up some quick python code I found online. Instead I recommend using a D1 mini or other Arduino chip as its cheap and has a lower power consumption. For accuracy humidity definitely plays a big role but I don't care as I just care about relative values. I think if you factored in humidity it would be very accurate and you can find a bunch of Arduino sketches on GitHub.
Hope this answers your question Goodluck! 😃

If you are set on using a I definitely would just modify someone elses code instead of programming it from scratch as the serial protocols the sds011 are crazy complex. Also if you need a sensor for humidity I would recommend the DHT22 as it can handle temperature as well. If you want I could upload the modified python script im using to GitHub might save you some time then you can just change it to suit yourself.

@debugger @AndreC I recommend building this and contributing to

I have a sensor running on my balcony for a couple of years now. Zero maintenance, and the default firmware supports several interfaces (influxdb, mqtt, etc)

@signaleleven @debugger WOW that looks like an incredible project! Much better than the hacky code I have definitely should of done that of I was to build another.

@AndreC @debugger building something from scratch (or from libraries) is still a nice experience. But for production deployment of a sensor, I'd go for that 😊

@signaleleven @debugger Yes definitely, I hardly care if mine is accurate or stable as it's only job is to detect when I start my fireplace and turn on an air filter. I am actually looking to build some leak/water detectors so I'll definitely want to see if there's any premade ones if there isn't I would definitely contribute my own design.

@AndreC @debugger have you seen
Once you invest in a centralized, self hosted home automation software, all those projects will share the same event bus and backend. Like, regardless of what sensor I end up using, I look first if it's something I can do with an ESP and because that's the most natural way to integrate it with home assistant.

@signaleleven @debugger All of my stuff is actually hooked up to Home Assistant and it's apsolutely incredible! Sometimes when I'm using it I just cant believe it's all free. I care about security so none of my devices talk to the cloud. Most of my devices are ESP's running either Tasmota or open MQTT gateway, I haven't looked into ESP home yet.

@AndreC @signaleleven speaking about security, have you considered using over CoAPs? It's quite heavy comparing to MQTT, but provides more security options.
We use it in production for railway industry.

@debugger @AndreC While I do use MQTT for a couple of things, it's internal to my network.
But I will check that out because I never heard of either (LmM2M and CoAP, although it smells like LoRa..)

@debugger @AndreC wow, it does add a provisioning layer on top of the message exchange. Interesting. Most of my stuff has hardcoded credentials, we're talking about a handful of home sensors. But for bigger deployments, I'd definitely consider that. Cool.

@signaleleven @debugger Yes definitely if your running industrial level IOT device's looks like this is a must! For smaller deployments im sure mqtt is fine and very easy to get your head around.

@debugger @signaleleven No I have never heard of it but it sounds very interesting. The main reason I use MQTT over another protocol is simplicity, it's very easy to understand plus you can segregate it to its own network and just have the broker talk to your HA instance. Also security isn't really an issue as I'm the only person on my network and I don't care about people seeing data being transferred.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!