Skip to content

MichaelWhi/smirt_home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sMIrtHome

Simple tools using Xiaomi MiHome devices.

Install

  • run npm install
  • run npm install -g miio, if you want to discover devices using miio discover

Use

Currently, you can only have your air purifier have an upper limit for automatic operation.

This can be configured in the air.js (set your IP).

Then start the script by running npm start or node index.js.

Requirements

Node 8+ is required due to the use of async/await.

License

Please note the licenses of RxJS and miio, and other npm packages utilized (package.json).

The code itself is merely an example usage, you can do what the fuck you want:

             DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                     Version 2, December 2004

         Copyright (C) 2004 Sam Hocevar <[email protected]>

         Everyone is permitted to copy and distribute verbatim or modified
         copies of this license document, and changing it is allowed as long
         as the name is changed.

         DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
         TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

         0. You just DO WHAT THE FUCK YOU WANT TO.

About

some MiHome scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published