Firmware for ESP8266-based custom PCBs that connects IKEA Air Purifiers to Home Assistant via MQTT
Go to file
Gergo Horvath 36c780c951
Delete style.css
2023-05-17 00:56:50 +02:00
firmware v0.1.2-beta 2023-05-17 00:46:40 +02:00
LICENSE Initial commit 2023-03-07 17:06:17 +01:00
README.md Update README.md 2023-05-17 00:54:52 +02:00
upurifier.py Add upurifier.py 2023-03-07 17:13:38 +01:00

README.md

uPurifier

Firmware for ESP8266-based custom PCBs that connects IKEA Air Purifiers to Home Assistant via MQTT

How it works

Flash the firmware image (see latest release if available) or flash micropython directly (https://micropython.org/download/esp8266-1m/) and copy all the files in the firmware folder to ESP8266. Power up the chip and now you can access it via captive portal. On your computer check available networks and choose the one with a name of MicroPython-xxxxxx. Default password is micropythoN.

On the login page choose an air purifier and add your wifi and mqtt credentials. Don't forget to add a Home Assistant (HA) entity id of your choice to your deivce as the example below. After you click on connect, the ESP should reboot and within a few seconds try to establish wireless connection with your router, mqtt broker and HA instance. If it's successful then it automatically publish config entry to Home Assistant to set up your device properties.

settings

That's all! Now you can see your new fan entity in HA with options to turn on/off or even change speed of the purifier.

purifier

Tested with Micropython v1.19.1 (ESP8266 with 1MiB flash), Home Assistant 2023.05.03, Mosquitto 6.2.1

Troubleshooting: if the device doesn't open captive portal automatically after flashing the firmware succesfully then try to push the reset button once. In case the device does not connect to wifi after credentials are given then try to unplug the device for a few seconds and plug it again (sometimes wifi connection takes more time)

TODO

Filter LED control for Uppåtvind hasn't been implemented yet

Prerequisites

  • Home Assistant with Mosquitto MQTT add-on already installed
  • Förnuftig or Uppåtvind Air Purifiers from IKEA
  • Custom PCB for IKEA Air Purifiers (for more details check esp8266-for-fornuftig and esp8266-for-uppatvind repos)