Coder Social home page Coder Social logo

homebridge-winkv2's Introduction

PLEASE INSTALL HOMEBRIDGE-WINK or HOMEBRIDGE-WINK3

homebridge-winkv2's People

Contributors

thechrisreese avatar

Stargazers

 avatar  avatar

Watchers

David Vo avatar  avatar  avatar

Forkers

unixboy

homebridge-winkv2's Issues

Does this use API v2?

Can we use our personal Wink credentials for this instead of the default android one that everyone has been using?

question: why forking the existing wink plugin?

Why not simply adding the feature to the original one?
Are you planning to support this one?

And then canary related question – the HomeKit app says the system is armed when the actual status is 'home'. Is it possible to change it so that is says its armed only when the status is, say, either 'away' or 'night'?

Thanks for your work :-)

Fix for Set Function for Canary

Change the deviceGroup to 'cameras'.

	WinkSecurityAccessory.prototype.deviceGroup = 'securitysystem';

should be;

	WinkSecurityAccessory.prototype.deviceGroup = 'cameras';

This is what is in the API (light_bulb, sensor_pod, etc). Otherwise you get a 404 Not Found error (because the HTTP path to securitysystem doesn't exist)

Unexpected end of JSON input

I get the following error when trying to run the wink platform.
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at IncomingMessage. (/usr/lib/node_modules/homebridge-winkv2/node_modules/wink-jsv2/index.js:69:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
raw message
/usr/lib/node_modules/homebridge-winkv2/index.js:143
for (var i = 0; i < devices.data.length; i++) {
^

TypeError: Cannot read property 'data' of undefined
at /usr/lib/node_modules/homebridge-winkv2/index.js:143:33
at /usr/lib/node_modules/homebridge-winkv2/node_modules/wink-jsv2/index.js:245:9
at IncomingMessage. (/usr/lib/node_modules/homebridge-winkv2/node_modules/wink-jsv2/index.js:76:7)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

Plugin fails to load

Homebridge won't recognize the plugin. Any help would be appreciated!

Jan 13 21:34:34 raspberrypi homebridge[4155]: [1/13/2017, 9:34:34 PM] ====================
Jan 13 21:34:34 raspberrypi homebridge[4155]: [1/13/2017, 9:34:34 PM] ERROR LOADING PLUGIN homebridge-winkv2:
Jan 13 21:34:34 raspberrypi homebridge[4155]: [1/13/2017, 9:34:34 PM] TypeError: Path must be a string. Received null
Jan 13 21:34:34 raspberrypi homebridge[4155]: at assertPath (path.js:7:11)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Object.dirname (path.js:1324:5)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Object. (/usr/lib/node_modules/homebridge-winkv2/node_modules/config-file/index.js:17:21)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module._compile (module.js:570:32)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Object.Module._extensions..js (module.js:579:10)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module.load (module.js:487:32)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at tryModuleLoad (module.js:446:12)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Function.Module._load (module.js:438:3)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module.require (module.js:497:17)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at require (internal/module.js:20:19)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Object. (/usr/lib/node_modules/homebridge-winkv2/node_modules/wink-js/index.js:4:14)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module._compile (module.js:570:32)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Object.Module._extensions..js (module.js:579:10)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module.load (module.js:487:32)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at tryModuleLoad (module.js:446:12)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Function.Module._load (module.js:438:3)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module.require (module.js:497:17)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at require (internal/module.js:20:19)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Object. (/usr/lib/node_modules/homebridge-winkv2/index.js:2:12)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module._compile (module.js:570:32)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Object.Module._extensions..js (module.js:579:10)
Jan 13 21:34:34 raspberrypi homebridge[4155]: at Module.load (module.js:487:32)
Jan 13 21:34:34 raspberrypi homebridge[4155]: [1/13/2017, 9:34:34 PM] ====================

Cannot authenticate with new Wink dev account (v2)

My homebridge throws this error:

[4/29/2017, 3:25:53 PM] [Wink] Direct Access NOT Enabled. Add direct_access:true to your config if you which to use direct access on Wink.

[4/29/2017, 3:25:53 PM] [Wink] There was a problem authenticating with Wink: This client is not permitted to use the password grant type

I'm unsure of how to get the Outh2 to grant access to the system when I go to the Authorization URL since I do not have a legit URI setup (just a domain I own). This is the case even if I take out the &request_uri= out of the URL.

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.