Commit Graph

2180 Commits

Author SHA1 Message Date
Bernhard Kirchen
c106224052 logging: centralize rate limiting 2025-08-19 18:53:08 +02:00
Bernhard Kirchen
20003a0f92 syslog: implement rate limiting
enabling a lot of logging messages, e.g., by setting verbose as the
default level, can make the system unresponsive if syslogging is
enabled. to protect against this, a rate limiting algorithm is
implemented in the syslogger.
2025-08-19 18:52:44 +02:00
Bernhard Kirchen
5ba3446ad4 Fix: make logging more leightweight using large shared buffer 2025-08-19 18:52:17 +02:00
Bernhard Kirchen
3e3879f9af MessageOutput does not use LOG macros by itself 2025-08-19 18:51:24 +02:00
Thomas Basler
1000e55261 Upgrade ESP32Async/ESPAsyncWebServer from 3.7.9 to 3.7.10 2025-08-07 20:58:41 +02:00
Thomas Basler
905acecb43 webapp: Update dependencies 2025-08-07 20:54:30 +02:00
Thomas Basler
8cab3335f3 BREAKING CHANGE: WebAPI endpoint /api/limit/config requires different parameters
Due to the fact that different inverters require different type identifiers in the backend the `limit_type` parameter was changed to numbers from 0 to 3.
* AbsolutNonPersistent = 0
* RelativNonPersistent = 1
* AbsolutPersistent = 2
* RelativPersistent = 3
2025-08-07 20:44:45 +02:00
Thomas Basler
32ef10e082 Add Yarn Prettier badge to readme 2025-07-11 23:58:57 +02:00
Thomas Basler
077e11dfe0 webapp: Update node dependency 2025-07-08 21:57:11 +02:00
Thomas Basler
75de03571c Use fixed version of AsyncTCP 2025-07-08 20:43:43 +02:00
Thomas Basler
cbcb6797d0 Upgrade ESP32Async/ESPAsyncWebServer from 3.7.7 to 3.7.9 2025-07-08 20:43:03 +02:00
Thomas Basler
cdfc8abf97 Update bblanchon/ArduinoJson from 7.4.1 to 7.4.2 2025-07-08 20:39:37 +02:00
Thomas Basler
9ae90d82dd Upgrade olikraus/U8g2 from 2.36.5 to 2.36.12 2025-07-08 20:37:46 +02:00
Thomas Basler
6bcaf676b8 Merge branch 'pr2675' into dev 2025-07-08 20:30:07 +02:00
Thomas Basler
5f8d554667 Merge branch 'pr2713' into dev 2025-07-08 20:29:28 +02:00
Thomas Basler
6322a361bc webapp: Update dependencies
This also increases the used node version from 22 to 24
2025-07-07 23:24:34 +02:00
Thomas Basler
c3b73877ce Add serial number prefix 114a to HMS_2CH
Fixes #2741
2025-06-26 22:55:09 +02:00
Thomas Basler
34af70bfa3 webapp: Update dependencies 2025-06-09 15:30:00 +02:00
Bernhard Kirchen
c5d90d0c53 webapp: apply solarized-dark colors to web console 2025-06-09 15:22:58 +02:00
Andreas Böhm
99e6930108 webapp: fix: return log level for more than 5 modules 2025-06-09 15:21:36 +02:00
Bernhard Kirchen
a1c67900c3 webapp: translate logging modules in admin view 2025-06-09 15:21:20 +02:00
Bernhard Kirchen
5c89460e14 do not derive MessageOutput from Print
force us to use ESP_LOGx macros to log messages. print*() functions are
no longer available through MessageOutput.
2025-06-09 15:19:37 +02:00
Bernhard Kirchen
466f584737 MessageOutput: remove redundant #include 2025-06-09 15:19:12 +02:00
Bernhard Kirchen
1300098e78 remove downstream-specific task translations
these tasks are not part of OpenDTU, but OpenDTU-OnBattery.
2025-06-08 11:04:23 +02:00
Thomas Basler
27d28090d5 Fix: Dont allow HA base topic without trailing slash 2025-05-20 19:44:59 +02:00
Bernhard Kirchen
4e0685ea13 Fix: typo in logging tag of PinMappingClass 2025-05-16 21:22:59 +02:00
Fabian Hassel
64493b7775 Fix: Corrected typo in string 2025-05-12 22:16:01 +02:00
Thomas Basler
648d9594b2 Added missing breaking change to README.md 2025-05-10 13:57:52 +02:00
Thomas Basler
3f01b8d4b7 webapp: add app.js.gz v25.5.10 2025-05-10 13:22:41 +02:00
Thomas Basler
863b210c0c webapp: Update dependencies 2025-05-10 13:19:46 +02:00
Thomas Basler
6bd9cce559 Apply code formatting 2025-05-04 16:26:54 +02:00
Thomas Basler
7735c672af Fix vector reservation for logging modules 2025-05-04 16:26:54 +02:00
Thomas Basler
1a7381d0b9 webapp: Auto hide alert if response was success 2025-05-04 16:26:54 +02:00
Thomas Basler
714b1cf261 webapp: Use object notation for all alerts 2025-05-04 16:26:54 +02:00
Thomas Basler
20ec93a710 webapp: Make all styles scoped 2025-05-04 16:26:54 +02:00
Thomas Basler
98675263b6 Fix: Prevent crash when performing a lot of inverter edits
On every edit the whole HA MQTT gets published. This leads to a memory issue when saving quite often without any delay in between. The patch only send config updates every 60 seconds and adds several yield() calls.
This should also fix the crash when saving the network config very often.
2025-05-04 16:26:54 +02:00
Thomas Basler
cfe78f7700 Fix: Allow negative reactive power for inverters..
Fix #2091
2025-05-04 16:26:54 +02:00
Thomas Basler
5cea5439c9 webapp: Update dependencies 2025-05-04 16:26:54 +02:00
0lini
c307cc8a7f webapp: German locale: be informal 2025-05-04 16:26:54 +02:00
0lini
4c3470a666 webapp: fix broken reference in locales 2025-05-04 16:26:54 +02:00
0lini
46c304568f webapp: German locale: improvements and typo fixes 2025-05-04 16:26:54 +02:00
Thomas Basler
4099347a43 webapp: Add additional filter possibilities to console view 2025-05-04 16:26:27 +02:00
Bernhard Kirchen
95106e4488 Fix: motivate browsers to reload web app resources
by mangling the Git commit hash into the MD5 hash of all web application
resource's ETag headers, we ensure that index.html is essentially
invalidated in the browser's cache, even if the actual content is the
same between firmware versions. this hopefully makes the browser
recognize that it has to reload app.js in particular.
2025-05-04 16:26:27 +02:00
Thomas Basler
cb73af73e7 webapp: Make css for home view only available for home view 2025-05-04 16:26:27 +02:00
Thomas Basler
a1b2ea7a76 webapp: Add hint text for the core log level 2025-05-04 16:26:27 +02:00
Thomas Basler
bb800a1dac Apply log level only for facilities which are available for configuration 2025-05-04 16:26:27 +02:00
Thomas Basler
1b640751a5 Upgrade ESP32Async/ESPAsyncWebServer from 3.7.6 to 3.7.7 2025-05-04 16:26:27 +02:00
Thomas Basler
c9f6932b6d Update bblanchon/ArduinoJson from 7.3.1 to 7.4.1 2025-05-04 16:26:27 +02:00
Thomas Basler
e1f00fd7f5 webapp: Update dependencies 2025-05-04 16:26:27 +02:00
Thomas Basler
a397f57f90 CPU temperature: make boolean value human-readable in serial log 2025-05-04 16:26:27 +02:00