diyBMSv4Code icon indicating copy to clipboard operation
diyBMSv4Code copied to clipboard

Often reboot of controller when trying to access the web interface

Open donnib opened this issue 4 years ago • 6 comments

I have seen this 5-6 times that the controller restarts when user want to access the web interface. I don't know what causes this.

donnib avatar Feb 05 '21 14:02 donnib

This is likely to be related to #98

Often the controller restarts are a problem of the power supply or 3.3v regulator on the ESP8266.

Cheap chinese clones are known to have poor quality or incorrect specification regulators, when the ESP8266 tries to communicate over the Wifi a lot more power is needed, the voltage drops and the chip reboots.

It can also be a code issue, but without debug information its impossible to say.

stuartpittaway avatar Feb 05 '21 14:02 stuartpittaway

@stuartpittaway i think it has something to do when it does more on wifi, i am using the webpage extensively now and sometime i switch between phone and two different computers so maybe it get's overloaded.

donnib avatar Feb 05 '21 14:02 donnib

You can't do that, it only works on one web browser at a time - otherwise you will run into issues!

stuartpittaway avatar Feb 05 '21 14:02 stuartpittaway

Got it !

donnib avatar Feb 06 '21 19:02 donnib

I see this quite a lot. As far as i can see no other is using the Web interface but i keep changing between different machines or phones for example i would look on one machine, shut it down then try to access from iOS -> bang reboot or the same but from a PC. It looks to like there is a session on the ESP that is left floating somehow and not cleaned up. I think there might be a bug somewhere. I try to behave nicely to it but still.

Bear in mind that ESP is probably at close in performance since i am running MQTT and influxDB, maybe that's causing this.

donnib avatar Feb 11 '21 15:02 donnib

Hello, first sorry for my english and a big thank to Stuart for this project. I can confirm this issue exactly. My controller used the firmware from 30th july 2020 for an half year without any problem. A couple of weeks ago i updated to the latest version from git and the problems started. I think its not a hardware problem, its the same.

MatthiasN73 avatar Apr 11 '21 08:04 MatthiasN73