Commit graph

2694 commits

Author SHA1 Message Date
josiahhiggs
1bbbaacb70 Update TESLA-BATTERY.cpp 2024-12-29 23:02:32 +13:00
josiahhiggs
a0907b7ef6 Update TESLA-BATTERY.cpp
Update starting cell voltage to 3300mV, update starting pack energy to 0kWh,  add cellvoltageRead to 0x332, add check of cellvoltageRead in send_can.
2024-12-29 23:02:17 +13:00
josiahhiggs
a91e4845c9 Merge branch 'enhancement/tesla-safety-check' of https://github.com/josiahhiggs/Battery-Emulator into enhancement/tesla-safety-check 2024-12-29 22:18:32 +13:00
Daniel Öster
fe451cc18a Revert to hardcoded ID 2024-12-28 19:52:41 +03:00
Daniel Öster
7cc63902b0 Make Ultra messages part of normal sending 2024-12-28 19:43:48 +03:00
Daniel Öster
d0ffb97816 Rename to stellantis, add TODO 2024-12-28 16:19:41 +03:00
Daniel Öster
fe4bd981cc Merge branch 'main' into feature/PSA-battery 2024-12-28 15:51:19 +03:00
Daniel Öster
8663571579 Add SMA Tripower to contactor allow writing 2024-12-28 14:58:47 +03:00
Daniel Öster
ea2ea2e590
Merge branch 'main' into bugfix/SMA-tripower-enable-line 2024-12-28 14:56:10 +03:00
Daniel Öster
c9c5e696cb Apply diff from successful testing 2024-12-28 14:42:44 +03:00
Daniel Öster
50219fff80
Merge pull request #698 from dalathegreat/bugfix/make-secrets-easier
Improvement: Make USER_SETTINGS more simplified
2024-12-28 14:34:34 +03:00
Daniel Öster
e2fb70e962
Merge pull request #693 from josiahhiggs/improvement/tesla-advanced-battery
Improvement/tesla advanced battery
2024-12-28 12:50:08 +03:00
Daniel Öster
57cba6f94b
Merge pull request #697 from dalathegreat/bugfix/assert-failed-tasksC
Crashfix: Restore Async lib, implement Mutex locking
2024-12-28 12:32:22 +03:00
Daniel Öster
cf75f48f00
Merge pull request #700 from lenvm/feature/make-mcp2515-and-mcp2517-unique
Make MCP2515 and MCP2518FD (MCP2517) work simultaneously
2024-12-28 12:31:34 +03:00
josiahhiggs
7b67eab81d Update TESLA-BATTERY.cpp 2024-12-28 09:11:54 +13:00
josiahhiggs
f27408b2f3 Update TESLA-BATTERY.cpp
Update 0x221 send time to 50ms. Adjust default values before CAN mapping cell voltage, remove delay that was not working.
2024-12-28 09:11:04 +13:00
josiahhiggs
256bf19201 Update advanced_battery_html.cpp 2024-12-27 19:21:25 +13:00
josiahhiggs
b9a0678007 Update advanced_battery_html.cpp
Changed the displayed data format.
2024-12-27 19:21:16 +13:00
lenvm
7d9f8cf72d add LED pin, that turns on when SMA allows contactor closing 2024-12-26 17:22:23 +01:00
josiahhiggs
22c8d7dbe3 Update TESLA-BATTERY.cpp 2024-12-26 13:03:03 +13:00
josiahhiggs
fc90d3eca9 Update TESLA-BATTERY.cpp
Change location of delay
2024-12-26 13:02:35 +13:00
josiahhiggs
3ef5bec6e2 Add delay
adding 3s delay to allow cell voltage min/max to be read before transmit_can to stop false under/over cell voltage events.
2024-12-26 12:35:28 +13:00
josiahhiggs
aadd9df470 Add delay
adding 3s delay to allow cell voltage min/max to be read before transmit_can to stop false under/over cell voltage events.
2024-12-26 12:33:41 +13:00
josiahhiggs
b8e10c3b28 Update bool values 2024-12-26 10:36:33 +13:00
josiahhiggs
4f07290d17 Update bool values in datalayer and advanced battery 2024-12-26 10:35:48 +13:00
josiahhiggs
a113cd3093 Return to send 30ms message 2024-12-25 22:06:17 +13:00
josiahhiggs
7edba4efc6 Update TESLA-BATTERY.cpp 2024-12-25 21:38:58 +13:00
josiahhiggs
76efc1528f Update bool and battery2 2024-12-25 21:36:45 +13:00
josiahhiggs
931f99fb35 Update TESLA-BATTERY.cpp 2024-12-25 20:54:16 +13:00
josiahhiggs
c08cbb6689 Merge branch 'improvement/tesla-advanced-battery' of https://github.com/josiahhiggs/Battery-Emulator into improvement/tesla-advanced-battery 2024-12-25 20:25:03 +13:00
josiahhiggs
126ab438a7 Update TESLA-BATTERY.cpp
Change values that hold either a true/false could instead of being defined as:

static uint8_t battery_packCtrsOpenNowRequested = 0;

Instead be defined as:

static bool battery_packCtrsOpenNowRequested = false;
2024-12-25 20:14:05 +13:00
josiahhiggs
d07443f8be
Merge branch 'dalathegreat:main' into improvement/tesla-advanced-battery 2024-12-25 20:07:21 +13:00
lenvm
0199d01287 make MCP2515 and MCP2518FD unique, such that they can be used simultaneously 2024-12-24 22:07:10 +01:00
Daniel Öster
ad84b7e0f8 Make USER_SETTINGS more simplified 2024-12-24 00:22:33 +02:00
Daniel Öster
173091a7f3 Pre-commit fix 2024-12-23 16:10:58 +02:00
Daniel Öster
6535e96804
Merge branch 'main' into feature/bolt-ampera-battery 2024-12-23 15:55:17 +02:00
Daniel Öster
5faf6c1a9e Add TODOs to .cpp file 2024-12-23 15:53:35 +02: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
Daniel Öster
ce2b714d30 Restore Async lib, implement Mutex locking 2024-12-23 15:35:38 +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
Daniel Öster
11752833c5
Change to use regen allowed value 2024-12-22 11:46:53 +02:00
josiahhiggs
ad215a0a06 Factoring changes 2024-12-22 18:35:48 +13:00
josiahhiggs
6d96808de4 factoring changes 2024-12-22 18:35:12 +13:00
josiahhiggs
f55cad92f1 Update advanced_battery_html.cpp 2024-12-22 16:29:06 +13:00
josiahhiggs
fcedc4bb73 Update advanced_battery_html.cpp 2024-12-22 16:28:40 +13:00
rha
605f416954 Merge fix 2024-12-21 22:29:50 +02:00
rha
b12480b6af Merge branch 'main' into feature/bmw-sbox 2024-12-21 22:24:20 +02:00
rha
fe24c195c7 sbox merge cleanup 2024-12-21 20:32:27 +02:00
rha
f85de389c3 sbox merge cleanup 2024-12-21 20:27:20 +02:00