If any of you have missed IKEA has a “new” product called Vindriktning. It is a 2.5 PM air quality sensor (PM1006) with a color LED on the front to indicate the air quality with green, amber and red colors.
By default the device is not a smart or connected device but thanks to some clever people it is a perfect base for a DIY project.
First of all @Hypfer published his esp8266 code base and instruction how to connect and set up the device with an esp8266 and MQTT.
Then @Habbie took it further and made a PR to ESPHome to include the PM1006 as a 2.5 PM sensor in the ESPHome project. Since that many has tried to solder an esp8266 or esp32 to the Vindriktning and succeeded with the project.
Some pictures are available in the PR’s discussion section, but please do any follow up discussion here to leave the Github PR clean of any further discussion.
Thanks @Habbie. The PR to the ESPHome is well appreciated. I think this device will be a top seller from IKEA to any DIY project.
I installed a Wemos D1 Mini and a DTH22 shield inside my device and with ESPHome it was just a few minutes to make it work, after the struggle of the soldering and trying to place everything to the right place…
I am just waiting now for an article from Hackaday…
Damn… That was quick… I came across @Hypfer’s Github repo first, just a day after it was published, because Google suggested it on one of the cards in the Chrome Mobile browser when you open a new tab.
Otherwise it is an easy project. You just really need some dupont cables and an esp8266 or an esp32. (And a good soldering iron.) Smaller is better. Actually the Wemos D1 Mini is a perfect choice by small size. Esp32 has some really tiny boards as well. Like the Atom Lite ESP32 or the Wemos ESP32.
@sermayoral - in the Hackaday article’s comment section @Hypfer was discussing the importance of the fan and fan speed with another user. Have a look on that.
I have to replace the antenna by a white and smaller one, but i only have the black one in my house. The ble coverage is really good. I wanna change the fan voltage as well, so i will post more photos when i open the vindriktning again
You are right. I only took photos before putting the ESP32 inside. I had to cut the pins to fit in the hole. If you are interested, i can open the vindriktning to take photos. Is not a problem
Both Wemos Mini Esp8266 and Esp32 has only the blue led, but I guess your real choice was for the antenna connector. But I have seen some other projects (Zigbee coordinator) where the built in antenna was cut through and an external connector soldered in place of the cut. Wouldn’t that be easier for you as well?
hah, yes. I have some ESP32 boards (LOLIN32 I think) that support a battery, and they will blink red (or was it blue? if they don’t see a battery. I have since gotten other boards without battery support to fix that, but they don’t fit nicely inside the IKEA unit, so now I’m waiting for the smaller ones.
I used an ESP8266 ESP01 with a stepdown converter (5v-3,3v). Also I didn’t use the solder pins like everybody else did, i used the solder pins at the end of the board. I think they are pins to accommodate a connector which is not on the board from the factory but they perform the same.
Ikea board 5v and GND → Stepdown
Ikea board REST → GPIO2 on ESP
Stepdown 3,3v → 3V3 and EN on ESP
Stepdown GND → GND on ESP
I used a hot glue gun to glue the pcb’s to the casing. These glue guns can be bought at your local hardware store or at your local Action (NL).
The reason why I used two little pcb’s is (1) I had them laying around and (2) they minimally disturb the airflow for the sensor.
To get the air quality data into HomeKit the name of the sensor must contain: ‘pm25’.
Side note: I’m running my first config from before the icon was changed. You should use:
source: github://sermayoral/esphome@pm1006