A fast up to date homebridge plugin to interface properly with MiHome using the API.
{
"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
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 :-)
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.