Coder Social home page Coder Social logo

homebridge-pivot-power-genius's People

Contributors

flochtililoch avatar tekuonline avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homebridge-pivot-power-genius's Issues

Is this plugin working for anyone?

I am able to install the plugin, but am not able to find the uuid. I tried the command $ DEBUG=wink:http homebridge in terminal, but it says "command not found."

If this plugin is actually working for anyone, it would be amazing if someone would be willing to help me get it working, thanks!

homebridge crashes on certain outlets

I have two Power Pivot Genius strips. One will reliably turn on and off, the other will change state once to on or off, and then crash. Below is example from config.json:

{
    "platform": "Wink Pivot Power Genius",
    "name": "Wink Pivot Power Genius",
    "client_id": "quirky_wink_android_app",
    "client_secret": "e749124ad386a5a35c0ab554a4f2c045",
    "username": "[email protected]",
    "password": "mypassword",
    "outlets": [
      {
        "uuid": "6c3266c1-5acd-45e0-865f-70e425674625_0",
        "hapService": "Outlet",
        "name": "VSphere ESXi"
      },
      {
        "uuid": "6c3266c1-5acd-45e0-865f-70e425674625_1",
        "hapService": "Outlet",
        "name": "Desk Lamp"
      },
      {
        "uuid": "eb24b286-0c87-4697-94d7-51cfd2e558c8_0",
        "hapService": "Lightbulb",
        "name": "Light"
      },
      {
        "uuid": "eb24b286-0c87-4697-94d7-51cfd2e558c8_1",
        "hapService": "Lightbulb",
        "name": "Outlet 2"
      }
    ]
  }

The error in the command window is as follows after toggling the outlet:

C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge\bin>homebridge
C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-pivot-power-genius\lib\accessory.js:65
        return done(undefined, outlet.powered);
                                     ^

TypeError: Cannot read property 'powered' of undefined
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-pivot-power-genius\lib\accessory.js:65:38
    at remoteOutlet.update (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-pivot-power-genius\lib\accessory.js:58:7)
    at C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-pivot-power-genius\node_modules\wink-js\index.js:384:8
    at IncomingMessage.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge-pivot-power-genius\node_modules\wink-js\index.js:75:7)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

C:\Users\Administrator\AppData\Roaming\npm\node_modules\homebridge\bin>

It's probably user error on my part, but I'm at a loss. Both strips work fine from Wink app, but the iOS Home app will crash out homebridge on certain outlets.

Thanks for any help, and for writing this plugin!

Invalid Grant Type Error

Hi there, I got access to the Wink API and installed the plugin but when I try to start homebridge i get an authorization error invalid_grant: This client is not permitted to use the password grant type. Any advice is much appreciated!

Error when trying to install

I get the following message when trying to install this plugin. Is there anything that can be done to resolve this? Thanks!

$ sudo npm install -g homebridge-pivot-power-genius
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/scoobyshi/wink-js.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

How to find uuid?

I am able to install the plugin, but am not able to find the uuid. Per the instructions (below), I tried the command $ DEBUG=wink:http homebridge in terminal, but it says "command not found."

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.

If this plugin is actually working for anyone, it would be amazing if someone would be willing to help me get it working, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.