Commit Graph

2136 Commits

Author SHA1 Message Date
Thomas Basler
e71796d451 Hoymiles Lib: Move array dumping methods in separate method 2025-04-18 11:00:13 +02:00
Thomas Basler
cb1ecd812c Hoymiles Lib: Replace lot of println by printf 2025-04-18 11:00:13 +02:00
Thomas Basler
3addcc2758 Use more thread save Message Output
Thanks to OnBattery!
2025-04-18 11:00:13 +02:00
Thomas Basler
82985d0bb2 Remove outdated screenshots as they are available in the official documentation as well 2025-04-10 18:48:31 +02:00
Thomas Basler
163a32154c Fix typo 2025-04-10 18:45:36 +02:00
Thomas Basler
5019e8e64f Show git branch name in system info
Thanks to OnBattery
2025-04-10 18:40:59 +02:00
Thomas Basler
f0db2a51da webapp: add app.js.gz v25.4.10 2025-04-10 18:18:35 +02:00
Thomas Basler
897dad39a6 Give reconnect more time
Try to fix maybe unresponseable APs
2025-04-10 18:17:21 +02:00
Thomas Basler
b88b66a42a webapp: Update dependencies 2025-04-10 18:16:50 +02:00
Thomas Basler
542e755c64 Remove not required parameters from MqttSubscribeParser
index and total are only required to handle different payload fragments. This is not done here. In a further step, the correct fragment handling will be implemented outside this library.
2025-04-09 19:36:46 +02:00
Thomas Basler
1f3f275689 Use correct signature for getMaxResendCount 2025-04-09 18:48:09 +02:00
Thomas Basler
f1efe21ba3 Make setLed method compatible with Arduino Framework 3 2025-04-09 18:44:05 +02:00
Thomas Basler
7e056ad3f9 Use the right format string on a lot of locations
This helps for a future support of arduino framework 3
2025-04-09 18:33:47 +02:00
Thomas Basler
80fb8c70f5 Slight optimization in bug report template 2025-04-09 17:39:05 +02:00
Thomas Basler
b70af57bd2 Merge branch 'pr2633' into dev 2025-04-09 17:15:54 +02:00
Peter Lieven
e6e1f3a42a feat(WebApi_prometheus.cpp): dynamically adjust the initial response buffer size
the current implementation allocates a 40kB buffer right from the start.
In most cases this is way too big. This patch dynamically learns the right
required size for the local setup and preallocates just as much space as needed.

Signed-off-by: Peter Lieven <pl@dlhnet.de>
2025-04-08 20:18:53 +00:00
Peter Lieven
e8a2d09906 fix: bump ESPAsyncWebServer to v3.7.6
after OpenDTU v24.9.30 was released there was a subtle change in the ESPAsyncWebServer
which changed the internal data structure for AsyncResponseStream from cbuf to StringStream.
This introduced WDT resets when scraping at least the prometheus API endpoint [1].
ESPAsyncWebServer v3.7.6 addresses this issue by reverting the data structure back to cbuf.

[1] https://github.com/tbnobody/OpenDTU/issues/2535

Signed-off-by: Peter Lieven <pl@dlhnet.de>
2025-04-08 20:18:48 +00:00
Bernhard Kirchen
c3ce0b8d9a Fix: DTU serial change not possible 2025-04-08 21:03:21 +02:00
Thomas Basler
014c12dbe4 webapp: Update dependencies 2025-04-07 18:12:21 +02:00
Thomas Basler
43ba95702e Initialize the dnsserver object in the constructor v25.4.4 2025-04-03 19:06:08 +02:00
Thomas Basler
39c23ebc64 webapp: Update dependencies 2025-04-03 17:45:31 +02:00
Thomas Basler
51b676be2f Fix lint errors 2025-04-02 18:15:29 +02:00
Thomas Basler
d61259bc56 webapp: add app.js.gz v25.4.2 2025-04-02 18:02:32 +02:00
Thomas Basler
6e1635d580 Updated all languages to latest status 2025-04-02 18:00:01 +02:00
Bernhard Kirchen
741e077e90 webapp: remove (more) colons from forms
we went for labels without colons through all settings forms. in the
inverter live view card and modals there were still some left.
2025-04-02 17:57:31 +02:00
Bernhard Kirchen
f4cc7c3979 webapp: beautify controls on web console view
* add margin to the bottom of the row containing the controls so the
  buttons would have some room to the textbox.
