An MQTT interface for your Mi Home Devices.
Before installing make sure you have nodejs 6.6+ and npm 4+ installed already.
- Clone this repository.
- Install dependencies:
npm install
- Rename
confg/airpurifier.env.example
toconfig/airpurifier.env
- Edit your
config/airpurifier.env
file and replace all the necessary information. Like MQTT credentials, etc. - Install PM2:
npm install -g pm2
- Finally run:
pm2 start process.json
Currently working on it...
Mi Air Purifier 1, 2 and Pro |
More devices will be added soon...