Daniel Öster
cb3713c91e
Merge pull request #791 from dalathegreat/feature/automatic-precharge
...
Fix MEB max 1A issue / Add automatic precharge / Add basic OBD functionality
2025-01-15 13:21:57 +03:00
Peter Major
f3f34782d9
Update BMW-I3-BATTERY.cpp
...
fix forBMW i3 remaining capacity issue for 2nd battery #725
2025-01-15 09:00:59 +01:00
mvgalen
1dcc6fed62
Fix code formatting.
2025-01-14 23:01:24 +01:00
mvgalen
a592066e20
Remove #define PRECHARGE_CONTROL & move dump_can_frame within #ifdef DEBUG_LOG
2025-01-14 22:57:27 +01:00
mvgalen
1c8f241dcb
Fix inadvertedly removed bracket.
2025-01-14 22:47:27 +01:00
mvgalen
40fbdc5f73
Fix code formatting.
2025-01-14 22:44:33 +01:00
mvgalen
d5228efe9f
Revert bms_status printing.
2025-01-14 22:42:07 +01: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
28351f8676
Remove inadvertedly added BRS check from comm_can
2025-01-14 09:01:46 +01:00
mvgalen
4608d6ae13
Remove inadvertedly added BRS bit from CanFrame.
2025-01-14 08:59:24 +01:00
mvgalen
3f0998933d
Fix code formatting.
2025-01-14 08:43:04 +01:00
mvgalen
fbd9fe6900
Merge remote-tracking branch 'origin/main' into feature/automatic-precharge
2025-01-14 08:40:24 +01:00
mvgalen
d0418dcfe3
Merge branch 'main' into feature/automatic-precharge
2025-01-14 08:15:24 +01:00
mvgalen
9ddf83ceb8
Fix code formatting.
2025-01-14 08:10:45 +01:00
mvgalen
437efe1aa4
Code formatting fix.
2025-01-14 08:06:27 +01:00
mvgalen
a0c5e63514
Some small improvements.
...
- Start polling frame earlier.
- Prevent false positive on delayed can sending.
- Add log message for first CAN received from battery.
- Add log message for timeout of CAN reception from battery.
2025-01-14 08:06:13 +01:00
mvgalen
8e118a75cd
Fix code formatting
2025-01-13 22:11:02 +01:00
mvgalen
5db3eaa7f8
Log when unsupported checksum is requested.
2025-01-13 22:03:03 +01:00
mvgalen
74cb21ee81
Only switch to STANDBY if nof cells is clear
2025-01-13 21:59:47 +01:00
mvgalen
673c400cc5
Only set values when msg not in init state.
2025-01-13 21:58:47 +01:00
mvgalen
0c2aa47847
Fix code formatting
2025-01-13 21:57:27 +01:00
mvgalen
eefa97233c
Limit risk of array overruns.
2025-01-13 21:49:16 +01:00
mvgalen
a637db847f
Fix battery current calculation.
2025-01-13 21:25:58 +01:00
mvgalen
5854fc2867
Fix code formatting
2025-01-13 19:57:17 +01:00
mvgalen
f9132dfd30
Disable precharge bit if not precharging.
2025-01-13 19:50:42 +01:00
Daniel Öster
c94aebdeea
Change naming of functions to match main
2025-01-13 10:03:18 +02:00
Daniel Öster
700dad23e5
Merge branch 'main' into feature/sungrow-can
2025-01-13 09:57:13 +02:00
Daniel Öster
fd67021fa1
Add Sungrow to build system
2025-01-13 09:55:49 +02:00
Daniel Öster
c88c49aa0e
Merge pull request #790 from dalathegreat/bugfix/zoe-gen1-cell96
...
Bugfix: Make all 96 cells work on Zoe Gen1
2025-01-13 10:53:26 +03:00
Daniel Öster
b9e93babc7
Make all 96 cells work
2025-01-12 23:20:40 +02:00
Daniel Öster
66beecc92d
Move variable placement
2025-01-12 22:57:36 +02:00
Daniel Öster
7850fb6bb1
Add sanity check to minmax reading
2025-01-12 22:52:04 +02:00
Daniel Öster
1189acb5df
Merge pull request #788 from dalathegreat/feature/growatt-hv-can
...
New feature: Growatt HV protocol ⚡
2025-01-12 23:35:32 +03:00
Daniel Öster
51dbfef201
Add Gorwatt HV to build system
2025-01-12 22:35:19 +02:00
Daniel Öster
cf05b14878
Merge pull request #782 from dalathegreat/bugfix/overdischarge-prevention
...
Feature: Add CRITICAL cell voltage safeties
2025-01-12 23:30:49 +03:00
Daniel Öster
7f938b68fe
Merge pull request #780 from dalathegreat/bugfix/sketch-webserver
...
Library: Replace ESPAsyncWebServer library
2025-01-12 23:30:16 +03:00
Daniel Öster
1e0d43af5c
Add Growatt HV protocl
2025-01-12 20:03:38 +02:00
Daniel Öster
508301e664
Merge pull request #787 from dalathegreat/bugfix/i3-2nd-battery-cellvoltages
...
Bugfix: i3, Add cellvoltage amount for battery2
2025-01-12 14:33:14 +03:00
Daniel Öster
4bdcc232c4
Add cellvoltage amount for battery2
2025-01-12 12:18:55 +02:00
Daniel Öster
0a31337334
Move Battery2 power calculation outside SOC scaling function
2025-01-12 12:06:02 +02:00
Daniel Öster
9afa16c7ae
Merge pull request #644 from lewurm/kostal-rs485-more-debug
...
kostal: more debug output to get better understanding of temporal behaviour
2025-01-12 12:59:33 +03:00
Daniel Öster
66cd6f135c
Merge pull request #778 from dalathegreat/bugfix/pylon-respect-voltage-limit
...
Pylon CAN: Bugfix + pylon respect voltage limit
2025-01-12 12:50:16 +03:00
Daniel Öster
7c14b8a0c0
Add CRITICAL cell voltage safeties
2025-01-11 21:07:40 +02:00
Daniel Öster
73eccb64ec
Replace AsyncTCP with AsyncTCPsock library
2025-01-11 20:00:57 +02:00
Daniel Öster
7140b68d07
Merge pull request #779 from No-Signal/bug/fix_adv_bat_script
...
Removing duplicate start script
2025-01-11 20:23:59 +03:00
Askold
55b8ea423f
Update VOLVO-SPA-BATTERY.cpp
...
CAN_frame VOLVO_140_CLOSE and CAN_frame VOLVO_140_OPEN
2025-01-11 16:17:45 +02:00
mvgalen
7a5202461a
Use refactored obd functions.
2025-01-11 14:04:23 +01:00
mvgalen
7b69f9e9a8
Addition of transmit_obd_can_frame and handle_obd_frame functions
...
- Addition of transmit_obd_can_frame and handle_obd_frame functions
- Use dump_can_frame function in comm_can.cpp as well.
- Fix code formatting of dump_can_frame function
2025-01-11 13:58:27 +01:00