* align the text baselines of the checkbox label and the buttons as well
  as possible. align-items-baseline does not work as expected...
2025-04-02 17:57:14 +02:00
Thomas Basler
643dff1c5a Simplify code in radio classes 2025-03-31 19:25:02 +02:00
Thomas Basler
93e4ca8092 Call getLocalTime() only once to prevent a delay of 10ms if no time is available 2025-03-29 18:15:22 +01:00
Thomas Basler
192484ff28 Reduce nested code by one level 2025-03-29 16:55:47 +01:00
Thomas Basler
e2ba93aa4e webapp: Update dependencies 2025-03-29 15:45:53 +01:00
Thomas Basler
6bbd4a30a3 Added device profile for Olimex ESP32-POE and CMT2300A module
Thanks to @MPW1412 in #2465
2025-03-29 15:18:43 +01:00
Thomas Basler
e244b1ccb6 Simplify Display Graphic code 2025-03-26 17:35:30 +01:00
Thomas Basler
615f1448de Less calculation in locked code area 2025-03-22 14:51:36 +01:00
Thomas Basler
a17cf532d4 Simplify code of weekday calculation 2025-03-22 14:45:51 +01:00
Thomas Basler
3e22669031 Simiplify code for CommandQueue 2025-03-22 14:43:00 +01:00
Thomas Basler
84f13f93c7 Simplify code for sunset calculation 2025-03-22 14:25:53 +01:00
Thomas Basler
0934d1ba37 Upgrade ESP32Async/ESPAsyncWebServer from 3.7.3 to 3.7.4 2025-03-21 23:32:08 +01:00
Thomas Basler
fb34efcd44 webapp: show precise data age for inverters and introduce and use DataAgeDisplay component
thanks to @schlimmchen
2025-03-18 20:45:36 +01:00
Bernhard Kirchen
0b798056f3 Fix: disable temperature readings for ESP32-S3
reading the temperature is flawed and leads to unexpected reboots, which
we observed more and more often recently. since the user experience is
trash if the module resets unexpectedly from time to time, it seems to
be more important to prevent reboots where ever possible rather than
keeping the temperature readings.

closes #1708.
2025-03-18 20:07:02 +01:00
Bernhard Kirchen
3934284a6f Fix: web console: prevent concurrent websockets 2025-03-18 20:05:21 +01:00
Thomas Basler
2d412a0928 Upgrade olikraus/U8g2 from 2.36.4 to 2.36.5 2025-03-18 18:38:28 +01:00
Thomas Basler
ebd62a3cfd Update bblanchon/ArduinoJson from 7.3.0 to 7.3.1 2025-03-18 18:37:42 +01:00
Thomas Basler
9992cb8d6b Upgrade ESP32Async/ESPAsyncWebServer from 3.7.0 to 3.7.3 2025-03-18 18:36:52 +01:00
Thomas Basler
8f5365d2d3 webapp: Update dependencies 2025-03-18 18:31:07 +01:00
Thomas Basler
8e90399edd Fix: Disable SPI3_HOST with ESP32-S2 for SpiManager
SPI3_HOST seems not to work in combination with SpiManager when using an ESP32-S2. Therefor don't register this SPI channel
2025-02-14 22:56:59 +01:00
Thomas Basler
5d43ec4fe3 Move SpiManager registration into PinMapping class 2025-02-13 22:50:08 +01:00
Thomas Basler
136657c846 Change datatype for display pins from uint8_t to gpio_num_t
This also changes the behavior of undefined pins... They are now introduced as -1 (255 is still compatible)
2025-02-08 00:56:22 +01:00
Thomas Basler
328936dfa0 Move all display related initialization inside the display class 2025-02-08 00:41:16 +01:00
Thomas Basler
7907d23115 Make pinmapping variable const 2025-02-08 00:34:23 +01:00
Thomas Basler
8a227df4a7 Change datatype for eth pins from int to gpio_num_t 2025-02-08 00:30:48 +01:00