Commit graph

1981 commits

Author SHA1 Message Date
Daniel Öster
56d5d1efab
Update Software.ino 2025-02-09 12:07:55 +02:00
Daniel Öster
5687d3bf43
MEB: Add CRC checking on incoming CAN messages (#850)
* Add CRC checking on incoming CAN messages
- Address input to vw_crc_calc must be 32 bits
- Fix printf for unknown checksum request
- Add debug printf if checksum not correct
---------

Co-authored-by: mvgalen <marijnvangalen@gmail.com>
2025-02-08 13:47:41 +01:00
Daniel Öster
cd6479cfcf
Merge pull request #860 from dalathegreat/bugfix/pylon-comp-error
Pylon: Fix compilation error when using SET_30K_OFFSET
2025-02-07 23:34:38 +03:00
Daniel Öster
5891f5d7bb Make 2nd battery PID poll work 2025-02-07 22:01:55 +02:00
Daniel Öster
0114e84e82 Add separate 200 handler for second battery 2025-02-07 21:26:02 +02:00
Daniel Öster
4a74f9b281 Fix compilation error when using SET_30K_OFFSET 2025-02-07 18:51:38 +02:00
Matt Holmes
ede997e8f3
Merge pull request #854 from dalathegreat/bugfix/tesla-rampdown-power
Tesla S/3/X/Y: Update rampdown power
2025-02-05 22:02:58 +00:00
Daniel Öster
ad011b9111
Merge pull request #858 from gwk1/kostal_crc_and_byte_scrambling
Kostal inverter crc and byte scrambling rewritten
2025-02-05 23:47:18 +03:00
rha
8180dc5d60 some minor fixes 2025-02-05 21:16:18 +02:00
Daniel Öster
745e5bdf8a
Merge pull request #851 from dalathegreat/feature/automatic-precharge
Add event for large temperature difference in battery
2025-02-05 18:14:23 +03:00
rha
bc5823865e kostal inverter crc and byte scrambling rewritten 2025-02-05 16:29:51 +02:00
Marijn van Galen
65f16b4c69
take absolute value of temp difference 2025-02-05 10:02:42 +01:00
Daniel Öster
dfbaffb000
Merge pull request #856 from dalathegreat/feature/bmw-ix-support
iX Battery Type - Send BMS Reset at startup
2025-02-05 11:59:36 +03:00
wjcloudy
c2a8137143 Send BMS Reset at startup
Previously if BMS was already in error state at battery emulator it will fail to auto reset.
2025-02-04 22:56:11 +00:00
Marijn van Galen
3def2fe5ed
Change error to warning as agreed. 2025-02-04 22:04:06 +01:00
Daniel Öster
f4c19010f5 Pre-commit fix 2025-02-04 21:24:00 +02:00
Daniel Öster
037e60c2d9
Update rampdown power 2025-02-04 21:20:26 +02:00
mvgalen
36ab214ecf Fix code formatting. 2025-02-04 10:45:56 +01:00
mvgalen
d678ea1981 Add event for large temperature difference in battery 2025-02-04 08:45:39 +01: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
21bcf3cf00
Update Software.ino 2025-02-03 22:08:20 +02:00
Daniel Öster
a91d02e62a Update ESPAsyncWebServer from 3.6.0 to 3.6.2 2025-02-03 12:42:37 +02:00
Daniel Öster
2939944d50
Update version number for release 2025-02-02 13:56:42 +03:00
Matt Holmes
f807890b28 Add warning event if SD card fails to initialize 2025-02-02 09:49:04 +00:00
James Brookes
e4a2aa6e9a Fix USER_SERTTINGS.h typo in error message 2025-02-01 12:36:24 +00:00
James Brookes
bec9b04255 Fix for compilation errors in mqtt due to HA_AUTODISCOVERY 2025-02-01 10:59:06 +00:00
greenoem
5cff02d8e3
Merge branch 'dalathegreat:main' into main 2025-02-01 10:09:24 +00:00
Daniel Öster
3fb6e058cb
Add FoxESS support (#830) 2025-02-01 10:23:22 +01:00
Daniel Öster
451d767530
Merge pull request #840 from dalathegreat/bugfix/Atto3-temperature
BYD Atto 3: Change temperature reading + code cleanup
2025-02-01 12:03:26 +03:00
Daniel Öster
6401001bee
Pylon: Map cellvoltage min/max to array to make mqtt work (#841) 2025-02-01 10:00:23 +01:00
Daniel Öster
2d49aaf7f8 Change temperature reading. Code cleanup 2025-01-31 23:14:35 +02:00
James Brookes
2e31739799 Fix for compilation errors in mqtt.cpp when HA_AUTODISCOVERY is commented out 2025-01-31 17:27:05 +00:00
Matt Holmes
42b1c18d01 Adding mqtt QoS config setting with a default of 0 and updating platformio to use 3.1.1 2025-01-30 21:26:01 +00:00
Daniel Öster
205605dc45
Merge pull request #818 from josiahhiggs/tesla-bugfixes
Tesla bugfixes
2025-01-27 23:34:07 +03:00
Daniel Öster
30b105ccc9
Merge pull request #826 from dalathegreat/improvement/ampera-bolt-IDs
Improvement: Add more CAN findings for Bolt-Ampera integration
2025-01-27 23:29:11 +03: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
Marijn van Galen
39ce5e1afd
Small comment fix. 2025-01-27 21:04:25 +01:00
josiahhiggs
23a728bf62 Update advanced_battery_html.cpp 2025-01-28 06:50:43 +13:00
Daniel Öster
8f6d583468
Improvement: Make CAN events more readable (#823)
* Rename CAN events to make them simpler to debug

* Add buffer full check for MCP2515

* Add charger CAN missing event
2025-01-27 17:35:53 +02:00
Daniel Öster
0d2606e9ad Add more CAN findings for Bolt-Ampera integration 2025-01-27 16:26:16 +02:00
josiahhiggs
292d7df8c9
Merge branch 'dalathegreat:main' into tesla-bugfixes 2025-01-27 10:51:44 +13:00
josiahhiggs
3acb810077 Update advanced_battery_html.cpp
Revert back to static const char* due to compile issues
2025-01-27 10:38:29 +13:00
Daniel Öster
49d2bffe11
Update Software.ino to signal dev 2025-01-26 12:31:16 +02:00
josiahhiggs
87ac87cbf0
Merge branch 'dalathegreat:main' into tesla-bugfixes 2025-01-26 23:12:31 +13:00
josiahhiggs
d57d85322b formatting 2025-01-26 22:41:31 +13:00
josiahhiggs
dbb5cc6fc5 update
Remove inline from TESLA-BATTERY.h to advanced battery
2025-01-26 22:40:49 +13: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
08181cc37d format 2025-01-26 21:15:44 +13:00
josiahhiggs
e994b5109f Update advanced_battery_html.cpp
Update additional Strings to inline function names.
2025-01-26 21:15:26 +13:00