PDA

View Full Version : Yeelight Ambilight



TK4|2|1
19-02-18, 21:01
I’ve picked up a yeelight WiFi led strip to use behind my tv as ambient lighting.
Does anybody know if it’s possible to control it via a plugin?
There are a few in the downloads, but non for yeelight.
I’ve googled it and found a site mentioning it, using enigmalight plugin, but the site is in German.
This is the site, if anybody can translate.

http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=195739



Sent from my iPad using Tapatalk

Trial
20-02-18, 09:05
Hi,
the needed files will you find in the 4th post. I try only to translate the text:


It is not so hard if you know how:

Install enigmalight

create enigmalight.conf and copy it to /etc. (file in post)

copy yeelight.py to /home/elight-addons/wifilight (file in post)

you have to download the Yeelight Library and copy it to /usr/lib/python2.7/site-packages

expand future.zip (file in post) and copy it to /usr/lib/python2.7/site-packages (perhaps this is not really needed but without you get errors)

After a reboot of the box Enigmalight should start the LED. There is a problem with stopping the LED.


I hope it helps a bit.

ciao

TK4|2|1
20-02-18, 19:31
Thanks Trial, but it don’t seem to work. Error in log file says something about a broken pipe???
Oh well never mind
Thanks again.


Sent from my iPad using Tapatalk

TK4|2|1
22-02-18, 16:33
Does anybody that speaks linux/python know what this error means?

05:55:55.374794 [CDevicePopen::WriteOutput] ERROR: wifilight: fprintf() python /home/elight-addons/wifilight/yeelight.py 192.168.222.74 Broken pipe


Sent from my iPad using Tapatalk

Trial
22-02-18, 19:08
Hi,
attach the complete .py file.

ciao

TK4|2|1
23-02-18, 07:57
Hi Trial, I really appreciate you helping.
I've attached a couple of .py files I've tried, with the same results, and error log.
thanks again for looking

Trial
23-02-18, 09:29
Hi,
I think I understand now a bit what happens. Ths Yeelight runs in an endless loop and get its data through a pipe and when this is not working (full or closed) you get this error. Are there more information concerning enigma2light in your debug log?

ciao

TK4|2|1
23-02-18, 13:57
Hi Trial. I haven’t run a debug log, I’ll run 1 tonight.
Thanks.

rossi2000
23-02-18, 15:15
I use enigmalight but unfortunatly not with yeelight

I use an Arduino that controls the LED strip, the Arduino then plugs into the STB.

TK4|2|1
24-02-18, 11:44
Hi trial,
I've added the debug file,
I've had a look and it mentions a file in usr/bin/enigmalight, so ive added that too
thanks

Trial
24-02-18, 20:50
Hi,
I cannot check but did you use and edit the config from the post of your link?

ciao

TK4|2|1
24-02-18, 21:58
Hi,
I cannot check but did you use and edit the config from the post of your link?

ciao

The only thing I edited on it was the ip, to that of my yeelight strip.


Sent from my iPad using Tapatalk

abu baniaz
24-08-20, 19:48
Anybody with an Arm receiver (not duo 4k) using ambilight, please send me a PM. I need to test something out to rule out a driver bug. Must be prepared to install openatv 6.4

BrianTheTechieSnail
24-08-20, 20:30
This is the site, if anybody can translate.

http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=195739
https://translate.google.com/translate?hl=&sl=de&tl=en&u=http%3A%2F%2Fwww.i-have-a-dreambox.com%2Fwbb2%2Fthread.php%3Fthreadid%3D1957 39