Add support for Tasmesh in Home Assistant Discovery SO19 #15221
Replies: 3 comments 3 replies
-
Hi However, from what I read in the docs, TasMesh acts either as a router across networks or a NAT router. Which mode are you using ? router or NAT ? |
Beta Was this translation helpful? Give feedback.
-
If you are using the current version of Home Assistant, I would suggest you turn off SetOption19, and use the native Tasmota Integration (with that many devices, the migration will... suck... I have about 30 and it was painful). But once it's done, things "just work" in HA, all the devices appear and are automatically discovered using Tasmota MQTT topics. I think that'll work, but I've not actually used Tasmota Mesh for "production". That means that if you are using NAT or a Router, as the topics are published to MQTT, HA does the right thing. I'm obviously using https://tasmota.github.io/docs/Range-Extender/ , but I have my network configured now for Router mode to give me the option of direct web interface access, but it's a pain to setup initially however. Setting up for NAT makes things much easier. Unlike Tasmesh, you need to design and implement the network topology yourself (ie: which nodes will be "routers" and which will connect to those). An advantage over Tasmesh is it works on the ESP8266 (acting as both a router or NAT), and you can connect any device to the new SSID. (Hopefully that helps/guides you in the right direction, sorry if I missed the mark.) |
Beta Was this translation helpful? Give feedback.
-
Hi, do you mind sharing some example for the yaml with LWT2 hack and the conditional cards? |
Beta Was this translation helpful? Give feedback.
-
I recently started using the TasMesh which is awesome because it takes many of my Tasmota devices off of my router. But with the LWT=Offline they don't work in Home Assistant. My workaround is to use the Tasmota integration plus add all 125 entities manually (platform: mqtt) in configuration.yaml. Whenever the LWT=Offline, I publish LWT2=Online to my mqtt entities (and vice versa) where LWT2 is the availability_topic. Hack assuming LWT=Offline means connected to the TasMesh. Now in Home Assistant, if the Tasmota device is connected to my router, its entities are available in the Tasmota integration, and whenever the Tasmota device is connected to the mesh, its entities are available in the MQTT integration. Then, I use conditional cards in the dashboard, and use both entities as automation triggers, actions, etc. This all seems so messy and it's so much extra work. What is the easiest way to make Tasmesh nodes work with Home Assistant? Can we get a SetOption19 2? Or can the Tasmota integration be made to include mesh nodes? I don't find much about TasMesh online. Am I the only one doing this?
Beta Was this translation helpful? Give feedback.
All reactions