Commit graph

477 commits

Author SHA1 Message Date
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
Daniel Öster
e6d53d6df5 Enable task watchdogs 2025-02-14 17:26:55 +02:00
Daniel Öster
8ecea1c309
Feature: Add charging/discharging limiting reason to Webserver (#874)
* Add limiting reason to Webserver

* Add info if settings limit charge/discharge power
2025-02-13 20:06:18 +01:00
Daniel Öster
641356622e
Merge pull request #857 from M4GNV5/feat/daly-rs485
New Battery: Daly SmartBMS Support
2025-02-12 17:49:55 +03:00
mvgalen
fe5541a639 Merge remote-tracking branch 'origin/main' into feature/automatic-precharge 2025-02-11 16:11:21 +01:00
mvgalen
c07aa7f950 Events should be initialised before everything that can generate an event. 2025-02-11 16:07:40 +01:00
Daniel Öster
fee857f2ab
Update Software.ino 2025-02-09 12:15:52 +02:00
Daniel Öster
56d5d1efab
Update Software.ino 2025-02-09 12:07:55 +02:00
laughingguffly
e84f73709d merge with main branch 2025-02-08 21:39:34 +00:00
laughingguffly
b75d5fb20f add PERIODIC BMS RESET Events 2025-02-08 14:40:09 +00:00
laughingguffly
c4eae97cda add BMS RESET event 2025-02-07 20:43:12 +00:00
Jakob Löw
5de2af3bdf
🚧 initial version of talking to DALY BMS via RS485 2025-02-05 08:58:36 +01:00
laughingguffly
401a4eb90c bms reset at 2025-02-03 21:29:43 +00:00
Daniel Öster
21bcf3cf00
Update Software.ino 2025-02-03 22:08:20 +02:00
laughingguffly
e3aa09a0a1 include ntp_time only on for bmsresetat 2025-02-03 14:16:32 +00:00
laughingguffly
e064a04a52 set the bmsResetTimeOffset intial value. This ensures bms reset will fall back to just resetting 24 hours after emulator starts if NTP fails or user doesnt set BMS-RESET-AT 2025-02-03 12:46:08 +00:00
Daniel Öster
2939944d50
Update version number for release 2025-02-02 13:56:42 +03:00
Daniel Öster
49d2bffe11
Update Software.ino to signal dev 2025-01-26 12:31:16 +02:00
Daniel Öster
759cfcf0bf
Update software version number 2025-01-26 09:47:51 +02:00
Daniel Öster
ffe583d551
Move global charger variables to datalayer (#810) 2025-01-21 09:09:03 +01:00
Daniel Öster
f0dfa67dde
Update version number to signal dev 2025-01-19 16:40:38 +03:00
Daniel Öster
a6a0f8219c
Update version number for release 2025-01-19 16:11:36 +03:00
mvgalen
9410b8732b Changes due to review comments
- Split bms_status (system status) to real_bms_status (bms status)
- Put #ifdef DEBUG_LOG around all log calls.
- Do not update bms_status (system status) directly, fire event instead from automatic precharge control
- Add Battery BMS status to webserver for MEB battery type only
2025-01-14 22:26:31 +01:00
mvgalen
fbd9fe6900 Merge remote-tracking branch 'origin/main' into feature/automatic-precharge 2025-01-14 08:40:24 +01:00