Commit Graph

4 Commits

Author SHA1 Message Date
Dusan Vojacek
efc2cbfded fix battery charge u self_sustain rezimu
All checks were successful
CI and deploy / migration-check (push) Successful in 3s
CI and deploy / deploy (push) Successful in 25s
2026-04-19 15:09:33 +02:00
Dusan Vojacek
d3fd8b139a Add TOU SOC handling for battery priority in passive mode
All checks were successful
deploy / deploy (push) Successful in 28s
test / smoke-test (push) Successful in 6s
- Introduced `effective_sell_price_czk_kwh` to `ControlSetpoints` for managing battery usage based on sell price.
- Implemented logic in `_deye_passive_tou_battery_soc_pct` to set TOU SOC to 100% when conditions favor battery usage.
- Updated tests to validate new behavior for negative sell prices and planned charging scenarios.
- Enhanced documentation to clarify TOU SOC behavior in passive mode.
2026-04-19 12:49:04 +02:00
Dusan Vojacek
a1aa6acf61 Add support for inverter current caps in site configuration
Some checks failed
deploy / deploy (push) Failing after 55s
test / smoke-test (push) Successful in 3s
- Introduced `InverterModbusCurrentCapsBody` model for updating max charge and discharge currents.
- Updated SQL queries to utilize `COALESCE` for effective current limits.
- Modified relevant tests to reflect changes in battery current handling.
- Added new SQL migration for `deye_register_max_current_a` columns in the database.
2026-04-19 12:10:37 +02:00
Dusan Vojacek
af761f0ff7 baterie pri sell neklesne pod 20% ale pri normalnim provozu muze jit az k 10%, mame tak rezervu a neohrozime si nahly propad procent battery packu 2026-04-03 21:51:34 +02:00