Commit graph

146 commits

Author SHA1 Message Date
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
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