Smart Christmas Lights Without the App! Controlling Twinkly Strings with XLED & Home Assistant

Поділитися
Вставка
  • Опубліковано 11 чер 2024
  • I recently purchased some smart Christmas lights and despite having a local Home Assistant integration, infuriatingly, the app requires a user account and login before you can perform the initial setup and network connection. Therefore, as a point of principle, I wanted to try and set these up without ever touching the official app by using the XLED Python library along with the XLED Plus library to create custom animations.
    Buy on Amazon (Affiliate): geni.us/7G37dK
    www.camerongray.me/
    / camerongray1515
    Chapters:
    00:00 - Introduction
    00:22 - Story Time
    07:17 - Hardware Tour
    11:07 - Initial WiFi Connection
    20:44 - Home Assistant Integration
    24:36 - Demo
    26:18 - Creating Effects using XLED Plus
    32:45 - Conclusion
    AFFILIATE LINKS NOTICE:
    Product links under this video marked “(Affiliate)” are affiliate links where I may receive a small commission on qualifying sales. Affiliate programs that I am a member of include, but are not limited to: Amazon Associates, eBay Partner Network and AliExpress Affiliates.
    As an Amazon Associate I earn from qualifying purchases.
    Purchasing through these affiliate links will not cost you any more money, however the commission earned significantly helps fund the production of videos on my channel.
  • Наука та технологія

КОМЕНТАРІ • 14

  • @camerongray1515
    @camerongray1515  5 місяців тому

    Buy on Amazon (Affiliate): geni.us/7G37dK

  • @rickwookie
    @rickwookie 5 місяців тому +5

    I doubt the 50/50 cable split is anything to do with signal integrity over the number of LEDs, because they also do a 600 LED string, where each half has more than the total number of LEDs in that pack. I think it’s just to give more flexibility (e.g. easy to wire to two small shrubs side by side. I found it easy to wire the two halves around my Christmas tree in a sort of double-helix manner.

  • @__Ben
    @__Ben 5 місяців тому +8

    Interesting that the mac address of the device starts 24:4c:ab as that's an Espressif OUI -- guess it's just an ESP32 inside...

    • @camerongray1515
      @camerongray1515  5 місяців тому +2

      You're correct, it is an ESP32, I planned to open it up and show this on video but I stupidly put the lights on the tree first and couldn't easily get the controller open afterwards to show it on camera. That said, as far as I'm aware, the LEDs themselves appear to be propriatery and seem to receive both power and data over 2 wires rather than the 3 you'd normally use for WS2812 type LEDs so I'm not sure if they'd be usable if you were to flash other firmware to the ESP.

  • @morganyodts1375
    @morganyodts1375 5 місяців тому +3

    The 50/50 split is for power injection. The larger bundles they sell i think are per 3 addressable using 12v. Going DIY is an easy beginner project.
    WLED is amazing and i am happy to deal with the bulkier 200 WS2811 leds with green cable and power injection

  • @VW_Fan
    @VW_Fan 5 місяців тому

    Another great video! Thanks for taking the time!

  • @EgonSpengler1977
    @EgonSpengler1977 5 місяців тому +6

    Can I ask what’s your electric bill each month with your server rack etc ..I thinking of moving my office site lab into my garage due to the cost of my stores location but I get free power there , do you have your server cabinet running 24/7 etc …

    • @camerongray1515
      @camerongray1515  5 місяців тому +2

      For your own decisions, you'd really need to measure the power consumption of your own equipment and calculate the cost based on your own energy tariff as well as factoring in any energy savings that could be made by upgrading to more efficient hardware and the break-even times for such upgrades. As for my bills, probably around £100-120/mo but bear in mind this is everything, not just servers, based on the UK's currently ridiculously high energy prices and I work from home so I'm using energy most of the time. Both my servers and network kit do run 24/7 but they're all relatively modern, power efficient devices with both servers being relatively basic single CPU machines. I'd expect all servers and networking kit to cost under £50/mo in total based on current prices.

  • @monishbiswas1966
    @monishbiswas1966 5 місяців тому

    Have you seen the Matt Parker / Stand Up Maths video titled 'I wired my tree with 500 LED lights and calculated their 3D coordinates.'?
    I assume this was the DIY version you mentioned?

  • @wscottfunk
    @wscottfunk 5 місяців тому

    Seems like a lot of work to get them to run scenes. Why not create a dummy gmail account and sign up the twinkly app using that? Once you have all the desired scenes saved, disconnect the lights/app from the cloud.

    • @camerongray1515
      @camerongray1515  5 місяців тому +2

      The app is definitely easier, but this project was more of a point of principle. I don't have an issue with using my email address for an account, my issue is that if Twinkly ever go out of business, it will no longer be possible to log into the app and therefore it would no longer be possible to configure the lights. Requiring an account isn't just a privacy/data mining concern, it has real implications for long term usability of a product.

    • @wscottfunk
      @wscottfunk 5 місяців тому +1

      ​@@camerongray1515that makes sense. Thanks for your explanation and reply!

  • @adamcoffee738
    @adamcoffee738 5 місяців тому

    Pixels

  • @greg794
    @greg794 5 місяців тому

    Stop speaking so fast :/ I love your content.