Commit graph

220 commits

Author SHA1 Message Date
andig
f9eef1a26f chore: fix typos 2022-04-16 12:39:44 +02:00
andig
1bfd0f6355 Require Go 1.18 and use generics (#2116) 2022-04-02 12:47:26 +02:00
andig
82212db209
PV Mode: ensure default hysteresis (#3035) 2022-03-29 22:18:07 +02:00
andig
58d4dd5cf8 Unify charge start/stop interfaces (#3002) 2022-03-25 18:18:35 +01:00
andig
515cd5f810
Allow grace period before out of sync error is displayed (#2937) 2022-03-23 17:16:02 +01:00
andig
45525316b6
Remove deprecated configuration options (#2900) 2022-03-17 11:42:15 +01:00
andig
080bbe9324
Update charge power only once (#2848) 2022-03-15 11:53:52 +00:00
andig
6b0993b127
Update charge power before calculating site power (#2826) 2022-03-09 11:34:27 +00:00
andig
cb63a85a17
Scale to 2p/3p only if 1p maxcurrent is exceeded (#2782) 2022-03-06 11:45:48 +01:00
andig
e09fd3cf51 Avoid decoding into pointer to pointer 2022-03-05 10:12:31 +01:00
andig
057c49bccc
Prevent starting pv disable timer when phase scaling is pending (#2762)
Some checks failed
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
2022-03-03 22:10:00 +01:00
premultiply
a6039c23b9
Validate charger phase wiring during charging (#2739) 2022-03-02 17:47:47 +01:00
andig
89efcb6e64
Use maximum possible phases for scale-up calculation (#2753) 2022-03-02 11:30:35 +01:00
andig
b81c267d3c Improve logging consistency 2022-02-28 19:55:11 +01:00
andig
560cdeb0d7 Reduce amount of timer logging 2022-02-28 16:35:08 +01:00
andig
63c74bc0a9
Redesign phase handling (#2613) 2022-02-28 14:40:06 +01:00
andig
3f422c88eb
Warn when other phases than L1 are active (#2719) 2022-02-28 09:43:18 +01:00
andig
ca419022bf
Pin active phases to 1 to handle slow phase switching (#2612) 2022-02-17 18:17:15 +01:00
andig
bea4b8a55d Fix timer log message format 2022-02-16 10:17:50 +01:00
andig
9f4148400e Fix race condition and enable race diagnostics 2022-02-13 12:47:19 +01:00
andig
ff193a6211
Stop guessing phases as its faulty (#2552) 2022-02-11 08:33:13 +01:00
andig
4340fa7d64
Gracefully handle start with unknown phases configuration (#2526) 2022-02-09 17:23:06 +01:00
andig
bec8cb202b
Allow decorating powerless switch charger with separate meter (#2472) 2022-02-03 08:59:57 +01:00
Chris591
c18eb34df6
Wakeup sleeping cars using api or charger (#2265) 2022-01-31 19:37:27 +01:00
andig
61dd006c47 Suppress invalid phase inconsistency warning 2022-01-30 12:43:32 +01:00
andig
b4a004b7bb
Mercedes: generalize provider login (#2384) 2022-01-26 08:21:30 +01:00
andig
111e1cc2e7
Simplify charge meter configuration (#2386) 2022-01-23 15:08:34 +01:00
Xantalor
be934d546c Add Mercedes (#2259) 2022-01-21 17:40:20 +01:00
andig
479377f0d4
Add soc push event every 10% charge progress (#2337) 2022-01-20 19:40:49 +01:00
premultiply
2234dee394
Fix pv deactivating when climater active (#2333) 2022-01-18 14:24:52 +01:00
andig
e6f0ced0da chore: minor 2022-01-17 08:50:34 +01:00
andig
cd42f20a51
Allow to define supported phases at vehicle level (#2209) 2022-01-16 09:31:52 +01:00
andig
b007b9bebd
Fix charging doesn't restart after 1p3p switch (#2293) 2022-01-14 17:55:37 +01:00
andig
1f8c2ab725
Ignore phases configuration when charger is switchable (#2258) 2022-01-12 18:27:38 +01:00
andig
445bafcb8e Correctly specify target state as 3p 2022-01-09 12:18:02 +01:00
andig
7c88e5099c chore: eliminate double update 2022-01-07 10:56:56 +01:00
andig
94b889707c Fix phase detection unstable with estimated power usage 2022-01-02 13:56:42 +01:00
andig
1f1c062f99 chore: remove duplicate logging 2022-01-02 13:54:09 +01:00
andig
13dac30def Revert "Fix phase usage estimation from power"
This reverts commit 60760cad618cf653d159b56603a7bd9e52fcaeb5.
2022-01-02 13:39:54 +01:00
andig
3b7f3824a5 Ignore minor negative values for charge power 2022-01-01 16:23:55 +01:00
andig
bac4e07980
Update pv timer handling (#2168)
Some checks failed
Default / Build (push) Failing after 12m58s
Default / Build UI (push) Failing after 1m52s
Release / Publish Github & APT release (push) Has been cancelled
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Co-authored-by: rivengh <75251226+rivengh@users.noreply.github.com>
2021-12-31 10:58:20 +01:00
premultiply
f07b32da83
Fix phase usage estimation from power (#2144)
Some checks failed
Default / Build UI (push) Failing after 2m8s
Default / Build (push) Failing after 15m4s
Release / call-build-workflow (push) Has been cancelled
Release / Publish Docker :release (push) Has been cancelled
Release / Publish Github & APT release (push) Has been cancelled
2021-12-29 15:18:42 +01:00
andig
f4b783a007
Add various condition for stopping target charging (#2098) 2021-12-29 14:50:18 +01:00
andig
79e91b6f16 Reduce amount of logging 2021-12-20 15:04:52 +01:00
andig
2a320d1379 Target charging: use 3p if supported 2021-12-19 11:40:15 +01:00
andig
c03228fe72
Fix invalid timer messages (#2058) 2021-12-17 15:15:10 +01:00
andig
7f4a1e8f7b
Fix 1p3p not scaling up due to inconsistent internal state (#2051) 2021-12-16 20:27:32 +01:00
schenlap
fbe6532aa3
Fix target charging (#1872) 2021-12-15 10:58:45 +01:00
andig
cd842726ea
Expose timers in ui (#1885) 2021-12-13 18:36:39 +01:00
rivengh
a20ac876a1
Fix vehicle data not removed from UI after disconnect (#1954)
* reset published values in evVehicleDisconnectHandler in case of single vehicle and poll mode is connected/charging and not connected
* start detection only if we have multiple vehicles in evVehicleConnectHandler
2021-12-03 08:15:55 +01:00