Commit graph

1966 commits

Author SHA1 Message Date
Jakob Löw
dfa7d175a1
🐛 fix value scaling errors in pylon-lv-can inverter protocol 2025-02-07 19:46:41 +01:00
Jakob Löw
25edffb125
🐛 fix daly bms data conversion, baud rate and packet format after successfull real world tests 2025-02-07 19:44:29 +01:00
Jakob Löw
1f5bcde8aa
🐛 fix compilation bugs with daly bms 2025-02-05 08:58:40 +01:00
Jakob Löw
5de2af3bdf
🚧 initial version of talking to DALY BMS via RS485 2025-02-05 08:58:36 +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
Daniel Öster
759cfcf0bf
Update software version number 2025-01-26 09:47:51 +02: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
Marijn van Galen
a46c6f4a54
Fix remaining kwh value for SOLAX-CAN (#821)
Revert part of commit d8e1259eee to fix issue with remaining kwh being reported incorrectly in Solax cloud app.
2025-01-25 22:11:42 +01:00
Daniel Öster
4e1c04d975
Bugfix: Nissan LEAF, move battery-allows-closing writing (#811)
* Move battery-allows-closing writing

* Move so contactor closing is allowed after we get a message from battery
2025-01-25 13:15:17 +01:00
Marijn van Galen
85c5cd81aa
Fix Solax CAN message contents (#819)
- Fix 1874 msg where remaining kwh was included instead of total kwh.
- Fix 1874 msg where actual min/max cell voltages were included instead of design min/max cell voltages
- Fix 1876 msg where actual min/max temperature were missing
- Fix 1878 msg where more bytes are available for total capacit3
- Fix 187E msg where remaining kwh was included instead of total kwh.
2025-01-25 13:13:07 +01:00
Daniel Öster
ae7b091306
Bugfix: Halt only CAN sending towards battery while BMS resetting (#814)
* Halt only CAN sending towards battery while BMSResetInProgress

* Move blocking to LEAF side to avoid OVERRUN events
2025-01-24 21:29:42 +01:00
Daniel Öster
3381f0abf9
Feature: Add support for Double Kia-Hyundai 64/40kWh batteries (#816)
* Add support for Double Kia64 batteries

* Make so second battery can only join if voltages match
2025-01-24 16:47:50 +01:00
Daniel Öster
275eaa9be8
Improvement: Replace use of deprecated functions and improve compilation warnings (#817)
* Change deprecated Send_P to send function

* Fix compilation warnings in Wifi files

* Change warnings into compilation errors

* Add -Wall -Wextra -Wpedantic -Werror to github actions
2025-01-24 16:40:08 +01:00
josiahhiggs
19cd5c52ac Update advanced_battery_html.cpp 2025-01-24 18:10:42 +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
854e9093fd
Move Tesla LFP option to USER_SETTINGS, rearrange USER_SETTINGS (#806) 2025-01-21 09:12:39 +01: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