Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remixer-dec/airpurifierapp
web app + server for xiaomi mi air purifier, based on miio
https://github.com/remixer-dec/airpurifierapp
miio nodejs smart-home temperature-monitoring vue vue2 xiaomi
Last synced: about 2 months ago
JSON representation
web app + server for xiaomi mi air purifier, based on miio
- Host: GitHub
- URL: https://github.com/remixer-dec/airpurifierapp
- Owner: remixer-dec
- License: mit
- Created: 2020-01-05T00:53:04.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-14T15:11:06.000Z (almost 2 years ago)
- Last Synced: 2024-04-28T05:05:34.746Z (8 months ago)
- Topics: miio, nodejs, smart-home, temperature-monitoring, vue, vue2, xiaomi
- Language: JavaScript
- Homepage:
- Size: 1.17 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
## AirPurifierApp
A small web-app to control Xiaomi Mi Air Purifier (only the 2nd model was tested) and capture its stats.![Screenshot](https://i.imgur.com/yJPyWEy.png)
### 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](https://www.npmjs.com/package/http-server) in the Client directory
Libraries used (licenses): Vue(MIT), FontAwesome4(MIT+OFL), miio(MIT), Chart.js(MIT), nodejs-websocket(MIT), workbox(MIT)