Cycling RGB LED Colours with Home Assistant

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024

Комментарии • 18

  • @geoffreycoan
    @geoffreycoan 7 месяцев назад

    A nice simple well explained video, thanks Oliver.
    I have a row of SMD 5050 lights all round the coving of my lounge, put up years ago before I even thought of Home Assistant. Then I lost the remote controller and only found it recently. The battery contact has corroded so it doesn’t work any more and the light strip is stuck on light blue!
    Really need to find a replacement controller that is HA compatible, probably Tuya. Trouble is most of them are WLED nowadays

    • @geoffreycoan
      @geoffreycoan 7 месяцев назад

      Motivated by your video to get these lights working again, I’ve done more digging and found some 5050 controllers on ebay that support the ‘magic home’ app as well as the remote controller. Doesn’t list HA explicitly but does state Google and Alexa and I’ve found a magic home integration for HA so this could be my solution

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  7 месяцев назад

      Let me know how that goes, I've not used any Magic Home kit or any of their sub-brands so that'll be interesting to see. It's unusual to find non-tuya kit these days! I've got a couple of Zigbee-based LED strips in the kids rooms (one was a Lidl one) and they work well, they are basically a standard strip with a branded controller attached.

    • @geoffreycoan
      @geoffreycoan 7 месяцев назад

      I will let you know if this works. I need to investigate further as I have a recollection that I might have put a second controller part way round the strip as the power dropped off due to its length. At the moment not got any zigbee at all, just wifi connected (Tasmota, Shelly, remaining bit of Tuya) and BLE (Govee and Inkbird T&H sensors). Trying to keep the number of protocols and adapters to a minimum !

  • @cyrusmzrg
    @cyrusmzrg Месяц назад

    Thanks a lot for your video, it was very useful.. One question; Could you share with us the code you used to turn off the light when your button or switch was hold pressed? Thanks

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  Месяц назад

      It really depends on the switch you are using, my code would not work for you. I created a device trigger for an automation and selected the event called button_hold, but it could be called anything for your type of button.

  • @igorsdvinins5436
    @igorsdvinins5436 4 дня назад

    Hi! Thanks a lot! I run HA for few month now, never was into programming and trying to get into yaml.
    It was easy to copy/paste and adjust, but I was looking into slightly different functionality.
    I use aqara wall switch which is not an impulse but toggle pressing mode. So, I need to make 2 button presses to toggle now.
    What could be the code to cycle through input selects while entity is ON (perhaps staying at each color 1 sec)?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  4 дня назад

      I'm glad it was useful, but it would take up a considerable amount of my life if I wrote customised automations for everyone who asked, sorry! Perhaps I will consider your idea for a future video.

    • @igorsdvinins5436
      @igorsdvinins5436 3 дня назад

      @@SpeakToTheGeekTech Thanks a lot! Fully respect your answer! Maybe you can recommend a good source for getting HA yaml basics?

  • @neil-brenner
    @neil-brenner 7 месяцев назад

    Hi Oliver. I am fascinated by this, but confused. At 3:30, you talk about pasting some code into YAML mode, but you don’t explain where that code comes from. Have you missed out a step? Or am I missing some key knowledge? Thanks.

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  7 месяцев назад +1

      Hi, there’s an associated article linked in the video’s description which has the required code: www.speaktothegeek.co.uk/2024/02/cycling-rgb-led-colours-with-home-assistant/

  • @arondela
    @arondela 5 месяцев назад

    Took me a couple of tries to get the code right (never programed before) but this worked great. set up a led strip under my kitchen cabinets and control it with the Philips hue dimmer switch, hue button now changes colors. thank you so much for this video.

  • @CC_FPV
    @CC_FPV 7 месяцев назад

    Nice example.
    Is it possible to get HA to control GivEnergy plugs?

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  7 месяцев назад

      Thank you. I have never tried that myself but I am told that they are branded Tuya devices and as such you should be able to pair them with the Tuya Smart Life app instead of the GivEnergy app.

    • @CC_FPV
      @CC_FPV 7 месяцев назад

      @@SpeakToTheGeekTech I wonder if you can control them leaving them paired to the GivEnergy app. I like the way that app works with them and I’m hoping that in the future they work with the portal.

  • @FoneBone27
    @FoneBone27 3 месяца назад

    copy and paste .... not so easy to understand what you are doing ...

    • @SpeakToTheGeekTech
      @SpeakToTheGeekTech  3 месяца назад

      Try following the written article that goes with this video instead then. I wrote it alongside to try and make it easier to understand and it’s where you can copy and paste stuff from: www.speaktothegeek.co.uk/2024/02/cycling-rgb-led-colours-with-home-assistant/