homebridge-mihome4u
v0.1.2
Published
A short description about what your plugin does.
Downloads
14
Readme
homebridge-mihome4u
A fast up to date homebridge plugin to interface properly with MiHome using the API.
Config
{
"platform": "MiHome",
"username": "[email protected]",
"password": "yourpassword or APIKey",
"baseURL": "",
"regex": {
"enabled": true,
"match_string": "/(?:\d{3}-\d{2} )?([\w - '’]+)/"
}
}
platform
: this should be left default to MiHomeusername
: your email addresspassword
: either supply your password or API_KeybaseURL
: incase the API gets updatedregex
: enabled/disabled and then the string to change the display name
Scripts
Below are scripts just so that I don't forget them.
npm run build
- Build's the TS to JSnpm publish
- Publish to NPMnpm link
- Allows homebridge to find itnpm run watch
- Automatic development and restarting :-)
Branches
master
: This is an automatic deploying branch, anything on here gets uploaded to npm and then out to Homebridge.develop
: This is where all PR should be made against. Any others will be closed.