Commit graph

146 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
Daniel
e61956372f Fix TODOs by adding new events for LEAF 2024-04-15 21:58:49 +03:00
Cabooman
ffa7a54f20
Refactoring: Scalability and performance (#252)
Refactoring v5.7 step 1
2024-04-14 14:41:01 +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
0c984d906e Wrap usb events in ifdef to reduce cpu usage 2024-03-27 21:18:12 +02:00
Daniel
1d8fc7f0c9 Make inv-cont-open info, add CAN restart 2024-03-17 22:37:29 +02:00
Cabooman
8a12a55bb7 Minor events update on the fly
Updated some comments and the location of the magic EEPROM event log number
2024-02-26 08:17:37 +01:00
Daniel
3783a2ddf2 Add event for Solax requesting contactor open 2024-02-19 17:44:26 +02:00
Daniel
032a0d75ee Rewrite part 1 2024-02-19 00:44:04 +02:00
Cabooman
6f33d5121c Merge branch 'main' into bugfix/ota-improvement 2024-02-16 19:20:04 +01:00
Daniel Öster
a238c8b925
Merge pull request #177 from dalathegreat/feature/leaf-events
Bugfix: Clear battery events properly
2024-02-13 22:26:49 +02:00
Daniel
cc0d4ea4bf Event clearning added, LEAF safety improved 2024-02-12 23:18:06 +02:00
Daniel
362824f944 Add info messages. Fix CAN recovery 2024-02-12 22:58:52 +02:00
Cabooman
dfae055f04 Clear before Set 2024-02-12 21:29:36 +01:00
Cabooman
6589872b30 Polishing the EEPROM handling 2024-02-12 21:15:27 +01:00
Cabooman
db1e679044 Initial commit 2024-02-12 20:16:39 +01:00
Cabooman
09db1513f1 Added a TX error for CAN comms 2024-02-12 16:11:46 +01:00
Cabooman
a561e185fb Mostly documentation 2024-02-12 09:05:53 +01:00
Cabooman
9636492bef Re-enable a print 2024-02-12 01:58:52 +01:00
Cabooman
1e0740fd27 15 minuter timer for EE write 2024-02-12 01:49:09 +01:00
Cabooman
d12fe99e8e Preparing for the unit testing of events 2024-02-12 01:42:35 +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
e2faaecfd4 Merging merged mergers 2024-02-11 14:39:53 +01:00
Cabooman
4dafe58770 Merge branch 'main' into feature/event-log 2024-02-11 13:17:43 +01:00
Cabooman
5e0893d3ca Halfway to the finish line 2024-02-11 13:13:47 +01:00
Cabooman
25cdc7a98a Merge branch 'main' into feature/event-log 2024-02-11 11:24:03 +01:00
Daniel
1327eb6781 Improve events view 2024-02-11 12:00:34 +02:00
Daniel
c82183b46a Fix compilation error 2024-02-11 00:06:51 +02:00
Cabooman
fb33bee991 Explicit event initialization, local unit test execution 2024-02-09 23:23:16 +01:00
Cabooman
c839646e58 Various additions, still WIP 2024-02-09 22:27:13 +01:00
Brett Christensen
711aeded0c precommit fixes 2024-02-09 16:33:48 +11:00
Brett Christensen
ef7225624b fix up tests 2024-02-09 15:36:35 +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
Cabooman
b528c8917f Event cleanup 2024-02-07 08:36:28 +01:00
Cabooman
32378df03e Some cleanup before more surgery 2024-02-06 22:11:02 +01:00
Brett Christensen
3503b8586a add event log to webserver 2024-02-07 07:52:44 +11:00
Cabooman
5edfd6cdec Restore to working order, success! 2024-02-05 23:16:46 +01:00
Cabooman
7f6eddca76 Testing for failed unit tests 2024-02-05 23:15:54 +01:00
Cabooman
da8421dcff Unit test attempt 2024-02-05 22:42:13 +01:00
Cabooman
44c02745bf Improvements and unit tests 2024-02-05 14:10:12 +01:00
Cabooman
4d95fcfc31 First commit 2024-02-05 01:19:37 +01:00