This project adds wifi connectivity to the Winix C535 air purifier. I only have one relay, so it just does speed control.
- Raspberry Pi Zero W (powered internally by 5v header pins)
- Relay
- Winix Air Purifier
This repo contains:
- A Flask application which listens for requests
- A systemd script to launch the application at boot
apt update
apt install python3-flask
cp pi-purify.py /usr/local/bin/
cp pi-purify.service /etc/systemd/system
systemctl enable pi-purify
systemctl start pi-purify