Home Assistant Tasmota Integration (HOW-TO)

Sdílet
Vložit
  • čas přidán 30. 06. 2024
  • Home Assistant Tasmota #integration allows you to control Tasmotized Devices over MQTT without having to add a tone of YAML code.
    #HomeAssistant is the best open source smart home hub and #Tasmota is the best open source firmware for ESP8266 and ESP8285 based IOT devices, so let's integrate them.
    ► TIME TABLE
    00:00 Intro
    00:29 Requirements to meet?
    00:39 MQTT Server?
    00:51 Installation of Mosquitto
    01:31 Add MQTT integration in Home Assistant
    02:10 Tasmota Firmware
    02:26 Configure MQTT in Tasmota
    03:30 Configure native Discovery
    03:57 Home Assistant Tasmota Integration
    05:49 Add Tasmota device card in Home Assistant
    ► MY GUIDE - ON SALE
    Smart Home Getting Started Smart Home Guide v2.0 - peyanski.com/product/smart-ho...
    ► AFFILIATE LINKS
    Ubiquiti UniFi Dream Machine (UDM) - amzn.to/34B0FQK
    Ubiquiti UniFi Security Gateway (USG) - amzn.to/2WCYNCk
    Ubiquiti Networks Networks UniFi Security Gateway Pro (USG-PRO-4) - amzn.to/3palPwQ
    UniFi Dream Machine Pro (UDM-Pro) - amzn.to/3paw3gG
    Raspberry Pi 4 4GB Starter Kit with 32GB Micro SD Card - amzn.to/3qaI5qN
    Best Crypto currency exchange Binance - www.binance.com/en/register?r...
    Tech that I’m using right now - www.amazon.com/shop/kpeyanski
    Get $100 in credit over 60 days for DigitalOcean - m.do.co/c/6dd2caef1f1f
    ► SUPPORT MY WORK
    Patreon - / kpeyanski
    Paypal - www.paypal.me/kpeyanski
    Bitcoin - 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva
    Revolut - revolut.me/kiriltk3x
    ► CONFIGURE NATIVE DISCOVERY IN TASMOTA COMMAND
    SetOption19 0
    ► MAKE YOU TASMOTA DEVICE AS SWITCH OR LIGHT IN HA
    SetOption30 0 - for switch
    SetOption30 1 - for light.
    ► COME AND SAY “HI”
    My Discord server - invite.gg/kpeyanski
    Twitter - / kpeyanski
    ✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!
    ► DISCLAIMER
    Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!
  • Jak na to + styl

