Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

A Homebridge plugin that automatically discovers MiHome devices.

Notifications You must be signed in to change notification settings

chriscn/homebridge-mihome4u

Repository files navigation

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 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.

About

A Homebridge plugin that automatically discovers MiHome devices.

Resources

Stars

Watchers

Forks

Packages

No packages published