/mi-purifier-control

This is a simple script designed to replace the auto-mode available on the mi purifier 2. minor edits are required to fit it to your need.

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

mi-purifier-control

Better auto mode
This is a simple utility designed to replace the AUTO mode available on Mi Purifier 2. This utility also logs the air quality and includes charting functionality.

Getting Started

Install Nodejs and python

Install Prerequisites

npm update
pip install flask

Running

First update the purifier.js script with the appropriate IP address.

Then to run the program

node purifier.js

To run the charting utility

python app.py  

Then open localhost:5000 on your browser.