InfernoEmbedded / PowerScraper

A scraper for power devices to feed data to OpenEnergyMonitor
GNU General Public License v3.0
36 stars 17 forks source link

Over night charge #23

Open Pukkahq opened 1 year ago

Pukkahq commented 1 year ago

Currently we have solax unit set to charge to 50% between 12:30 and 4:30 (cheap rate electric) the inverter keeps charging and then discharging over and over. it also resets its self and runs through a start up test.

deece commented 1 year ago

Can you please uncomment the debug lines in Outputs/SolaxBatteryControl.py: dischargeAt(), and also add to the debug the value of inverter['Battery Capacity'] and period['min-charge']?

Between this and the other issue you reported, it sounds like the reported battery capacity fluctuates a bit (perhaps due to temperature?), and you may need some hysteresis added.

A typical overnight operation for me looks like a charge/discharge until the min-limit is hit, followed by occasion pulls from the grid when the self-discharge pulls the battery below the minimum requested and it needs to top up.

Pukkahq commented 1 year ago

I have tried to recreate the problem but I cannot even with turn off the solar. here is a screenshot from Emon PI. I dont think temperature is a problem as they are inside where its warm. I think it because when they hit 10% they have had a large load on them and they recover very slightly

image

Battery when it hits 10% image