Bei aktivieren des CAN Ports zum Deye Inverter und folgenden Neustart (oder Stromfrei-machen) hängt der BSC jedes mal im Bootloop. Die rote LED am NodeMCU blinkt alle 20-30 sec einmal auf. Das Gerät tauch nicht mehr im Wifi auf, auch nicht das Backup BSC Wifi. Schaut für mich wirklich nach Bootloop aus.
I could reproduce the error as follows:
Simulated CAN communication of Inverter (just listening)
Enabled BMS Canbus
Set Data source master
Added additional data source (no real devices connected)
SoC Mittelwert
Error log:
NOTE: Additionally I found another place, where a division-by-zero could occur. I fixed it as well, but this not verifiable without hardware.
Error description from Juergen @ Discord:
Bei aktivieren des CAN Ports zum Deye Inverter und folgenden Neustart (oder Stromfrei-machen) hängt der BSC jedes mal im Bootloop. Die rote LED am NodeMCU blinkt alle 20-30 sec einmal auf. Das Gerät tauch nicht mehr im Wifi auf, auch nicht das Backup BSC Wifi. Schaut für mich wirklich nach Bootloop aus.
I could reproduce the error as follows:
Error log:![grafik](https://github.com/shining-man/bsc_fw/assets/125823713/886f8884-1eac-45ae-9287-737aa3c70e68)
NOTE: Additionally I found another place, where a division-by-zero could occur. I fixed it as well, but this not verifiable without hardware.