Commit graph

3209 commits

Author SHA1 Message Date
Daniel Öster
28a337684d Improve safety for stopping charge/discharge when battery is full/empty 2025-07-27 16:31:08 +03:00
Daniel Öster
2b6ad122bb
Merge pull request #1343 from dalathegreat/feature/configurable-BMS-reset-delay
Feature: Add user configurable BMS reset off time
2025-07-27 14:26:14 +03:00
Jaakko Haakana
ee561d18c5
Merge pull request #1362 from kyberias/stark-fixes
Stark and Wifi fixes
2025-07-27 13:01:12 +03:00
Daniel Öster
ff0ca99051
Merge pull request #1357 from jonny5532/feature/improve-web-log
Make web log output show in correct order.
2025-07-27 12:54:47 +03:00
rha
038f7089dc removed some unused variables and contactor closing allowed after 7.th battery status message 2025-07-27 12:52:45 +03:00
Jaakko Haakana
6a3a2c2d4d Don't start reconnecting Wifi while it's not really disconnected 2025-07-27 11:36:46 +03:00
Jaakko Haakana
64dc6784f7 Fix GPIO alloc when given duplicate values 2025-07-27 10:56:43 +03:00
Jaakko Haakana
cb95f4771d Merge branch 'main' into unit-tests 2025-07-27 09:18:20 +03:00
Daniel Öster
f69de88df8 Merge branch 'main' into feature/ioniq-28kWh 2025-07-26 23:28:36 +03:00
Jaakko Haakana
37bb71b41f Fix build when logging and add workflow to build common image with debug logging 2025-07-26 20:02:57 +03:00
Jaakko Haakana
7e86ee8d93 Webserver to use settings 2025-07-26 19:40:27 +03:00
Daniel Öster
05bf344a97 Remove extended datalayer from Ioniq28 integration 2025-07-26 18:14:15 +03:00
Jonny
6b48874e5f Make web log output show in correct order. 2025-07-26 16:04:26 +01:00
Daniel Öster
541ab5cf9c Merge branch 'main' into feature/ioniq-28kWh 2025-07-26 17:45:46 +03:00
Jaakko Haakana
28609f18a6 Merge from main and fix conflicts 2025-07-26 16:57:29 +03:00
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
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
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
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
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
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
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