-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What are the reasons for frequent device restarts? #1284
Comments
Catch the same BL-RST-SOFTWARE-WATCHDOG on BL602. |
You cannot disable software watchdog, it always works; |
Yes, I disabled the watchdog and it still works. |
@openshwprojects maybe we can make dns resolution for mqtt asynchronous? Now it's in the main loop, and if slow (or no-internet) causes reboot |
did almost the same, except mqtt server in local network. |
If you disable watchdog, then in case of crash, device will stay offline until you manually power it off and on again.. |
@giedriuslt maybe move it to threaD? |
I understand the risk. |
Made a fix for this here #1298 |
🎉 This issue has been resolved in version 1.17.655 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
I have a BL602 device.
After configuring wifi and mqtt information for the device, the device works normally.
Then disconnect the WiFi Internet (keep the device connected to WiFi), and the device will restart frequently and automatically.
The reason for displaying the error is: BL-RST-SOFTWARE-WATCHDOG
But I have disabled the watchdog, it should not work.
I want to ask how to prevent the device from being restarted frequently when the connected WiFi has no Internet?
The log of the device is always lost after reboot. I can't get the reason why the device restarts frequently from the log.
Firmware:
{
"vendor": "Tuya",
"bDetailed": "0",
"name": "Full Device Name Here",
"model": "enter short model name here",
"chip": "BL602",
"board": "TODO",
"flags": "1024",
"keywords": [
"TODO",
"TODO",
"TODO"
],
"pins": {
"14": "wifiLED_n;1",
"20": "Btn;1",
"21": "Rel;1"
},
"command": "",
"image": "https://obrazki.elektroda.pl/YOUR_IMAGE.jpg",
"wiki": "https://www.elektroda.com/rtvforum/topic_YOUR_TOPIC.html"
}
The text was updated successfully, but these errors were encountered: