I don’t think that Tasmota has such a facility. Normally if a device goes AWOL it goes into AP mode and I’m not sure you can guarantee that you will keep the configuration.
In terms of openHAB, every tele-period the time/date is sent as part of the message. At its simplest you can display the last update time next to the value in your sitemap. You could also run a cron rule at the same timing as the teleperiod which gets reset by the arrival of the teleperiod message, Other alternatives are to use the Network binding to ping from a cron rule or set a rule in the Sonoff which turns off a dummy output which a cron rule turns on (if the output stays on you know the Sonoff has failed).
Regards
Phil K
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/a4559c54-edda-4a58-83d2-5b2c970bbc0f%40googlegroups.com.
I don’t think that Tasmota has such a facility. Normally if a device goes AWOL it goes into AP mode and I’m not sure you can guarantee that you will keep the configuration.
In terms of openHAB, every tele-period the time/date is sent as part of the message. At its simplest you can display the last update time next to the value in your sitemap. You could also run a cron rule at the same timing as the teleperiod which gets reset by the arrival of the teleperiod message, Other alternatives are to use the Network binding to ping from a cron rule or set a rule in the Sonoff which turns off a dummy output which a cron rule turns on (if the output stays on you know the Sonoff has failed).
Regards
Phil K
Sent from Mail for Windows 10
From: Laurentp
Sent: 12 May 2020 17:05
To: TasmotaUsers
Subject: Watchdog in ESP8266 / Tasmota?
Hi there,
as I experienced a hangup in Sonoff Basic R2 today (no MQTT, no WWW, not even PING), which I plan to use as solar thermostate, I have a question,
- is there some HARDWARE watchdog on ESP (implemented in Tasmota)? To reset ESP in such case.
Another question (maybe someone already knows), is if it is possible to "dim" readings from Tasmota (MQTT) in OpenHAB2, in case Tasmota stops transmitting data? As for now (6.6.0) if ESP stops transmitting OH2 shows last reading with no info about failure.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
The Watchdog timer is to reboot if the main programme hangs. There’s a hardware and software watchdog but it’s at OS level. If the programme (Tasmota) hangs the watchdog isn’t reset and the ESP8266 will restart. There’s information on the Espressif website. It should come up ‘gracefully’ but if there’s a repeated series of faults in a short space of time Tasmota will eventually reset to defaults.
Mike, I wonder if your problem is a voltage ‘spike’ or a brown out. My device has been running on my main incomer without any errors but, of course, it is not near any devices producing EMPs etc.
Regards
Phil K
Sent from Mail for Windows 10
From: Laurentp
Sent: 12 May 2020 20:23
To: TasmotaUsers
Subject: Re: Watchdog in ESP8266 / Tasmota?
Device simply hung up. Like it does not exist. No ping, no AP mode. Just frozen.
Disconnect from mains for few seconds did not help. Disconnect for 2-3 min did.
I am looking for some solution in OH2 too (second question). But using watchdog on ESP is essential.
Does ESP implement this in hardware at least (long time I have read datasheet), if it does, maybe there is a way to implement it in Tasmota ? (Tasmota is based on "bare" Espressif SDK or on top of something other?).
W.P.
W dniu wtorek, 12 maja 2020 19:30:55 UTC+2 użytkownik Philip Knowles napisał:
I don’t think that Tasmota has such a facility. Normally if a device goes AWOL it goes into AP mode and I’m not sure you can guarantee that you will keep the configuration.
In terms of openHAB, every tele-period the time/date is sent as part of the message. At its simplest you can display the last update time next to the value in your sitemap. You could also run a cron rule at the same timing as the teleperiod which gets reset by the arrival of the teleperiod message, Other alternatives are to use the Network binding to ping from a cron rule or set a rule in the Sonoff which turns off a dummy output which a cron rule turns on (if the output stays on you know the Sonoff has failed).
Regards
Phil K
Sent from Mail for Windows 10
From: Laurentp
Sent: 12 May 2020 17:05
To: TasmotaUsers
Subject: Watchdog in ESP8266 / Tasmota?
Hi there,
as I experienced a hangup in Sonoff Basic R2 today (no MQTT, no WWW, not even PING), which I plan to use as solar thermostate, I have a question,
- is there some HARDWARE watchdog on ESP (implemented in Tasmota)? To reset ESP in such case.
Another question (maybe someone already knows), is if it is possible to "dim" readings from Tasmota (MQTT) in OpenHAB2, in case Tasmota stops transmitting data? As for now (6.6.0) if ESP stops transmitting OH2 shows last reading with no info about failure.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonof...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/a4559c54-edda-4a58-83d2-5b2c970bbc0f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/5ad17962-d881-47e1-8904-1b7e0ea2d1be%40googlegroups.com.