Commit graph

159 commits

Author SHA1 Message Date
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
Daniel Öster
c53ebf1366
Merge pull request #465 from dalathegreat/bugfix/contactor-closing-egmp
Feature: Contactor closing for eGMP
2024-09-23 16:18:47 +03:00
Daniel Öster
72213db2e1 Remove %n causing crash 2024-09-21 23:41:34 +03:00
amarofarinha
9983d81cac Improve MQTT Connection Resilience and Add Event Tracking for Diagnostics 2024-09-20 17:03:20 +01:00
amarofarinha
eb901da385 bugfix - ordering is oposite in events page and mqtt publish 2024-09-20 09:33:38 +01:00
amarofarinha
086c3dfa29 Optimize Event Ordering by Storing Milliseconds and Handling Rollovers 2024-09-20 02:03:49 +01:00
Daniel Öster
63ea136c27 Add new Event for CAN-FD overflow 2024-09-19 22:12:44 +03:00
amarofarinha
be9d993b44 Refactor Wi-Fi management / separated from webserver logic and add support for fixed IP configuration 2024-09-18 03:07:29 +01:00
Daniel Öster
db455caaf2 Make SOC missing warning with more info 2024-09-16 15:13:15 +03:00
amarofarinha
856a0838d1 Improvement: Add Battery Pause Feature for Max Charge/Discharge Power and OTA Update Optimization 2024-09-13 15:32:54 +01:00
amarofarinha
47fa46ed4e Publish Battery Emulator Events to MQTT 2024-09-04 19:49:48 +01:00
Daniel Öster
9dcc16e99c Remove EEPROM writing 2024-09-02 22:26:52 +03:00
Daniel Öster
d8b91eb34e Add event for using missing interface 2024-08-06 10:57:56 +03:00
Daniel Öster
12ec967e5d Safety tweaks for double battery 2024-07-11 19:09:21 +03:00
Daniel Öster
1f295871b9 Merge branch 'main' into feature/double-battery 2024-07-11 12:29:21 +03:00
Daniel Öster
965fbb906a Add more CAN mappings and events 2024-07-08 13:08:12 +03:00
Daniel Öster
2c434624c6
Feature: Post reset reason as Event (#335)
* Add event for all reset reasons

---------

Co-authored-by: Cabooman <81711263+Cabooman@users.noreply.github.com>
2024-06-05 23:11:06 +03:00
Daniel Öster
46267445c0
Merge branch 'main' into feature/modbus-write-event 2024-05-26 22:00:14 +03:00