Bernhard Kirchen
ebb225f6c0
Fix: avoid deprecated setAuthentication() to fix memory exhaustion
...
with ESPAsyncWebServer 3.3.0, the setAuthentication() method became
deprecated and a replacement method was provided which acts as a shim
and uses the new middleware-based approach to setup authentication. in
order to eventually apply a changed "read-only access allowed" setting,
the setAuthentication() method was called periodically. the shim
implementation each time allocates a new AuthenticationMiddleware and
adds it to the chain of middlewares, eventually exhausting the memory.
we now use the new middleware-based approach ourselves and only add the
respective AuthenticatonMiddleware instance once to the respective
websocket server instance.
a regression where enabling unauthenticated read-only access is not
applied until reboot is also fixed. all the AuthenticationMiddleware
instances were never removed from the chain of middlewares when calling
setAuthentication("", "").
2024-09-30 15:16:30 +02:00
Thomas Basler
3a7295c341
Merge branch 'pr2311' into dev
2024-09-28 10:45:09 +02:00
LennartF22
69d2727106
Add device profiles for OpenDTU Fusion v2 PoE with displays
2024-09-28 02:42:31 +02:00
LennartF22
cafdb305a3
Adjust name of OpenDTU Fusion v2 PoE build environment
2024-09-28 02:37:09 +02:00
LennartF22
b05975b97c
Prevent warning on GPIO ISR service registration
2024-09-28 02:26:40 +02:00
LennartF22
251bb7bd89
Add connection check for W5500 before full initialization
2024-09-28 02:26:36 +02:00
Bernhard Kirchen
6f9ded5f20
issue template: fix typo
2024-09-28 02:02:44 +02:00
Thomas Basler
b206cee820
webapp: add app.js.gz
2024-09-28 00:52:28 +02:00
Thomas Basler
759f899620
webapp: Update dependencies
2024-09-28 00:50:57 +02:00
Thomas Basler
d758a347eb
Update espressif32 from 6.8.1 to 6.9.0
2024-09-27 19:36:52 +02:00
Thomas Basler
0fcf6061c1
Added required include to work with IDF 5
2024-09-27 18:30:44 +02:00
Thomas Basler
8b05bd22b5
Take care of different signature of ETH.begin method in Arduino Core 3.x
2024-09-27 18:27:26 +02:00
Thomas Basler
b85e0ab574
Add default values for ethernet pins in case they are not defined for a specific board
2024-09-27 17:35:33 +02:00
Thomas Basler
b43383007a
Rename NetworkEventCb to DtuNetworkEventCb to prevent further upgrade issues
2024-09-27 17:32:28 +02:00
vaterlangen
d770566aec
increase chunkSizeWarningLimit for webapp build ( #1287 )
...
increase from 500k (default) to 1024k in order to get rid of the warning messages.
2024-09-26 21:31:53 +02:00
Thomas Basler
12b9542f72
Added device profile for OpenDTU Fusion v2 PoE
2024-09-26 20:15:19 +02:00
Thomas Basler
a18e298cdd
Apply automatic code formatting
2024-09-26 19:22:30 +02:00
Thomas Basler
7746d01fc0
Apply license headers and automatic code formatting to SpiManager
2024-09-26 18:47:27 +02:00
Thomas Basler
326525c961
Merge branch 'pr2306' into dev
2024-09-26 18:34:07 +02:00
Thomas Basler
355900743d
webapp: add app.js.gz
2024-09-26 18:21:16 +02:00
Thomas Basler
818fdc42c9
Simplify inverter handling
2024-09-26 18:17:11 +02:00
Thomas Basler
595b153bbf
Simplify network callback handling
2024-09-26 18:08:48 +02:00
Thomas Basler
cc7145361e
webapp: Update dependencies
2024-09-26 18:01:59 +02:00
Thomas Basler
8db267b21a
webapp: Apply auto format
2024-09-26 18:00:30 +02:00
Thomas Basler
8e26ef4e2e
Fix: Only count RF RX packets when packets where sent
...
This mainly occours after a reset of the statistics that receive count is higher then transmit count
2024-09-26 17:45:34 +02:00
Thomas Basler
67cae68e83
GitHub Build Action: Automatically generate littlefs image
...
If a data directory exists, the content of this directory will be placed in the littlefs image and embedded into the factory.bin file
2024-09-26 17:43:07 +02:00
Thomas Basler
468cbad4f3
Upgrade github actions/checkout to v4
2024-09-25 21:53:30 +02:00
Thomas Basler
d69a43373e
Slight adjustments to github bug_report template
2024-09-25 21:49:38 +02:00
Thomas Basler
155735c828
Embed current branch into building process
2024-09-25 21:46:38 +02:00
Thomas Basler
0847f021f1
webapp: Update dependencies
2024-09-25 20:21:24 +02:00
Thomas Basler
9b565596d5
Feature: Allow reset of radio statistics via WebApp
2024-09-25 20:18:36 +02:00
LennartF22
31cf756a7e
Only use a single SPI device for CMT
2024-09-25 00:37:06 +02:00
LennartF22
36da830f96
Use shared SPI bus for CMT and W5500
2024-09-25 00:37:06 +02:00
LennartF22
5457db269c
Use SpiManager for nRF, CMT and W5500
2024-09-25 00:37:06 +02:00
LennartF22
ece4520687
Add Arduino SPI translation
2024-09-25 00:37:06 +02:00
LennartF22
1a583e765d
Change cmt_spi3 implementation from C to C++
2024-09-25 00:37:06 +02:00
LennartF22
4364daf54c
Optimize CMT FIFO access
2024-09-25 00:37:06 +02:00
LennartF22
9b9c1e29f1
Add SpiManager library
2024-09-25 00:37:06 +02:00
LennartF22
851190dbcc
Implement W5500 support
2024-09-25 00:37:03 +02:00
LennartF22
992e174bb2
Remove unnecessary delays
2024-09-25 00:31:05 +02:00
LennartF22
ec47e8978f
Fix cs_ena_posttrans calculation
2024-09-25 00:31:05 +02:00
LennartF22
a02ad8b52c
Remove unnecessary CMT SPI inversions
2024-09-25 00:31:05 +02:00
Thomas Basler
d3903d8602
MQTT Hass: Implement method to add common metadata to json output
2024-09-24 23:23:08 +02:00
Thomas Basler
2230850201
MQTT Hass: Implement device class as enum instead of String
2024-09-24 22:55:18 +02:00
Thomas Basler
bb4be0bbf7
MQTT Hass: Implement category as enum instead of String
2024-09-24 22:38:52 +02:00
Thomas Basler
2fb026074a
Feature: Publish YieldTotal, YieldDay and Power of all inverters to Home Assistant
2024-09-24 22:16:17 +02:00
Thomas Basler
01e43777d2
MQTT Hass: Append dtu prefix topic for each single sensor
2024-09-24 22:04:07 +02:00
Thomas Basler
2213ad7bce
MQTT Hass: Move serialization and allocation check into own method
2024-09-24 21:47:56 +02:00
Thomas Basler
9a318d5170
MQTT Hass: Reorder defines
2024-09-24 20:47:43 +02:00
Thomas Basler
c699f1b487
MQTT Hass: Add device_type and category to publishInverterBinarySensor
2024-09-24 20:45:55 +02:00