IKEA PM1006 2.5um Sensor

ESP8266 ESP Home sensor using IKEA, Particulate Matter PM1006 2.5µm Concentration Air Quality Unit:

VINDRIKTNING Air quality sensor The Sensor is available from IKEA for ~£16

Use the ESP Home add-on in Home Assistant to create this, copying the source code from here and updating your Wi-Fi credentials.

Connect an ESP8266 D1 Mini to the Ikea Sensor, open the unit to gain access to the connections. Now connect  D2 of the WEMOS D1 Mini board to the REST terminal in Ikea unit, the Green cable in the diagram.

Also connect +5v (Red) and Gnd (Blue)

esphome:
name: air-quality

esp8266:
board: d1_mini

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
password: "877ebb7031b78b0e8caa2949b702f4fe"

wifi:
ssid: "Your WiFi SSID"
password: "Your WiFi Password"

# Enable fallback hotspot (captive portal) in case Wi-Fi connection fails
ap:
ssid: "Air-Quality Fallback Hotspot"
password: "ZPvCXWGnniJd"

captive_portal:

uart:
rx_pin: D2
baud_rate: 9600

sensor:
- platform: pm1006
pm_2_5:
name: "Particulate Matter 2.5µm Concentration"