Commit graph

2258 commits

Author SHA1 Message Date
Daniel Öster
efabac4b8e Add negative SOC scaling 2025-04-06 21:26:04 +03:00
Daniel Öster
9a8c1f1f77
Merge pull request #1037 from dalathegreat/bugfix/crash-core1
Crash fix: Remove faulty DEBUG_LOG section
2025-04-06 20:30:07 +03:00
Daniel Öster
85d8b0abe0
Merge pull request #1031 from dalathegreat/refactor/webserver-checkboxes
Improvement: Performance and cleanup
2025-04-06 15:20:01 +03:00
Daniel Öster
d92d9d1fb6 Remove task_time_us from functions 2025-04-06 14:15:29 +03:00
Daniel Öster
4706765b9a Remove crashing code section 2025-04-06 14:01:57 +03:00
mvgalen
19cfd63d32 Merge remote-tracking branch 'origin/main' into improvement/meb 2025-04-06 11:11:03 +02:00
Daniel Öster
5b4433f5be Merge branch 'main' into refactor/webserver-checkboxes 2025-04-06 11:51:31 +03:00
pre-commit-ci[bot]
fddc3a6952 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-04-05 16:05:13 +00:00
Daniel Öster
f3bf511e85 Fix compilation warning from build system 2025-04-05 19:03:21 +03:00
mvgalen
70a08391b0 Add question mark for unknown values. 2025-04-05 14:45:37 +02:00
pre-commit-ci[bot]
b85be72e2b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-04-05 11:04:33 +00:00
Daniel Öster
4bb3fbd4d3 Add ifdefs to timing functions to save performance 2025-04-05 13:55:30 +03:00
mvgalen
43fbb84b8f Add welded contactors status to webpage 2025-04-02 10:28:21 +02:00
mvgalen
0e7bc7d2c4 Add missing break 2025-04-01 13:29:37 +02:00
Daniel Öster
5dcaa1c0fd
Update Software.ino 2025-03-28 22:31:30 +02:00
Daniel Öster
f4de60df7e
Update Software.ino 2025-03-28 22:00:03 +02:00
Daniel Öster
9eb29b4d23
Merge pull request #1014 from dalathegreat/feature/LED-performance
Cleanup: Minimize the Neopixel library
2025-03-28 21:58:22 +02:00
Daniel Öster
6a19c2fb22
Merge pull request #1009 from dalathegreat/bugfix/perf-web
Improvement: Code cleanup 🧹
2025-03-28 21:15:30 +02:00
Daniel Öster
ce935c545c
Merge pull request #1015 from dalathegreat/bugfix/tesla-pyro
Bugfix: Tesla, extend pyrofuse event check
2025-03-28 14:23:23 +02:00
Marijn van Galen
97c942e313
Add reported_total_capacity_Wh and use it for SOLAX. Cleanup scaled values on webpage (#1002)
* Add reported_total_capacity_Wh and soh to SOLAX messages.
* Improve display of scaled values on webpage.
* Additionally also improve display of temperatures, cell voltages and combine voltage and current on one line.
* Refactor formatPowerValue function.
2025-03-27 21:29:12 +01:00
Daniel Öster
ab15b59f3c Extend pyrofuse event check 2025-03-27 18:14:47 +02:00
Daniel Öster
63222b4c77
Merge pull request #967 from dalathegreat/feature/double-pylon
Feture: Add double Pylon battery support
2025-03-27 13:07:27 +02:00
Daniel Öster
162bad8142 Minimize the Neopixel library 2025-03-27 12:55:24 +02:00
Daniel Öster
024d8f273f
Merge pull request #1011 from lenvm/bugfix/fix-compile-error-renault-twizy
Fix compilation error Renault Twizy
2025-03-27 09:35:58 +02:00
lenvm
b6925554be fix compile error renault twizy 2025-03-26 23:33:56 +01:00
Daniel Öster
6f59924b4e
Revert "Update Adafruit_NeoPixel library to commit fd74287" 2025-03-26 23:55:28 +02:00
Daniel Öster
1bc69f7cd4 Revert "Revert adafruit neopixel library update"
This reverts commit 88f5240d00.
2025-03-26 23:54:26 +02:00
Daniel Öster
88f5240d00 Revert adafruit neopixel library update 2025-03-26 23:52:40 +02:00
Daniel Öster
70d0a80527 Further simplify profiling 10s task timers 2025-03-26 23:28:27 +02:00
Daniel Öster
f6ed91411a Simplify watchdog setup 2025-03-26 23:23:30 +02:00
Daniel Öster
18a0b39b2b Simplify pause_state function call 2025-03-26 23:14:55 +02:00
Daniel Öster
26ca984559 Remove reset comment block 2025-03-26 22:09:47 +02:00
Daniel Öster
3348d79f66 Simplify bms_status logging 2025-03-26 22:04:38 +02:00
Daniel Öster
5453115dc2 Move time measurement inside 10/1000ms blocks to save CPU 2025-03-26 21:17:41 +02:00
Daniel Öster
74d82173e8 Remove unnecessary variable for timekeeping 2025-03-26 21:06:02 +02:00
Daniel Öster
600ef3751e Remove unnecessary WDT init 2025-03-26 21:03:03 +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
Daniel Öster
02d2e518ba
Merge pull request #923 from dalathegreat/feature/egmp-soc-estimation
Feature: Kia eGMP, Add SOC estimation from cellvoltage min-max
2025-03-25 19:58:35 +02:00
Daniel Öster
0097775e97
Merge pull request #981 from dalathegreat/bugfix/solis-soc-paused
Bugfix: Separate Deye offgrid BYD CAN fixes to avoid Solis misbehaving
2025-03-25 15:41:26 +02:00
Daniel Öster
7698b52613
Merge pull request #989 from No-Signal/bugfix/mqtt_topic
MQTT Crash bugfix
2025-03-24 16:03:29 +02:00
Daniel Öster
0b691b3220
Merge pull request #986 from gwk1/inverter_allows
Kostal: Change how Inverter allows contactor closing
2025-03-21 23:02:40 +02:00
Matt Holmes
15b1543555 Updating mqtt topic processing to incorrect topic matching when a shorter topic than expected is used which in some situations could cause a crash 2025-03-21 17:10:47 +00:00
gwk1
cf7b06b4f7
Update KOSTAL-RS485.cpp 2025-03-21 10:10:35 +02:00
Marijn van Galen
e6a6ce9925
MEB: Improve MEB status output. (#983)
* Add 4 missing status outputs from battery to MEB more battery page.
BMS_fault_performance
BMS_fault_emergency_shutdown_crash
BMS_error_shutdown_request
BMS_error_shutdown
* Adds SOH calculation.
* Fixes: (hopefully) the capacity calculation from Ah to kWh.
* Only update capacity and soh if number of cells is set. Remove incorrect scaling on Wh_max.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-20 16:34:33 +01:00
gwk1
ff343d49c1
Merge branch 'dalathegreat:main' into inverter_allows 2025-03-19 07:38:33 +02:00
Daniel Öster
f4613ae2d4
Merge pull request #980 from dalathegreat/bugfix/growatt-CAN-load
Bugfix: Growatt HV: Refactor CAN sending to be performed in batches
2025-03-17 21:12:00 +02:00
Daniel Öster
ff842af0c3 Simplify ifdef for BYD_CAN_DEYE 2025-03-17 20:07:10 +02:00
pre-commit-ci[bot]
879d833511 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-03-17 17:11:08 +00:00
Daniel Öster
12323154b1 Update voltage estimation map with more points 2025-03-17 18:08:51 +02:00