Commit graph

186 commits

Author SHA1 Message Date
Daniel
997866ef8c Tweak logic for contactor closing 2024-04-20 21:45:41 +03:00
Daniel
f83bbc35eb Minimum viable product for double battery 2024-04-20 20:39:59 +03:00
Cabooman
0fee07313a
Data layer introduction (#254)
* Active power, SOH

* Total and remaining capacity

* pre-commit, baby!

* Typo

* pre-commit wrestling

* Temp min/max

* Voltage and current

* Min/max design voltage

* BMS status, max charge/discharge, cell min/max

* BMS status cleanup

* Pre-commit, we meet again

* Cell voltages and minor fixes

* Cell number

* SOC

* Missed a spot

* Event handling moved, Wh bugs fixed, time measurements improved

* Pre-commit, old friend...

* Battery chemistry

* Update TESLA-MODEL-3-BATTERY.cpp

* Total capacity/Wh max, soem default values

* Good ol' pre-comm

* Some prio/core cleanup, docs...

* Contactor closing variables

* Max charge/discharge amps

* Data layer variable documentation

* USER_SETTINGS comments

* Charger comment

* Update datalayer.h
2024-04-15 22:26:10 +02:00
Cabooman
ffa7a54f20
Refactoring: Scalability and performance (#252)
Refactoring v5.7 step 1
2024-04-14 14:41:01 +02:00
Ole
15c1291f90 Removed changes from webserver and fix MAX_CAN_FAILURES 2024-04-09 22:13:57 +02:00
Ole
98dc5fb477 Merge branch 'main' into feature/BMW-3-additional-data 2024-04-09 21:50:17 +02:00
Ole
db57a23dea Added additional data from battery 2024-04-09 21:46:59 +02:00
Daniel Öster
63371c8b60
Feature: CAN-FD + EGMP batteries! (#244)
* ACAN2517FD lib addition, integrate support for canfd, and add initial EGMP battery capability
2024-04-08 20:45:14 +03:00
Daniel
28c2f222e9 Precommit fix 2024-04-03 21:49:26 +03:00
Daniel
d27a660c20 Simplify color changing switchcase 2024-04-02 23:02:12 +03:00
Daniel
101be83a88 Minify naming, increase refresh 10s-15s 2024-04-02 22:41:10 +03:00
Daniel
a51c53edff Minor optimizations 2024-03-28 22:46:29 +02:00
Daniel
28fc1da7c0 Add event for CAN overrun 2024-03-28 00:10:06 +02:00
Daniel
c86d8c8741 Wrap serial in ifdef 2024-03-27 23:14:05 +02:00
Daniel
6b94fe0eba Optimize webserver speed 2024-03-27 22:46:21 +02:00
Daniel
10f3de27ca Rename webserver tag 2024-03-01 13:02:47 +02:00
Daniel
f533e938a3 Add webserver text when Volvo SPA battery used 2024-02-29 13:35:27 +02:00
Daniel
c2a600f263 Fix U32 webserver handling 2024-02-20 21:58:01 +02:00
Daniel
032a0d75ee Rewrite part 1 2024-02-19 00:44:04 +02:00
Daniel Öster
ecce5a61ac
Merge branch 'main' into bugfix/char-dis-status 2024-02-17 23:19:13 +02:00
Daniel
699a1ac7ca Remove char_dis_status variable 2024-02-16 12:31:05 +02:00
Cabooman
9c1e2c3333 Minor addition 2024-02-12 20:23:19 +01:00
Cabooman
db1e679044 Initial commit 2024-02-12 20:16:39 +01:00
Cabooman
3dfbf7b436 Event logging in EEPROM, for now 2024-02-12 01:17:00 +01:00
Cabooman
6cb7e55dad Lots of modifications... Hopefully the end 2024-02-11 22:22:36 +01:00
Cabooman
4dafe58770 Merge branch 'main' into feature/event-log 2024-02-11 13:17:43 +01:00
Cabooman
25cdc7a98a Merge branch 'main' into feature/event-log 2024-02-11 11:24:03 +01:00
Daniel
0b0f66c94a Split webserver into separate files 2024-02-10 23:34:25 +02:00
Cabooman
efc5a7111f Merge branch 'main' into feature/event-log 2024-02-09 22:44:23 +01:00
Brett Christensen
711aeded0c precommit fixes 2024-02-09 16:33:48 +11:00
Brett Christensen
dff9788b96 well I hope this fixes the build 2024-02-09 16:25:20 +11:00
Brett Christensen
f1e0af88df Merge branch 'main' into event-log-mqtt-auto 2024-02-09 15:48:09 +11:00
Brett Christensen
3a47b3eb42 more eventlog wrapping in ifdefs 2024-02-09 15:21:39 +11:00
Brett Christensen
9b47043aba clean up and add ifdef's for event loop stuff 2024-02-09 15:17:08 +11:00
Brett Christensen
0993b52553 fix up event log page and add hostname to output of webserver 2024-02-09 14:06:36 +11:00
Brett Christensen
a928ed1cea trying to be more efficient... 2024-02-09 11:58:42 +11:00
Brett Christensen
1a32022949 fix events endpoint 2024-02-09 08:12:51 +11:00
Brett Christensen
7d208c3ebc really want to make this thing work hey 2024-02-09 07:59:29 +11:00
rjsc
923a18e5c1
make clang happy 2024-02-07 12:33:05 +00:00
rjsc
ae200bdeb5
make clang happy 2024-02-07 12:29:38 +00:00
rjsc
ea0a70e339
make clang happy 2024-02-07 12:27:23 +00:00
rjsc
5cae926ebf
make clang happy 2024-02-07 11:57:06 +00:00
Cabooman
b528c8917f Event cleanup 2024-02-07 08:36:28 +01:00
Brett Christensen
828c9e9760 remove wifi minder and use inbuilt 2024-02-07 07:52:53 +11:00
Brett Christensen
3503b8586a add event log to webserver 2024-02-07 07:52:44 +11:00
Brett Christensen
89a8a947af Revert "Merge pull request #153 from kharnt0x/wifi-monitor"
This reverts commit 26cbc47c15, reversing
changes made to 38524e27d1.
2024-02-07 06:35:55 +11:00
Brett Christensen
6d10cbc517 Update webserver.cpp 2024-02-06 12:38:21 +11:00
Brett Christensen
c485d7a2de make it bulletproof 2024-02-06 12:04:57 +11:00
Brett Christensen
6f72d0bc40 drop wifi monitor loop time to 1000 ms 2024-02-06 07:41:50 +11:00
Brett Christensen
c0781ef35a potential fix for wifi issues 2024-02-06 07:28:19 +11:00