New blogpost:
# "Fixing the unavailability of Tasmota devices after HomeAssistant restarts"
A bodge for what appears to be a common issue, but if it works, so be it.
Discussion
New blogpost:
# "Fixing the unavailability of Tasmota devices after HomeAssistant restarts"
A bodge for what appears to be a common issue, but if it works, so be it.
@ostueker Excellent! Glad that it is not just me.
@neil I don't see this problem, using a separate mosquitto server on a different host for mqtt.
@zymurgic @neil yeah, this sounds really weird. I've got a fairly complicated setup, HAOS VM on one VLAN/subnet, mosquitto VM on a separate VLAN/subnet, around 20 Tasmota things multiple versions, different networks, some over VPN from another site. Home Assistant restarts every few weeks for upgrades and have never seen the Tasmota devices not reappear. It's a neat hack to get things working again, but I'm absolutely intrigued as to why there might be a problem in the first place!
@neil I’ve absolutely bookmarked these kinds of posts because it’s the sort of post that if I ever need it, I’m going to be so happy I have this saved
@neil I admit I was expecting to read about how you had switched to matter, but this was more interesting.
Sorry, I know that my blogposts are incredibly tedious, but perhaps they will help *someone*.
@neil Someone has to be the next DenverCoder9.
@neil I've pre-emptively bookmarked this one; because I've not had that issue with my army of Tasmota devices, but that just means it's a hidden bug waiting to take me out when I least suspect it, so write ups like this are always useful.
@neil @iMeddles I'm using HAOS with a large number of Tasmota devices of various lineage. Never noticed this problem hit me.
I wonder what's different?
Oh, I wonder - I'm using a MQTT server on a different VM to HA (a legacy situation from my pre-HA days) which will mean the MQTT server remains always available to Tasmota devices during the HA restart.
@neil niche blog posts are the best part of the internet.
@neil Can you read my mind?
I don't have nay Tasmota devices, but I'm reading my outdoor temperature sensor with an #OpenMqttGateway #RTL433 and I seem to loose connection to that whenever #HomeAssistant restarts. Just this past weekend, I figured out how to restart the it via MQTT and started wondering how I can do that from an automation after such a restart. Your automation gives me just what I was missing.
Now I need to make an automation (and a tinfoil hat). 😄