PLEASE INSTALL HOMEBRIDGE-WINK or HOMEBRIDGE-WINK3
thechrisreese / homebridge-winkv2 Goto Github PK
View Code? Open in Web Editor NEWDon’t Install This One
Don’t Install This One
PLEASE INSTALL HOMEBRIDGE-WINK or HOMEBRIDGE-WINK3
Can we use our personal Wink credentials for this instead of the default android one that everyone has been using?
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 :-)
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)
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)
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] ====================
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.
garage_doors.js:63
and garage_doors.js:99
Please check for null
, thats what Wink returns, not undefined
.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.