What is the difference between the Tasmota integration and the MQTT discovery?

I’m currently using my Tasmota devices using the native MQTT discovery mode offered by earlier versions of Tasmota (I’m on 8.3.1) but I see there’s a new Tasmota integration. What would be the benefit of moving to the new integration?

I see that both need a running MQTT server so I can’t see why I would want to switch.

1 Like
  • When SetOption19 = 0, send Tasmota’s custom MQTT discovery format
  • When SetOption19 = 1, send Home Assistant’s MQTT discovery format

It still uses MQTT. The only benefit is they aren’t tied to the Home Assistant API for creating sensors, so they can add custom things beyond what the Home Assistant MQTT discovery API would allow.

Basically, see here for the reasons they wanted their own

Is your feature request related to a problem? Please describe.
Home Assistant’s MQTT discovery protocol includes a lot of redundant information which increases Tasmota’s code size, and has some crucial limitations e.g. RGBxx lights flickering when turning on from HA.
Also, Home Assistant’s MQTT discovery protocol is not easy to add new features or make breaking changes to.

If they have their own Discovery, you can assume it will work better because they have more control.

5 Likes

Thank you! This is exactly what I was looking for.

Thank you @jocnnor. I that was a simple and helpful explination.

I sort of wish the Tasmota integration supported a API with a direct connection like ESPHome. I know lots of people love MQTT but I would love to get rid of the broker if I could.