Commit graph

2694 commits

Author SHA1 Message Date
Daniel
82ddae71c3 Add module temperatures 2024-05-02 23:07:02 +03:00
Daniel
46740ecf42 Move ensemble mapping so it runs on startup 2024-05-02 23:03:39 +03:00
Daniel
31dc37213b Add temperature, cellvoltage and AH to Pylon 2024-05-02 22:34:17 +03:00
JorgenSeemann
bfdb6d283c
Update KIA-E-GMP-BATTERY.cpp
updated section to close contractor
2024-05-01 21:33:44 +02:00
JorgenSeemann
f600b3dd29
Update KIA-E-GMP-BATTERY.cpp
spaces added
2024-05-01 21:01:56 +02:00
JorgenSeemann
dfee45cbaf
Update KIA-E-GMP-BATTERY.cpp
Removed cells with voltage below 1000mv in the set_cell_voltages routine
2024-05-01 19:04:01 +02:00
Daniel
740ed99303 Make amp value based on actual voltage 2024-05-01 17:32:22 +03:00
Daniel
e9e65de031 Make values defines 2024-05-01 17:12:07 +03:00
Daniel
ca76bd6586 Add cellvoltage safeties and pack size autodetect 2024-04-30 23:53:26 +03:00
Daniel Öster
a58c570dc5
Merge pull request #276 from dalathegreat/refactor/inverter-can-send
Refactor: Inverter handling
2024-04-30 23:00:59 +03:00
Cabooman
7d53705599 Consistent library naming 2024-04-30 21:13:39 +02:00
Daniel
a6ec991f26 Refactor modbus inverter handling 2024-04-29 21:22:54 +03:00
Daniel
3aa5704d74 Refactor CAN inverter handling 2024-04-29 21:02:37 +03:00
Daniel Öster
6f4831f4cd
Merge pull request #274 from dalathegreat/bugfix/compile-error-chargers
Bugfix: Make chargers compile and add to workflow 🤖
2024-04-28 22:10:40 +03:00
Cabooman
df17c49578
Merge pull request #272 from dalathegreat/improvement/event-uptimestamp
Improvement/event uptimestamp
2024-04-27 12:58:14 +02:00
Daniel Öster
47cba38523
Merge pull request #273 from dalathegreat/improvement/rename-bms-status
Improvement: Rename BMS to System in webserver
2024-04-27 13:29:43 +03:00
Daniel
93dfa1b0eb Make chargers compile. Add to workflow 2024-04-27 13:26:00 +03:00
Daniel
943a4c90f7 Rename BMS to System in webserver 2024-04-27 12:08:44 +03: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 Öster
a209fb92e7
Merge pull request #268 from smaresca/smaresca/uptime
Microfeature: Add uptime tracking and display
2024-04-26 22:17:50 +03:00
Daniel Öster
d4a50689a1
Merge pull request #265 from dalathegreat/feature/Pylon-battery-input
New battery: Pylon 🔋
2024-04-25 20:23:44 +03:00
Daniel
16832506d7 Update TODO: comment 2024-04-25 19:47:34 +03:00
Daniel
3c92cd3fb2 Add comments for unmapped messages 2024-04-25 19:44:52 +03:00
Steven Maresca
7eec5bb345 Fix regression in SERIAL-LINK-RECEIVER from datalayer refactoring 2024-04-25 00:09:46 -04:00
Daniel Öster
79cacf5ede
Merge pull request #263 from dalathegreat/bugfix/red-led-solid
Bugfix: Make faulted LED solid red again 🔴
2024-04-24 18:35:08 +03:00
Steven Maresca
8d84b1bcec Microfeature: Add uptime tracking and display, using Uptime_Library by Yiannis Bourkelis 2024-04-24 00:05:00 -04: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
78dfbef3e2 Use True instead of 1 on bools 2024-04-23 20:36:29 +03:00
Daniel
35814656cd Make max brightness hardware independent 2024-04-23 20:33:37 +03:00
Daniel
6861b6ad0e Add CAN mappings 2024-04-23 20:30:58 +03:00
Daniel
4984bbe56b Remake logic on battery wakeup 2024-04-23 19:56:50 +03:00
Daniel
a1cdd36469 Add initial files 2024-04-23 19:45:20 +03:00
Daniel
c7146eb5b0 Make faulted LED solid red 2024-04-23 18:12:15 +03:00
Daniel Öster
aef99dbbe9
Merge pull request #260 from dalathegreat/bugfix/recover-CAN
Bugfix: Decrease time before CAN retransmission
2024-04-23 16:49:31 +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
Daniel
7d663dae27 Fix USB debug kW value scaling 2024-04-19 21:57:01 +03:00
Daniel
f28be55b69 Decrease time before CAN retransmission 2024-04-18 20:24:14 +03:00
Daniel
5dd5d57ce8 Fix byteorder and scaling 2024-04-17 09:25:36 +03:00
Daniel
1cac91bbc2 Add allowed charge limits from CAN 2024-04-16 21:27:26 +03:00
itpr-gwis2
d098065f47 Add INTERVAL_500_MS_DELAYED to types.h for KIA-E-GMP-BATTERY.cpp 2024-04-16 18:35:36 +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
8b2bdee96d Update magic header value 2024-04-15 22:42:39 +03:00
Daniel
e61956372f Fix TODOs by adding new events for LEAF 2024-04-15 21:58:49 +03:00
Daniel
15a1215d22 USB debug removal and improvements 2024-04-15 20:47:47 +03:00
Daniel
20543f98fa Remove Volvo writing to bms_status 2024-04-14 21:13:12 +03:00