How to Control a Smart Light with a Smart Switch - Tasmota Tips Episode 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 73

  • @jimbrewer5821
    @jimbrewer5821 5 ปีที่แล้ว +1

    Travis, you are a Tasmota rules ninja! Great video and easy to follow explanation. Great way to integrate MQTT across smart devices to make them even smarter. 👍

  • @jonathanprinty
    @jonathanprinty 5 ปีที่แล้ว +1

    This was my next project for the Treatlife and Lohas I bought this past month. You just made my life a lot easier. Thank you.

  • @rubenhackar
    @rubenhackar 4 ปีที่แล้ว +3

    please i love this series of tasmota i am learning a lot

  • @AquaSafeMexico
    @AquaSafeMexico 3 ปีที่แล้ว +1

    is this still work with the lates tasmota 10.0.0.1 , i been trying for hours without luck

  • @Misticzerx0r
    @Misticzerx0r 4 ปีที่แล้ว +1

    Oh man I'm going to be setting this up soon with a 3 way dimmer switch probably the martin jerry or the meross. Needs to control the 6 living room lights. I hope you do this with a dimmer soon!

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      This even got easier. th-cam.com/video/Bp1BsTe2zyY/w-d-xo.html

  • @dannyjensen4954
    @dannyjensen4954 4 ปีที่แล้ว +1

    thanks so much for spending the time on this. Very helpful.

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว +1

      Glad it was helpful!

  • @maharshi4614
    @maharshi4614 3 ปีที่แล้ว +2

    Thanks. In morning, I was looking for how to get this done. At evening, I get your video recommendation. What a day!! DId this on my sonoff mini switch and 3 smart bulbs with group topic. Since this makes relay hardware obsolete, i was thinking is there any cheap hardware available without relay only to send mqtt commands on trigger, saving money on the relay part!!?

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว +1

      They do make a scene controller. You US based?

    • @maharshi4614
      @maharshi4614 3 ปีที่แล้ว

      @@digiblurDIY I am from India. Most of the scene controllers here are RF based. Are there any mini sized wifi based mqtt trigger options which we can fit behind the existing switch and gets power from the mains? Without the relay theoretically it should be cheap.
      Thanks!
      something like sonoff mini with tasmota minus the relay...

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว +1

      I don't know of any myself being a niche product. Dig around Tindie maybe.

  • @shaunwhiteley3544
    @shaunwhiteley3544 5 ปีที่แล้ว +1

    Excellent video, thanks for sharing!
    A video I would love is a light, flashing or changing colour after an action like a motion sensor being triggered but then after it finishes alerting, the light goes back to its original state.
    Thank you 😊

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว +1

      I do have this project up ahead based on some ideas of alarm state automations after I installed some downlights in my living room. I will keep that mind to capture the process, it will be done in NodeRed though as that is my favorite automation process and easier to follow.

    • @shaunwhiteley3544
      @shaunwhiteley3544 5 ปีที่แล้ว

      digiblurDIY Thank you, I guessed it would need to be a NodeRed flow. I’ve already copied a few of yours before and made some small changes. Cheers

  • @BartTech
    @BartTech 5 ปีที่แล้ว

    Nice video, again! Is it possible to do a fade 0-100% range dim instead of hardcode the %?

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว

      Absolutely, you can do whatever commands on the bulb with the fading, speed, scheme, etc. You can do backlogs in the rule too.

  • @miketony2069
    @miketony2069 4 ปีที่แล้ว

    Nice video. So I have Phillips WIZ color downlights. WIZ bulbs are wifi I recently just got a smartthings hub. smartthings can see the WIZ bulbs (cloud to cloud). Could I perhaps use your process to control my WIZ bulbs using the smartthings Matt gateway?

  • @KPeyanski
    @KPeyanski 5 ปีที่แล้ว +1

    OMG Tasmota is version 7 already. I still have devices working flawlessly with v.5.x.x. Maybe it's time to update them :) BTW Great video as always.

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว +1

      Things change quickly indeed! Lots of good changes with the default dark mode, stabilized Arduino core of 2.6, and a ton of other things.

  • @mrteausaable
    @mrteausaable 4 ปีที่แล้ว +1

    Since you did not hard wired the switch to the light bulb, does it communicate using MQTT directly to the bulb from the switch via HA or wi-fi only. If I shut down the wi-fi router will the switch still be able to communicate with the bulb via wi-fi without dhcp router?

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว +1

      In this instance yes it does use MQTT. There is a little easier way now with Device Groups (I did an update on it) and it just uses UDP. No reliance on MQTT with that method, just needs a WiFi signal.

    • @mrteausaable
      @mrteausaable 4 ปีที่แล้ว +1

      @@digiblurDIY You mean the MQTT broker from HA. Not directly from Switch sent to Bulb? If not router then all lights switches not working??

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว +1

      If you use MQTT messages then yes you need a MQTT broker. Device groups do not.

  • @JeffreyMann
    @JeffreyMann 4 ปีที่แล้ว

    Thanks for the great video. Is there a way to configure it so if a switch is pressed between certain times the bulb is turned on at a specific brightness level? I’m trying to configure it so the switch or motion sensor turns on the bulb at a specific brightness at night.

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว +2

      That would be a lot of rules and times and might not fit. Might be something better for HA or NodeRed to handle.

  • @zacharymrowicki4595
    @zacharymrowicki4595 5 ปีที่แล้ว +1

    Do you have any concern about the relay being constantly energized? Not sure what the rating is on the relays in these switches.

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว

      I don't but you can bypass the switch and not use the relay but that could introduce some electrical code issues in some areas. Advanced users that want to bypass by all means can do so.

    • @zacharymrowicki4595
      @zacharymrowicki4595 5 ปีที่แล้ว

      @@digiblurDIY Gotcha! In the case that MQTT infrastructure is down at home, I wonder if there's a good way (long press?) to actually physically switch the relay? Ideas?
      Thanks again for these videos - they're fantastic!

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว +1

      Yup! Check the triggers. There is a Mqtt#Connected and disconnected trigger you could have it toggle the rule on/off that cause the switch to be decoupled from the relay. Just make sure you bulb has a rule to come on full brightness when powered on each time too. Join us in Discord too if you want to figure some things out.

  • @grahamphillips3467
    @grahamphillips3467 4 ปีที่แล้ว

    Great video, I have converted all my smart life plugs and some wifi bulbs with tuya -convert brilliant, thanks.
    Please can you assist, I have a ir smart switch (non esp8266) which controls a normal light and fan, I have added this to domoticz using broadlink which then can be scripted to turn on/off the smart switch and other various connected tasmota devices remotley, no problem there.
    My issue is when I activate smart switch manually other wifi devices are not activated as switch has not received signal from broadlink.
    Is it possible to wire connect from smart switch light bulb/fan to a esp 8266 relay just to enable wifi control.
    I have tried using smart bulb live wired from smart switch, but that obviously does not give switching effect.
    Probably simple solution, but I cant fathom how to connect!

  • @ebuford
    @ebuford 5 ปีที่แล้ว +1

    Excellent job!

  • @zacharymrowicki4595
    @zacharymrowicki4595 5 ปีที่แล้ว +1

    I'm wondering if this is possible to do with ESPHome? Thoughts?

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว +1

      I don't use ESPHome except for sensors builds and such the require some odd ball configs so I may not know the best answer. But I'd think you'd have to route it from ESPHome to HA to ESPHome.

  • @leosgospel
    @leosgospel 5 ปีที่แล้ว

    Great video, always helpful and easy to follow! Now the question is how to do this with MJ Dimmer and an ifan03.

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว +1

      You might just be reading my mind :)

  • @marcusone1
    @marcusone1 5 ปีที่แล้ว

    Great video as always. Idea for another video... what to do when the switch doesn't have a neutral? Can use a shelly/sonoff mini inside the light fixture connected to the toggle switch. I would guess then setup is similar except using a slightly different switch mode (or looking at switch state on/off depending on the toggle switch position).

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว +1

      Interesting...so basically where neutral is only in the ceiling rose? I do think I have a very cool DIY idea for this that just hit me plus it would fit many countries.

    • @neildingwall6534
      @neildingwall6534 4 ปีที่แล้ว

      Did you ever do the video on the no neutral option?

  • @MrHandsomejackuk
    @MrHandsomejackuk 5 ปีที่แล้ว +1

    can you send me your webcolor setting please digging that dark scene.... i not done much with that yet ?

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว

      I have one better! :) github.com/arendst/Tasmota/wiki/WebUI Scroll down to Themes.

  • @Efunch
    @Efunch 5 ปีที่แล้ว +1

    You guys are brilliant, great tutorial! I always feel like I'm in class...lol. One question, do you know of any smart dimmer without a neutral wire, that I can put Tasmota on? Also, is there any direct way to send you $$?

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว

      The only non-neutral dimmer that comes to mind is the new Shelly dimmer but I don't think Tasmota works on those yet. I do have some various links/options in the #quick-links section of discord. Much appreciated....which options are you looking for?

    • @Efunch
      @Efunch 5 ปีที่แล้ว +1

      @@digiblurDIY, that PayPal link is exactly what I was looking for.

  • @motowoody66
    @motowoody66 5 ปีที่แล้ว

    this is something I've been wondering about, great video, thanks. One question though how would you do this for a Sonoff TX 2 gang switch, if only one of the switches had smart bulbs assigned to it?

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว

      I don't have any of those but do they have Tasmota on them? Is it a single gang with 2 switches?

    • @motowoody66
      @motowoody66 5 ปีที่แล้ว

      @@digiblurDIY Hi thanks for your reply, yes I have flashed them with Tasmota and yes it's a single gang with 2 switches on it, I have them set up with the Sonoff T1 2CH (29) module

  • @zachmccandless
    @zachmccandless 5 ปีที่แล้ว

    has anyone had problems with this slowing down the responsiveness of mqtt command? with just the simple on off commands its "lightning fast" add the var commands and all of a sudden it becomes seconds and lights are coming on and off at different times

  • @ikn0wn0thing
    @ikn0wn0thing 4 ปีที่แล้ว

    Awesome video! Can this be used to replace two 3 way switches? I have 2 switches controlling my outside carriage lights and would love to replace them with smart switches like this!

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Yep. Actually check out my video I released today. Makes it soooo much easier for doing things like this

    • @ikn0wn0thing
      @ikn0wn0thing 4 ปีที่แล้ว

      @@digiblurDIY Perfect timing, wired everything up this morning and worked like a charm! Thanks!

  • @9kfb
    @9kfb 3 ปีที่แล้ว

    Thanks for the video, exactly what I was looking for. Unfortunately I don't think my Teckin lights can be flashed with tasmota:(. Is there anyway to do this in homeassistant using localtuya or is this stuff locked out on Tuya firmware?

    • @digiblurDIY
      @digiblurDIY  3 ปีที่แล้ว +1

      You could do it using automations via HA or NodeRed to connect things.

    • @9kfb
      @9kfb 3 ปีที่แล้ว

      @@digiblurDIY thank you so much!

  • @Alex-os5co
    @Alex-os5co 4 ปีที่แล้ว

    Hi Travis, awesome video as always! I was wondering whether this is possible for 2 gang switches? i.e The top to control a smart light and the bottom to control the fan through the relay?

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Yep. Anything is possible. Especially more with multipress actions.

    • @Alex-os5co
      @Alex-os5co 4 ปีที่แล้ว

      @@digiblurDIY Okay, excellent! Such exciting stuff, thank you for all your vids. I'll follow the video and keep an eye out to make sure I swap the relevant button to a switch and then work out how to just have the relay on for the top button only. Have a good weekend.

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Glad they help spawn some ideas. If you ever really get stuck feel free to jump into our discord chat server using the links in the video, we don't bite.

  • @jimharkins4487
    @jimharkins4487 4 ปีที่แล้ว

    Awesome video, as usual!!!
    Do you have a suggestion for configuring smart bulbs with a 3-way switch? I assume you have to have two smart switches instead of one with a dumb switch? Both smart switches with rules to keep power on to the smart bulb at all times?

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Actually check out the device groups video...makes this stuff easier, no rules too. Sync up switches, lights, etc.

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Keep in mind they did change up the name a little bit on the process. Devgroupname - tasmota.github.io/docs/Device-Groups/

    • @jimharkins4487
      @jimharkins4487 4 ปีที่แล้ว

      @@digiblurDIY Just watched the video again. I'm still not clear on if I can accomplish the 3-way scenario without have to change out the dumb switch. I'll do some testing this week to see if I'm going to have to buy some more switches. Thanks again!

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว

      Yes, you'll need to swap out the dumb switch if you want want control from that one. There are a few ways to do it. For instance if you wanted a switch on one wall, dimmer on another, dumb lights or smart lights. If you do smart lights you'll want those powered all the time. If you think about the switches they just become wifi buttons basically in that case. You can also go with just switches and just multipress options to change brightness, colors, scenes, or whatever you want. This has a wiring diagram I used. th-cam.com/video/XCEPluSvLv8/w-d-xo.html

    • @jimharkins4487
      @jimharkins4487 4 ปีที่แล้ว

      @@digiblurDIY That answers my question, thanks!

  • @josephzajdler
    @josephzajdler 4 ปีที่แล้ว

    Help, I'm using a CE-WF500D-3W, all it has is GPIO13 Tuya Rx (18) and GPIO15 Tuya Tx (107), no Switch 1

    • @digiblurDIY
      @digiblurDIY  4 ปีที่แล้ว +1

      That is correct. Tuyamcu dimmers don't have switches or buttons. Try this or the device groups one th-cam.com/video/iUPbxC1PscM/w-d-xo.html

  • @chad4935
    @chad4935 5 ปีที่แล้ว

    Good video 👍

  • @k-mal184
    @k-mal184 5 ปีที่แล้ว +1

    Mind blown.

  • @MrHandsomejackuk
    @MrHandsomejackuk 5 ปีที่แล้ว

    have you looked at mqtt dash android app for controlling devices on a mobile phone i use it and find it great i got the thermostat example on rules cookbook working great with mqtt dash... have a look at it...

    • @digiblurDIY
      @digiblurDIY  5 ปีที่แล้ว +1

      No I haven't but I will definitely take a look at it as some folks have asked about this before on their phone. Thanks.

  • @jvannoyx4
    @jvannoyx4 5 ปีที่แล้ว

    Dimmer and smart bulb!!

  • @josephzajdler
    @josephzajdler 4 ปีที่แล้ว

    ok, to be clear, you are replacing a dumb bulb with a smart bulb AND a dumb switch with a smart switch, right?
    So that if you use the smart light switch to turn off the smart light, you can still talk to the smart light to turn on or change brightness?
    Why would you not just use a smart switch, and talk to the smart switch instead of the smart bulb? Because the smart switch can't change the color of the smart bulb?

  • @jvannoyx4
    @jvannoyx4 5 ปีที่แล้ว

    Dimmer and smart bulb!!!