Comments (4)
Hi. Probably your bulb have both cold and leds.
You should try this:
"31 00 00 00 ww cc 0f 0f" where ww is warm value and cc is cold value. Both can be used at the same time.
from magichue.
you can also change lines 133-139 in magichue.py:
if parsed_args.warm is not None:
warm = hex(int(parsed_args.warm)).replace('0x','')
values = process_raw('31:00:00:00:'+warm+':00:0f:0f')
if parsed_args.cool is not None:
cool = hex(int(parsed_args.cool)).replace('0x','')
values = process_raw('31:00:00:00:00:'+cool+':0f:0f')
from magichue.
Or also if you want to use both warm and cool (interesting to make a mix):
if parsed_args.warm is not None and parsed_args.cool is None:
warm = hex(int(parsed_args.warm)).replace('0x','')
values = process_raw('31:00:00:00:'+warm+':00:0f:0f')
if parsed_args.cool is not None and parsed_args.warm is None:
cool = hex(int(parsed_args.cool)).replace('0x','')
values = process_raw('31:00:00:00:00:'+cool+':0f:0f')
if parsed_args.cool is not None and parsed_args.warm is not None:
warm = hex(int(parsed_args.warm)).replace('0x','')
cool = hex(int(parsed_args.cool)).replace('0x','')
values = process_raw('31:00:00:00:'+warm+":"+cool+':0f:0f')
All this because our lamp has a RGBCW driver.
from magichue.
Thanks @domisol ! I'll see if with these I'm able to revive a couple of lightbulbs that I got permanently stuck in the RGB mode.
from magichue.
Related Issues (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 magichue.