Commit graph

159 commits

Author SHA1 Message Date
Daniel
a8963bf551 Rewording and compile fix 2024-05-20 23:59:39 +03:00
Daniel
170ba8f5bb Add inverter exceeding limits event 2024-05-20 23:43:56 +03:00
Daniel
841c144ff6 Add common under/over-voltage event 2024-05-15 21:05:27 +03:00
Daniel
ca573d19e3 Add event for missing modbus comm 2024-05-14 23:12:33 +03:00
Daniel
f6f12652d6 Add safety file, move out safety checks 2024-05-13 19:45:56 +03:00
Cabooman
7d53705599 Consistent library naming 2024-04-30 21:13:39 +02:00
Cabooman
df17c49578
Merge pull request #272 from dalathegreat/improvement/event-uptimestamp
Improvement/event uptimestamp
2024-04-27 12:58:14 +02:00
Cabooman
7d11a7d4ed Getting comfy with uptime, new event timestamp done and tested 2024-04-26 23:07:33 +02:00
Cabooman
cee1e11bff Pre-commit 2024-04-26 21:53:16 +02:00
Cabooman
6943963907 Move uptime update, use uptime for event timestamp 2024-04-26 21:48:13 +02:00
Daniel
b141161d9a Add Event when automatic contactor opening happens 2024-04-26 22:26:04 +03:00
Daniel
27304e536c Update comment on HVIL 2024-04-23 23:01:08 +03:00
Daniel
605cdcc8ab Add more events for i3 to aid troubleshooting 2024-04-23 22:53:11 +03:00
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