Bernhard Kirchen
da9fb13079
webapp: pin assignment: hide unsupported pins
...
if the pin_mapping.json includes unsupported pins, e.g., `eth` pins on
an ESP32-S3, the whole category should still be hidden in the device
manager.
2024-10-06 22:37:05 +02:00
Bernhard Kirchen
d6d5f32329
webapp: pin assignment: hide unsupported pins
...
if the pin_mapping.json includes unsupported pins, e.g., `eth` pins on
an ESP32-S3, the whole category should still be hidden in the device
manager.
2024-10-06 21:55:23 +02:00
Bernhard Kirchen
ee54bebd0b
webapp: address eslint issues
2024-10-06 21:34:32 +02:00
Bernhard Kirchen
b2913f24d3
Merge upstream tag 'v24.10.6' into development
2024-10-06 21:21:26 +02:00
Bernhard Kirchen
d9b9e8a7fc
Huawei CAN: use SpiManager to claim SPI bus ( #1311 )
2024-10-06 20:50:33 +02:00
Thomas Basler
b7f830f64e
webapp: add app.js.gz
2024-10-06 18:43:06 +02:00
Thomas Basler
90ea73b2ba
Upgrade ESPAsyncWebServer from 3.3.11 to 3.3.12
2024-10-06 18:40:36 +02:00
Thomas Basler
eaa2f07cf3
Merge branch 'pr2333' into dev
2024-10-06 11:46:00 +02:00
Thomas Basler
b5ca2cfd21
Fix: "Equal brightness" in LED settings does not work correctly
...
fixes : #2332
2024-10-06 11:39:09 +02:00
Thomas Basler
2659204d96
Initialize the last rssi value with -127 instead of 0 to indicate a non existing connection of no data was received yet
2024-10-06 11:08:10 +02:00
LennartF22
6d048ae01d
Remove EMAC related code for devices that don't have one
2024-10-06 03:08:58 +02:00
CommanderRedYT
d3d96b51ce
webapp: Fix eslint issues
2024-10-05 23:33:23 +02:00
Thomas Basler
4cd5d79c73
webapp: add app.js.gz
2024-10-05 22:14:14 +02:00
Thomas Basler
2c10e2510b
webapp: Update dependencies
2024-10-05 22:12:49 +02:00
Thomas Basler
8f4b89a193
Replace format strings by platform independent macros
2024-10-05 00:50:13 +02:00
Thomas Basler
7dac96810f
Rename NetworkEventCbList_t to DtuNetworkEventCbList_t for further upgrades
2024-10-04 23:02:12 +02:00
Thomas Basler
10b97fabb4
webapp: Update dependencies
2024-10-04 18:59:01 +02:00
Thomas Basler
d5abdc6d74
Upgrade ESPAsyncWebServer from 3.3.7 to 3.3.11
2024-10-04 18:44:23 +02:00
Thomas Basler
edfe06e31e
Feature: Show RSSI of last received packet in radio stats
...
The value is also published via MQTT
2024-10-04 17:36:17 +02:00
Thomas Basler
0c2b6f1a61
Fix: Add state_class to several Home Assistant sensors
...
state_class was added to yieldtotal, yieldday ac power and temperature for the whole dtu
closes : #2324
2024-10-02 18:13:12 +02:00
Thomas Basler
68793001a2
Merge branch 'pr2323' into dev
2024-10-02 11:50:43 +02:00
Thomas Basler
5040636aa2
Merge branch 'pr2322' into dev
2024-10-02 11:50:08 +02:00
mbo18
9df3e30bb2
Remove unused DEVICE_CLASS_TEMP
2024-10-02 11:02:52 +02:00
mbo18
38b5807ef7
Remove icon because device_class is set
2024-10-02 10:44:43 +02:00
Thomas Basler
2234ac9703
Upgrade ESPAsyncWebServer from 3.3.1 to 3.3.7
2024-10-02 10:32:58 +02:00
Bernhard Kirchen
1812e6eb6a
Fix: prevent unauthorized access to OnBattery websockets
...
it turns out that authentication was never implemented on
OpenDTU-OnBattery-specific websocket connections. found while
applying https://github.com/tbnobody/OpenDTU/pull/2320
2024-09-30 22:26:31 +02:00
Bernhard Kirchen
185ac36282
Merge upstream tag 'v24.9.30' into development
2024-09-30 21:34:17 +02:00
Bernhard Kirchen
cbad181b99
Revert "Feature: SPIPortManager allows simultaneous use of CMT2300 and Huawei charger"
...
This reverts commit df53f34b51 .
2024-09-30 21:07:05 +02:00
Bernhard Kirchen
0a289bbcab
Revert "Feature: Support for W5500 ethernet module ( #1231 )"
...
This reverts commit 89d9a40296 .
2024-09-30 20:59:22 +02:00
Bernhard Kirchen
a89c1fa45a
Revert "Fix: device profile for OpenDTU Fusion with W5500 ( #1259 )"
...
This reverts commit 27f5a943f6 .
2024-09-30 20:56:57 +02:00
Thomas Basler
99a37fe01c
webapp: Update dependencies
2024-09-30 18:47:41 +02:00
Thomas Basler
aa5087cc8a
Merge branch 'pr2320' into dev
2024-09-30 16:02:58 +02:00
Bernhard Kirchen
d5d1a9982f
Fix: force websocket clients to authenticate
...
when changing the security settings (disabling read-only access or
changing the password), existing websocket connections are now closed,
forcing the respective clients to authenticate (with the new password).
otherwise, existing websocket clients keep connected even though the
security settings now expect authentication with a (changed) password.
2024-09-30 15:54:55 +02:00
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
Bernhard Kirchen
d0ba065f70
webapp: optimize syslog settings
...
* avoid duplicate id for hostname input
* hide server and port inputs if syslog disabled
2024-09-28 21:36:31 +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
Bernhard Kirchen
aa159fd8ee
prevent actions from running twice when pushing to PRs
2024-09-27 20:45:04 +02:00
Bernhard Kirchen
5d8bb8f810
Merge upstream tag 'v24.9.26' into development
2024-09-27 20:07:53 +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