Each time the program starts it is writing soc values to flash (growatt). In most cases the soc values has already been written, as it is not the first time the program has started and the configuration rarely change.
So please read the soc values first and write them only if they are not what they should be. You do check afterwards rhat they have been written, but check if it is necessary before write also.
Each time the program starts it is writing soc values to flash (growatt). In most cases the soc values has already been written, as it is not the first time the program has started and the configuration rarely change.
So please read the soc values first and write them only if they are not what they should be. You do check afterwards rhat they have been written, but check if it is necessary before write also.