Comments (11)
Looking at the stack trace closer this actually seems to be an issue with wink-js. I'm working on a branch to handle the exception out of wink-js
from homebridge-wink.
I've created a PR in winfinit/wink-js#4 for fixing the underlying issue in wink-js. I need to spend more time learning the node.js async error handling to see how to handle this on the homebridge-wink side if the wink-js issue doesn't get fixed.
from homebridge-wink.
Thank you. Looks like wink-js needs a new npm publish as well. The one on the wink-js github fixes the issue of the huge data dump to the console by putting it into a debug output instead of console.
from homebridge-wink.
Yah I asked in the issue we'll see if he gets it out.
from homebridge-wink.
Looks like the npm module has been updated. I think you just need to run "npm update" on homebridge?
from homebridge-wink.
Nope an update doesn't work. the packages.json is defining ^0.0.9. The wink-js update was done as version 0.1.0 and so it doesn't update to it. I've open a PR to fix this we'll need a new release though.
from homebridge-wink.
Well according to https://www.npmjs.com/package/semver the ^0.1.0 will get be 0.1.0 <= ver < 0.2.0 I guess it depends on how @winfinit is planning on versioning wink-js. Based on the semver info ^0.1.0 is correct as 0.1.x should guarantee no breaking api changes where >0.1.0 things could break as a 0.2.0 could have a incompatible API change.
from homebridge-wink.
That makes a lot more sense. Thanks for that explanation.
from homebridge-wink.
Although I am not fully complying to "semver", however I do strongly agree with "semver" summary:
- MAJOR version when you make incompatible API changes
- MINOR version when you add functionality in a backwards-compatible manner
- PATCH version when you make backwards-compatible bug fixes
so you can feel safe to update MINOR version.
from homebridge-wink.
Great thanks @winfinit so I'll update it to be 0.1.0 < ver < 1.0.0 then.
from homebridge-wink.
Released in 1.0.3
from homebridge-wink.
Related Issues (20)
- Are dimmer light switches supported yet?
- Homebridge.err log fills up with wink get requests HOT 1
- Unknown error HOT 1
- Problems initializing
- Wink Connection Details HOT 5
- Contact Sensor seems to be reporting as door
- GoControl Siren Not Showing Up / ID's I want to Hide Not Hiding
- Issue with personal api keys versus the generic HOT 27
- Outlink showing up twice
- /
- Docs should mention homebridge-wink3? HOT 1
- v1 android app credentials not working HOT 5
- Authentication Error. Password Grant Type HOT 14
- error log growing quickly superagent get timeouts
- Canary air quality
- Accessing API data directly with just Curl HOT 10
- [Question] Are Wink Shortcuts supported? HOT 5
- [Issue] Unable to activate 'open' commands through Siri (?)
- Where is initial key provided? HOT 2
- Home app cannot add accessories
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-wink.