Comments (3)
Is it hangs only when you try to change brightness?
It would be a big help if you could paste a result of light._get_status_code()
Anyway, these code will solve a problem.
light = magichue.Light(addr)
light.confirm_receive_on_send = False # Set this value to False if light hangs.
from python-magichue.
I only use light.on, light.off and light.brightness. The problem only occurred when setting the brightness, not when turning it on or off. When i use light._get_status_code() i get on error, but i can upload the result of light._get_status_data() if that's what you meant.
Your suggestion did solve my problem, thanks!
from python-magichue.
Oh I'm sorry,light._get_status_code()
was incorrect. light._get_status_data()
is the correct code.
Anyway I am happy to hear that you could solve a problem.
from python-magichue.
Related Issues (20)
- Color jump on color select HOT 10
- Make a cli interface HOT 1
- Doesn't get the right RGB value HOT 2
- Please release discover feature
- Color control not working properly HOT 5
- Raise the proper exceptions
- Rename project from python-magichue to magichue HOT 1
- Cool white not working HOT 1
- Question: make a bash script and can it control RGB/RGBW LED strips HOT 2
- RGB&W should work without "is_white"
- Access to cw missed
- Music React
- Question: Does this support Flux LED aswell? HOT 2
- Bug: Can not run constructor of Light() when device is is programming mode HOT 1
- Support for candle mode after firmware update HOT 1
- Cannot discover bulb using discover_bulbs() HOT 1
- light not working properly HOT 1
- LocalLight() does not work with v8 bulbs HOT 3
- Cannot update mode or colour on LED strip lights (off and on are working) HOT 1
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-magichue.