rbroker / ecodan-ha-local

Local HomeAssistant support for Air to Water Heat Pump Data/Control for Mitsubishi Ecodan
GNU General Public License v3.0
46 stars 10 forks source link

Fix watchlog thread init for first model of esp32 boards #8

Closed limkinZero closed 9 months ago

limkinZero commented 9 months ago

It use generic defines ARDUINO_ARCH_ESP32 macro

rbroker commented 9 months ago

Thanks! Just to check does this avoid the hang issue from issue #7? I guess it can still get stuck, but this PR allows it to recover by triggering the WDT?

limkinZero commented 9 months ago

Hi,

Well, with this change, I have not been blocked again. At least I've been trying it since last week and it hasn't happened to me again. Keep in mind that without this the watchdog thread was not initialized, so if it did not receive a response within 30 sec, it would not restart.

Close the issue if you want.

El jue, 9 nov 2023 a las 12:37, Richard Broker @.***>) escribió:

Thanks! Just to check does this avoid the hang issue from issue #7 https://github.com/rbroker/ecodan-ha-local/issues/7? I guess it can still get stuck, but this PR allows it to recover by triggering the WDT?

— Reply to this email directly, view it on GitHub https://github.com/rbroker/ecodan-ha-local/pull/8#issuecomment-1803667791, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADLQJD3T3DUZOM3GKAKXAR3YDS6ABAVCNFSM6AAAAAA7DUWWOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTGY3DONZZGE . You are receiving this because you authored the thread.Message ID: @.***>