Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.
Results 1 to 14 of 14

Thread: Yeelight Ambilight

  1. #1
    TK4|2|1's Avatar
    Title
    Senior Member
    Join Date
    May 2011
    Location
    If there's a bright centre to the universe, I'm from the planet that is farthest from.
    Posts
    940
    Thanks
    228
    Thanked 180 Times in 159 Posts

    Yeelight Ambilight

    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.
    Code:
     http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=195739


    Sent from my iPad using Tapatalk

  2. #2

    Title
    Moderator
    Join Date
    Jul 2011
    Location
    germania
    Posts
    5,122
    Thanks
    106
    Thanked 1,434 Times in 1,137 Posts
    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
    ---
    Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
    Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard

  3. The Following User Says Thank You to Trial For This Useful Post:

    TK4|2|1 (20-02-18)

  4. #3
    TK4|2|1's Avatar
    Title
    Senior Member
    Join Date
    May 2011
    Location
    If there's a bright centre to the universe, I'm from the planet that is farthest from.
    Posts
    940
    Thanks
    228
    Thanked 180 Times in 159 Posts
    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

  5. #4
    TK4|2|1's Avatar
    Title
    Senior Member
    Join Date
    May 2011
    Location
    If there's a bright centre to the universe, I'm from the planet that is farthest from.
    Posts
    940
    Thanks
    228
    Thanked 180 Times in 159 Posts
    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

  6. #5

    Title
    Moderator
    Join Date
    Jul 2011
    Location
    germania
    Posts
    5,122
    Thanks
    106
    Thanked 1,434 Times in 1,137 Posts
    Hi,
    attach the complete .py file.

    ciao
    ---
    Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
    Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard

  7. The Following User Says Thank You to Trial For This Useful Post:

    TK4|2|1 (23-02-18)

  8. #6
    TK4|2|1's Avatar
    Title
    Senior Member
    Join Date
    May 2011
    Location
    If there's a bright centre to the universe, I'm from the planet that is farthest from.
    Posts
    940
    Thanks
    228
    Thanked 180 Times in 159 Posts
    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
    Attached Files Attached Files

  9. #7

    Title
    Moderator
    Join Date
    Jul 2011
    Location
    germania
    Posts
    5,122
    Thanks
    106
    Thanked 1,434 Times in 1,137 Posts
    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
    ---
    Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
    Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard

  10. #8
    TK4|2|1's Avatar
    Title
    Senior Member
    Join Date
    May 2011
    Location
    If there's a bright centre to the universe, I'm from the planet that is farthest from.
    Posts
    940
    Thanks
    228
    Thanked 180 Times in 159 Posts
    Hi Trial. I haven’t run a debug log, I’ll run 1 tonight.
    Thanks.

  11. #9

    Title
    Moderator
    Join Date
    Jul 2010
    Posts
    4,684
    Thanks
    1,205
    Thanked 2,524 Times in 1,349 Posts
    I use enigmalight but unfortunatly not with yeelight

    I use an Arduino that controls the LED strip, the Arduino then plugs into the STB.
    Vu Ultimo4K, OpenViX 5.0, 8xdvb-c, 8xdvb-s2, 2xdvb-t2
    Vu Solo4K, OpenViX 5.0, 8xdvb-s2
    Dreambox DM900, OpenViX 5.0, 2xdvb-s2, 2xdvb-c/t2
    Terrestrial, Cable, Fixed 28.2e + Unicable2 LNB

  12. #10
    TK4|2|1's Avatar
    Title
    Senior Member
    Join Date
    May 2011
    Location
    If there's a bright centre to the universe, I'm from the planet that is farthest from.
    Posts
    940
    Thanks
    228
    Thanked 180 Times in 159 Posts
    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
    Attached Files Attached Files

  13. #11

    Title
    Moderator
    Join Date
    Jul 2011
    Location
    germania
    Posts
    5,122
    Thanks
    106
    Thanked 1,434 Times in 1,137 Posts
    Hi,
    I cannot check but did you use and edit the config from the post of your link?

    ciao
    ---
    Sat:VU+ Ultimo4K/Solo4K/Duo2/2*Solo2/Ultimo
    Remote: Harmony 200, 700, Link, Smart Control, Smart Companion, Elite, 2*Ultimate, Keyboard

  14. #12
    TK4|2|1's Avatar
    Title
    Senior Member
    Join Date
    May 2011
    Location
    If there's a bright centre to the universe, I'm from the planet that is farthest from.
    Posts
    940
    Thanks
    228
    Thanked 180 Times in 159 Posts
    Quote Originally Posted by Trial View Post
    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

  15. #13
    abu baniaz's Avatar
    Title
    Moderator
    Join Date
    Sep 2010
    Location
    East London
    Posts
    23,335
    Thanks
    6,421
    Thanked 9,146 Times in 6,224 Posts
    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

  16. #14
    BrianTheTechieSnail

    Lightbulb

    Quote Originally Posted by TK4|2|1 View Post
    This is the site, if anybody can translate.
    Code:
     http://www.i-have-a-dreambox.com/wbb2/thread.php?threadid=195739
    https://translate.google.com/transla...eadid%3D195739

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.