Home Assistant Tasmota Integration (HOW-TO)
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
I searched long time how to do this and finally your tutorial makes it very simple. Thank you a lot!
Glad to hear that! Enjoy!
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.
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.
Everytime I search for how to do something with home assistant I always end up on your video! Keep up the good work!
Awesome! Thank you for this comment :)
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
Thanks for sharing and I'm very glad that I was able to help! Enjoy!
Execellent explanation, even now with totally different versions of HA, Tasmota and Mosquitto, it still works. Thank you Mr Peyanski ;)
Thank you!! Easy to follow instructions. Much appreciated!
Glad it helped! Check my other videos as well :)
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.
Glad it helped. Enjoy!
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.
Happy to help! Feel free to join my Discord server as well! Special invite link for you 👉 invite.gg/kpeyanski
@@KPeyanski may you please tell me how to control this now with google assistant
Thank you. This helped me configure the Athom smart mains sockets to work with Home Assistant 👍🏻
Great to hear!
You are really good at giving instruction. Thank you so much for making this video good sir.
So nice of you. Very glad that you like the video and it was helpful!
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..
Love you man, you are of great help
Supper happy to hear/read that :) Thank you and don't forget to check my other videos as well :)
Thanks just used your guide Very easy to follow
Very glad to hear that. Check my other guides as well.
I LOVE YOU oh wow that was hard work trying to do it on my own - then watching this made it so much easier!
You're so welcome! Check my other videos as well!
thx a lot! you are the best and most likeable HO-youtuber.
Wow, many thanks! I'm trying to help :)
Wonderful instructions!! Thank you so much. it was very helpful.
Glad it was helpful! Check my other videos as well they are helpful as well ;-)
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
Noted! And thanks for the comment :) See you around!
Awesome, thanks!
My pleasure! Check my other videos as well!
Super Tutorial Thank you !
Glad it was helpful! Check my other videos as well!
Explained very well thanks
Glad it was helpful!
so well explained and easy to understand🔥🔥
Glad you think so! Check my other tutorials as well :)
Thanks!!!! you are save me!!! Fantastic video.
Glad I could help! Check my other videos as well!
great videos , thanks for that.
Glad you like them! And thanks for watching them!
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.
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 ;)
@@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 :)
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!
@@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.
Totally agree, I'm somehow disappointed with ST and their list of supported devices. It is tiny compared to HA.
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. :)
This tutorial is nice. 👍👍
Glad you think so. Check my others as well
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?
Super!
Thank you! Cheers!
Thanks for the video, can I add my sonoff zigbee bridge tasmotized with this integration?
I'm not sure, I guess you should try it. Just make sure that the Tasmota version is 9.2 or higher
thank you very much
Glad it helped
Thank you.
You're welcome, Ron! Do you have any Tasmota devices to test this or you will pass?
@@KPeyanski Yes sir, I do.
Great, enjoy!
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!
I LOVE YOU!
Really? Why? 😂🤣🤪
@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!
Now I understand. Enjoy 😉
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
Works.
nice to hear that ;)
Hey KPeyanski,
Thx for the great info.
Can you give us examples of devices with the esp8266 please.
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.
@@KPeyanski thanks man your the best
Thanks for the good words :)
Great instruction, now I have to figure out how to turn on the light if the sun goes down....
That is easy. Just create a Home Assistant automation with trigger type sun and event sunset. Use the embedded automations editor in Home Assistant.
@@KPeyanski thank you, I already found an instruction on automations on your youtube channel. Keep up the good work.
5:04 to me it shows 1 entry instead of 1 device
wonder why mine want a host name and username password
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
Algorithms
А чо р то такая палевная, тыж вроде давно уже видосы то пилешь?
I don’t understand a thing here. Hope it is good…
malakiesssssssssssssssss
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}
Don't delete the [ ]