Hi,
is there a way to get the firmware version of a Tasmota device through MQTT? I have a lot of these devices and I would like to have a sitemap page where I can see what versions I have running on each device.
Thanks and regards,
Martin
Hi,
is there a way to get the firmware version of a Tasmota device through MQTT? I have a lot of these devices and I would like to have a sitemap page where I can see what versions I have running on each device.
Thanks and regards,
Martin
Sure there is!
Have a look onto the Tasmota Docu (openhab)
I would also recommend TasmoAdmin to manage many Tasmota devices.
Please be aware that documentation of Tasmota has moved.
Thanks for the link @Udo_Hartmann new bookmark added.
Sorry for not replying until now and thank you so much for all the replies.
I still use MQTT v1 and the v2 Version example did not work. So I created a workaround for MQTT v1:
String Sonoff_xyz_Version "Tasmota Version [%s]" { mqtt="<[broker:tele/sonoff-xyz/INFO1:state:JSONPATH($.Version)]" }
This works pretty good for me. One disadvantage: I only get the version string when the device is restarted.
Is it complicated to migrate everything to MQTT v2? I noticed that the MQTT strings seem to be different? No idea why…
Regards,
Martin
This post might be of use to you.
The link I posted above shows solutions for openHAB with mqtt v1 and v2.
For both a rule is needed to trigger the device in order to publish the version!
The same info can be found under the new Tasmota openHAB link