It usually involves shutting the chip down entirely. However, [bor0] has built a virtual machine that runs on the ESP32, allowing for dynamic program updates to happen. The code is inspired by the ...
His solution was to build his own controller using a cheap DC-DC converter that just so happens to have serial remote control. An ESP32 monitors the panel voltage and controls the buck converter ...