Komentáře • 106

  • @opar7s
    @opar7s Před 2 lety +10

    I searched long time how to do this and finally your tutorial makes it very simple. Thank you a lot!

  • @JohnMassaglia
    @JohnMassaglia Před 2 lety

    Thank you for the detailed instructions. I had looked at tutorials and couldn't figure out why my new switches wouldn't show up and then your video pointed out the firmware version requirement. I was only on 8.4.0 on my new Athom switches. I upgraded them and they showed up immediately.

  • @TechDogeth
    @TechDogeth Před 2 lety +2

    Thanks for mentioning the Tasmota firmware version 9.2 or higher, most other guides skip mentioning this. It led me in the right direction when working with some Costco Feit Electric BPA800/RGBW/AG/2P lights (flashed with TuyaConvert).
    A few notes:
    1. The lights reported "Tasmota 9.2.0 by Theo Arends" however, on closer inspection under information, it was this firmware type "9.2.0(lite)" which might have been part of my problem. I used the included "Firmware Upgrade" option and was taken to "Tasmota 11.0.0 by Theo Arends" (normal version, not light this time).
    2. It just worked after the upgrade and command:
    SetOption19 on
    or
    SetOption19 1
    3. I'm guessing it changed at some point from 0/off for that option to 1/on to get the desired behavior.
    4. Before the upgrade I could see the MQTT messages when subscribing to topic # for status and other items, however, there were no posts to the tasmota/discovery topic, which is why it was not working for me.
    Hopefully it helps someone. Thanks for the detailed explanation.

  • @jcdock
    @jcdock Před 2 lety +2

    Everytime I search for how to do something with home assistant I always end up on your video! Keep up the good work!

    • @KPeyanski
      @KPeyanski  Před 2 lety

      Awesome! Thank you for this comment :)

  • @Extra_Mental
    @Extra_Mental Před 2 lety +2

    Legend, i was on version 6 and i couldnt get MQTT working, then i tried to update over wifi and bricked it, then flashed it with jumpers and used this tutorial, very happy with the result, thank you

    • @KPeyanski
      @KPeyanski  Před 2 lety

      Thanks for sharing and I'm very glad that I was able to help! Enjoy!

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

    Execellent explanation, even now with totally different versions of HA, Tasmota and Mosquitto, it still works. Thank you Mr Peyanski ;)

  • @MrEl0presidente
    @MrEl0presidente Před 2 lety +1

    Thank you!! Easy to follow instructions. Much appreciated!

    • @KPeyanski
      @KPeyanski  Před 2 lety

      Glad it helped! Check my other videos as well :)

  • @SirRandallDoesStuff
    @SirRandallDoesStuff Před 2 lety

    Thank's Man I set this up a few years ago. But I upgraded to a pi 4 and I forgot how to set up the device itself. This helped me get things back up and running.

  • @sanjaybali4092
    @sanjaybali4092 Před 2 lety +1

    I am thankful for you for making such great full videos for us. It was the only video that help me to find my devices. Thank you again.

    • @KPeyanski
      @KPeyanski  Před 2 lety +1

      Happy to help! Feel free to join my Discord server as well! Special invite link for you 👉 invite.gg/kpeyanski

    • @sanjaybali4092
      @sanjaybali4092 Před 2 lety

      @@KPeyanski may you please tell me how to control this now with google assistant

  • @jasonw70
    @jasonw70 Před 2 lety +1

    Thank you. This helped me configure the Athom smart mains sockets to work with Home Assistant 👍🏻

  • @rambogarage9601
    @rambogarage9601 Před 2 lety +2

    You are really good at giving instruction. Thank you so much for making this video good sir.

    • @KPeyanski
      @KPeyanski  Před 2 lety

      So nice of you. Very glad that you like the video and it was helpful!

  • @charan7208
    @charan7208 Před rokem

    Thanks for the Amazing video!!!
    I thought it would take ages to setup Tasmota devices. Done in minutes. Saved my lot of time!!!!
    Thank a ton again..

  • @aggelosaggelopoulos5592
    @aggelosaggelopoulos5592 Před 5 měsíci +1

    Love you man, you are of great help

    • @KPeyanski
      @KPeyanski  Před 5 měsíci

      Supper happy to hear/read that :) Thank you and don't forget to check my other videos as well :)

  • @MrChelseauk1
    @MrChelseauk1 Před 2 lety +1

    Thanks just used your guide Very easy to follow

    • @KPeyanski
      @KPeyanski  Před 2 lety +1

      Very glad to hear that. Check my other guides as well.

  • @Timsin2
    @Timsin2 Před 2 lety

    I LOVE YOU oh wow that was hard work trying to do it on my own - then watching this made it so much easier!

    • @KPeyanski
      @KPeyanski  Před 2 lety

      You're so welcome! Check my other videos as well!

  • @82kitas
    @82kitas Před 2 lety +1

    thx a lot! you are the best and most likeable HO-youtuber.

    • @KPeyanski
      @KPeyanski  Před 2 lety +1

      Wow, many thanks! I'm trying to help :)

  • @tamirshapira
    @tamirshapira Před 7 měsíci

    Wonderful instructions!! Thank you so much. it was very helpful.

    • @KPeyanski
      @KPeyanski  Před 7 měsíci

      Glad it was helpful! Check my other videos as well they are helpful as well ;-)

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

    Hello Sir, great videos. thanks for this. I would love to see a simplified Node Red beginner video at your spare time. thanks for your great tutorials. am a great fan

    • @KPeyanski
      @KPeyanski  Před 3 lety

      Noted! And thanks for the comment :) See you around!

  • @PeaJayProduction
    @PeaJayProduction Před 2 lety +1

    Awesome, thanks!

    • @KPeyanski
      @KPeyanski  Před 2 lety

      My pleasure! Check my other videos as well!

  • @kevinb6369
    @kevinb6369 Před 2 lety +1

    Super Tutorial Thank you !

    • @KPeyanski
      @KPeyanski  Před 2 lety

      Glad it was helpful! Check my other videos as well!

  • @Nobbi_TheRock
    @Nobbi_TheRock Před 2 lety +1

    Explained very well thanks

  • @HackingInfo
    @HackingInfo Před 6 měsíci +1

    so well explained and easy to understand🔥🔥

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

      Glad you think so! Check my other tutorials as well :)

  • @alessioletizia1371
    @alessioletizia1371 Před 10 měsíci

    Thanks!!!! you are save me!!! Fantastic video.

    • @KPeyanski
      @KPeyanski  Před 10 měsíci

      Glad I could help! Check my other videos as well!

  • @powermate
    @powermate Před 2 lety +1

    great videos , thanks for that.

    • @KPeyanski
      @KPeyanski  Před 2 lety

      Glad you like them! And thanks for watching them!

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

    Smashed the like for you :).
    Tasmota is definitely one of the best Firmwares for ESP8266 / ESP32 based devices.
    ESPHome would be very close with it. I tend to use Tasmota for off the shelf switches and the like, and ESPHome for home made/maker devices.

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

      Thanks Brendan. Glad we have you here. Yes, ESPHome is also very good, but it is part of Home Assistant now and I'm not sure how to count it ;)

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

      @@KPeyanski I think ESPHome still has a stand alone project. Tasmota is becoming more integrated in Home Assistant also lately.
      It seems a lot of projects want to be part of Home Assistant :)

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

      Indeed and now with the latest HA release it will be clearly visible how many installations are out there. Which will lead to more and more vendors that will want to integrate with HA in a best possible way!

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

      @@KPeyanski Home Assistant is better than a lot of commercial offerings that's for sure. Homeseer is awful. HA is even better than SmartThings in many ways, even more so since the SmartThings hardware has now been taken over by Aeotec.

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

      Totally agree, I'm somehow disappointed with ST and their list of supported devices. It is tiny compared to HA.

  • @stehof2
    @stehof2 Před 22 dny

    Good thing to know, what wasn't clear for me, is which user/pass you should use in the MQTT config on the Tasmota device. Turns out, you can use a local user defined in you HA settings, could be your own login, I choice to create a new one that I will only use as MQTT authentication. :)

  • @dr.jishnu7926
    @dr.jishnu7926 Před rokem

    This tutorial is nice. 👍👍

    • @KPeyanski
      @KPeyanski  Před rokem

      Glad you think so. Check my others as well

  • @mikestierle1848
    @mikestierle1848 Před rokem

    Great video! Thank you! Is it normal that Home Assistant updates the sensor every 5 Minutes? I thought that I can the live values of the sensors in HA?

  • @piotr.wozniak
    @piotr.wozniak Před rokem +1

    Super!

  • @MrZeeshany
    @MrZeeshany Před 3 lety

    Thanks for the video, can I add my sonoff zigbee bridge tasmotized with this integration?

    • @KPeyanski
      @KPeyanski  Před 3 lety

      I'm not sure, I guess you should try it. Just make sure that the Tasmota version is 9.2 or higher

  • @rogeriorodrigues3265
    @rogeriorodrigues3265 Před 2 měsíci

    thank you very much

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

    Thank you.

    • @KPeyanski
      @KPeyanski  Před 3 lety

      You're welcome, Ron! Do you have any Tasmota devices to test this or you will pass?

    • @ronm6585
      @ronm6585 Před 3 lety

      @@KPeyanski Yes sir, I do.

    • @KPeyanski
      @KPeyanski  Před 3 lety

      Great, enjoy!

  • @ngoctaiquach3144
    @ngoctaiquach3144 Před rokem

    Hi! Thanks for the good video. But Sonoff mini, Tuya 3 gang, Sonoff 3 gang can't follow this guide? Is there any way please help!

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

    I LOVE YOU!

    • @KPeyanski
      @KPeyanski  Před 3 lety

      Really? Why? 😂🤣🤪

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

      @KPeyanski because I have an old version of sonoff-basic and I couldn't get it to communicate with my home assistant, until today! I didn't realize version was the problem. And now I'm happy, very happy. Thank you!

    • @KPeyanski
      @KPeyanski  Před 3 lety

      Now I understand. Enjoy 😉

  • @MariusVilceanu
    @MariusVilceanu Před 2 lety +1

    I've put: SetOption19 1 foe enable, if I set it to 0 qill disble, tasmota 11.1.0
    MQT: Connect failed to ......
    so it not qorking, yet

  • @borutremskar6843
    @borutremskar6843 Před 2 lety +1

    Works.

  • @m.romaithi6217
    @m.romaithi6217 Před 3 lety +1

    Hey KPeyanski,
    Thx for the great info.
    Can you give us examples of devices with the esp8266 please.

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

      Oh boy they are so many and I cannot list them all. Most popular ones are Sonoff & Shelly relays, Wemos D1 Mini, NodeMCU, and many, many more. Just search in google and you will be amazed.

    • @m.romaithi6217
      @m.romaithi6217 Před 3 lety +1

      @@KPeyanski thanks man your the best

    • @KPeyanski
      @KPeyanski  Před 3 lety

      Thanks for the good words :)

  • @JosGouders
    @JosGouders Před 2 lety +1

    Great instruction, now I have to figure out how to turn on the light if the sun goes down....

    • @KPeyanski
      @KPeyanski  Před 2 lety

      That is easy. Just create a Home Assistant automation with trigger type sun and event sunset. Use the embedded automations editor in Home Assistant.

    • @JosGouders
      @JosGouders Před 2 lety

      @@KPeyanski thank you, I already found an instruction on automations on your youtube channel. Keep up the good work.

  • @razvanon
    @razvanon Před 7 měsíci

    5:04 to me it shows 1 entry instead of 1 device

  • @magaareinbredhillbillies

    wonder why mine want a host name and username password

  • @Jan93Banan
    @Jan93Banan Před 4 měsíci

    The mosquitto options no longer take a complete configuration like this. The new UI wants the login, require client certificate, file locations and so on separate.
    To set up your login enter the username and pass like this
    - username: SMASH
    password: THELIKE
    I noticed it does not take a numbers only password so keep that in mind

  • @edvardfranke
    @edvardfranke Před 11 měsíci

    Algorithms

  • @VovanEkb
    @VovanEkb Před rokem

    А чо р то такая палевная, тыж вроде давно уже видосы то пилешь?

    • @KPeyanski
      @KPeyanski  Před rokem

      I don’t understand a thing here. Hope it is good…

  • @panval2014
    @panval2014 Před rokem

    malakiesssssssssssssssss

  • @raportarucristian3275
    @raportarucristian3275 Před 2 lety

    Failed to save add-on configuration, Invalid list for option 'logins' in Mosquitto broker (core_mosquitto). Got {'certfile': 'fullchain.pem', 'customize': {'active': False, 'folder': 'mosquitto'}, 'keyfile': 'privkey.pem', 'logins': None, 'username': 'home', 'password': 'password', 'require_certificate': False}