While these projects are cool it’s worth noting IKEA since released a Matter capable version in the last year. It is 3 times the cost though (US $50 it seems). Still quite cheap on the whole I think.
Worth mentioning for those who were ignorant like me: Matter looks like an IoT protocol that’s cross platform across most home sensors and controllers (Apple home, Google nest, Alexa, etc)
If anyone is going to do it I highly recommend just going with esphome now for the firmware, it’s way simpler and better maintained. You can even update the firmware over the network.
And if you want to turn your ESP8266 into a standalone appliance, with a web interface and directly editable config that doesn't need a build step, Tasmota is another great option.
How on EARTH did I not know esphome existed?! Why am I bothering with this heterogeneous plate of home coded ESP and Arduino spaghetti throughout my house?!
A simple pir sensor just has a digital out that is either high or low. That is supported as a digital in sensor. Only for devices with a more complicated protocol (mostly i2c, spi and uart) you need a special sensor specific integration
If you install Home Assistant (HAOS or Supervised) on something then ESPHome is a one click install with a web GUI. There's an OVA for HAOS as well as all the usual suspects - amd_64, RPi and more.
If you don't want all that stuff then do it from the command prompt, most Linux distros have it in the package manager and no doubt Mac n that have easy to install options.
Having co2 made it much much more aware to me to keep window open or open them and this effect is very long lasting for me, i'm doing this now for years and it stuck.
I can highly recommend buying a $60 or so co2 device.
I assembled one your kits last week. Working great! I used to discover a flapper on the stove exhaust vent was stuck closed. It only took 5min to fix and the PM2.5 improved 10x.
not the GP but I'm a fan of the Netatmo Indoor Air Quality Monitor. Price is fair imo (100usd), the app works well plus the data can be accessed via the web, and it includes humidity, temperature, and noise monitoring in addition to CO2 monitoring.
i only bought TFA Dostmann AirControl Mini CO2 Meter TFA 31.5006 Ambient Air Monitoring by accident, it does what it does and is super unflashy so i got another one a year later.
Most of the $60 ones aren’t really measuring CO2. The usual giveaway is if the sensor also measures VOC or TVOC most are estimating the CO2 based on that. Which has only a vague correlation sometimes and not remotely close to useful.
You need a device that specifically quotes having an “NDIR” sensor and most are $100+
What sort of control sequences are people using for the PM2.5 sensor? Something like ‘if particulate matter is above SETPOINT; then enable exhaust fan and open filtered fresh air intake damper; else if particulate matter is below SETPOINT and exhaust fan on and damper open, disable fan and close damper’?
Does anyone know if the IKEA sensor detects cigarette smoke? Or, if not, is there any cheap sensor available to detect smoking (and vaping, if feasible)?