I have a sensor as decribed above which works well but in my home the WiFi signal on the router gets (voluntarily) turned off from 10PM to 7AM and in the morning I often find the sensor reading unavailable.
It seems that if I reboot the ESP8266 then the sensors get picked up again.
Is something timing out? MQTT on Tasmota? MQTT broker under HA?
Only solution is to keep the WiFi on H24???
Thank you
You could try using ESPHome instead of Tasmota.
The ESPHome API seems to reconnect to dropped nodes without issue.
Depending on what version you are using it could be this.
Thank you Tom. Might try even though ESPHome currently shows two problems for me.
- It does not work in HA website (but this is a minor problem since it works commandline)
- On the board I am using (A NodeMCU ESP32S-WROOM) it does not connect to WiFi anymore with an âAuth Expiredâ error which despite loads of Googling and experiments I am still not able to overcome.
Thanks CRHass, Tasmota running on my ESP8266 board says 8.1.0 -> |Program Version|8.1.0(tasmota)|
| â | â |
|Build Date & Time|2019-12-25T12:33:25|
|Core/SDK Version|2_6_1/2.2.2-dev(38a443e)|
but the problem does not look like mine.
The latest beta firmware is better but still not perfect. One of the things I have noticed on devices with dht22 connected is the last restart reason on the info page is often shown as âhardware watchdogâ. On the beta this is happening less often.
Not finding the version greater than Doris 8.1.0 ⌠where is it?
And most importantly, no clue as to how to compile/flash it on an ESP32 (NodeMCU ESP32S-WROOM board) while now have learned how to flash it on my ESP8266 boards.
Thanks
Latest beta versions are available ready compiled here. If you already have tasmota you can do an over the air update.
http://thehackbox.org/tasmota/
I never realised it was ported to esp32