Commit graph

285 commits

Author SHA1 Message Date
Daniel Öster
21f38229ae
Merge pull request #1042 from greenoem/tesla-feature-bmsreset
Feature: Add Tesla BMS ECU reset, basic UDS response logging
2025-04-12 23:13:50 +03:00
Daniel Öster
50fbaf252d Add CPU temperature monitoring in Webserver 2025-04-12 19:06:41 +03:00
James Brookes
f1ae250266 Tesla: update naming of BMS reset and Isolation clear functions 2025-04-07 19:19:25 +01:00
James Brookes
a5c99488dd Feature: Add Tesla BMS ECU reset, basic UDS response logging 2025-04-06 19:40:57 +01:00
Marijn van Galen
97c942e313
Add reported_total_capacity_Wh and use it for SOLAX. Cleanup scaled values on webpage (#1002)
* Add reported_total_capacity_Wh and soh to SOLAX messages.
* Improve display of scaled values on webpage.
* Additionally also improve display of temperatures, cell voltages and combine voltage and current on one line.
* Refactor formatPowerValue function.
2025-03-27 21:29:12 +01:00
Marijn van Galen
e6a6ce9925
MEB: Improve MEB status output. (#983)
* Add 4 missing status outputs from battery to MEB more battery page.
BMS_fault_performance
BMS_fault_emergency_shutdown_crash
BMS_error_shutdown_request
BMS_error_shutdown
* Adds SOH calculation.
* Fixes: (hopefully) the capacity calculation from Ah to kWh.
* Only update capacity and soh if number of cells is set. Remove incorrect scaling on Wh_max.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-20 16:34:33 +01:00
Daniel Öster
873c5e249e Remove loop, simplify events section 2025-03-06 21:59:48 +02:00
Daniel Öster
26e9b06994
Merge pull request #933 from nmainil/main
Improvements for Volvo hybrid batteries
2025-03-05 23:22:08 +03:00
Daniel Öster
0398cda44b Add confirmation to apply interface 2025-03-04 20:13:02 +02:00
Daniel Öster
effd80cc58 Make replay more robust and less likely to crash 2025-03-04 19:55:49 +02:00
Nicolas MAINIL
d1579a7933 Improved support for the Volvo hybrid batteries 2025-03-03 17:56:27 +01:00
nmainil
de7270b3e5
Add files via upload 2025-03-03 17:51:14 +01:00
nmainil
0548b18f2b
Add files via upload 2025-03-03 17:42:38 +01:00
Daniel Öster
1515f9eed9 Add extended ID handling 2025-03-02 20:01:57 +02:00
Daniel Öster
7869997dd9 Prevent crash if replaying empty log 2025-03-02 19:50:06 +02:00
Daniel Öster
c77ead8dc3 Code cleanup 2025-03-01 23:18:42 +02:00
Daniel Öster
533bcc0f22 Add ability to loop log 2025-03-01 22:57:51 +02:00
Daniel Öster
48e9ba9118 Add support for CAN-FD 2025-03-01 19:49:24 +02:00
Daniel Öster
8c44da7070 Make playback work if order is wrong 2025-03-01 18:51:52 +02:00
Daniel Öster
e057df3345 Basic sending working 2025-03-01 17:05:34 +02:00
Daniel Öster
d19994cb33 Make CAN interface configurable via webserver 2025-02-27 20:26:43 +02:00
Daniel Öster
26baf25c97 Add initial skeleton for replay 2025-02-26 23:31:16 +02:00
nmainil
09e5436cea
Add files via upload 2025-02-23 16:35:58 +01:00
Daniel Öster
8ecea1c309
Feature: Add charging/discharging limiting reason to Webserver (#874)
* Add limiting reason to Webserver

* Add info if settings limit charge/discharge power
2025-02-13 20:06:18 +01:00
Daniel Öster
f43725455a Add inverter brand to datalayer 2025-02-10 10:31:27 +02:00
Marijn van Galen
566039be5d
MEB: improvements (#848)
- Don't regulate precharge voltage with external voltage 0.
- Improve log output
- Wait before starting precharge.
- MEB: Improve handling of data from battery BMS
- Use actual_Cellvoltage_lowest / highest instead of calculating min/max ourselves.
- Correct conversion of temperature_min/max _dC
- Correct total_capacity_Wh calculation
- Set overall battery_temperature_dC in extended datalayer
- Set celltemperature values in extended datalayer
- Set temp_points temperature values in extended datalayer
- Fix TODO comments that are already solved
- Add temp point PIDs and store in extended datalayer.
- Display temp points and cell temperatures in advanced battery page
- MEB: Add events start/end balancing
- Use actual precharge status for precharge bit send to BMS
- Only set lowest/highest cell voltage in datalayer when they have actually been received.
2025-02-04 08:42:54 +01:00
Daniel Öster
275eaa9be8
Improvement: Replace use of deprecated functions and improve compilation warnings (#817)
* Change deprecated Send_P to send function

* Fix compilation warnings in Wifi files

* Change warnings into compilation errors

* Add -Wall -Wextra -Wpedantic -Werror to github actions
2025-01-24 16:40:08 +01:00
Daniel Öster
ffe583d551
Move global charger variables to datalayer (#810) 2025-01-21 09:09:03 +01:00
mvgalen
1c8f241dcb Fix inadvertedly removed bracket. 2025-01-14 22:47:27 +01:00
mvgalen
d5228efe9f Revert bms_status printing. 2025-01-14 22:42:07 +01:00
mvgalen
fbd9fe6900 Merge remote-tracking branch 'origin/main' into feature/automatic-precharge 2025-01-14 08:40:24 +01:00
Daniel Öster
f0fd607c5e
Merge pull request #764 from dalathegreat/feature/reset-isolation-tesla
Feature: Tesla, add isolation clearing function
2025-01-10 17:34:39 +03:00
Daniel Öster
b75275e716 Remove references to RGB 2025-01-08 19:26:34 +02:00
Daniel Öster
221ce94d51 Add isolation clearing function 2025-01-07 20:42:54 +02:00
Daniel Öster
64e633f10f
Merge pull request #718 from dalathegreat/feature/tesla-balancing
Feature: Add forced Tesla LFP balancing functionality
2025-01-07 18:44:18 +03:00
Matt Holmes
1e93ad8740
Improvements to CAN logging to SD to significantly improve performance for busy CAN networks (#752)
- Migrate from SPI SD library to SD_MMC
- Minimise the number of individual file writes by batching writes where possible
- Write a binary stream to the buffer to stop corruption
2025-01-05 22:01:21 +01:00
Daniel Öster
01ae0c1278
Volvo/Polestar: Add contactor closing and DTC reset (#744)
* Add contactor closing and DTC reset
2025-01-03 21:53:38 +01:00
mvgalen
7d431f688d Improve handling of bms_status for DOUBLE_BATTERY 2025-01-02 21:58:35 +01:00
Matt Holmes
f138f97905
Adding feature to log to SD Card (#708)
* Adding feature to log to SD Card

Co-authored-by: mvgalen <marijnvangalen@gmail.com>
2025-01-02 21:46:10 +02:00
Daniel Öster
54db0a2216 Merge branch 'main' into feature/tesla-balancing 2025-01-02 14:43:39 +02:00
mvgalen
3d1f535b09
* Fix issue with % in log output conflicting with templating character
* Fix issue with % in log output conflicting with templating character

- Split index_html string in header and footer part
- Use header and footer for index html template page
- Fix missing html and head tags in minified index html.
- Do not use templating engine for debug and can log pages, by using index html header and footer directly in generated content.

* Change pct to %.

* Revert "Fix crash caused by percentage char"

This reverts commit 04a68fc89e.
The original commit only fixed the symptoms, the cause has been fixed,
now we ran revert these.

* Revert "Remove percentage sign from logging"

This reverts commit af05f28755.
The original commit only fixed the symptoms, the cause has been fixed,
now we ran revert these.
2025-01-02 13:22:52 +01:00
rha
3d5f03823f merge 2025-01-01 16:35:10 +02:00
Daniel Öster
d638626bbe Merge branch 'main' into feature/tesla-balancing 2024-12-31 18:57:43 +02:00
lenvm
95ae99aeef add hardware abstraction layer for ESP32 DevKit V1 2024-12-30 23:42:03 +01:00
Daniel Öster
cc6761a8a5 Add Tesla LFP balancing feature 2024-12-31 00:39:05 +02:00
No-Signal
40399b446e Adding ability to log CAN frames to SD card 2024-12-29 13:44:17 +00:00
Daniel Öster
d28c59ccfc
Merge pull request #662 from No-Signal/feature/user_secrets
Improvement: Moving secrets from USER_SETTINGS.cpp to platformio config
2024-12-23 15:48:30 +02: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
No-Signal
b4474e504d Moving additional sensitive settings to USER_SECRETS.h 2024-12-22 11:34:16 +00:00
rha
b12480b6af Merge branch 'main' into feature/bmw-sbox 2024-12-21 22:24:20 +02:00