Commit graph

3578 commits

Author SHA1 Message Date
Jaakko Haakana
9e44de269c Fix test compilation errors and max 2025-07-26 15:53:24 +03:00
Jaakko Haakana
44d74b285e Make types compatible 2025-07-26 15:40:08 +03:00
Jaakko Haakana
98b568f5cb Fix filename and define HW and battery for unit tests 2025-07-26 15:36:10 +03:00
Jaakko Haakana
5719726da8 Add dummy Wifi.h 2025-07-26 15:28:22 +03:00
Jaakko Haakana
760e21c31f Lower cmake version to be able to run in github 2025-07-26 15:22:35 +03:00
Jaakko Haakana
995cc7784c Add working unit tests 2025-07-26 15:19:49 +03:00
Daniel Öster
43bc738352
Merge pull request #1347 from jonny5532/feature/use-millis64-to-avoid-overflow
Add a 64-bit millis64() function to avoid rollover issues
2025-07-26 15:12:46 +03:00
Daniel Öster
bbdb530a09
Merge pull request #1356 from jonny5532/tidy/mg-hs-phev
Tidy up MG-HS-PHEV include/ifdefs and add to BATTERIES.cpp
2025-07-26 15:12:07 +03:00
Jonny
f7deba7c47 Tidy up MG-HS-PHEV defines 2025-07-26 10:32:29 +01:00
Jonny
db559830e0 Add MgHsPhev to BATTERIES.cpp 2025-07-26 10:32:29 +01:00
Jonny
deb040ec80 Add new millis64 to events.h includes 2025-07-26 10:31:30 +01:00
Jonny
fd297cf94b Tweak uptime library to use millis64, removing rollover handling 2025-07-26 10:31:30 +01:00
Jonny
4ad621f6c3 Add a 64-bit millis64() function to avoid rollover issues 2025-07-26 10:31:30 +01:00
Daniel Öster
6f83a1c905
Merge pull request #1355 from jonny5532/fix/kia-imports
Fix KIA-E-GMP-HTML imports
2025-07-26 12:23:15 +03:00
Jonny
3412b0e940 Fix errant KIA-E-GMP-HTML include 2025-07-26 09:56:47 +01:00
Daniel Öster
6328bb8479
Merge pull request #1352 from Gerwaz3/main
KIA EGMP extended info
2025-07-26 10:59:18 +03:00
Jaakko Haakana
0086b88cc7
Merge pull request #1353 from kyberias/no-include
The file include.h is removed and references replaced with more fine-grained and accurate header file references.
2025-07-26 09:29:06 +03:00
Jaakko Haakana
f609d54a14 Add some required includes 2025-07-25 19:11:07 +03:00
Jaakko Haakana
05dc54fe13 Merge branch 'main' into no-include 2025-07-25 10:26:53 +03:00
pre-commit-ci[bot]
903d44904d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-07-25 01:37:27 +00:00
Gerwaz3
7743511f8a
Update KIA-E-GMP-BATTERY.h 2025-07-25 03:33:34 +02:00
Gerwaz3
eeda28b1df
Update KIA-E-GMP-BATTERY.cpp 2025-07-25 03:32:40 +02:00
Gerwaz3
8db91a0456
Add files via upload 2025-07-25 03:30:53 +02:00
Jaakko Haakana
08aa91c767
Merge pull request #1345 from kyberias/no-can-config
Reduce direct usage of global can_config
2025-07-23 14:10:12 +03:00
Jaakko Haakana
ea512b3348 Merge from main and fix a conflict 2025-07-23 12:57:04 +03:00
Jaakko Haakana
597edd0974 Fix OBD module to use the new transmit API 2025-07-23 12:36:05 +03:00
Daniel Öster
208cff598c
Merge pull request #1346 from jonny5532/fix/solax-announce-off-by-one
Fix: Solax (sending too many CAN messages and overflowing buffers)
2025-07-23 12:02:40 +03:00
Jonny
d6b33fe679 Fix off-by-one with number_of_batteries, or it sends too many messages and overflows MCP 2025-07-23 08:42:35 +01:00
Jaakko Haakana
b2132dc8e4 Reduce direct usage of can_config in charger 2025-07-23 10:16:28 +03:00
Jaakko Haakana
d30a35bd4f Reduce direct usage of can_config 2025-07-23 10:07:16 +03:00
Jaakko Haakana
64d1fa418a Remove include.h, does not build yet 2025-07-23 09:32:53 +03:00
Daniel Öster
36318b4bb4 Merge branch 'main' into feature/configurable-BMS-reset-delay 2025-07-23 00:50:47 +03:00
Jaakko Haakana
e63140e030
Merge pull request #1344 from kyberias/fix-settings-save
Fix crash when saving settings
2025-07-23 00:48:24 +03:00
Jaakko Haakana
3d3ca6018d Fix crash caused by incorrect capture by reference in lambda def 2025-07-23 00:39:48 +03:00
Daniel Öster
bdaa198886 Add user configurable BMS reset off time 2025-07-22 23:59:19 +03:00
Daniel Öster
3612e18452
Merge pull request #1305 from jonny5532/feature/mg-hs-phev-updates
Preliminary changes for better MG HS PHEV integration
2025-07-22 23:09:12 +03:00
Daniel Öster
c423410ffc
Merge pull request #1339 from dalathegreat/cleanup/build-failing-solxpower
Build fail: Fix build system for common image with Solxpow protocl
2025-07-22 21:03:32 +03:00
pre-commit-ci[bot]
8e1ece817e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-07-22 14:16:52 +00:00
Jonny
59921a61a5 Update MG HS PHEV limits and docs 2025-07-22 15:14:57 +01:00
Jonny
50619f8776 Stop sending most MG HS PHEV OBD PID requests 2025-07-22 15:14:31 +01:00
Jonny
d489e9878c Add basic voltage-based-SoC extension to optionally allow charging above 4.1V/cell 2025-07-22 15:14:31 +01:00
Jonny
151e9cce94 Update MG HS PHEV CAN parsing to use CAN1 messages 2025-07-22 15:14:31 +01:00
Jonny
6a34aaf850 Update MG HS PHEV CAN message sending 2025-07-22 15:14:31 +01:00
Daniel Öster
7e5f3a7bfe Fix build system for common image 2025-07-22 15:53:21 +03:00
Daniel Öster
a23200971d
Merge pull request #1314 from dalathegreat/bugfix/tesla-CAN-improvements
Tesla: Simulate entire vehicle towards battery
2025-07-22 15:38:14 +03:00
Daniel Öster
42ef1d2830
Merge pull request #1323 from dalathegreat/microfeature/MEB-init-fault-webserver
MEB: Add Init/Error display for temperatre to more battery info page
2025-07-22 15:31:59 +03:00
Daniel Öster
b6b812690f
Update Software.ino 2025-07-22 11:33:54 +03:00
Daniel Öster
342090f3b8
Merge pull request #1287 from kyberias/hal2
Hal refactoring and GPIO allocations
2025-07-22 11:33:18 +03:00
Daniel Öster
a26f28aaa3
Merge pull request #1333 from jonny5532/fix/cpu-temperature
Fix: Ignore erroneous 53.3c CPU temperature value that ESP32 often returns
2025-07-22 11:18:31 +03:00
Daniel Öster
3b598406b5
Update Software.ino 2025-07-22 11:16:31 +03:00