Commit graph

314 commits

Author SHA1 Message Date
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
lenvm
4e3dcf159b add doxygen style comments to functions, and change function names for consistency 2024-12-15 17:35:06 +01:00
Daniel Öster
3653ff6449 Add target voltage setting, configurable 2024-12-15 16:41:53 +02:00
Daniel Öster
3a4ea70666 Make webserver work with PWM 2024-12-12 23:48:21 +02:00
rha
da8c7198c2 BMW S-BOX Shunt/Contactor support 2024-12-11 20:49:59 +02:00
Daniel Öster
4232da8aec
Feature: Add initial version of CAN logger (#639)
* Add initial version of CAN logger
2024-11-27 20:00:16 +02:00
Daniel Öster
9a7dda5e11 Merge branch 'main' into feature/double-automatic-contactor 2024-11-23 23:59:28 +02:00
Daniel Öster
f915184edd Make paused text stay red incase user reboots 2024-11-20 22:24:38 +02:00
Daniel Öster
7e15571a41 Add currents to battery 2 in webserver 2024-11-20 22:20:35 +02:00
Daniel Öster
40717942fb Make webserver reflect actual second battery control status 2024-11-18 22:27:24 +02:00
Daniel Öster
10a7cfec15
Merge branch 'main' into feature/LEAF-30-reset-SOH 2024-11-15 23:03:23 +02:00
Daniel Öster
3b546d1466 Add all inv/bat to Github workflow 2024-11-14 21:24:49 +02:00
Daniel Öster
8bba614053 Add init function for inverters 2024-11-14 19:36:37 +02:00
Daniel Öster
edb6dcd39b Add battery text to datalayer 2024-11-14 18:38:23 +02:00
Daniel Öster
ff496f3d4e Add Range Rover PHEV support 2024-11-13 12:11:07 +02:00
Daniel Öster
19ed2ca662
Merge pull request #603 from dalathegreat/feature/ampere-datalayer
Improvement: Add charge/discharge current to datalayer
2024-11-11 12:23:23 +02:00
Daniel Öster
a502d72509
Merge pull request #600 from dalathegreat/feature/3LB-initial-HAL
Feature: Add initial HAL for v0.1 3LB
2024-11-11 12:23:09 +02:00
Daniel Öster
c3e67d2f62 Make discharge limits under settings datalayer 2024-11-10 11:49:31 +02:00
Daniel Öster
91f3c8caf9 Rename user specified limit in datalayer 2024-11-08 23:37:16 +02:00
Daniel Öster
710a7339d8 Add charge/discharge current to datalayer 2024-11-08 22:56:53 +02:00
Daniel Öster
f6861a6b78 Merge branch 'main' into feature/LEAF-30-reset-SOH 2024-11-08 12:53:32 +02:00
wjcloudy
a52d6a3233 Merge branch 'main' into feature/bmw-ix-support 2024-11-08 10:48:46 +00:00