Commit graph

103 commits

Author SHA1 Message Date
Daniel Öster
a9185be603 Add manual override charge(discharge limits 2025-09-04 20:26:17 +03:00
Daniel Öster
12cc542a42 Make tests pass 2025-09-01 21:27:09 +03:00
Daniel Öster
5d0486c87c Merge branch 'main' into improvement/debug-at-runtime 2025-08-30 23:26:28 +03:00
Daniel Öster
a1e5bc57d0 Remove ifdef from logging 2025-08-29 23:16:36 +03:00
Daniel Öster
e299b867c9 Remove all ifdefs from Tesla code 2025-08-29 21:38:40 +03:00
James Brookes
dfa289ce56 Fix copy paste omissions 2025-08-24 15:19:25 +01:00
James Brookes
38e900bed7 Add pack SOC reset feature, fix BMS reset bug 2025-08-24 15:05:44 +01: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
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
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
8c3a420ad0 Improve contactor logging via USB_DEBUG 2025-07-20 12:08:44 +03:00
Daniel Öster
9bc00b0faf Remove compilation error when using DEBUG_VIA_USB 2025-07-19 23:14:43 +03:00
Daniel Öster
627e6aeb26 Add still alive triggering on all known Tesla CAN messages 2025-07-19 22:12:51 +03:00
Daniel Öster
fedcc29662 Update credits section 2025-07-19 21:03:05 +03:00
Daniel Öster
3a6c3904c4 Convert more of send-all branch to main 2025-07-16 22:14:48 +03:00
Daniel Öster
e15f28ec40 Take into use greenoem method 2025-07-15 15:44:56 +03:00
Jaakko Haakana
49fb79f35e Rest of the HALs 2025-06-24 21:35:14 +03:00
Jaakko Haakana
901c89e03f More common image 2025-06-16 08:25:08 +03:00
Daniel Öster
411f3de36e Fix debug werror. Increasee accuracy on voltage reading 2025-05-27 00:01:03 +03:00
Jaakko Haakana
8a1e34c449 Tesla battery class 2025-05-18 17:17:44 +03:00
Daniel Öster
c8de168435 Simplify can sending routine and perf check 2025-04-26 23:43:51 +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
Daniel Öster
ab15b59f3c Extend pyrofuse event check 2025-03-27 18:14:47 +02:00
Jonathan G
751d404a4c
Update typo while decoding error flags in TESLA-BATTERY.cpp 2025-03-26 16:23:35 +01:00
Marijn van Galen
07a4ad7abc
Add (dis)charged_energy_Wh to datalayer and mqtt. (#1003)
- Add (dis)charged_energy_Wh to datalayer and mqtt.
- MEB: report (dis)charged_energy_Wh
- MEB: Fix SOH calculation.
- TESLA: also use the total_(dis)charged_battery_Wh in generic datalayer.
2025-03-25 19:18:20 +01:00
Marijn van Galen
30de0d8bde
Merge branch 'main' into tesla-bugfixes 2025-01-27 21:08:42 +01:00
Daniel Öster
29fb2039d4
Tesla: Send more CAN, remove double battery (#827)
* Add few Tesla messages to sending routine

* Remove double battery support for now, refactoring!
2025-01-27 21:05:38 +01:00
josiahhiggs
14f944f723 Update TESLA-BATTERY.h
added inline const char* to TESLA-BATTERY.h and include in advanced battery to utilize inline const char*
2025-01-26 21:56:56 +13:00
josiahhiggs
0636971a28 Update TESLA-BATTERY.cpp
Remove duplicate inline
2025-01-26 20:19:29 +13:00
josiahhiggs
eeb2abd2e1 Formating 2025-01-26 20:04:05 +13:00
josiahhiggs
f77d32a154 Change static const char* to inline
Updte loggingprint for DEBUG,
Update advanced battery by removing static and add inline.
Update notes for Rty Cnt frames.
2025-01-26 20:03:34 +13:00
josiahhiggs
102db63ec4 format 2025-01-24 17:36:38 +13:00
josiahhiggs
66c141ce27 Debug_log bugfix
Debug updated to display accurate data including PCS temps in more battery info.
2025-01-24 17:35:56 +13:00
Daniel Öster
eb3ea8dbb4
Improvement: Tesla blown pyro event (#808)
* Remove unnecessary includes

* Add fuse blown event for Tesla
2025-01-21 09:10:31 +01:00
josiahhiggs
aadcede6d5
Improvement/tesla-expansion (#769)
Improve More Battery Info page for Tesla
2025-01-19 16:13:16 +03:00
Daniel Öster
221ce94d51 Add isolation clearing function 2025-01-07 20:42:54 +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
Daniel Öster
d638626bbe Merge branch 'main' into feature/tesla-balancing 2024-12-31 18:57:43 +02:00
Daniel Öster
53b0e1a623
Merge pull request #724 from dalathegreat/bugfix/logging-panic-reset
Bugfix: Fix Panic Reset caused by percentage char
2024-12-31 19:57:01 +03:00
Daniel Öster
04a68fc89e Fix crash caused by percentage char 2024-12-31 18:18:46 +02:00
Daniel Öster
132fa1e331 Remove watchdog spamming 2024-12-31 17:14:15 +02:00
Daniel Öster
a86823c764 Merge branch 'main' into feature/tesla-balancing 2024-12-31 01:20:17 +02:00
Daniel Öster
293bf12d5e Fix broken references in logging 2024-12-31 01:16:36 +02:00
Daniel Öster
5ec554708e Force SOC to 99pct during balancing 2024-12-31 00:47:57 +02:00
Daniel Öster
cc6761a8a5 Add Tesla LFP balancing feature 2024-12-31 00:39:05 +02:00
Daniel Öster
22e49abb6d
Merge pull request #716 from josiahhiggs/enhancement/tesla-safety-check
Enhancement/tesla safety check
2024-12-30 17:42:29 +03:00