Air Purifier ThingSpeak
Send statistic from Xiaomi Air Purifier to ThingSpeak.com
Configuration
- Discover Xiaomi Air Purifier by
miio
npm i -g miio
miio discover
- save IP and token
- Create config.json based on config-example.json and paste IP & Token.
- Create job in cron:
*/5 * * * * /usr/bin/node /path/to/air-purifier-thingspeak/index.js