Host watchdog
VladVons opened this issue · 3 comments
I use your firmware, but dont use DeviceHive internet service at all.
ESP8266 device gets IP address via DHCP on Microtik router and Raspberry is asking sensors via your API every 2-5 seconds.
After 5-12 hours of activity some devices become inaccessible and must be rebooted with power of/on. After that they run normally again 5-12 hours and disappear and so on.
It would be GOOD to add to your firmware host checking watchdog option.
3 fileds in setup menu "watch host":
- host to check
- max continuously fails to reboot (default 3)
- interval (default 1 sec)
Thanks for a good job!
After 5-12 hours of activity some devices become inaccessible and must be rebooted with power of/on. After that they run normally again 5-12 hours and disappear and so on.
Hm... I have several esp8266 which works for two years and there is no reboots. But in DeviceHive server mode.
Can you check if esp8266 is overheating? Can you collect logs when it hangs?