The COMPLETE Guide to Tasmota 2019

Sdílet
Vložit
  • čas přidán 1. 07. 2024
  • This guide covers everything from flashing your first device to writing advanced rules. Please use the timestamps below to navigate through the video, and link for reference:
    Links:
    Tuya Convert: www.thesmarthomehookup.com/tuy...
    SonoffOTA: • Sonoff Mini Finally! ...
    Tasmota Smart Home Hub Integrations: github.com/arendst/Sonoff-Tas...
    Tasmota Commands: github.com/arendst/Sonoff-Tas...
    Tasmota Rules: github.com/arendst/Sonoff-Tas...
    Blakadder Database: templates.blakadder.com/
    My FTDI Adapter:
    amzn.to/2HtYDGt
    My Soldering Iron:
    amzn.to/2HuIdh4
    *As an Amazon Associate I earn a % of qualifying purchases at no cost to you.*
    00:00 Intro
    01:45 Flashing - OTA
    02:30 Flashing - Wired
    03:45 Sonoff .bin differences
    04:35 Arduino ESP8266 Core Versions
    05:30 Flashing - NodeMCU PyFlasher
    06:30 WiFi Configuration
    07:15 Initial Setup - MQTT
    07:45 Finding/Using Templates
    09:10 Hub Integrations
    09:30 Alexa Integration
    10:20 Tasmota Commands
    10:40 HTTP Control (sending commands)
    11:10 MQTT Control (sending commands)
    11:40 Group Topic Usage
    12:30 Web Console Control
    13:00 Backlog Commands
    14:00 Tasmota Rules Engine Usage
    15:30 Tasmota Device to Device Control
    16:00 Wrap Up
    Visit my website: www.TheSmartHomeHookUp.com
    Follow me on Twitter: @TheHookUp1
    Support my channel:
    Patreon: / thehookup
    Tesla Refferal Code: www.tesla.com/referral/robert...
    Music by www.BenSound.com
  • Věda a technologie

