Skip to content

web app + server for xiaomi mi air purifier, based on miio

License

Notifications You must be signed in to change notification settings

remixer-dec/AirPurifierApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirPurifierApp

A small web-app to control Xiaomi Mi Air Purifier (only the 2nd model was tested) and capture its stats.

Screenshot

Installation

  1. Navigate to Server directory
  2. Run npm ci or npm install
  3. Run node miio-fix Starting from v1.1, it runs automatically as postinstall script
  4. Edit config.js (You have to set up miio token first, see more info in miio docs or try to run npx miio discover )
  5. Run node index.js to start the server
  6. If you're using different IP/Port, edit the first line of client.js in the Client directory.
  7. Run any http-server in the Client directory

Libraries used (licenses): Vue(MIT), FontAwesome4(MIT+OFL), miio(MIT), Chart.js(MIT), nodejs-websocket(MIT), workbox(MIT)

Releases

No releases published

Packages

No packages published