Tasmota SwitchMode Explained

แชร์
ฝัง

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

  • @opg1948
    @opg1948 5 ปีที่แล้ว +6

    Really a great tutorial ! Finally a detailed and complete explanation of the "secrets" of the Tasmota switchmode & switchtopic commands. Thank You very much.

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

      Excellent!

  •  5 ปีที่แล้ว

    This video helps me a lot to solve one of my recent problems. Thanks for your videos DrZzs. I really appreciate them all. ;)

  • @GnobarEl
    @GnobarEl 6 ปีที่แล้ว +3

    Great tutotial! This is what we need. I like to see the projects, but most details are not covered. For ex. I really enjoyed your garage door tutorial, but I dint understand the Switch modes. This happen in a lot of other tutorials. They don't explain how stuffs work. Thanks a lot. Great work! Keep posting more about this.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      great!
      you got it. I'll keep em coming.

  • @JanPieterDuhen
    @JanPieterDuhen 6 ปีที่แล้ว

    Yet again a truly helpful vid from the Doctor. Thanks!

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Glad to hear it!
      Thank you!

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

    Thanks man, you are awesome. You saved my proyect! I was able to integrate an external PIR sensor with sonoff SV

  • @danny3540
    @danny3540 5 ปีที่แล้ว +2

    Nice ! whats the best SwitchMode for connecting a PIR Sensor ?

  • @paulbehrens5842
    @paulbehrens5842 6 ปีที่แล้ว +1

    Very informative, cheers. Features that I wasn't aware of that will definitely be useful once I actually install some sonoffs.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      And there's more where this came from. I'm still discovering new Tasmota features and Theo keeps adding more too.

    • @paulbehrens5842
      @paulbehrens5842 6 ปีที่แล้ว

      Great!

  • @seanosuilleabhainemerald
    @seanosuilleabhainemerald 2 ปีที่แล้ว

    Thanks for the video. I originally programmed my sonoffs and wemos devices in C++ to handle specific functions. I decided to look at Tasmota this time around but it seems unnecessarily complicated and esoteric. The documentation is difficult to understand and the switchmode and switchstate properties are difficult to relate to typical applications so this video helps a lot.

  • @webflue
    @webflue 6 ปีที่แล้ว

    At last I now understand!!! Great work and thanks for another great video.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      yeah!
      Thanks, and you're welcome!

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

    Thanks for all the videos. can i ask if it is possible to use switchmode on sonoff dual to achieve relay 1 on and off as normal when triggered, when relay 2 is triggered relay 1 to be triggered with it on or off

  • @StePhanMckillen
    @StePhanMckillen 6 ปีที่แล้ว

    you explain nicely you making it sound easy thanks for taken the time

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks!
      I'll keep doing it!

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

    man, every time i have to solve some puzzle with my sonoffs i just google it and get the solution for exact my problem (by DrZzs of course). Thank you mister!

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

      ha! Awesome!
      Hopefully I'm not causing too many of your problems ;)

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

    Great video as usual!
    Can you pls link the awesome switch you use in the 1st part?

  • @EugenePugach
    @EugenePugach 6 ปีที่แล้ว +4

    Super helpful, thanks!

  • @mr.nobody8347
    @mr.nobody8347 5 ปีที่แล้ว

    New to Tasmota. What is the significance of the switch number (1-9) when selecting the GPIO14 function? I am working with an SV at the moment and I was having trouble decoupling the reed switch from the relay when using Switch1 and using switchmode1 1 and switchtopic1 1 . Maybe user error but it seems like moving GPIO14 to Switch 2 corrected that problem. Thanks!

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

    Hi there.
    How can I program the HOLD funtion with MQTT as rule in Openhab to switch devices on or off please?

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

    Great video! thanks from Poland!

  • @leandrocosta4283
    @leandrocosta4283 6 ปีที่แล้ว +1

    Very cool this video !!! I would like to pass as you pressed this button next to sonoff sv?

  • @digiblur
    @digiblur 6 ปีที่แล้ว +2

    Great video. Do those capacitive buttons work with doing a hold? Nice high tech LED diffuser you got there to not blind the camera!

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks! You caught that?! It was perfect how the wire nut fit on the LED and blocked the light but still glowed enough to let you know it was on. Very fancy.
      Those cap-touch buttons work like latching switches. So they wouldn't be good for the Hold function. You could do it, but it would be like switching a rocker switch, then 4 sec later, switch it back. I think there's a way to convert them by breaking a solder link somewhere, but I haven't done it. I actually have some other touch modules that act like pushbuttons. Hold command should work with those.

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

    your are awesome, Thank you very much for your informative videos

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

    I have an ESP8266 D1 mini controling 4xrelays for lights in different rooms, it is also integrated with alexa and works like a dream. However I'm looking to add physical push bottons to enable normal on/off functionaliy, aswell as updating alexa of any state change done by the push buttons. Is there any option to enble this using the D1 mini? I look forward to any feedback.

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

    Thanks Doc! Great video

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

    Can you help me (AGAIN) please? I flashed the D1 mini and will hard wire it to a Budweiser goal light via the speaker wires of the goal light to ground and GPIO 14, I think I understand the switchmodes, but first want to make sure I have the right module type, I am gonna shoot the moon and go with "generic" right?

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

    Thanks, quite helpful video!

  • @sergiogarzaca
    @sergiogarzaca 2 ปีที่แล้ว

    Hello, thanks for all your videos. I was wondering if you can help... I have a 3 gang sonoff and want to program ot sononly 1 gang can be turned on at a time. I will use this to make a fan controller in which gangs 1 and 2 passes through a capacitor for speeds low and medium. Obviously 2 gangs turned on at the same time will cause short circuit..... Could you help??!!

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

    Hello, how to have the state of the buttons in the state. Thank you

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

    Thanks, good info. I have a problem, i have 2 buttons but it only gives me POWER = ON or OFF no matter which button I press. What am I doing wrong or is their a fancy switch mode/option I missed. I tried setting GPIOs as BUTTON1 & 2, as SWITCH1 & 2. I can't get it to tell me which input changed. Any ideas?

  • @ytrew9717
    @ytrew9717 2 ปีที่แล้ว

    basic question but does the tasmota consol save the command/settings we send?

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

    Awesome,
    I m using Nodemcu module & flashed it with 4Ch DIY Sonoff . 3 channels wall switch ( Rocker Type) working ok. But when the 4th switch is switched ON all previously switched channels goes OFF including the Channel 4 . The module does not come to normal operation until wall switch 4 connected to specific GPIO is revert to pull up level.
    Sir Can you please help me solve this .
    Thanks

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

    Great clarification. Been battling with switchmode for a while now. Do you have some video/blog that covers switchmode together with rules? I have a 2 gang switch (one connected to a light, the other to a fan). The switches run Tasmota and are push buttons not rocker switches and I'd like to use switchmode 5 or 6 to utilise the HOLD function as well.
    The idea is this: When the light (switch1) is on for more than x mins, turn on the fan (switch2) for y mins before turning it off again. Can't get this to work. If I look at the pseudo code it should do something like this:
    On trigger (i.e. switch1#state=on) start a timer1 x mins
    If the timer1 has expired AND switch#state=on turn on switch2 for y mins (timer2)
    Once timer2 has expired turn off switch2

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

    Great video as usual! Just wonder how your config will change when you replace the switch with a pir, with a HC-SR501? I am confused on the switch1 to 4 and the switch1n ones.

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

      thanks. good question. Honestly, I'd have to just tinker with it to find the best switchmode to use.

  • @rodrigoschmidtb
    @rodrigoschmidtb 6 ปีที่แล้ว +1

    Hi DrZzs, Can I use that Hold funtion to stop the Ghost switching? Setting the hold time to 0.2seg for example. That will avoid all the hardware of the low pass filter

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Actually, I think you can. Someone else told me they did that a while ago. Good idea.

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

    Great topic. What is the best way have having a momentary output? For 0.5 seconds say

  • @nigelholland24
    @nigelholland24 6 ปีที่แล้ว

    Great timing after my post to you. Great video thanks

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks for making a request that so many people needed!
      What should I do next?

  • @brysonballing6763
    @brysonballing6763 6 ปีที่แล้ว

    This video was helpful. I have another question on the Sonoff SV with Tas. I'm trying to use it to raise and lower a projector screen. the board built in the screen has 3 wires, a up, down, and common. the screen board only needs a short input to start the raise or lower, so a 1 second pulse would be fine. Can I use the GPIOs and ground for this?

    • @digiblur
      @digiblur 6 ปีที่แล้ว +1

      Bryson Balling I would check out thehookup channel. He did a recent pool pump modification that would work great for this push button need. Don't think it let's me post links here.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      Here's Rob's pool video:
      th-cam.com/video/QcaJlpVOJ8U/w-d-xo.html

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

    Hi Dr. Can I configure my shelly1 tasmota with a 'detached 'switch mode like the stock firmware? I am struggling to find this command. Thanks a lot

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

    Great Video as always. Two questions. #1 Is there a video identifying and explaining the various of Sonoff Basic? They do not appear to use model numbers, but my switches (perhaps R2) have black wires replacing the heavy "solder channels" on the board and do NOT have GPIO14 identified. I have not seen my model in any of your videos. #2 I am using a lighted momentary contact switch (in my case between ground and "Key") but I can not find a pin providing 3V that tracks the relay status. There is always 3V between ground and "Key".

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

      thanks. ya, you have the R2 and now they are on the R3 already. The best place to track changes is probably the Tasmota wiki. github.com/arendst/Sonoff-Tasmota/wiki
      I'm not sure about a pin that tracks the relay status. I'd guess you'd have to solder directly to the relay control contact. I liked the v1 of the sonoff basic more than the last 2 versions. Wish they still made the old ones.

  • @eddeinarowicz8339
    @eddeinarowicz8339 2 ปีที่แล้ว

    Is there a switch mode that is best to do a series of toggles on switch. ie- turn switch on, then have scene toggle the switch on/off, on/off, on/off to set a function. Switch mode 7 with a scene?

  • @DavidDanielJr
    @DavidDanielJr 6 ปีที่แล้ว

    Thanks for this I have a sonoff T1 on the way and was planning on setting up the "hold" command to additonally turn of the smart bulbs in my bedroom lamps. This video just eliminated me having to research what switch mode I need to use for that

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      great!
      It'll be interesting to see if the T1 buttons require any other modification to work with the hold function. If they are latching, then there might be something else you need to do to make them non-latching (or momentary).
      I have 2 T-1's I'm hoping to get a chance to play with soon. If you get yours working before I do let me know how you did it!
      thanks!

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

    Hello, could you explain me how to configure sonoff touch T1 or TX to work in pushbutton with dimmer mode. I try to set it up but it doesn't work like it does in your video. I can't set SwitchMode 7. I only expect 230V on the output if I touch the button, and when I hold it, 230V will be there for as long as I hold it. I don't need to send MQTT topics to HA. Can i configure it somehow? Greetings. Slawek Z.

  • @nickcooper7133
    @nickcooper7133 6 ปีที่แล้ว

    Great explanation, thanks. I predict a stream of "Help me, I've reset my sonoff to factory defaults & now it won't connect!" ... keep up the good work.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      ha!
      Thanks!

    • @markmacherey4744
      @markmacherey4744 6 ปีที่แล้ว +2

      Nick Cooper after resetting your sonoff, the ssid and password is lost and set to defaults, click the button 4 times. Once the led is blinking connect to the sonoff-xxxxx and reset your ssid and password to your network

    • @nickcooper7133
      @nickcooper7133 6 ปีที่แล้ว +1

      Mark, many thanks for the advice but I was actually joking about what others may accidentally do. Appreciate the help though.

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

    How to program a specific time for the relay to be turned off after pressing the pushbutton? (20 minutes for example)

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

    This is a man I could very happily enjoy a beer with

  • @williammiller4143
    @williammiller4143 6 ปีที่แล้ว

    Great video! It occurs to me that switch mode 7 would be a feat thing for a garage door opener. I had been using another so off device for that purpose which was set to be a momentary contact device by default but now any sonoff basic with tasmota should work fine.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Excellent!
      Let me know how it goes!

    • @copytype7983
      @copytype7983 6 ปีที่แล้ว +1

      That is my next home assistant project! Dr. Zzs answered my question on switchmode! Thanks!!!

    • @JeremyCook
      @JeremyCook 5 หลายเดือนก่อน

      Hi, old thread, but did switchmode 7 work for you in the garage door opener scenario? When using the webgui it still seems to just toggle on and off for me. Thx!

  • @geckodoo
    @geckodoo 6 ปีที่แล้ว

    Is there a mode that will send either the momentary or hold command depending on how long you hold the button? This would allow having dual functions, such as normal press to toggle one light, and hold press to switch off all the lights.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      for sure!
      That's what switchtopic1 should do. If you just touch the button once it will send the "cmnd/sonoff/POWER1 = ON" if you hold it will send "cmnd/sonoff/POWER1 = HOLD"
      It's a great feature to do exactly what you want. Let me know if you have trouble with it.

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

    Hi, Nice Video, I have run the command switchmode1 2 on the sonoff touch1 and confirmed its status with the SwitchMode1 command ok.However the LED and relay still work in tandem. Is there another setting needed?

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

      Thanks!
      You can change the function of the LED with some other commands:
      github.com/arendst/Sonoff-Tasmota/wiki/Commands
      LedPower Show current led power state as On or Off
      LedPower 0 / off Turn led AND LedState Off
      LedPower 1 / on Turn led On AND LedState Off
      LedState Show current led state as 0 to 7
      LedState 0 / off Disable use of LED as much as possible
      LedState 1 / on Show power state on led (inverted for Sonoff Touch)
      LedState 2 Show MQTT subscriptions as a led blink
      LedState 3 Show power state and MQTT subscriptions as a led blink
      LedState 4 Show MQTT publications as a led blink
      LedState 5 Show power state and MQTT publications as a led blink
      LedState 6 Show all MQTT messages as a led blink
      LedState 7 Show power state and MQTT messages as a led blink
      Hope that's what you're looking for

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

      Same issue here. Led Power controls the small blinking status LED and not the touch sensor illumination. I would like to use SwitchMode1 2 such that the touch buttons are illuminated when the room lights are off. This would make it easier to find the buttons on the dark.

  • @dalescott9330
    @dalescott9330 6 ปีที่แล้ว +2

    love the light up buttons, can you give the link? Great video, well done.

    • @DannyMullen
      @DannyMullen 6 ปีที่แล้ว +1

      Dale Scott same question for me!

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

      switches are Heltec HTTM-SCB touch switches. comes in 4 colors. problem is. if you turn off the light remotely, the light stays on.

  • @SornDP
    @SornDP 6 ปีที่แล้ว

    Good video, just what the doctor ordered ;) I have a related question though: Is it possible to solve this: I connect a toggle switch to the sonoff, so the switch is either on or off, but instead of following this state I would want to toggle the relay the the state changed?
    For example: the relay is off and the switch is off, I flip the switch to on and the relay turns on. I then send a mqtt message to turn the relay of. So now the switch is on and the relay is off. When I then flip the switch to off I would want the relay to turn on again.
    So the relay does not follow the switch, but reacts to changes in its state if that makes sense.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      That's a good question.
      I have the problem that those LED touch buttons don't always turn off (or on) when the relay is toggled in HA (via mqtt). Sometimes when I flip the switch in HA, the LED on the button does go off, but not always. When it doesn't I have to tap it twice to get the relay to switch.
      Maybe the thing to try is SwitchTopic1. Then instead of using the "stat/sonoff/" topic as the "state_topic:"
      in HA, use the "cmnd/sonoff/" topic. I haven't tried it, but that might do the trick.
      If you test it out before me let me know if that does what you're looking for.

    • @SornDP
      @SornDP 6 ปีที่แล้ว

      Hey Doctor. I finally got around to flashing a few sonoffs of my own and testing this stuff. To get the behavior I want I get go into Configuration -> Configure module. And on this page select the value "09 switch1" for GPIO14. Now the relay is switched when this pin changes. GPIO14 is the 5th "hole" in the sonoff basic, right next to ground so i tested using a jumper wire to connect and disconnect these two terminals and it works! So now I can connect my switch to GPIO14 and ground and get my desired result. And this works even if my mqtt broker or home assistant is offline.
      I'm not sure this is helpful for your situation, but I figured I would report my succes.

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

    how can i toggle the relay on a switch flip and also send a command mqtt message

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

    At 0:38, you show a list of Options, Switchmodes, Sensor settings, etc on the left screen. I have looked all over Arendst's git pages and I can't find that list. Can you provide a hint, or a URL?
    Thanks

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

      sure!
      github.com/arendst/Sonoff-Tasmota/wiki/Commands#main

  • @juan11perez
    @juan11perez 6 ปีที่แล้ว

    Thank you. Is it possible to do this with a Snonoff T1. Using the "default" button?

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      I'm not sure. I've got some T1's to flash soon, so I'll test it out and put the results in the video for sure.

    • @juan11perez
      @juan11perez 6 ปีที่แล้ว

      Thank you very much.
      Great video. Again

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

    Hi, your videos are really informative. I'm planning to tasmotize my few sonoff 4ch pro r2. I would love to make it in sync with my hardware switch. Can I do it using switchtopic?
    If so do you know the GPIO locations and ports which I can use for 4 relays on my 4ch Pro r2.
    Thanks in advance

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

      Thanks!
      I don't think the 4ch has any available gpio pins, other than the Rx/Tx and you don't want to use those for external switches. What I think you'd have to do is connect to the contacts on the board that go to the button for the relay you want to control with your hardware switch. Tasmota sets the switchmode to 0 by default, which is "toggle" for a momentary switch, so if you're going to use a rocker-type switch you will want to change the switchmode to 3 or 4 (if I'm remembering right).
      It'll take a little trial and error but I bet it can be done.

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

      @@DrZzs thanks a lot. I would love to experiment with that.. I'm not familiar with the electronic stuffs. But I'll give it a try. I'm now struggling to find the contacts where I need to solder. I even checked the schematics from their website. But it's all going above my head.

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

      do you have a multimeter? I would test use contacts connected directly to the buttons. You'll need to be able to tell which contacts are connected to each pole on the switch. Maybe it will be too much to learn from scratch. If you don't think you can do it maybe a different solution would be better.

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

      @@DrZzs I have a multimeter. I'll give it a try. Will keep it posted here.

  • @florenciob
    @florenciob 6 ปีที่แล้ว

    Hi great job !!!!! Could you send me a link to buy the touch switch? Thanks. I'm trying to find it at Amazon, but I can't

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      for sure!
      getting them on Amazon has been inconsistent. When I have found them there, they've been pretty expensive (like $5 each)
      Here's an Ali-express link. They've had the best prices (~$1 each). It just takes time to get them.
      s.click.aliexpress.com/e/nA2FUNV

    • @florenciob
      @florenciob 6 ปีที่แล้ว +1

      Thank you very much.

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

    Completely new in this and after received my first Sonoff I realized the model R2 has no GPIO 14, Ive seen it can be found in pin 9 of the chip, although is really difficult to solder in such a small location. After Tasmota's flash, can the toggle button in the board (Pairing button/manual switch) be used as a push button still? if so, can Home Assistant recognize the state of the sonoff after it changes using this included push button? My plan is to solder wires to this button and extend it to an external push button. I know I am a bit late to the game but I will appreaciate if you can respond, I'm planning to follow your entire setup/tutorial for my own home automation.

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

      Hi. The original push-button on Sonoff is GPIO0, that is not visible if you use module type basic. If you change the module type in your tazmotized sonoff you will be able to control gpio0, and you can then change gpio0 to something like switch2.

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

      @@mraboyum do you recommend a specific module? I'll be using the sonoffs as a light switch only.

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

      @@alejandroruiz8617 ​ If you choose "Generic (18)" you can change GPIO0. However after some extra thoughts perhaps you can just change the behavior without even changing the module-type, by just making a console command like: "switchmode0 1". Maybe you can try both things, changing the module type only takes about 5-10 seconds, and you can change it back to "Sonoff basic (1)".

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

      @@mraboyum thanks, I'll research more about it. With your response I have some guidance finally.

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

    Great tutorial. I have a problem here can you help plz
    How do I set Default Powen ON state Sonoff Tasmoto?
    When Power reset’s or I switch off & Switch ON the physical switch I want the sonoff to TURN ON & stay as a default state.
    But for me, the sonoff Turn’s ON for few seconds & switches OFF automatically, When Power reset’s or I switch off & Switch ON the physical switch

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

      What I mean by power rest here is. Power cutoff to sonoff Input. That's like power failure & then when power failure is restored. I don't use any switch between GPIo & gnd tapping.

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

      I think I understand. Try typing “poweronstate 3” in the TASMOTA console.
      If that doesn’t do what you want here’s the list of all the command options.
      github.com/arendst/Sonoff-Tasmota/wiki/Commands
      I think one of the poweronstate settings will do what you want.
      Hope that helps.

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

    Ty for your inspiring video's. I have a no voltage relay sonoff sv with tasmota that i am going to solder in parallel to a momentary switch, and I need it to be on a pulsetime of 30 since my pelletheater needs a 3 sec push of the button to turn on. How do I setup the sonoff that after a push of the button the state remains on? Now it just toggled to off again after the 3 seconds. It is all kind of new to me, and I got this far. 8)

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

      sounds like you need a different marker of the state of your devices besides the button/relay. Nothing comes to mind to solve that with just the sonoff SV. One possible solution is a power monitoring plug. With that you could monitor the power usage by your heater and use that as an indicator of the state of the heater. Something like the sonoff s31 or the POW would work. Those power monitoring plugs are usually rated for 16 amps. Hopefully your heater doesn't draw more than that.

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

      @@DrZzs thx the power monitoring is what i read about before but was hoping to avoid it due to.. well. Inexperience and lack of time.. Got so much to learn when you just start off with this. Ty for your comment and suggestion, i will look into it. I think the max watt is 350 so 16a is well enougj

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

    Thanks for the video, this was really helpful.
    I'm facing a challenge and would appreciate if anyone can help. I flashed my Sonoff basic with Tasmota and completed the setup including WiFi credentials.
    I then connected the switch to a light (the only wire connections were live and neutral wires at both ends to respective connections). I then changed GPIO14 to Switch1 (9) and set the switchmode to 0.
    I was able to control the light from the configuration/web interface. But I expected that switching on or off from the physical switch and switching on or off from the web interface will keep on toggling the light.
    However, when I switch the light off using the physical switch, the sonoff (probably) gets turned off and I can no longer see it connected to the WiFi.
    I then set switchmode to 1 but I'm facing the same problem.
    What am I doing wrong?
    Thanks.

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

      So you have a switch and a light. The switch can either be the built-in one or one soldered on to GPIO14) like in the video. The light is connected to the output terminals.
      "I then connected the switch to a light...". What does this mean? Also don't understand what's in brackets

  • @Gersho.
    @Gersho. 6 ปีที่แล้ว

    Greetings from Norway. Really love you videos and have already learned a lot as a complete beginner in HA world - Philips Hue doesn't count ;)
    A couple months back you have made a great video '$5 DIY "Smart" Garage Door Opener using Sonoff SV' where you had to modify Sonoff SV to use it, but this new video got me thinking:
    1. with the SwitchMode 3 that emulates PUSHBUTTON (NO) - similar to the physical PB on the wall,
    2. considering that my unit motor is powered by 24V DC (from transformer) and not 230V AC
    is it still necessary to remove resistors and use Sonoff in isolated mode?
    In addition garage door opener PCB has extra connection that can deliver 24V AC (not typo) if this may be of any use.
    Anyway I'm a bit confused on how to proceed with my Tasmotized Sonoff SV implementation. Any help will be really appreciated.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Hello Norway!
      You should be able to use the SV without isolating the relay. I'd need to know a little more about your opener function to say exactly how you should wire up the SV, but I would expect you could just put it parallel with the current activation switch.
      I'm going to re-do my wife's door with an SV and I'll do it that way to show how it can be done, but that won't be for a while so you'll probably want an answer sooner.
      I'm planning a live stream this Sunday. Maybe this could be something we talk about then.

    • @Gersho.
      @Gersho. 6 ปีที่แล้ว

      Hi DrZzs,
      Thanks for your quick reply.
      Parallel connection to the manual switch/push-button was my first thought. The opening system is provided by German company Seip and is pretty common in Europe. This particular one is already a couple years old but it's quit ordinary sort to say, both remote (433MHz) and push-button operated. You can take a look at the manual where PCB and wiring among other stuff is described (www.seip.co.uk/A_SERIE_433MHZ_250ERDEC_MITTELEUROPA.pdf).
      Once again thanks a lot.

  • @TheFlyingKiwiNZ
    @TheFlyingKiwiNZ 6 ปีที่แล้ว

    Nice work!

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks!

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

    trying to get this working with a esp8266 and a little button i have. switchmode1 5 switchtopic 1 so32 15, just like you did in the video, on of works fine and sents the mqtt commands, no matter what i do there is no hold

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

    Have switchmode 6 and 7 been removed? Can't activate it in tasmota and I can't find it on the wiki either

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

      looks like they are still there. At the bottom of the "main" list of commands. There's a page that tries to explain switchmode, but last time I looked at it, it didn't cover anything after Switchmode4.
      github.com/arendst/Sonoff-Tasmota/wiki/Commands#main
      Hope that helps!

  • @aaliankhan4998
    @aaliankhan4998 6 ปีที่แล้ว

    I want to connect a servo motor to the sonoff to control my blinds do you know a way to do this? Does tasmota allow you to add a timer to tell it when to stop giving power? Is this even possible. Am I asking to many questions? I definitely don't know the answer.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      You need a motor controller between the Sonoff and the Servo. You can't power the motor directly from the Sonoff, if that's what you're asking.
      I'm not sure Tasmota is the best platform to use to control a motor. I'd like to do some experimenting with it, but as of right now, I don't know how exactly to do it.
      Sorry, wish I was able to offer more help

    • @aaliankhan4998
      @aaliankhan4998 6 ปีที่แล้ว

      DrZzs I Found this but would this work with the node mcu or the sonoff
      github.com/jjhtpc/esp8266MQTTBlinds?files=1

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Yes, it looks like it would.
      But I still don't think you can run a servo with the Sonoff. You can (probably) with the NodeMCU.
      Best to ask the guy who wrote that code.
      Good luck!

    • @aaliankhan4998
      @aaliankhan4998 6 ปีที่แล้ว

      DrZzs the person made it for the NodeMCU

  • @ashoktvm
    @ashoktvm ปีที่แล้ว

    Can i achieve the same in ESPhome

  • @kfash5198
    @kfash5198 6 ปีที่แล้ว

    Great Video. I'm from Africa, Nigeria and always look forward to your videos. How do I restore states of lights and switches when I restart Home assistant. I hate the fact that all the light and switch states goes back to off even after using "Recorder:"

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      Awesome! I have a brother living in Africa right now.
      I also struggle with erratic lights sometimes after restarting HA. I don't have a great solution right now, but I'll work on it and make a video when I get it figured out.

    • @kfash5198
      @kfash5198 6 ปีที่แล้ว

      DrZzs thanks Alot

    • @dalescott9330
      @dalescott9330 6 ปีที่แล้ว

      i added this automation to all my sonoff, it seams to help with restarts and correcting the states.
      - alias: "Power state on HA start-up"
      trigger:
      platform: homeassistant
      event: start
      action:
      - service: mqtt.publish
      data:
      topic: "cmnd/sonoff/power1"
      payload: ""

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Interesting. I'll have to try that out.
      Thanks!

  • @tommh44
    @tommh44 6 ปีที่แล้ว

    Another great video. I have a suggestion for a new minizzeries. I am very confused about addressing. I notice that you always put the full ip address whenever an address is required. In many of the videos and documentation hassio.local:8123 for example is used. Occasionally that works for me, but rarely. I always establish a static ip address for the Pi, but sometimes another MAC address shows up for hassio. How can that be? Also, what about using Ethernet vs wifi? I am missing something that must be important. Must be some others that are confused. Thanks for all you do. I have learned so much.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks Tom!
      I've had the same experience with "hassio.local" when I first started with HA, so I haven't even tried it in a while. Also, for me at least, I'm running 2 hassio rpi's. One to run the house and another to test new things on before I mess with the main system. (That's a WAF mandate).
      I've got a lot to learn about network connections but I will try to put together some useful information in a video sometime.
      I'm trying to move away from so much wifi and rely more on ethernet. It is just so much more reliable. If I were building a new house I would put an ethernet cable at every door and window and in key locations for cameras, besides the usual 1 per room. But that's another video too.
      But if you can't run new cable in your house, you're stuck with wifi and that's where most of us are these days.

    • @tommh44
      @tommh44 6 ปีที่แล้ว

      You made me feel a lot better. I agree with ethernet being the preferred way to go. Ultimately, we will use a mix of both. For some stuff wifi is very handy. I run into trouble when I try to mix them. I am now using 100% wifi and full ip address with no trouble. I need to set up another PI for development. FYI, I run all of this stuff on solar power. Thanks again for the education

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Solar awesome!
      We're installing some solar panels in the next couple weeks. Exciting stuff!

    • @tommh44
      @tommh44 6 ปีที่แล้ว

      I have had mine for a couple of years and it is still "Exciting stuff!" I feel so righteous.

  • @ssinseeme
    @ssinseeme 6 ปีที่แล้ว

    I have Node MCU running Tasmota. I have a door sensor set up with GPIO14 works fine with topic door. Now how do I add another topic for sensor 2 on GPIO 5 or multiple door sensors. I can't figure out how to change the topic for a specific GPIO?

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      TASMOTA assigns a different topic for each switch or relay by adding a number to the end. So if sensor 1 is switch 1 then the topic will be stat/sonoff/power1 (sometimes just power for number 1)
      So for switch 2 the topic becomes stat/sonoff/power2
      You don’t have to change it. Switch 3 would be power3, etc.
      so in HA your topics for state will look almost the same except that last number.
      Does that help?

    • @ssinseeme
      @ssinseeme 6 ปีที่แล้ว

      Any idea why TASMOTA is not assigning POWER 1 POWER 2 and 3 etc... I have 4 switches and they are all stat/sonoff/POWER.
      this is the consol set up;
      SwitchMode1 1
      SwitchMode2 1
      SwitchTopic 0
      18:31:30 MQT: tele/sonoff/SENSOR = {"Time":"2018-06-18T18:31:30","Switch1":"ON","Switch2":"ON","Switch3":"ON","Switch4":"ON"}
      18:33:09 MQT: stat/sonoff/RESULT = {"POWER":"OFF"}
      18:33:09 MQT: stat/sonoff/POWER = OFF
      18:33:10 MQT: stat/sonoff/RESULT = {"POWER":"ON"}
      18:33:10 MQT: stat/sonoff/POWER = ON
      18:33:26 MQT: stat/sonoff/RESULT = {"POWER":"OFF"}
      18:33:26 MQT: stat/sonoff/POWER = OFF
      18:33:27 MQT: stat/sonoff/RESULT = {"POWER":"ON"}
      18:33:27 MQT: stat/sonoff/POWER = ON
      18:33:40 MQT: stat/sonoff/RESULT = {"POWER":"OFF"}
      18:33:40 MQT: stat/sonoff/POWER = OFF
      18:33:40 MQT: stat/sonoff/RESULT = {"POWER":"ON"}
      18:33:40 MQT: stat/sonoff/POWER = ON

    • @ssinseeme
      @ssinseeme 6 ปีที่แล้ว

      I found the problem for the record!! and if someone has a similar issue. Since I am a newbie and you are a little advance for me, sometime in your videos you skip some steps as you think are obvious ;) . So in TASMOTA when you set a switch ( or a sensor) on any GPIO you must have it relay set up as well. eg D2 is switch 1 and set D8 for relay 1. then TASMOTA with assign POWER 1 as a Topic.make sure also to set the Topic =0 in console

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      ahhh!
      glad you found it. Sorry I didn't explain that better :)

  • @justmaral
    @justmaral 6 ปีที่แล้ว

    Which switchmode and switchtopic chose for PIR sensor(14GPIO)?

    • @justmaral
      @justmaral 6 ปีที่แล้ว

      My PIR sensor alway on and off

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      ya, that will always happen with the PIR sensor. Depending on your PIR there might be jumpers or dials to adjust "retriggering", so after an "on" it won't register another "on" for a period of time. That's a setting on the PIR though.
      Watch the video I did with the D1 mini and the PIR sensor. th-cam.com/video/sVml02kP3DU/w-d-xo.html
      Use the switchmode/topic I used there. Sorry I don't remember what it was off hand.
      The way to manage frequent On/Off with the PIR is in HA (or other logic handler, like NodeRED, etc). You set an automation or a rule that says if there is no "On" sensed from the PIR for X time, then flip the relay (lights, etc) to "off".
      There is a new "rules" feature in Tasmota, but I haven't experimented with it at all yet.

    • @justmaral
      @justmaral 6 ปีที่แล้ว

      I dont know how to change "retriggering jumper", because My PIR sensor's retriggering jumper is this kind: user-images.githubusercontent.com/10935507/34812154-120a2854-f6d7-11e7-9171-b22d24eaaa49.png

  • @marcinskrzypek6626
    @marcinskrzypek6626 2 ปีที่แล้ว

    I used SwitchMode 15, but my Mosquitto broker can't see MQTT message:
    08:50:00.435 MQT: tele/tasmota_E53BEA/SENSOR = {"Time":"2021-07-05T08:50:00","Switch1":"ON","Switch2":"OFF"}
    Maybe someone know why?

  • @DannyMullen
    @DannyMullen 6 ปีที่แล้ว

    Curious do you have a link to that touch switch you used in the video?

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      of course!
      best price I've found:s.click.aliexpress.com/e/nA2FUNV

    • @DannyMullen
      @DannyMullen 6 ปีที่แล้ว

      This one allow for turning the light one and off? It only has 3 pins? I would love a datasheet in english. I have some one order to try.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      I don't have the data sheet.
      The 3 pins are VCC, Out, Gnd. It acts like a latching switch as-is, but I seem to remember there's a way to make it a momentary switch by adding some solder.

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

    Helpful, thanks. Official page has some pretty bad examples, none on how do change on individual switches

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

    What about switchtopic 2?

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

    How to I use switchmode when I have a PIR or Radar sensor attached?

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

      You set it to one of the non-toggle switchmodes so you'll get an On or Off instead of Toggle.
      I'm pretty sure Switchmode 1 will be the one you want.

  • @dalescott9330
    @dalescott9330 6 ปีที่แล้ว

    Have you done anything with dash buttons?

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Not yet but it's on the list!

    • @dalescott9330
      @dalescott9330 6 ปีที่แล้ว

      Amazon had them .99¢ last week, I picked up 4, not sure what I'm going to use them for put excited to find out how.

  • @nazzymac
    @nazzymac 2 ปีที่แล้ว

    How do i turn off tasiota automatically after 25 min

  • @stephenharding5238
    @stephenharding5238 6 ปีที่แล้ว

    Do you know how to do this with a sonoff touch?

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      I'm not sure if the Hold function will work with the Touch. But, I have some T1's I'm planning to flash soon. I'll give it a try with those.

  • @IshmeetSinghahuja
    @IshmeetSinghahuja 6 ปีที่แล้ว

    Thank you so much !!!!! you are awesome .. 😀😀

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      You're very welcome!
      This answered your questions then?
      great!

    • @IshmeetSinghahuja
      @IshmeetSinghahuja 6 ปีที่แล้ว

      absolutely!! thx again

  • @boyeselectrical
    @boyeselectrical 6 ปีที่แล้ว

    Hi just wondering if anyone has successfully hooked up a thermistor to tasmota I have looked far and wide to find wiring diagram and instructions for this I would love to monitor my pond temperature and mqtt it to my hassio on my pi3 I see ds18b20 mentioned but no instructions . Regards Dan.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      All I see with a quick look in Tasmota wiki is this:
      "DS18B20 Temperature - DS18x20 (4) in group 2
      Enable option USE_DS18x20 in user_config.h for multiple sensors using OneWire library"
      I'm guessing you probably already saw that. I'll have to look in my box of sensors and see if I have one of those to try out.
      What have you tried so far?

    • @boyeselectrical
      @boyeselectrical 6 ปีที่แล้ว

      Hi thanks for the quick reply I'm sorry to say my knowledge is somewhat limited. So far and thanks to your tutorials I have managed to suceesfully install hassio on my pi3 and I have a dht22 working on tasmotoa firmware loaded onto a nodemcu and it is reporting using mqtt to home assistant. can't wait to get into it all further but thought it would be cool to put a temp probe in my pond as my second sensor using tasmotoa on a webmos mini pro?. I do have a 2 wire 10k thermistor usually used for under floor heating but only know how to hook it up through Arduino using an analog port which I believe is complicated to enable analogue inputs on tasmota ? anyway thanks for your turorials much appreciated .

  • @Dew_-km7gr
    @Dew_-km7gr 5 ปีที่แล้ว

    Hey bro really cool video so I was working on a project where I involved a water pump that would pump
    Water to a tank and so I used a Sonoff sv to set a timer to
    The pump so water doesn’t overfill and it takes exactly 5 minutes and 30 seconds to fill up the tank more then that and it can overfill but the thing is that the EWeLink app can only do whole minutes like i could only program 5 minutes and not the other 30 seconds could it be possible to change this with tasmota sorry for my bad English hope you can help me thanks 🙏 nice content btw

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

      Your English is very good.
      Yes, I'm sure tasmota will let you do a timer in seconds, not just whole minutes.
      Hope that helps!

    • @Dew_-km7gr
      @Dew_-km7gr 5 ปีที่แล้ว

      DrZzs thanks 🙏 do you think you could give me a brief explanation on how to?

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

    I have bought "Moes WS-EUY3 3 Gang Switch" templates.blakadder.com/moes_WS-EUY3.html and whatever SwitchMode I use, it reacts the same. Also I cannot get SwitchTopic 1 to work. Does these commands work with specific switches? MOES buttons look like push buttons.....

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

    Appears switch mode 5 and 6 may have changed in an update since this was posted as I can't get those modes working. Running firmware 6.1.1.
    Anyone able to confirm this or if it's just a me issue.

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

      hmmmm
      What specific issue are you having? I've used them with 5.14, but haven't tried with 6.1.1 yet.

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

      @@DrZzs I'm getting a different response being posted by the sonoff compared to what you get.
      Will get the exact response for you later to compare. I've tried it with a few different sonoffs and get the same result.
      There's also an extra switch option now hence why I think they firmware update may have changed things.

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

      This is the response from the sonoff when I use switch mode 5 or 6
      MQT: domoticz/in = {"command":"switchlight","idx":0,"switchcmd":"On"}

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

    Can I make the switch read a signal instead of sending?

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

      like connect it to a binary sensor?
      Yes. you can do that. Again, the switchmode you want will depend on what type of sensor/button you're using.

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

      @@DrZzs sensor sends a signal 0 or 1 have any button that receives this signal?

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

      th-cam.com/video/8GFG_AV1e7s/w-d-xo.html

  • @tomar5e115
    @tomar5e115 6 ปีที่แล้ว

    These quick videos are great, keeping out our content. Side note, are you a real doctor? 😎

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks. I think the trend is definitely doing more in this style. Just so much less time editing, and still able to deliver good content.
      Yes, I am an Anesthesiologist. Hence, "Dr" of "Zzs"

  • @salim.studio
    @salim.studio 6 ปีที่แล้ว

    Excelente carnal

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      !Gracias!

  • @badandyg
    @badandyg 6 ปีที่แล้ว

    Can I use a conventional light switch for a wife approval factor? Which switch mode for a sonoff basic?

    • @digiblur
      @digiblur 6 ปีที่แล้ว +1

      I believe that is switchmode 0 after you configure the Switch1 on GPIO14. Check back in some of his other Sonoff videos as he explained it there. I also recommend doing the 10k resistor pull-up modification as well if you are going in the wall. I haven't had to do the capacitor filter thing he showed but definitely had to do the 10k on a couple so I do it on all of mine now as it just takes a couple seconds to throw in a resistors across the two pins.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      She doesn't like the glowy touch buttons?!With a regular "latching" type switch you can use switchmode 0 1 or 2. I've just left mine on 0 (that's the default)

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว +1

      Thanks Travis!

    • @badandyg
      @badandyg 6 ปีที่แล้ว

      Shes conventional lets just say that.

    • @badandyg
      @badandyg 6 ปีที่แล้ว

      If the switch is latched "on" and I tell the Sonoff to turn "off" in home assistant will there be any problems.

  • @dinotech6692
    @dinotech6692 6 ปีที่แล้ว

    My brain hurts now. :P It appears that I can't get this to work on the T1's. They seem to be different...or just me and my skill set. I am trying to set one of the switches to where there light on the button is off when the relay in closed, (device power on, but light on switch plate off), reversed from factory settings. That way when the fan is on at while sleeping at night the light isn't glowing the entire room and getting me a --WAF....:/
    Help! ANY ideas??? LOL

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      I’m close to getting to my T1’s. I’ll sure give it a go and see if I can get the button to behave differently.

  • @alagarath
    @alagarath 6 ปีที่แล้ว +1

    For anyone trying this at home make sure you aren't using mains voltage with an exposed sonoff while working with it so closely. You should still be able to provide 3.3v over the vcc and gnd pins that the button is connected to while testing. I think the minimum input voltage is 90v for that input side so I would assume this is connected to mains. Going off of recommendations on the Super House TH-cam channel when he covered Sonoff devices. You know your way around Sonoffs Dr. Zzz, mainly warning people who just arrived.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      good point!

  • @borolo222
    @borolo222 6 ปีที่แล้ว

    Hey man great videos. I have a request, please make a video of a smart door that closes automatically when you turn the ac in the room. Thanks

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      oooh, that's a good one.
      Do you already have a door that closes with a motor somehow?

    • @borolo222
      @borolo222 6 ปีที่แล้ว

      I was thinking perhaps in installing a spring loaded hinge and an electromagnetic holder installed on the wall . Maybe that could work for closing the door and avoid the use of a motor, but it’s something I’m thinking over.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      That's probably the right way to go. Anythings possible.
      I want to do some miniZzeries just on making different automations for things just like that.
      I'll put it on the list! Thanks!

  • @jjcampis
    @jjcampis 2 ปีที่แล้ว

    hi, awesome video!!!
    i need some help with changing Switch1 to the Switch2#State rule... something like this:
    rule1 ON Switch2 #State DO Swicth1% value% ENDON
    thx

  • @2Ustfu
    @2Ustfu 6 ปีที่แล้ว

    Did you know that they are shipping new Sonoff Basics with the pin holes soldered closed. Been struggling to Tazmotized them :-(

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      I've heard. I haven't ordered any new ones since then.
      Check out pogo pins: amzn.to/2LxPT1v
      You don't need 100 though, that's just the first link I found. we'll just have to hold them on the contacts. I seem to remember some guys making flashing adapters too, maybe on Thingiverse.
      We'll figure out a solution.

    • @2Ustfu
      @2Ustfu 6 ปีที่แล้ว

      Those pogo pins look wicked. Unfortunately, Amazon US won't ship them here -not for a reasonable price anyway. But I did manage to poke through the solder by heating up some pin connectors with a soldering iron. I then tasmotized them using FlashEZ...problem solved....a bit disappointed that sonota doesn't work anymore though. OTA was my go to flashing method.

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Try a different seller. AliExpress or Banggood might have them.
      I love flashEZ with the bin file. So simple.
      And I’ve got another twist to add. There’s a way to paste all the setup commands you need into Termite all at once. So you can set your WiFi, mqtt, etc. slick!

  • @djmochaman
    @djmochaman 6 ปีที่แล้ว

    I want to make my regular light switches in my house work with this sonoff. can you do a video on just that .. from flash to wall install.. I can't seem to flash my sonoff right I have tried a few different ones or can you sell me some.. OMG HELP.. LOL I'm not that bright.. thanks so much for posting.. YOU ROCK!!!

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks!
      I should redo some of the earlier videos because I have refined the process quite a bit.
      Let's start with what errors you're getting when you try to flash. I might be able to tell you what to change based on that. This is the best method I've found:
      th-cam.com/video/NNW05smSNOA/w-d-xo.htmlm3s
      If you're in the US I could probably send you flashed sonoffs pretty easy. email me your address and such. justin@drzzs.com

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

    Thanks for the great video DrZzs it helped me out a lot. Although a small question:
    Hi Everybody, If anybody could help me it would be nice :smiley: im using 2x sonoff T1 Dual switches (flashed with tasmota) and i would like to connect them with each other using the GPIO pins and tried to connect the GPIO of the first T1 to the GPIO of the second T1 switch. (to create a two way switch or an hotel switch) from downstairs to upstairs without the use of any domotica system. at this moment it doesn't seem to work. when i short the wires on 1 sonoff T1 the switch on the GPIO works fine but then i connect the first T1 to the second T1 nothing happens. (RX + Ground wire) anyone has a suggestion ? any advise is welcome :smiley: thanks in advance

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

      I'd suggest using rules in Tasmota. It's not a wired solution, but it wouldn't rely on any other system either.
      I think what you're trying to do might work too. You'd have to make it so the connection uses a couple pins. One that senses a voltage change and one that sends a change on each board. I'd have to do some experimenting before I could tell you exactly how to do it.
      It's an interesting project. I'd like to see it work. Maybe ask in the Facebook page or Discord. Maybe someone else has tried something similar. (links to those are at DrZzs.com if you haven't already got them).

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

    Does anyone have this problem that once the raspberry pi is restarting the sonoffs change their states? I'm sure there's a pretty simple fix for that, thanks for the help in advance!

  • @aalmarshad
    @aalmarshad 2 ปีที่แล้ว

    I hate the live streams it stops DrZzs from making are vedios like this

  • @josueobando7718
    @josueobando7718 6 ปีที่แล้ว

    Please make a video of how I link the Sonoff RF equipment with Hass.io to make an alarm.

    • @josueobando7718
      @josueobando7718 6 ปีที่แล้ว

      for this video I want you to use Sonoff equipment and this is what I have Sonoff RF Bridge 433 + PIR2 PIR Sensor + DW1 Door And Window Alarm Sensor + RF Remote Plis

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Working on that video right now. I don't have the Remote though, but I'll show you the basics and the principles will be the same for any RF device.

    • @josueobando7718
      @josueobando7718 6 ปีที่แล้ว

      I love your way of making video.
      I congratulate you, please watch this video
      youth-cam.com/video/vL4OZTjovOM/w-d-xo.html

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      Thanks!
      I've watched a few of his. That one included.
      Makes me wish I'd have paid more attention in German class...

  • @aaliankhan4998
    @aaliankhan4998 6 ปีที่แล้ว

    I am having trouble erasing firmware on the sonoff

    • @aaliankhan4998
      @aaliankhan4998 6 ปีที่แล้ว

      I am erasing because the firmware got corrupt

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      bummer.
      The process should be the same as flashing the first time. You don't have to erase first before re-installing. Old version is just replaced when new version is installed.
      "programming mode" essentially preps the chip to be wiped.

    • @aaliankhan4998
      @aaliankhan4998 6 ปีที่แล้ว

      DrZzs when I try to flash by esp easy I open the program and I don't even start anything and it says flashing failed. So I was trying to see if I erase the firmware first and then try to flash

    • @aaliankhan4998
      @aaliankhan4998 6 ปีที่แล้ว

      DrZzs just to tell you what happened. My SSID had a space on it so the firmware wasn't working properly so to fix it I had to hold the button for 40 seconds to reset the configuration and then when I told it my SSID it didn't crash and get corrupted

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

    Sorry (Not Rocker Type)
    2 Position Switch, position one open contact, position two close contact, pulling down GPIO pin to low logic level.

  • @marcosmoura911
    @marcosmoura911 6 หลายเดือนก่อน

    Couldn't understand anything really

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

    Nothing against your looks, but a floating head is really distracting for me.

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

      No worries. I'm not offended. Not everyone likes it. I've been doing it so long now it would be hard to stop. I'll try to keep my head in the same place so you can cover it up with your thumb or a post-it note. Deal?

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

    This is so out of sync. Very hard to watch. Also video quality is not good.

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

      Sorry. Most of my others are better. I can't really do anything to fix this now.

  • @hulk131313
    @hulk131313 6 ปีที่แล้ว

    Great video again !! In HA when I toggle the switch it turns on but not off is this a HA issue? when I toggle in Sonweb :) it works

    • @DrZzs
      @DrZzs  6 ปีที่แล้ว

      hmmmm
      well, if it works when you flip the switch in SonWeb, but not when you turn it off in HA, there must be something wrong on the HA side.
      Check your switch entry in the configuration.yaml
      and check any automations you have that are using that switch.