rthewhite / homebridge-homewizard

23 stars 13 forks source link

travis Coverage Status npm downloads

UNSUPPORTED

I no longer have a HomeWizard in my possession and no longer support this plugin.

homebridge-homewizard

This plugin will add platform support for HomeWizard to Homebridge. And therefore give you the ability to control all devices and sensors attached to your HomeWizard with Siri!

If you are interested in helping out, or would like to see support for something let me know!

Current supported devices:

Install guide

First follow the instructions to install homebridge: https://github.com/nfarina/homebridge

If you have Node and NPM setup basically:

npm install -g homebridge

Once you have homebridge installed, install this plugin:

npm install -g homebridge-homewizard

Now you will have to setup your config.json for homebridge. An example is included in this repo.

Post install

When you have installed homebridge and homebridge-homewizard and got them running and setup on your iOS device. All devices that homebridge-homewizard currently supports should popup on your iOS device as accessories in Homekit.

Config

Below is an example configuration for Homebridge. To run the HomeWizard plugin you need to add the platform object in the platforms array like below. The accessories array, has not functionality regarding the HomeWizard plugin and is used by Homebridge for other plugins etc.

Options:

Known issues

FAQ

Developing

All help developing this plugin is welcome. Homebridge-homewizard is written in ES6 and transpiled using Babel. Code styles are evaluated using Eslint to make sure all code looks the same. If you need help to setup, let me know.

Adding device support

If you want to add support for new devices, you will need to create a new accessory class in the accessories folder. See for example switch or thermometer. Next to that you will need to make the accessories factory in accessories.js aware of you new device type. The factory receives the entire response of the get-sensors call from the HomeWizard which lists all devices.

Changelog