The COMPLETE Guide to Tasmota 2019

Ғылым және технология

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

Пікірлер: 246

  • @trentbrown3714
    @trentbrown37144 жыл бұрын

    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
    @guatagel24544 жыл бұрын

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

  • @bulldog3494
    @bulldog34944 жыл бұрын

    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.

  • @judedash9930

    @judedash9930

    2 жыл бұрын

    instaBlaster...

  • @Whatarewefixingtoday
    @Whatarewefixingtoday4 жыл бұрын

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

  • @guenterk3305
    @guenterk33054 жыл бұрын

    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
    @jamegrabham99924 жыл бұрын

    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
    @jayhawkelectrical4 жыл бұрын

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

  • @brucerawiri7170
    @brucerawiri71704 жыл бұрын

    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
    @jimmyjohansson844 жыл бұрын

    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
    @sidleach19094 жыл бұрын

    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
    @johncrunk80384 жыл бұрын

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

  • @MatSmithLondon
    @MatSmithLondon4 жыл бұрын

    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
    @pvigoyoutub20094 жыл бұрын

    Allways clear and easy! congrats budy!

  • @lunatik9696
    @lunatik96964 жыл бұрын

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

  • @Smitty3572
    @Smitty35724 жыл бұрын

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

  • @ErnestGWilsonII
    @ErnestGWilsonII4 жыл бұрын

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

  • @Lazniak
    @Lazniak3 жыл бұрын

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

  • @kristianprokupek6606
    @kristianprokupek66064 жыл бұрын

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

  • @mastershake156
    @mastershake1564 жыл бұрын

    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

  • @NA12495

    @NA12495

    4 жыл бұрын

    Thanks

  • @squalazzo
    @squalazzo4 жыл бұрын

    excellent Rob, very well done! :)

  • @Tfmt100
    @Tfmt1004 жыл бұрын

    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
    @Gregori424 жыл бұрын

    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.69454 жыл бұрын

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

  • @markmacherey4744
    @markmacherey47444 жыл бұрын

    Awesome video Rob.

  • @petera.morrison2095
    @petera.morrison20954 жыл бұрын

    Really nicely done summary. Thanks!

  • @MrBobWareham
    @MrBobWareham6 ай бұрын

    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
    @musicalprawn23493 жыл бұрын

    Hey this is brilliant. Thank you so much.

  • @tommh44
    @tommh444 жыл бұрын

    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

    4 жыл бұрын

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

  • @iot_enthusiast
    @iot_enthusiast4 жыл бұрын

    great content, as always!

  • @tank1572
    @tank15724 жыл бұрын

    Such a great video, thank you

  • @AnDy-pl2ks
    @AnDy-pl2ks4 жыл бұрын

    Great and clear explanation -- thanks!

  • @michaellim7542
    @michaellim75424 жыл бұрын

    Awesome video, it is very comprehensive ;)

  • @KeyBored101
    @KeyBored1014 жыл бұрын

    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
    @MaxGoddur3 жыл бұрын

    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
    @davidchui43734 жыл бұрын

    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

    4 жыл бұрын

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

  • @MultiJary
    @MultiJary4 жыл бұрын

    everything is clear, thanks

  • @juliohdez5327
    @juliohdez53272 жыл бұрын

    Great video, thank you

  • @sofronismistakidis4264
    @sofronismistakidis42643 жыл бұрын

    Good job, nice video, thank you!

  • @tubejim101
    @tubejim1014 жыл бұрын

    Great video. Thank you.

  • @drreality1
    @drreality14 жыл бұрын

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

  • @chrislambe400
    @chrislambe4004 жыл бұрын

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

  • @vacbed
    @vacbed4 жыл бұрын

    Awesome video! Liked & subscribed.

  • @Builtbypete
    @Builtbypete Жыл бұрын

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

  • @marktroyerdottech7774
    @marktroyerdottech77743 жыл бұрын

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

  • @NicozStrat
    @NicozStrat3 жыл бұрын

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

  • @ssinseeme
    @ssinseeme4 жыл бұрын

    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

    3 жыл бұрын

    also for a wemos ?

  • @user-jv5jw1kc5i

    @user-jv5jw1kc5i

    3 жыл бұрын

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

  • @AndyMillenFilms
    @AndyMillenFilms4 жыл бұрын

    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
    @rickz60064 жыл бұрын

    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
    @OldCurmudgeon3DP4 жыл бұрын

    Awesome.

  • @johnfranks
    @johnfranks4 жыл бұрын

    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

    4 жыл бұрын

    Where can I find the SmartThings integration information?

  • @johnfranks

    @johnfranks

    4 жыл бұрын

    @@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
    @filippusdahlin64034 жыл бұрын

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

  • @skane01
    @skane014 жыл бұрын

    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
    @grahamphillips34674 жыл бұрын

    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
    @ianxtreem4 жыл бұрын

    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
    @lpfigue4 жыл бұрын

    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
    @overseerbrian4 жыл бұрын

    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-bg2pe4 жыл бұрын

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

  • @camrynextreme
    @camrynextreme4 жыл бұрын

    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
    @briantw4 жыл бұрын

    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
    @steeple0013 жыл бұрын

    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
    @dalescott93304 жыл бұрын

    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

    4 жыл бұрын

    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
    @coobek2k4 жыл бұрын

    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

    4 жыл бұрын

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

  • @hengeveldbram
    @hengeveldbram4 жыл бұрын

    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
    @BinaryElysium3 жыл бұрын

    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
    @ianrobertson9124 жыл бұрын

    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
    @kiloy10064 жыл бұрын

    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
    @pedrware4 жыл бұрын

    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
    @xfabiosoft4 жыл бұрын

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

  • @andyhamdorf1446
    @andyhamdorf14464 жыл бұрын

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

  • @Whatarewefixingtoday

    @Whatarewefixingtoday

    4 жыл бұрын

    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
    @jordirt91152 жыл бұрын

    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
    @MaxGoddur3 жыл бұрын

    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
    @MehrdadGivehchi4 жыл бұрын

    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
    @Airbag8884 жыл бұрын

    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
    @jefish4 жыл бұрын

    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
    @glen4cindy8 ай бұрын

    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
    @abdulrahmans10534 жыл бұрын

    Great video, next: ESP-Home :)

  • @junleegallemit
    @junleegallemit3 жыл бұрын

    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
    @muxa4 жыл бұрын

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

  • @TheHookUp

    @TheHookUp

    4 жыл бұрын

    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
    @xDavid72 жыл бұрын

    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.burton3 жыл бұрын

    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
    @grahamphillips34674 жыл бұрын

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

  • @TheHookUp

    @TheHookUp

    4 жыл бұрын

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

  • @joeneubauer3208
    @joeneubauer32083 жыл бұрын

    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
    @ptmoy13 жыл бұрын

    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 Жыл бұрын

    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
    @homeassistantiptv80684 жыл бұрын

    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

    4 жыл бұрын

    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 Жыл бұрын

    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
    @InnerspaceX4 жыл бұрын

    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
    @joba15604 жыл бұрын

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

  • @MrBecker666
    @MrBecker6663 жыл бұрын

    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
    @jeevakkuwar3 жыл бұрын

    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
    @xfabiosoft4 жыл бұрын

    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

    4 жыл бұрын

    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 KZread. I learned my rules tricks from him.

  • @yurid7418
    @yurid74184 жыл бұрын

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

  • @johnfranks

    @johnfranks

    4 жыл бұрын

    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

    4 жыл бұрын

    @@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

    4 жыл бұрын

    @@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

    4 жыл бұрын

    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

    4 жыл бұрын

    @@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
    @mouizimran10324 жыл бұрын

    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_ghosh4 жыл бұрын

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

  • @user-vc9pg8tr7x
    @user-vc9pg8tr7x2 ай бұрын

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

  • @HelloHelloXD
    @HelloHelloXD4 жыл бұрын

    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

    4 жыл бұрын

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

  • @HelloHelloXD

    @HelloHelloXD

    4 жыл бұрын

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

  • @Whatarewefixingtoday

    @Whatarewefixingtoday

    4 жыл бұрын

    @@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
    @brianreis3 жыл бұрын

    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
    @StePhanMckillen4 жыл бұрын

    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
    @rashmimahadevaiah83214 жыл бұрын

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

  • @PimentabilisAnusOutrem
    @PimentabilisAnusOutrem4 жыл бұрын

    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.

Келесі