Comments (9)
@rbdubz3 Could you please take this file: https://raw.githubusercontent.com/OleksandrBerchenko/python-lightify/for_rbdubz3/lightify/__init__.py (I have added additional debug messages on warning level) and try to reproduce again?
It looks like we got from Lightify Gateway a response of unexpected length and structure.
Thanks!
from python-lightify.
@OleksandrBerchenko - will give it a shot and let you know.. BTW I haven't seen this before so may be difficult to recreate
from python-lightify.
@rbdubz3 Did you have a chance to reproduce that issue again?
Thanks!
from python-lightify.
@OleksandrBerchenko - I honestly have no idea how to reproduce it and what started it in the first place. As I mentioned above, I suspect something was going on with python on my system as I saw the utf-8 errors prior to the errors from the Lightify library.
Maybe we just close this Issue and I can re-open if I see it in the future
from python-lightify.
@rbdubz3 I think you have received a wrong packet from the gateway. Existing log is not enough to understand what exactly happened.
You may close the issue, but please continue to use my customized code - hopefully next time I will get enough data to debug.
Possibly we need slightly better error handling anyway - I will think about that.
Thanks!
from python-lightify.
closing this as I cannot reproduce it
from python-lightify.
@rbdubz3 You can update the library from the custom to the latest version.
Thanks!
from python-lightify.
sounds good - thanks @OleksandrBerchenko .. BTW - are you guys planning a new release anytime soon?
from python-lightify.
@rbdubz3 I have no plans yet. So just use the latest 1.0.7.2. Thanks!
from python-lightify.
Related Issues (9)
- add support for external LogHandler HOT 4
- Add light.alpha() method HOT 2
- Unknown device type id: 0 HOT 7
- Removed from PyPi? HOT 2
- Source tarball is missing for version 1.0.6.1 HOT 1
- No way to distinct bulbs, plugs and switches HOT 12
- Ability to activate scenes HOT 1
- Missing support for motion and contact sensors HOT 4
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 python-lightify.