0.0.2 • Published 9 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:- uuidcan be found by running homebridge with the command- $ DEBUG=wink:http homebridgeand observing the console output. Objects with the property- object_typeset to- outletcontains a property- uuid- this is the one you need.
- hapServicedefaults to- Outletand 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.
- namedefaults to the name set in the wink app.