Commit graph

295 commits

Author SHA1 Message Date
Jaakko Haakana
0eb852997c Setting voltage for battery is always fake 2025-06-01 13:43:57 +03:00
Jaakko Haakana
662ae57d2b Batteries implement HTML renderers for status and commands 2025-06-01 09:59:46 +03:00
Jaakko Haakana
2c2f05f186 Clarify contactor control variables and usage 2025-05-17 08:53:58 +03:00
lenvm
f3c250368a BMW iX: add functionality to close and open contactors, including webserver buttons to close and open contactors 2025-05-11 21:32:23 +02:00
Jaakko Haakana
517731c4c3 All chargers compiled 2025-05-10 06:50:15 +03:00
Daniel Öster
0467401bab
Merge pull request #1057 from dalathegreat/feature/BYD-unlock-crashed
Atto3: Add crashed BMS unlocking 🔒
2025-05-05 17:07:10 +03:00
Jaakko Haakana
41a6678323 Common base class for batteries and Zoe implementation 2025-04-28 20:39:44 +03:00
Daniel Öster
f205c7f6e1 Merge branch 'main' into feature/BYD-unlock-crashed 2025-04-27 13:09:56 +03:00
Daniel Öster
12d0bbded3 Add button for NVROL reset 2025-04-21 23:52:34 +03:00
Daniel Öster
4fbca4b029 Add Crash reset to More Battery Info page 2025-04-14 00:04:02 +03:00
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