Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: LIFX (smart lights/bulbs) E1.31 Controller Project

  1. #1
    Join Date
    Nov 2016
    Posts
    189
    Post Thanks / Like

    Default LIFX (smart lights/bulbs) E1.31 Controller Project

    In my quest to bathe the outside of my house in 'blue' i ended up buying a bunch of LIFX BR30 & A19 bulbs. I got my wife's approval for this project on the condition that I only use the existing fixtures (~8 recessed can light under the eves and 4 carrage lights attached to the front of the house). I was told no DIY can be attached to the house year round (you start one small electrical fire... sheesh)

    Anyway... i settled on the LIFX brand of smart bulbs for one very cool reason: They publish their protocols on GitHub. Not only do they publish their 'cloud' HTTP API documentation but they also publish the RAW UDP packet protocol to talk directly to the lights.

    I did a quick little proof of concept using an existing python library and created a simple E1.31 listener/control running on a Raspberry Pi that would go blinky-flashy when xLights told it to dance.

    Once the rest of my bulbs show up later this week I need to double check the bulbs can take raw requests fast enough (only testing with one A19 bulb now). But if there is enough interest I'll publish my project to github.

    I was also thinking I could make an 'Arduino' sketch that runs on a NodeMCU (~$4) or similar ESP device that could act as the E1.31 controller for the lights. That way you wouldn't need the overhead of a Raspberry Pi.

    Anybody else interested in a LIFX controller?

  2. #2
    Join Date
    Mar 2010
    Location
    Mentor, OH
    Posts
    1,134
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    I would be interested. I think you will be happy with the brightness of these lamps.
    Chuck P
    nothing to show

  3. #3
    Join Date
    Nov 2016
    Posts
    189
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    Quote Originally Posted by critic2 View Post
    I would be interested. I think you will be happy with the brightness of these lamps.
    I'm highly impressed with the LIFX company so far. Unlike other companies that build a 'closed system', they welcome DIY and encourage their users to tinker. For example, somebody on their user forum asked about sending UDP packets from an arduino. Not only did LIFX fix the users code they spent the time to educate them on what they did wrong (It had nothing to do with LIFX products).

    I'm kind of disappointed... All the work to turn LIFX bulbs into E1.31 controlled lights has already been done. I'm just putting the pieces together.

    The last of my BR30's get here Friday. Once I've got them set up and run some quick tests I'll post my simple Python code. I should have the ESP8266 project done by the end of next week (depending on my free time).

  4. #4
    Join Date
    Nov 2011
    Location
    Chicago - Southwest Suburbs
    Posts
    7,612
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    Quote Originally Posted by TheLost View Post
    I was also thinking I could make an 'Arduino' sketch that runs on a NodeMCU (~$4) or similar ESP device that could act as the E1.31 controller for the lights. That way you wouldn't need the overhead of a Raspberry Pi.
    It's funny that we've gotten to the point where a $35 computer is excessive overhead.

  5. #5
    Join Date
    Nov 2016
    Posts
    189
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    I've had a chance to play with the lights for a few days... and they do exactly what I want.

    This picture really doesn't do them justice.. I have them down to ~75% power here. They are listed as 11w but they are much brighter than any of my 10w floods.


    I've also finished testing them with xLights over E1.31 and they update fast enough to stay in sync with music.
    (i haven't added the music to the video yet.. but here they are blinking)


    I've been testing them on my normal 'Home' WiFI (Mesh) which has a much stronger range/signal than my dedicated 'Xmas' Wifi (single AP). I need to switch them to my less powerful (Xmas) WiFi and see if they still stay in sync. There are quite a few comments on the LIFX forum about connection issues but i haven't had any problems yet.

    I should also have my Arduino code finished this weekend... I'm not sure there is anybody else that would want it, but I'll post it anyway

  6. Thanks critic2 thanked for this post
  7. #6
    Join Date
    Mar 2012
    Location
    Hollywood, FL
    Posts
    152
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    OMG you are a LIFE SAVER!!! I've been begging Madrix for over a year to add support for LIFX bulbs and strips... and nada I am 3,000,000% interested on your project. I have LIFX all over the house and wanted to integrate with some other E1.31 strips. Hopefully I'll be abler to get it to work with Madrix.

    Do you basically point xLlights to your Raspberry Pi just like any other E1.31 controller then patch in the lights?
    Bill
    Website: [url]http://www.christmas33021.com[/url]
    Facebook: [url]http://www.facebook.com/christmas33021com[/url]

  8. #7
    Join Date
    Mar 2012
    Location
    Hollywood, FL
    Posts
    152
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    Anyone get something similar working?
    Bill
    Website: [url]http://www.christmas33021.com[/url]
    Facebook: [url]http://www.facebook.com/christmas33021com[/url]

  9. #8
    Join Date
    Apr 2017
    Posts
    38
    Post Thanks / Like

    Default LIFX (smart lights/bulbs) E1.31 Controller Project

    Too bad I use Hue... at least Hue also has an API though!

    Problem is that it uses a Zigbee bridge, so everything would be delayed.

    Sent from my iPhone using Tapatalk

  10. #9
    Join Date
    Mar 2012
    Location
    Hollywood, FL
    Posts
    152
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    Can we bump this thread??? I'd be willing to pay someone to write a gateway or something that I could run on a show computer that would take SACN E1.31 or ArtNet or something and run my LIFX bulbs and strips.

    FYI. Madrix supports Philips Hue, but they never added support for Lifx, which is a shame because lifx is a better product.
    Last edited by BillinSoFL; 07-21-2019 at 01:59 PM.
    Bill
    Website: [url]http://www.christmas33021.com[/url]
    Facebook: [url]http://www.facebook.com/christmas33021com[/url]

  11. #10
    Join Date
    Dec 2012
    Location
    Hudson MA
    Posts
    3,574
    Post Thanks / Like

    Default Re: LIFX (smart lights/bulbs) E1.31 Controller Project

    I am pretty sure the LIFX bulbs are MQTT compliant. There are a few people that added MQTT support to the pixelstick. You could take that as a starting point. You can find a software implementation of an E1.31 to MQTT bridge here:

    https://github.com/hhromic/e131-mqtt-bridge


    2019 - Just moved into a new home (yet another change of plans). Will be dim but not dark. Too much to do at the new place to leave time for a show.
    https://www.youtube.com/channel/UCyX...ttrsZNARkUce0Q

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •