homebridge-mihome4u
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

homebridge-mihome4u

A fast up to date homebridge plugin to interface properly with MiHome using the API.

Config

{
  "platform": "MiHome",
  "username": "youremail@address.co.uk",
  "password": "yourpassword or APIKey",
  "baseURL": "",
  "regex": {
    "enabled": true,
    "match_string": "/(?:\d{3}-\d{2} )?([\w - '’]+)/"
  }
}
  • platform: this should be left default to MiHome
  • username: your email address
  • password: either supply your password or API_Key
  • baseURL: incase the API gets updated
  • regex: 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 JS
  • npm publish - Publish to NPM
  • npm link - Allows homebridge to find it
  • npm 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.

Readme

Keywords

Package Sidebar

Install

npm i homebridge-mihome4u

Weekly Downloads

1

Version

0.1.2

License

ISC

Unpacked Size

60.1 kB

Total Files

24

Last publish

Collaborators

  • thorin