Komentáře • 246

  • @trentbrown3714
    @trentbrown3714 Před 4 lety

    Nicely done! I've been using tasmota on all my sonof devices for a while now, and yet still learned a lot from this tutorial - thank you!

  • @guatagel2454
    @guatagel2454 Před 4 lety +4

    I understand how CZcams knows that I need videos about Tasmota. But, how did YOU knew that I needed this video? Thank you!

  • @bulldog3494
    @bulldog3494 Před 4 lety +5

    This has to be one of the best videos I watched, I really like Tasmota, it amazes me once you understand the rules you can do a lot of stuff. Thanks Rob.

  • @Whatarewefixingtoday
    @Whatarewefixingtoday Před 4 lety +8

    This is exactly what people need. Thanks Rob for your work in the Community!

  • @guenterk3305
    @guenterk3305 Před 4 lety +1

    Thank you. I have spent hours to figure out the basics of using Tasmota. This video is a great summary of that and has given me some pointers of more possibilities - like the rule engine.

  • @jamegrabham9992
    @jamegrabham9992 Před 4 lety +4

    Great Video Rob... I have 55 devices in my house with Tasmota... using HA with MQTT... never knew that devices could work without a hub...never understood templates...thanks for all that you do, and in particular this video...:)

  • @jayhawkelectrical
    @jayhawkelectrical Před 4 lety +4

    Thank you! The Backlog has saved me hours of googling to get a light to wakeup to a different color!!

  • @brucerawiri7170
    @brucerawiri7170 Před 4 lety +1

    Great video Rob, nice work. Just about to change my sonoff devices to new WLAN. Had some help from one of great guys on Discord. The Home Assistant community is amazing. Thanks Rob

  • @jimmyjohansson84
    @jimmyjohansson84 Před 4 lety +1

    Great video! I've got a couple of sonoff basics waiting to be used at home and now I finally feel like I understand enough to get to it!

  • @sidleach1909
    @sidleach1909 Před 4 lety +1

    I flashed my first firmware today - a Sonoff TH16 device - based on the information provided in your video. Thank you for an excellent, well-done video explanation of how to accomplish it. Some things have changed, e.g., the bin file is named tasmota.bin instead of sonoff.bin, and the board is different in the latest Sonoff TH16 devices (Ver 2.1). The circuit board now has a fifth pin labeled "EXP-LOG" in addition to VCC, RX, TX, and GND. I had to use a bench power supply (instead of just using the USB port on my iMac) and tweak the voltage up to 3.5V in order to get one of the boards to successfully complete the flash operation. Using NodeMCU PyFlasher as you recommended had the added benefit that I could erase the firmware at the start of each repeated attempt when one device kept aborting midway through the upload of the tasmota firmware; (it took me a dozen attempts to successfully flash that device). I sincerely appreciate your video. Thank you, thank you, thank you.

  • @johncrunk8038
    @johncrunk8038 Před 4 lety +1

    Great video. I haven't played with Tasmota for a while, but it looks like it is really moving along.

  • @MatSmithLondon
    @MatSmithLondon Před 4 lety

    Another excellent video. You are so good at bringing things together. I already flash devices with Tasmota, but this vid showed me stuff I didn’t know!

  • @pvigoyoutub2009
    @pvigoyoutub2009 Před 4 lety +3

    Allways clear and easy! congrats budy!

  • @lunatik9696
    @lunatik9696 Před 4 lety +2

    Excellent vids. The time breakdown is fantastic value added :)

  • @Smitty3572
    @Smitty3572 Před 4 lety +2

    Another great video and straight to the point.
    Keep up the great work.

  • @ErnestGWilsonII
    @ErnestGWilsonII Před 4 lety +2

    Great video! Thank you for making it and sharing it with us! Thumbs up and I am of course subscribed with notifications enabled!

  • @Lazniak
    @Lazniak Před 3 lety

    Thank you for soo cool explanation video. The best and shortest one I found over the youtube. Great work!

  • @kristianprokupek6606
    @kristianprokupek6606 Před 4 lety

    This is Awesome! Quick, brief and useable...

  • @mastershake156
    @mastershake156 Před 4 lety +35

    1:45 Flashing - OTA
    2:30 Flashing - Wired
    3:45 Sonoff .bin differences
    4:35 Arduino ESP8266 Core Versions
    5:30 Flashing - NodeMCU PyFlasher
    6:30 WiFi Configuration
    7:15 Initial Setup - MQTT
    7:45 Finding/Using Templates
    9:10 Hub Integrations
    9:30 Alexa Integration
    10:20 Tasmota Commands
    10:40 HTTP Control (sending commands)
    11:10 MQTT Control (sending commands)
    11:40 Group Topic Usage
    12:30 Web Console Control
    13:00 Backlog Commands
    14:00 Tasmota Rules Engine Usage
    15:30 Tasmota Device to Device Control
    16:00 Wrap Up

  • @squalazzo
    @squalazzo Před 4 lety +3

    excellent Rob, very well done! :)

  • @Tfmt100
    @Tfmt100 Před 4 lety +1

    I rarely comments on youtube videos, but you deserve man! Awesome simple, fast and reliable method to flash sonoff firmware (nodemcu Pyflasher). Thanks for sharing it dude!!!!!

  • @Gregori42
    @Gregori42 Před 4 lety +1

    Congratulations, fantastic job.... it was a pleasure to see this video.....
    it would be fantastic if you make a video explaining how to configure in tasmota the timers by web in the Timers Configuration menu ( not by console).

  • @gregm.6945
    @gregm.6945 Před 4 lety +1

    great video, you've given me a lot to read. Thanks !

  • @markmacherey4744
    @markmacherey4744 Před 4 lety +1

    Awesome video Rob.

  • @petera.morrison2095
    @petera.morrison2095 Před 4 lety

    Really nicely done summary. Thanks!

  • @MrBobWareham
    @MrBobWareham Před 6 měsíci

    Thanks for the video I have joined your channel in the hope of learning Tasmota, I don't have many switches so just want to turn on/off Sonoff Basic R2 sockets at certain times and some ESP8266+Relay units.
    I just need to learn how to set up Sunrise/Sunset and times of the day to turn my lights on and off, Thanks Bob in the UK

  • @musicalprawn2349
    @musicalprawn2349 Před 3 lety +2

    Hey this is brilliant. Thank you so much.

  • @tommh44
    @tommh44 Před 4 lety

    Thanks for another great video. I was shocked to see 12 thumbs down. I pondered it for a while and came up the only thing that could cause that. Watching your videos can be a little like trying to drink from a fire hose. But this is really a positive. The video can be paused AND the settings allow you to set the audio speed to .75 (or less). Then in a few months watching it again at full speed will be just right. And most of us will watch it again. A brilliant plan by you.

    • @TheHookUp
      @TheHookUp  Před 4 lety

      Hey Tom, I know you've been around since the beginning, thanks for sticking it out!

  • @iot_enthusiast
    @iot_enthusiast Před 4 lety +2

    great content, as always!

  • @tank1572
    @tank1572 Před 4 lety +2

    Such a great video, thank you

  • @AnDy-pl2ks
    @AnDy-pl2ks Před 4 lety

    Great and clear explanation -- thanks!

  • @michaellim7542
    @michaellim7542 Před 4 lety +1

    Awesome video, it is very comprehensive ;)

  • @KeyBored101
    @KeyBored101 Před 4 lety

    Another excellent video Rob. I recently installed home assistant on a raspberry pi and separately installed Tasmota on 2 wemos d1 minis but I haven't merged the two, I'm still using smartthings.

  • @MaxGoddur
    @MaxGoddur Před 3 lety

    When I first stumbled across this sw name I was glad to see it only because it appeared to be freeing you from coding and using some sort of block approach but after just hearing you say you need to "issue the command" my heart fell. That was around 11:12 of your video.

  • @davidchui4373
    @davidchui4373 Před 4 lety +1

    i have using Tasmota since the start of my home automation. So far it has not disappointed me. Great video on the Tasmota. Perhaps some advance Tasmota video coming up?

    • @Whatarewefixingtoday
      @Whatarewefixingtoday Před 4 lety

      For more in the weeds advanced stuff check out Digiblur on youtube. He is a master at Tasmota Rules and such.

  • @MultiJary
    @MultiJary Před 4 lety +1

    everything is clear, thanks

  • @juliohdez5327
    @juliohdez5327 Před 2 lety

    Great video, thank you

  • @sofronismistakidis4264

    Good job, nice video, thank you!

  • @tubejim101
    @tubejim101 Před 4 lety

    Great video. Thank you.

  • @drreality1
    @drreality1 Před 4 lety +1

    Amazing one stop shop.
    Now time to tackle esphome 🤯
    Thank you so much

  • @chrislambe400
    @chrislambe400 Před 4 lety

    Cool, don't have to time to look now. Break time is about to get interesting.

  • @vacbed
    @vacbed Před 4 lety

    Awesome video! Liked & subscribed.

  • @Builtbypete
    @Builtbypete Před rokem +1

    Once I flashed a sonoff with Tasmota there was no looking back!

  • @marktroyerdottech7774
    @marktroyerdottech7774 Před 3 lety +1

    Seriously content rich! I had to watch at 50% speed to absorb...

  • @NicozStrat
    @NicozStrat Před 3 lety

    that database saved my ass from spending hours of reverse enigeering a multipulg.. thanks a lot dude

  • @ssinseeme
    @ssinseeme Před 4 lety +4

    6:17 very important for newbies. before you plug your USB to the adapter, push the button on your Sonoff and release after you plug your USB

    • @TwanJaarsveld1
      @TwanJaarsveld1 Před 3 lety

      also for a wemos ?

    • @user-jv5jw1kc5i
      @user-jv5jw1kc5i Před 3 lety

      @@TwanJaarsveld1 ييييييييييييييييييييييييييي ييييييييييييي،ييييييييييييييييييييييي ييييييييييييييييييييييييييييريييييييييييييييييييييييييييييييييييييييييييييييييييييييييييييييييييييي،يييييييييييييييييييلدم،،

  • @AndyMillenFilms
    @AndyMillenFilms Před 4 lety

    Great video Rob, I have been playing with Tasmota and ESPHome, was considering changing everything over to ESPHome but this video has made me think.
    Have you played with ESP? If so, what made you stick with Tasmota?
    Also, my opinion, but I prefer the jump cuts rather than the speed changes, makes it look like there is something wrong with my browser, although I like that you are trying different things!

  • @rickz6006
    @rickz6006 Před 4 lety

    Very helpfull video thanks.
    Just got a Treatlife Smart light switch and it looks (after tearing it apart) that I need to find my soldering iron.

  • @OldCurmudgeon3DP
    @OldCurmudgeon3DP Před 4 lety +1

    Awesome.

  • @johnfranks
    @johnfranks Před 4 lety +1

    Tasmota is brilliant! FYI SmartThings integration doesn't always work out of the box... I had to add a few lines to the device handler to get my Gosund wall switches to generate child devices while using a generic template.
    The ability to control separate devices with the click or click & hold on a wall switch is basically like being able to rewire your entire house to your liking without having to pull any wire. Awesome!

    • @Smitty3572
      @Smitty3572 Před 4 lety

      Where can I find the SmartThings integration information?

    • @johnfranks
      @johnfranks Před 4 lety

      @@Smitty3572 github.com/BrettSheleski/SmartThingsPublic/blob/master/devicetypes/brettsheleski/tasmota.src/readme.md
      Check the issues tab if you have problems with your child devices populating.

  • @filippusdahlin6403
    @filippusdahlin6403 Před 4 lety

    Great video! I personally prefer Esphome, but I do get why a lot of people stick to tasmota

  • @skane01
    @skane01 Před 4 lety

    Hi Rob, great video, you demystified a lot of things. Does Tasmoto provide any functions for parsing the json string fron results of topics (time, analog etc) .

  • @grahamphillips3467
    @grahamphillips3467 Před 4 lety

    Very informative video, Please could you advise on simple console command format required to turn device on/off at certain times on certain days

  • @ianxtreem
    @ianxtreem Před 4 lety +4

    You are right on the money. Tasmota is great. I just dont see the logic of using a different firmware build for every device as in ESPHome. Dont get me wrong ESPHome is good too but its just so much easier to use the default version of Tasmota and configure changes as you like.

  • @lpfigue
    @lpfigue Před 4 lety +1

    Thanks a lot for the video man. Great. So, rules mean that I can make tasmotas talk to each other without a hub? Ex. I can turn on or off another tasmota from any other tasmota switch?

  • @overseerbrian
    @overseerbrian Před 4 lety +2

    Great video! You motivated me to finally install tasmota on one of my powerstrips. It was super easy gonna buy some more stuff this week.
    One thing, you mentioned links in the description for Hubitat integration. I can't find it.

  • @Anthony-bg2pe
    @Anthony-bg2pe Před 4 lety

    Thanks for another great video. Is there anyway to add sonoff to work with Lutron Caseta hub?

  • @camrynextreme
    @camrynextreme Před 4 lety

    Another great video, had a question, using hassio and just updated some switches to tasmota that I want to use with alexa. I saw in previous video on node red you created flows to do this, but seems easier to update the tasmota switch to use the hue bridge and friendly name. Is there a reason to use node red over updating the switch?

  • @briantw
    @briantw Před 4 lety +1

    You don't need to put in the %20 - just hit the space bar. The makers intended that you use a space for your convenience. If you were forced to use %20 for a space, then they'd have gone with something else, such as a hyphen or an equals sign.
    Have to say, it's the first time I've ever heard some refer to a simple "slash" as "front slash."

  • @steeple001
    @steeple001 Před 3 lety

    Great Video, very useful, I have got a couple of RF bridges flashed with Tasmoto, what I'm trying to do is use these as devices to send RF codes for TV lifts, is it possible that the bridge running tasmoto can learn RF and I can associate this with a button on the main panel so that when I send a HTTP request to the bridge it triggers the RF to be sent therefore lifting or retracting the lift system ?

  • @dalescott9330
    @dalescott9330 Před 4 lety +1

    Great video, I now have a place to go for simple reminders. Have you considered using the backlog commands to set SSID and MQTT up with the console of the PyFlasher? Save some steps.

    • @johnfranks
      @johnfranks Před 4 lety +1

      Console of the PyFlasher doesn't have 2-way communications. I use Coolterm (mac) and I think most windows tutorials recommend Termite. I agree though, it's easier to setup via a serial console while it's still connected.

  • @coobek2k
    @coobek2k Před 4 lety +1

    Hey Rob, thanks for the video! Learned a lot.
    Do you know if there's a simple way to control e.g. CC2500 transceivers with Tasmota utilizing templates?
    My use case is to control Ikea Ansluta LED controllers. Ended up with a homegrown solution, but MQTT, unified management and rules would be nice.
    Best regards!

    • @TheHookUp
      @TheHookUp  Před 4 lety

      I'm not aware of any current solution for that.

  • @hengeveldbram
    @hengeveldbram Před 4 lety

    Your videos got me going down the HA rabbithole, so thanks! I'm now trying to write a rule on 'switch1' that sends a command to 'switch2' when it (switch1) when the voltage going through it exceeds 100V (it's going to be used to power on a dustcollection when a powertool is switched on), but I'm not getting there. I have come this far: "rule1 on voltage >100 do send 192.168.1.11 power1 1 endon" (switch2 is on 192.168.1.11 and I ran "rule1 1")
    FWIW "cmnd/tasmota/Status10" returns: MQT: SW2/stat/STATUS = {"Status":{"Module":0,"DeviceName":"SW2","FriendlyName":["SW2"],"Topic":"SW2","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}}
    (I'm a total noob, as you might've guessed :)

  • @BinaryElysium
    @BinaryElysium Před 3 lety

    What I'm most interested was mentioned in the "why you want tasmota" but wasn't addresses in the video. How do you retain manual control in the event of a network failure?

  • @ianrobertson912
    @ianrobertson912 Před 4 lety

    Thanks for the video. Can you have alexa local command option and also MQTT settings to control via home assistant. Just wondering if it is only Alexa- can this be for google assistant also?

  • @kiloy1006
    @kiloy1006 Před 4 lety

    Thank you for the great info. I have a question...
    Is it possible to send rules via http?
    What i am trying to do is to turn off a relay after x min when it's on.
    I know how to do this in the tasmota console but i want the timer to be changable from home assistant.
    i.e, setting up a number slide in home assistant and do http request automation when state is changed.
    Thank you in advance!
    Edit:
    If someone says "why don't you do the timer thing via home assistant itself?"...
    I want the device to be stand alone as much as possible so that even if hassio failed while relay is on, it will still shut off by itself! :)

  • @pedrware
    @pedrware Před 4 lety +1

    Hi, I have a Sonoff SV with tasmota. But I can't get it to turn on, wait 1 second and turn it off. You can help ?
    Greetings from Portuga

  • @xfabiosoft
    @xfabiosoft Před 4 lety

    can i connect a physical (external switch) to Sonoff 4CH? It needs to work from my "old" wall switch and from wifi.

  • @andyhamdorf1446
    @andyhamdorf1446 Před 4 lety

    Thanks for the great video. How do you set the time in Tasmota?

    • @Whatarewefixingtoday
      @Whatarewefixingtoday Před 4 lety +1

      Ya, that's a bit weird. Mine are set however. When I get HFW this evening I will post my command for US Central time, but if you google the question, you will find answers like I did. You have to set the DST period and the ST period, and it is odd formatting, but it works...

  • @jordirt9115
    @jordirt9115 Před 2 lety

    Hello. I have a sonoff switch of the TX series wifi with tasmota installed. my question is if the brightness of the leds of the pushbutton can be lowered. thanks

  • @MaxGoddur
    @MaxGoddur Před 3 lety

    I will search but while I do want to ask if you have a simple video showing how to upload and configure this software on the ESP8266 Microcontroller? I noticed you refer to the devices you are uploading this sw as existing commercial products as in switching outlets. I would like to use the sw in my ESP8266 Microcontroller and use relays connected to pins for control. Or use this software with Wemos mini D1.

  • @MehrdadGivehchi
    @MehrdadGivehchi Před 4 lety

    great video and many thanks.... One question: I followed your instructions and was able to tasmotize flawlessly... Now I want to revert back to my light's original FW but having issues. when I try to upload manually I get an error. I even try to power cycle 7 times (even higher number of counts) to get the tasmota to go into configuration mode but with no luck.
    I keep getting "Upload buffer miscompare"
    I searched google and it looks like mismatch on file size that causes this. I even tried tc_donor_mini.generic_1M.bin and tasmota-minimal.bin and getting similar error message.
    any help is greatly appreciated.
    thanks

  • @Airbag888
    @Airbag888 Před 4 lety

    Can I ask, honest question. My stock Sonoff Basic R2 uses around 1.5W idle and 2.5W active. By active I mean the device is powered on. That's quite a lot in particular when I was hoping to use 1 sonoff (POW actually) per line (light/socket). That's 100 total. I realise 100 wifi devices all in 1 box, things could go bad on that side but back to my objective. I want to measure and graph power usage of everyone of these devices (sure I could combine some lights to reduce a bit) for the purpose of being as frugal as possible with electricity.
    So while I have hope to reduce power usage by 150W ish I wonder if there's a way via a custom firmware flash (Tasmota/ESPHome/any other) to also reduce the idle/active power use, specifically for sonoff basic r2 and pow r2.
    I'm also open to any other suggestions and conversations around wifi/zwave/zigbee (btw I intended to get an access point dedicated to the electric box where they would be.)
    And of course the primary reason for sonoff is the price :)
    Edit: I should add I also am not done building the house so maybe there's another solution that's wired instead of wireless and as inexpensive?

  • @jefish
    @jefish Před 4 lety

    Used NodeMCU PyFlasher to install Tasmota on a Wemos D1 Mini. No troubles. Got to the portal page, set up my local SSID and password, rebooted the device. From that point forward, any time the D1 was plugged in, ALL wireless devices were kicked off the network. Had to physically power off-on the router to recover. Plug in the D1 again, boom, everything's dead. I've never seen anything like it.
    Thoughts?

  • @glen4cindy
    @glen4cindy Před 8 měsíci

    This is the guide I've been looking for and then you ran right past MQTT. I'm just now starting to setup Tasmota. I'm extremely confused. I've got a couple of different devices for home automation. I have a Zigbee switch and I'm not sure how to use it. Do I need a hub of some kind? I've got an ESP32-S2 that I flashed with Tasmota. What do I need to make MQTT work? I tried setting up Mosquito on a Raspberry Pi but I have no idea how to configure it so it's available to Tasmota. I thought I'd find the MQTT information here but I think this guide assumes MQTT is already running.

  • @abdulrahmans1053
    @abdulrahmans1053 Před 4 lety +2

    Great video, next: ESP-Home :)

  • @junleegallemit
    @junleegallemit Před 3 lety

    Hi, im new to home assistant and am starting to test the waters so i might sound dumb or something, i just have a quick question, my chinese generic smartlife switch is a zigbee and runs with a zigbee hub for smartlife. Do i have to flash the zigbee as well?

  • @muxa
    @muxa Před 4 lety

    Thanks for an informative video. I can’t seem to find a link to Hubitat integration, thought. Any help?

    • @TheHookUp
      @TheHookUp  Před 4 lety

      Hi, sorry. It's a bit of a hack, but I did get it working: community.hubitat.com/t/release-tasmota-sonoff-hubitat-driver-device-support/15445

  • @xDavid7
    @xDavid7 Před 2 lety

    Hi Rob, might not be the right video, but maybe you can help. My Sonoff Mini with Tasmota Basic works fine with a normal switch connected to S1/S2, but when instead of switch I connect push button to the S1/S2 Mini does not stay on/off even if I change GPIO4 to the "switch 3 or 4.

  • @duncan.g.burton
    @duncan.g.burton Před 3 lety

    Hi, Do have instructions to flash Shelly 1 so it works with Apple HomeKit ? I’m sure you’ve answered this already but I cannot find any help ! Also do you have a link on where to buy the flash cable ? Many thanks 👍

  • @grahamphillips3467
    @grahamphillips3467 Před 4 lety

    Hi again, eventually got it working, had simply wrong timezone set !

    • @TheHookUp
      @TheHookUp  Před 4 lety

      Haha, it’s always the simple problems that cause the most headache.

  • @joeneubauer3208
    @joeneubauer3208 Před 3 lety

    I was looking for the Integrations page you mentioned but the link just goes to the Tasmota github page. Do you know if its moved? Noting on the site seems to refer to it. And does anyone know if the integration still works with the new changes to SmartThings since Oct 2020?

  • @ptmoy1
    @ptmoy1 Před 3 lety

    Is there any way to find out what valid tasmota-rule triggers are for a given module by using the Tasmota console? Tasmota documentations are lacking or dated at times.
    I've configured a Martin Jerry SD01 dimmer using Tasmota 8.4 with module type set to "PWM Dimmer." I'm trying to create a rule that would send an mqtt command to another tasmota device when the MJ on/off switch is short pressed. I tried this: rule1 on switch1#state=2 do publish cmnd/otherTasmotaDevice/power toggle endon; rule1 1. But the publish doesn't fire. I know the MQTT message is correct because when I sent it via an MQTT client (i.e. MQTT.fx), the otherTasmotaDevice power toggled as expected. So I speculate my rule trigger is invalid, but can't find documentation on what the correct trigger should be.

  • @zianian
    @zianian Před rokem

    I'm back. Another question.
    How do you change the Tasmota web UI's Off & On states from showing 0 or 1 to showing On & Off instead. Thanks.

  • @homeassistantiptv8068
    @homeassistantiptv8068 Před 4 lety

    Thanks for the video!! I am trying to perform the following.. I have 3 RGBW bulbs in a light post outside and in HA, i have a input select setup that sends a command to the bulb via Node when i select for example halloween - it sends a light.on service with the color orange to the bulbs. I am now looking to setup a local rule on the tasmota bulb that listens for a trigger from the input select and when i gets that payload, i want the bulb to turn on, set the color to red, pause 5 seconds, set the color to green and repeat until i send a stop command to it or turn off the bulb. Hoping this is possible. Thank you!!

    • @TheHookUp
      @TheHookUp  Před 4 lety

      Best way to do this is probably to set up a "fake" relay on your RGB bulb in tasmota and then send the trigger to that relay (cmnd/bulb/power2), then make a rule to send a backlog of commands when it gets that trigger.

  • @tariq4846
    @tariq4846 Před rokem

    Hi.
    Is there anyway to wire ESP8266? I have a scenario where I can’t fix wifi signal issues but can run a wire to ESP. Need your advice other than using an external antenna.

  • @InnerspaceX
    @InnerspaceX Před 4 lety

    Hi, im uploaded the latest tasmota sonoff firmware to a 8266, can connet to the ESP network, see the device ip and the router (esp) ip, but cannot connect to it. Any idea? Tried with the basic firmware too.

  • @joba1560
    @joba1560 Před 4 lety

    not watched yet, COMPLETE will be looong video...

  • @MrBecker666
    @MrBecker666 Před 3 lety

    I've been experimenting flashed my sonoff with esptool all was going great but when I saved the WiFi it seems like it picked up a stray character on the WiFi name and now cannot access it. I can flash it again, but curious if there is a way to access it thru the serial port to change to the proper WiFi name

  • @jeevakkuwar
    @jeevakkuwar Před 3 lety

    I am making an ESP8266 tasmota smart switch. Is there any way to compile tasmota firmware for a specific template config?
    So that when I reset the device, it will auto configure itself to that same template and pin configs. (just like a finished commercial product)
    Any help is appreciated. Thanks

  • @xfabiosoft
    @xfabiosoft Před 4 lety

    Amazing! Can you dive deep why there are Relay1...Relay2... ever if on the sonoff there is only one relay and how it's related with switches? Thanks

    • @Whatarewefixingtoday
      @Whatarewefixingtoday Před 4 lety

      You can set-up a pseudo relay that is basically a command buffer in the program. It will turn it on and off like it is real, but all that happens is in software, not hardware.
      For instance the Slampher Sonoff device has an RF receiver that always turns on and off POWER1. If you RF-connect a Sonoff PIR device, the PIR signal will turn it on, the next PIR signal turns it off. The light flashes on and off. I disconnected the internal relay from POWER1 and attached the internal relay to POWER2 (using a template). I then made a rule set that when it sees that POWER1 is on it turns on POWER2 which is actually connected to the relay and the light goes on. Then the PIR can toggle POWER1 on and off and I don't care. POWER2 goes off after a time delay turning the light off. The device has 1 relay, but uses POWER1 and POWER2 where POWER2 is the power mechanical relay, and POWER1 stores the status of the received RF signal from the PIR box. I have a project on it in the Home Assistant Community projects pages if you are interested.
      Also check out Travis (Digiblur) on CZcams. I learned my rules tricks from him.

  • @yurid7418
    @yurid7418 Před 4 lety +2

    Great guide ! Any way missing for me to setup rule through HTTP command. Can you please issue some example ?

    • @johnfranks
      @johnfranks Před 4 lety

      Not sure why you would want to do that... Just go to the IP address of the device, click console, issue the rule, then enable the rule

    • @yurid7418
      @yurid7418 Před 4 lety +1

      @@johnfranks I need it to do simple automated settings from Android application. Some users don't know what is IP address and my application with automated setup should resolve the problem.

    • @johnfranks
      @johnfranks Před 4 lety

      @@yurid7418 Got ya. Ok, I tried it... Looks like it truncates the command after the Hashbang. Not sure if there is a way around this... Maybe its not something the developer envisioned someone trying. Heres the command I tried: 192.168.1.243/cm?cmnd=rule2%20on%20switch1#state=2%20do%20power%20toggle%20endon%20on%20switch1#state=3%20do%20publish%20cmnd/KuLED/power%20toggle%20endon
      It definitely started to write the rule... it just stopped after switch1.

    • @Whatarewefixingtoday
      @Whatarewefixingtoday Před 4 lety

      If you need to do a string of commands via HTTP you could, you would do it external of the Tasmota device and create something in HTTP to send it. The power is in the internal rules, however. Long press Short press, for instance, can make this device control 2 things that may or may not be the internal relay of the device. Kind of freaky, right? Usually the status lights are also available for external control and devices with a beeper you can control that, play a song, make it a doorbell sounder. The rabbit hole goes deep my friend.

    • @yurid7418
      @yurid7418 Před 4 lety

      @@Whatarewefixingtoday Fully agree with you about freaky tricky button presses. In my case I don' want to make long instructions with beep conditions because, parents for instance, that a little bit deaf can not distinguish beeps. So the config and rules should be pushed over Android device and my Android app can generate every, even complex, HTTP request for sure. BTW in last versions I saw some scripting functions. Might be this can help me ?

  • @mouizimran1032
    @mouizimran1032 Před 4 lety

    Hello Sir,
    Can you share about different companies who offer home automation products. which has reliable cloud servers so that the device never goes offline.
    Also products that run on lan when internet is down.
    Kindly make a video on that.
    Thanks for your videos.

  • @abhijeet_ghosh
    @abhijeet_ghosh Před 4 lety

    I never knew to disable MQTT if using http. Just did that.

  • @user-vc9pg8tr7x
    @user-vc9pg8tr7x Před 2 měsíci

    This was 4yrs ago. Were there any significant change on how to flash devices in 2024?

  • @HelloHelloXD
    @HelloHelloXD Před 4 lety

    Could you make a complete guide how to set up MQTT topics, ie should you have a separate topic for control of a device and another one for a status?

    • @Whatarewefixingtoday
      @Whatarewefixingtoday Před 4 lety

      Tasmota uses CMD(command), STAT(Status), and TELE(Telemetry) built into their firmware for device control.

    • @HelloHelloXD
      @HelloHelloXD Před 4 lety

      @@Whatarewefixingtoday I meant MQTT topics in general for the whole smart home not just for Tasmota

    • @Whatarewefixingtoday
      @Whatarewefixingtoday Před 4 lety

      @@HelloHelloXD OK. Well the topic is like a street address, and is open format. Start with structure that makes sense to you and roll with it. Lay it out on paper first. I want all my cameras to start with camera/... OR whatever you can imagine.... It is roll your own if you are picking. Devices usually have a topic structure they respond to. Oh, yes, LWT is special, it is the topic that the broker sends if it can't find the device, showing the device has died.

  • @brianreis
    @brianreis Před 3 lety

    I seem to be the only one noob enough to not understand the MQTT initial configuration part.
    Here I am following the steps, I see him put an IP in host name and since I dont know where that came from, I copy it and then my device keeps failing the comunication until it resets itself.
    Where will I get the IP to put in the host?

  • @StePhanMckillen
    @StePhanMckillen Před 4 lety +4

    10 out 10 bro
    what I do
    1 flash it
    2 Fire up Termite
    3 blacklog my ssid password MQTT setting and wificonfig 2

  • @rashmimahadevaiah8321
    @rashmimahadevaiah8321 Před 4 lety +2

    "tasmota is the best option for esp8266" whats the best option for esp32?

  • @PimentabilisAnusOutrem

    Hi.
    When using the Sonoff Mini with Tasmota through the MQTT the device only flashes the blue LED once when it is activated, the icon in the application shows that it has been turned on but the lamp doesn't turn on.
    Through the browser I turn on and off the light using the command 192.168.2.156/cm?cmnd=Power On.
    How can I fix it?
    Thank you for your attention.