0.0.2 • Published 7 years ago
homebridge-pivot-power-genius v0.0.2
Homebridge Pivot Power Genius
This Homebridge plugin allows to control your Pivot Power Genius.
Setup
- Install homebridge
- Install this plugin:
$ npm install -g homebridge-pivot-power-genius
Configuration
First, you should obtain access to the Wink API (by sending a request to questions@wink.com).
"platforms": [
{
"platform": "Wink Pivot Power Genius",
"name": "Wink Pivot Power Genius",
"client_id": "<replace_with_your_client_id>",
"client_secret": "<replace_with_your_client_secret>",
"username": "<replace_with_your_wink_username>",
"password": "<replace_with_your_wink_password>",
"outlets": [
{
"uuid":"<an_outlet_uuid>",
"hapService": "Lightbulb",
"name": "Light"
}
]
}
]
Note about the outlets
property:
- it should be defined as an array (
[]
), but don't necessary need to contain any value. - it can contains objects (
{}
) representing overrides for given outlets. - properties that matters:
uuid
can be found by running homebridge with the command$ DEBUG=wink:http homebridge
and observing the console output. Objects with the propertyobject_type
set tooutlet
contains a propertyuuid
- this is the one you need.hapService
defaults toOutlet
and can optionally be replaced by a different service. This becomes handy if your outlet controls a lightbulb, and you want it to appear as such in your HomeKit app.name
defaults to the name set in the wink app.