Commit graph

126 commits

Author SHA1 Message Date
Daniel Öster
792eac2858 Improve wording on enable event 2025-05-01 12:04:36 +03:00
Daniel Öster
363804710d Add Event for missing enable line for SMA 2025-04-28 18:12:29 +03:00
Daniel Öster
5bbfa7f962
Update description for Equipment Stop 2025-04-16 23:04:13 +03:00
Daniel Öster
dc470e64c4 Add CPU overheat event 2025-04-15 19:08:12 +03:00
Cabooman
23e62defb5 First commit 2025-03-10 07:50:43 +01:00
Daniel Öster
92e62fad4a Remove unused variables 2025-03-06 22:47:18 +02:00
Daniel Öster
51b0e80132 Move millis() check into datalayer 2025-03-06 22:45:42 +02:00
Daniel Öster
873c5e249e Remove loop, simplify events section 2025-03-06 21:59:48 +02:00
Daniel Öster
8d21930101 Optimize CAN-Native driver and event handling 2025-03-06 19:01:13 +02:00
laughingguffly
d8810ba817
Merge branch 'main' into feature/bms_reset_at_with_ntp 2025-02-16 19:17:43 +01:00
Daniel Öster
a8d8dffd5c Add event for rjxzs BMS error and how to clear 2025-02-15 23:13:34 +02:00
laughingguffly
e84f73709d merge with main branch 2025-02-08 21:39:34 +00:00
laughingguffly
b75d5fb20f add PERIODIC BMS RESET Events 2025-02-08 14:40:09 +00:00
laughingguffly
aab9f876d9 add BMS RESET events 2025-02-07 20:41:43 +00:00
Marijn van Galen
3def2fe5ed
Change error to warning as agreed. 2025-02-04 22:04:06 +01:00
mvgalen
36ab214ecf Fix code formatting. 2025-02-04 10:45:56 +01:00
mvgalen
d678ea1981 Add event for large temperature difference in battery 2025-02-04 08:45:39 +01:00
Matt Holmes
f807890b28 Add warning event if SD card fails to initialize 2025-02-02 09:49:04 +00:00
Daniel Öster
8f6d583468
Improvement: Make CAN events more readable (#823)
* Rename CAN events to make them simpler to debug

* Add buffer full check for MCP2515

* Add charger CAN missing event
2025-01-27 17:35:53 +02:00
Matt Holmes
31bf24c9e3
Merge pull request #798 from dalathegreat/ferature/zoe-fuse-event
Feature: Add event for blown fuse in Zoe battery
2025-01-17 21:22:08 +00:00
Daniel Öster
035831f2bf Add event for blown fuse 2025-01-15 12:11:39 +02:00
mvgalen
9410b8732b Changes due to review comments
- Split bms_status (system status) to real_bms_status (bms status)
- Put #ifdef DEBUG_LOG around all log calls.
- Do not update bms_status (system status) directly, fire event instead from automatic precharge control
- Add Battery BMS status to webserver for MEB battery type only
2025-01-14 22:26:31 +01:00
mvgalen
753b506068 Revert "Change default state of bms_Status to INACTIVE and only switch to ACTIVE upon reception of SOC from battery."
This reverts commit f6c73e9481.
2025-01-14 19:19:10 +01:00
mvgalen
57fbe69b14 Do not set CAN_STILL_ALIVE from reset_all_events 2025-01-14 17:19:19 +01:00
mvgalen
fbd9fe6900 Merge remote-tracking branch 'origin/main' into feature/automatic-precharge 2025-01-14 08:40:24 +01:00
Daniel Öster
7c14b8a0c0 Add CRITICAL cell voltage safeties 2025-01-11 21:07:40 +02:00
Daniel Öster
949bfb172a Remove unused defines 2025-01-08 19:21:11 +02:00
Daniel Öster
733d52d72b Remove superflous event description 2025-01-08 19:15:28 +02:00
Daniel Öster
89fc610366 Remove unused test_on_target event handling 2025-01-08 19:08:49 +02:00
Daniel Öster
a60a1c3b5c Add balancing start/end event 2025-01-07 16:01:17 +02:00
mvgalen
7d431f688d Improve handling of bms_status for DOUBLE_BATTERY 2025-01-02 21:58:35 +01:00
mvgalen
f6c73e9481 Change default state of bms_Status to INACTIVE and only switch to ACTIVE upon reception of SOC from battery.
- Change default state of bms_Status to INACTIVE
- switch to ACTIVE upon reception of SOC from battery.
- Do not change bms_mode to ACTIVE upon reception of info/warning/debug event.
- Reset bms_mode to INACTIVE and CAN_battery_still_alive when resetting all events
2025-01-02 21:58:35 +01:00
lenvm
0199d01287 make MCP2515 and MCP2518FD unique, such that they can be used simultaneously 2024-12-24 22:07:10 +01:00
mvgalen
c713d0a94e
Change Serial logging to flexible logging (#690)
* Add Logging class
Add Logging class which inherits from Print class, to be able to route logging to USB Serial or to memory for display in the webpage. Adds a log webpage only visible when DEBUG_VIA_WEB is defined.
2024-12-22 22:48:35 +01:00
Daniel Öster
3653ff6449 Add target voltage setting, configurable 2024-12-15 16:41:53 +02:00
Daniel Öster
0750c6ab5b
Feature: Volkswagen MEB platform support (#405)
* Add MEB Support

Co-authored-by: mvgalen <marijnvangalen@gmail.com>
2024-12-02 18:39:57 +02:00
Daniel Öster
1f96681e94 Replace faulty cap check with welded contactor check 2024-11-04 10:17:55 +02:00
Daniel Öster
635f037324
Merge pull request #547 from dalathegreat/bugfix/SOC-implausible-warning
Bugfix: Downgrade SOC check to warning
2024-10-24 15:55:53 +03:00
Daniel Öster
40aa274b48 Add event for unavailable value 2024-10-24 12:52:58 +03:00
Daniel Öster
b5eecc82ba Downgrade soc check to warning 2024-10-20 14:40:12 +03:00
Daniel Öster
adcf145109
Merge branch 'main' into feature/foxess-inverter 2024-10-07 21:59:40 +03:00
Daniel Öster
d3ef811974
Merge pull request #480 from dalathegreat/improvement/inverter-CAN-missing-event
Solax: Add inverter missing from CAN event, Solax
2024-10-06 20:45:10 +03:00
amarofarinha
adf8185d33 Replaced all instances of "emergency" with "equipment" in the code for improved clarity and alignment with the feature's purpose. 2024-10-03 09:43:41 +01:00
amarofarinha
81cd6780a3 Initial Implementation of Core Emergency Stop Feature on Battery Emulator 2024-10-01 19:12:22 +01:00
Daniel Öster
55340886af Add event for missing inverter, fix capping value 2024-10-01 11:23:19 +03:00
Daniel Öster
1d786463a8 Merge branch 'main' into feature/foxess-inverter 2024-10-01 11:01:02 +03:00
Daniel Öster
966a6c5517 Add error message incase MCP2515 fails to start 2024-09-30 16:02:38 +03:00
Daniel Öster
72f5c681cd Fix reset not clearing bms_status 2024-09-26 22:22:51 +03:00
Daniel Öster
a2efc21642 Add feature to clear events 2024-09-26 22:01:21 +03:00
Daniel Öster
2cecc3d55a Add inverter missing from CAN event, Solax 2024-09-23 23:22:15 +03:00