Commit graph

500 commits

Author SHA1 Message Date
Jaakko Haakana
c58d7a2b67 Eliminate some preprocessor define usage 2025-05-15 16:31:04 +03:00
Jaakko Haakana
637d7f7771 Add RS485 battery and inverter protocol base classes and refactor RS485/Modbus handling 2025-05-11 21:50:52 +03:00
Jaakko Haakana
517731c4c3 All chargers compiled 2025-05-10 06:50:15 +03:00
Jaakko Haakana
ff134571a4 Chargers have a base class 2025-05-09 19:25:36 +03:00
Daniel Öster
0c86309385
Update Software.ino 2025-05-08 21:13:52 +03:00
Daniel Öster
61e9979400
Update Software.ino 2025-05-07 22:28:17 +03:00
Daniel Öster
1c3471d013 Fix scaling logic for secondary battery 2025-05-05 20:51:24 +03:00
Daniel Öster
2d74454cca Reduce amount of millis() calls 2025-05-05 20:30:28 +03:00
Daniel Öster
f771c91117 Make scaling more robust 2025-05-05 20:27:01 +03:00
Daniel Öster
39daa3494f Fix startup crash when using Modbus inverter 2025-05-04 23:11:23 +03:00
Daniel Öster
c8de168435 Simplify can sending routine and perf check 2025-04-26 23:43:51 +03:00
Daniel Öster
c49912df36
Update Software.ino 2025-04-25 14:19:00 +03:00
Daniel Öster
dc5f4f52c0
Update Software.ino 2025-04-25 12:28:36 +03:00
Daniel Öster
a7e6eca69e
Update Software.ino 2025-04-13 14:07:30 +03:00
Daniel Öster
08e9568883
Update Software.ino 2025-04-13 12:29:16 +03:00
Daniel Öster
15fce9073b
Merge pull request #1040 from dalathegreat/feature/negative-SOC-scaling
Feature: Add negative SOC scaling 📉
2025-04-13 11:35:18 +03:00
Daniel Öster
50fbaf252d Add CPU temperature monitoring in Webserver 2025-04-12 19:06:41 +03:00
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
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
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
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
6a19c2fb22
Merge pull request #1009 from dalathegreat/bugfix/perf-web
Improvement: Code cleanup 🧹
2025-03-28 21:15:30 +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
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
Daniel Öster
87845665cd
Update Software.ino 2025-03-16 16:38:14 +02:00
Daniel Öster
0d58db6bfa
Update Software.ino 2025-03-16 15:43:48 +02:00
Daniel Öster
9a7b472462
Update Software.ino 2025-03-16 12:33:53 +02:00
Matt Holmes
d9167c3cc7 Moving mqtt loop to new task with lower priority than wifi and http to limit impact of mqtt load on wifi and http performance. 2025-03-09 18:33:14 +00:00
Daniel Öster
a50a20ca1c
Update Software.ino 2025-03-07 21:05:26 +02:00
Daniel Öster
a0c336879d
Update Software.ino 2025-03-07 20:57:04 +02:00
Daniel Öster
51b0e80132 Move millis() check into datalayer 2025-03-06 22:45:42 +02:00
Daniel Öster
873c5e249e Remove loop, simplify events section 2025-03-06 21:59:48 +02:00
Daniel Öster
d6e191bd7b
Update Software.ino 2025-03-04 21:27:54 +02:00
Daniel Öster
bee8b4dc95
Update Software.ino 2025-03-04 20:50:57 +02:00
Daniel Öster
2c0e5be5da Remove serial-link (double LilyGo) as an option 2025-03-04 10:15:15 +02:00
laughingguffly
6d5e25ff04 Merge branch 'main' of https://github.com/laughingguffly/Battery-Emulator into feature/bms_reset_at_with_ntp 2025-02-14 23:09:02 +00:00
Daniel Öster
77fb9d6b26
Update Software.ino 2025-02-15 00:19:11 +02:00
Daniel Öster
8b3b282a27
Update Software.ino 2025-02-14 23:36:32 +02:00
Daniel Öster
6012619869 Move back Wifi/logging tasks, so they can log properly 2025-02-14 17:37:45 +02:00