davidramiro / fluxee Goto Github PK
View Code? Open in Web Editor NEW๐ก Controlling Yeelight smart lights corresponding to f.lux display color temperature
License: Other
๐ก Controlling Yeelight smart lights corresponding to f.lux display color temperature
License: Other
I can't extract the archive of your new release for some reason. Maybe the files got corrupted. Downloaded and tried multiple times.
Hello, since some days the Fluxee app crash when tying to initializing the lamp, i checked the yeelight app and the third control access is still authorized, i updated python and fluxee, i don't know where is the problem
Hi David,
I changed the config file while Fluxee was running (Set StaticBrightness from False to True).
Fluxee gave some errors, I didn't capture a screenshot of them unfortunately, but seems logical 'cause of the sudden change in config.
I restarted fluxee.exe but now it hangs at Initializing (see screenshot) and just terminates after about 4 seconds.
I'm on Windows 10. Fluxee has always worked before, even when changing the config file. (I believe I even changed the config file while fluxee was running once before, which didn't cause any problems then.)
I know it's not a lot of information to go by, so please let me know if you need to know more. Hopefully I can provide.
Have you tested Fluxee with the latest firmware ? It seems I can't communicate with the lamp anymore.
I was trying to get the fluxee.py
to run in the background without the console window. The default method for that would be to use pythonw
interpreter instead of python
.
Unfortunately running pythonw fluxee.py
or even changing the extenstion to fluxee.pyw
causes the script to immediately terminate.
After a bit of research I found out a few things:
I can't simply use the prebuilt .exe
version, because I wanted to change some things in the code (for example I wanted the brightness to be constant all the time at 50%, not at 100% at startup because it melts my eyes ;)). For now I just use a dirty trick of using:
cmd /k "C:\Programy\Python364\pythonw.exe P:\yeelight-fluxee-master\fluxee.py 1>stdout.txt 2>stderr.txt"
exit
But it's really annoying.
Thanks for your work I'm still testing with no success.
For the first error that I found: OSError: [WinError 10013], the solution for me is to choose another port 8090 in my case, I changed both in code and on f.lux.
But Flux is not updating the light brightness. I'll keep trying.
Hello,
it's possible to run the program in the background?
Thank you.
LAN-control was deactivated after switching the yeelight server.
Hi David,
I have just found out about Fluxee and got real excited. I downloaded the package and followed the config guidelines. After setting up everything I ran fluxee.exe and I got this message:
Welcome to fluxee by davidramiro
Reading config...
Initializing...
Initializing Yeelight at 192.168.73.112
Traceback (most recent call last):
File "fluxee.py", line 83, in <module>
File "fluxee.py", line 65, in main
File "yeelight\main.py", line 313, in get_properties
File "yeelight\main.py", line 377, in send_command
yeelight.main.BulbException: Bulb closed the connection.
[15112] Failed to execute script fluxee
I have the Smart LED bulb 1S (model: YLDP13YL). I tried disabling checking the bulb state in the config.ini but it did not change anything. What do you think could cause this problem?
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.