This plugin relies on the v1 version of the Wink API. In order to use it, you will need an account with Wink that can access the v1 API.
This Homebridge plugin allows to control your Pivot Power Genius.
$ npm install -g homebridge-pivot-power-genius
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:
[]
), but don't necessary need to contain any value.{}
) representing overrides for given outlets.uuid
can be found by running homebridge with the command $ DEBUG=wink:http homebridge
and observing the console output. Objects with the property object_type
set to outlet
contains a property uuid
- this is the one you need.hapService
defaults to Outlet
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.