Files
docker-voltronic-homeassistant/sources
Pi Developer 4d5ed5d845
Build Docker Image for Raspberry Pi / build-and-push (push) Successful in 8m11s
fix: Corregge calcolo PV_in_watts in modalità QPGS parallela
DATA[25] ('PV Input Current') nei reply QPGS è in realtà la corrente
in uscita dal SCC (Solar Charge Controller) verso la batteria, a tensione
batteria - NON la corrente ai pannelli PV a tensione PV.

Bug: PV_WATTS = DATA[14] (PV voltage ~246V) * DATA[25] (SCC current ~55A)
     → valore ~4-5x troppo alto (es. 246.8 * 55 = 13574W per inverter)

Fix: PV_WATTS = DATA[11] (battery voltage ~54V) * DATA[25] (SCC current)
     → valore corretto (es. 53.9 * 55 = 2964W per inverter)

Identico al comportamento di QPIGS in main.cpp:
  pv_input_watts = scc_voltage * pv_input_current
  con commento: 'input current is going to battery at battery voltage
  (NOT at PV voltage)'
2026-02-22 14:20:30 +01:00
..