How I combine smart bulbs, WiFi relays and dumb light switches!

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

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

  • @paveldundr6390
    @paveldundr6390 7 месяцев назад +5

    I’m about to start building a smart home and I can’t believe how hard it is to find solution for this problem! You mentioned your reasoning was mostly esthetic, but for me far more important is I want my parents, coworkers or any other guests being able to operate lights in the home without handling them a manual… I was shocked how few people actualy have a problem with this.

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

      I know, right!!! Light switches are obvious and *everyone* knows how to use them. I don’t understand People that cover light switches or use only voice control.

  • @dodger7565
    @dodger7565 11 месяцев назад +4

    Iv been looking for something like this for a long time.: thank you mate .. new sub for sure 👊🏾👊🏾

  • @agentp1991
    @agentp1991 2 месяца назад +1

    Wow, this was EXACTLY what I was looking for! Thanks, man!

    • @tomasmcguinness
      @tomasmcguinness  2 месяца назад

      Glad I was helpful! Be sure to hit that like button 😀

  • @maferr6404
    @maferr6404 5 месяцев назад +1

    So helpful thank you!

  • @AndrewFroude
    @AndrewFroude 7 месяцев назад +2

    Thank you
    Great overview of how to integrate a Shelly Relay into a Home Assistant SmartBulb implementation

  • @cameronlaird6500
    @cameronlaird6500 Месяц назад +1

    I have just done a similar thing using the Sonoff ZBMINIR2, turning on the state action setting, then using this as a toggle to switch on my smart bulbs. I have detached the relay mode and set state to always on. Now I have no power loss to the bulbs and I can turn them on and of with a standard rocker switch, thanks for you video it has helped tremendously.
    😁

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

      Brilliant! Do you like the ZBMINI units? Temped to get a few and try them out. I suspect they would be less power hungry than the WiFi Shelly units and probably operate much faster!

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

      @@tomasmcguinness yes, so far so good only had them a couple of weeks but stable and fast.

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

      @@cameronlaird6500I just did the same with the sonoff , works great. Have you guys figured out a solution for when home assistant is down for whatever reason?

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

      ​@@tomasmcguinness In this whole solution I miss a significant functionality. When my HA server has a failure I want to still have the possibility of basic control of turning the bulbs on and off with a physical switch and preferably also brightness. I would not like the HA failure after the next update to deprive me of the ability to turn on the light normally, because I do not have time to spend time on HA this week. In such a scenario, your home will be even "dumber" than before you turned it smart.
      Luckily, we have a local server, although unlike my friend, when his internet provider had a failure, he couldn't even turn on the lights in half the house because Tuya didn't work.

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

      Funny you should mention that as it's been on my list of things to investigate. Shelly relays have functionality where you can add your own scripting to them. I've seen a few articles in which people have written scripts to detect any loss of connection to Home Assistant. When they detect an issue, they switch back to standard relay mode. When connectivity is restored, they'll resume their detached configuration.
      I'm going to give this a try in the next few weeks.

  • @danmarm5357
    @danmarm5357 8 месяцев назад +2

    Great video, very helpful! Thanks

  • @TheNicomachean
    @TheNicomachean 7 месяцев назад +2

    This was just what I was looking for! I ended up buying 6 more Shelly 1 Gen3 mini's to control the switches connected to lamps, etc. that I have Philips Hue bulbs in. This has really changed the game for me. It's also prompted me to look at moving more control to Home Assistant. I had no idea it was this powerful!

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

      Great to hear!

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

      I've Shelly 1 Gen3 (non-mini), and HA for some reason do not receive any data when the switch is flipped (the sensor that is enabled at 8:44). If it works in the mini version, it does not work on a standard version.
      I am running the latest fw.

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

      @randomcritic3652 I am only using Shelly 1 units and a lot of them are Gen 1. None of them are of the mini variety. What sensor are you checking?

    • @randomcritic3652
      @randomcritic3652 3 месяца назад +1

      @@tomasmcguinness First of all thanks for the video, it helped me move on with my little project. Now, replying to your q: I've got Shelly Plus 1 (gen2), and Shelly 1 gen3. Sensor "Input 0" works on Plus (gen2) device, but does not work on Gen3. Probably related to the firmware.
      I don't expect any help here in the comments, just letting others know in case someone is planning to get the relays only to find out it doesn't work with non-mini gen3. I've also got mini too, will test it as well, but if it worked for @TheNicomachen, it probably will work for everyone else.

    • @tomasmcguinness
      @tomasmcguinness  3 месяца назад +1

      @@randomcritic3652 Annoying and hopefully something they'll resolve ASAP! Thanks for sharing!

  • @Josifbg
    @Josifbg 8 месяцев назад +1

    You just made my hole day! Thank you very much for the video and the provided solution! I am in a process of building my new house and your video just popped up in the right time 😊 About the backup solution I am considering using a simple script which checks every minute or so if the HA is up and running and if not than falls back the Shelly to relay mode…. And when the HA is back on to toggle detached mode to all the relays. It will be useful not only when the HA is off for some reason but in case you decide to update it and at the same time some one wants to turn on/off the wall switch 😊 Once again Thank you!

  • @gildaslefur2435
    @gildaslefur2435 8 месяцев назад +1

    Very good video, well explained.
    I liked and I subscribed. 😊

  • @misteraon
    @misteraon Год назад +1

    The Shelly Plus i4 might be another option to look at. It is inputs only with no relays. You would just wire the socket live all the time and the inputs would send state changes in a similar manner. I have one I use in a remote location to control Shelly wall dimmers in a three way configuration directly via Shelly’s http triggers. The other i4 I use as a scene controller. It sends MQTT commands that trigger HA automations. Very useful and affordable devices.

    • @tomasmcguinness
      @tomasmcguinness  Год назад

      I’ve been using an i3 to detect calls for heating and hot water and it’s worked very well. I didn’t think about it using in a lighting scenario! Thanks.

  • @wapphigh5250
    @wapphigh5250 4 месяца назад +1

    Awesome video. A fantastic solution to a total smarthome bugbear for me. Is there an alternative to this Shelly relay that uses zigbee or thread? Thanks!

    • @tomasmcguinness
      @tomasmcguinness  4 месяца назад

      Thanks! To answer your question, yes, Sonoff makes a Zigbee relay that works in the same way I think. I haven’t tested one of these myself, but it should work! Haven’t come across a thread one, but I expect that’s only a matter of time. Shelly make z-wave versions of their kit too. sonoff.tech/product/diy-smart-switches/zbmini/

  • @ThomasHeinlein-p3y
    @ThomasHeinlein-p3y 11 месяцев назад +2

    You can also write a small script in shelly, which makes a mqtt (or http) call to your bulb. In case of an event -state on-, i send a mqtt message to my bulb which set the state on and vice versa.
    In Home Assistant you do not have to use the shelly entity, but just the smart bulb.
    In this way, even if HA cannot be reached or so, your wallswitch will be functioning normally, and the direction of switch shows always the correct one.
    Btw. i did not use the new i4, since i may need a relais in the future. My shellyMini1 is in detached mode, and on top of my script i make once a shelly.call with "switch set on". So it behaves like a direct wiring of bulb.
    I think this is the best setup with minimal effort for possible future changes.

    • @tomasmcguinness
      @tomasmcguinness  11 месяцев назад

      Thanks for sharing!
      I have not yet looked at the scripting you can use with a Shelly. I really should because it sounds like it would might enable some more powerful control.
      Can you recommend any good resources aside from the Shelly documentation?

  • @jameswestcott4191
    @jameswestcott4191 Год назад +1

    I haven’t looked in to it but could you take this a step further and if comms to HA is lost a script on the Shelly changes the switch mode so that the light switch still works?

    • @tomasmcguinness
      @tomasmcguinness  Год назад

      I *think* that can be done using some script running on each Shelly, but I’m not sure. I will certainly take a look!

  • @emilianoruiz7681
    @emilianoruiz7681 6 месяцев назад

    Thank you I've been looking for a way to do this for a long time. Question is there a way to do this but for a dimmer switch? So that you can still dim the lights with and actual dimmer.

    • @tomasmcguinness
      @tomasmcguinness  5 месяцев назад +1

      I asked myself that question a while back and I didn’t find an answer. I have some dimming solutions in my house, but they involve Zigbee dimmers and home assistant.
      Unfortunately, I haven’t come across a solution that uses a physical dimmer switch. Something I would like to solve as I could do switch physical dimmers to work with my smart bulbs.
      If I come across anything, I’ll let you know!

  • @cutebutnotthatfly
    @cutebutnotthatfly Год назад +1

    You mentioned lights always being on using power. Have you considered a second automation that turns them of during the day (when it's bright outside), when the house is asleep or when no one is home?
    It might not save you a lot but every watt counts

  • @geraldkrause8840
    @geraldkrause8840 Год назад

    I have an application in my ensuite where i have a very bright light fitting which illuminates the whole bedroom when you enter at night. (switch is on the outside of the ensuite due to it's size) I am going to fit a smaller night light but this will need another switch. Using the shelly with a detatched switch is great because i can use the same switch, create an automation to switch the night light on between certain hours or the main light during other hours. Main light is already on a dual relay one for the light the other for the extractor fan controlled by a humidity detector. Never knew shelly had done this.

    • @tomasmcguinness
      @tomasmcguinness  Год назад

      That’s very clever! Same switch, two modes. Love it!

  • @paulhyland3528
    @paulhyland3528 Год назад

    After re wiring my house with a lighting panel of shelly pro 2s to a central point, this is something ive been thinking about for the odd room. But my thoughts are using an esp32/esp home in another panel next to light sw to make scene buttons? Great vid subscribed!

    • @tomasmcguinness
      @tomasmcguinness  Год назад +1

      I did this with my Kitchen extension! Two Shelly Pro 4s controlling all the lighting. It’s brilliant. Combination of normal bulbs and smart bulbs. Thanks for subscribing!

  • @the-papaw
    @the-papaw 6 месяцев назад

    I am looking for a small, thin smart relay switch that will work with 12v DC LED lights, any suggestions?

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

      Hmmm, I believe the Shelly 1 worked with 12v DC, but that has been discontinued. Are you looking for a WiFi one?

  • @macartanmcquaid22
    @macartanmcquaid22 Год назад

    That’s really handy and an absolute pain in the head here for me so that will be a godsend… My back boxes are quite shallow so wondering if it’ll fit for me, a Sonos relay wouldn’t previously… Anyway, thanks again 👍

    • @tomasmcguinness
      @tomasmcguinness  Год назад +1

      I use the ceiling rose in my lights. I replaced the plastic ones with metal boxes, which have lots of room!

  • @jensjensen1182
    @jensjensen1182 Год назад +1

    What happens id you have the shelly in "detached Switch" mode and then turn off the Home Assistant? would it then operate as a "normal" switch?
    I have use case, where I want to have a switch but with a smart bulb. I wan't the switch to control the bulb, but if the Home assistant then I want it to work as a normal light..

    • @tomasmcguinness
      @tomasmcguinness  Год назад

      In the video, I use the “input” sensor of the Shelly to tell me the state of the normal switch. When it’s flicked, home assistant will toggle the smart bulb.
      I’m not sure I understand the question completely.

    • @jensjensen1182
      @jensjensen1182 Год назад

      @@tomasmcguinness Thank you for your reply!
      But what happens, if you turn off the HA, how does the light then behave, when you flick the psychical switch? (sorry for any typos, English is not my primary language)

    • @tomasmcguinness
      @tomasmcguinness  Год назад

      @jensjensen1182 if you set the automation to toggle when the input changes, the light would turn on.

    • @jensjensen1182
      @jensjensen1182 Год назад

      @@tomasmcguinness and is it the HA(Home Assistant) that does that? and what happens if the HA is turned off...

    • @tomasmcguinness
      @tomasmcguinness  Год назад

      Then the light switch would cause the automation to toggle the light back on. With detached mode, the Shelly’s relay is always turned on, so the bulb gets power. The light switch is the provided as an input, so you’re really using home assistant to turn the bulb on and off and the Shelly relay is there to just read the state of the switch!

  • @lilchinito00
    @lilchinito00 Год назад

    Can the device work behind the actual light fixture. I'm trying to find something that doesnt need a light switch.

    • @tomasmcguinness
      @tomasmcguinness  Год назад

      Yes, they can. Of all the Shelly relays installed in my house, eight are in the ceiling roses. I did a blog post on it a few years back, which might help? tomasmcguinness.com/2020/01/24/shelly-1-relay/ If you don't need the light switch support, the Shelly Relay is probably more than you need.

    • @lilchinito00
      @lilchinito00 Год назад

      @@tomasmcguinness I will definitely take a look at this. I'm trying to smart my RV. I saw the main site that sells these and they have so many. My lights are on a 12v system while most of my appliances are 110. Couple more questions. Can these relays work seperately once plug in above the light fixture since the way it's powered with one switch I have like 9 lights turning on for the main cabin that I would like to control a portion for one side and etc for the other side. Secondly which relay would I need since they got so many on the main website.

  • @neispavan1
    @neispavan1 Год назад

    Selotejp :)
    Dude where are you from?

  • @ProfessorCodemunkie
    @ProfessorCodemunkie Год назад

    It's a nice idea but it would drive me insane having the physical switch in the off position but the light being on! All the switches in your house will have a different position for off and on depending on their physical state vs their smart bulb state.

    • @tomasmcguinness
      @tomasmcguinness  Год назад +1

      True, but at best all the switches would be on anyway, regardless of the smart bulb, so this isn't really any worse :)

    • @Johan-bb4sy
      @Johan-bb4sy Год назад

      Maybe use a momentary switch that goes back to it's original position after push. There are momentary switches with connectivity too.

    • @tomasmcguinness
      @tomasmcguinness  Год назад +1

      That’s a good suggestion! Any automation could listen for the pulse and toggle the lights. You’ve reminded me that I do have a momentary switch in my kitchen which I need to hook up (to turn out all the lights)