I've also become interested in adding some air quality sensors recently (from the Canadian wildfires). I just bought some Nova SDS011 modules with USB adapters. Doesn't come with a nice case but should require less hacking. Probably ends up similar in price.
homeassistant
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
It is 4x more expensive than the VINDRIKTNING but the newer VINDSTYRKA (Zigbee with a display) setup in seconds and just works via zigbee2mqtt.
Guess it depends if you have a lot of ESPs kicking around or can get them shipped with all parts and build for low enough / fast enough to justify it.
Vindstyrka is definitely a more attractive sensor, with more capabilities. I was super excited to see it. One of my requirements was to have an esphome device as I don't have a ZigBee network. Seems like the data interpretation through i2c isn't quite there for Vindstyrka, Ikea is doing some calculation after reading the sensor on it.
I wish either of the IKEA devices measured more. I picked up an Awair Element used off eBay and set it up to provide data locally. The C02 sensor in particular has been really enlightening.
CO2 would be very useful. I picked up two VINDSTYRKA as I have been concerned about PPM counts in the air as we have a few people with asthma. The VOC reading is kind hard to use in HA as it works against a rolling average and a score in a range.
You could also get a d1 mini. That's what I used it's smaller and doesn't come with the pins soldered on. It also has a 5V in. What are you using to bring the data into HA? I used esphome.
Same thing here. Using ESPHome almost identical config from the tutorial except for my wifi secrets.
If anyone is interested here is the ESPHome config I arrived on:
substitutions:
name: "vindriktning_01"
friendly_name: "vindriktning 01"
project_name: "ikea.vindriktning-sensor"
ota:
password: !secret freindly_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Ikea-Vindriktning-01"
password: !secret freindly_password
ap_timeout: 30s
esphome:
name: "${name}"
project:
name: "${project_name}"
version: "1.0"
esp8266:
board: esp01_1m
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
uart:
rx_pin: GPIO2
baud_rate: 9600
sensor:
- platform: pm1006
pm_2_5:
name: "Particulate Matter 2.5µm Concentration"
web_server:
port: 80
local: true