Commit Graph

2898 Commits

Author SHA1 Message Date
Thomas Basler
e785904fca Fix: Restart was triggered before all website data was sent
This led to the effect that e.g. the confirmation messages where  not shown.

It is somehow related to ESPAsyncWebServer 3.3.0
2024-09-23 18:11:52 +02:00
Thomas Basler
5c460e26c9 Fix: Unable to CMT transmit power in WebApp
The pa_level was sent as string instead of a number.

fixes #2299
2024-09-23 17:57:29 +02:00
Thomas Basler
a3bd6dd7fb webapp: add app.js.gz 2024-09-22 19:01:43 +02:00
Thomas Basler
c4efda2e0c Added icon to radio statistics 2024-09-22 18:51:07 +02:00
Thomas Basler
a54b19bf5b Feature: Inverter radio statistics (rx/tx statistics)
The  statistics are shown in the WebApp and published via MQTT.
Statistics are reset at midnight.
2024-09-22 18:51:07 +02:00
Thomas Basler
1115418ce1 Publish temperature only if its not NAN 2024-09-22 18:51:07 +02:00
Thomas Basler
84e5c0821c Fix: Saving DTU config values just returned "Values are missing" 2024-09-22 13:16:34 +02:00
Thomas Basler
0c5e702a28 Fix: Wrong topic in home assistant auto discovery for maxalloc and minfree 2024-09-22 13:01:34 +02:00
Thomas Basler
a1fddb4ac1 Merge branch 'pr2293' into dev 2024-09-22 12:52:06 +02:00
Tobias Diedrich
fdcbf9de95 Publish ESP heap and temperature details on MQTT
I noticed that some useful ESP stats are missing on the MQTT feed, so this adds:

- ESP temperature
- ESP heap stats (size, free, minFree, maxAlloc)
2024-09-21 22:39:48 +02:00
Bernhard Kirchen
97f95f8a11 avoid deprecated containsKey() method of ArduinoJson 7.2.0 2024-09-21 22:09:42 +02:00
Bernhard Kirchen
38726b99ab Merge remote-tracking branch 'tbnobody/master' into development 2024-09-21 22:00:49 +02:00
Bernhard Kirchen
f298fd92f5 webapp: autocompile script: changes package.json triggers build
if the package.json file changes, we must trigger building the web
application, as in particular, a completely different version of yarn
could be required.
2024-09-21 21:47:02 +02:00
Bernhard Kirchen
503455dc51 webapp: switch to Node.js v22 2024-09-21 21:43:05 +02:00
Bernhard Kirchen
2f4eef47e9 webapp: autocompile script needs to run yarn within webapp dir
we need to change the working directory to the webapp directory such
that corepack installs and uses the expected version of yarn. otherwise,
corepack installs a copy of yarn into the repository root directory.
2024-09-21 21:04:10 +02:00
Bernhard Kirchen
a2092e66c4 webapp: autocompile script: use portable subprocess
we added shell=True so that on Windows, yarn would be found. however,
using the list syntax to define the command and its arguments to
Python's subprocess is broken on GNU/Linux by shell=True. instead, use a
single string (command and arguments), which works on both Windows and
GNU/Linux.
2024-09-21 21:00:48 +02:00
Thomas Basler
175e5752fe Github Action: Update node version from 20 to 22 2024-09-21 20:30:42 +02:00
Thomas Basler
98f4aedbfb webapp: add app.js.gz 2024-09-21 19:09:32 +02:00
Thomas Basler
2f41f43d49 Update bblanchon/ArduinoJson from 7.1.0 to 7.2.0 2024-09-21 00:12:15 +02:00
Thomas Basler
3b3e6995c2 Fix: WebApp was not reloaded after firmware update
With the upgrade from ESPAsyncWebServer to 3.3.1 it seems that something has changed. Have to trigger the reboot from the main context.
2024-09-21 00:04:27 +02:00
Thomas Basler
34e1c43ca7 webapp: Fix html error in eventlog 2024-09-20 23:08:08 +02:00
Bernhard Kirchen
43394bc1bc actions: enable corepack to use fixed version of yarn
this allows us to fix the version of yarn, the Node.js package manager,
to a particular version. using corepack is the recommended way to use
yarn these days.
2024-09-20 22:30:46 +02:00
Thomas Basler
a204263fb2 webapp: add app.js.gz 2024-09-20 22:14:41 +02:00
Thomas Basler
0fec55a659 webapp: Update dependencies 2024-09-20 22:13:46 +02:00
Thomas Basler
e9b5f3eac7 Upgrade olikraus/U8g2 from 2.35.27 to 2.35.30 2024-09-20 22:09:23 +02:00
Bernhard Kirchen
d1aad0b8e0 actions: enable corepack to use fixed version of yarn
this allows us to fix the version of yarn, the Node.js package manager,
to a particular version. using corepack is the recommended way to use
yarn these days.
2024-09-20 22:07:27 +02:00
Thomas Basler
0b59a662df Doc: Remove inverter list and add a link to the documentation
This reduces redundant effort when a inverter is added.
2024-09-20 21:36:18 +02:00
Bernhard Kirchen
304b898ddc changelogs: group webapp-related changes 2024-09-20 21:12:08 +02:00
Bernhard Kirchen
1fd09d527a actions: fix a typo 2024-09-20 21:11:44 +02:00
Bernhard Kirchen
bd22f00539 actions: run yarn prettier to check web app formatting 2024-09-20 21:11:18 +02:00
Bernhard Kirchen
2f77b9e500 actions: switch to node version 20 for linting
use version consistent with the version used when building the web
application.
2024-09-20 21:10:18 +02:00
Bernhard Kirchen
ee3b62d671 actions: use setup-node@v4 as v3 causes warning
the "Yarn Linting" action causes a warning to appear about a deprecated
Node version. switch to actions/setup-node@v4, which is already in use
by the action building the web app for the firmware, to avoid this
warning.
2024-09-20 21:09:50 +02:00
Bernhard Kirchen
f9926501f1 format BatteryAdminView changes introduced by #1245 2024-09-20 17:02:14 +02:00
Bernhard Kirchen
c3c31e5694 actions: run yarn prettier to check web app formatting 2024-09-20 17:00:58 +02:00
Bernhard Kirchen
58e01cdcc7 actions: switch to node version 20 for linting
use version consistent with the version used when building the web
application.
2024-09-20 17:00:58 +02:00
Bernhard Kirchen
51286047d4 actions: fix a typo 2024-09-20 17:00:58 +02:00
Bernhard Kirchen
0bcbec1baa actions: use setup-node@v4 as v3 causes warning
the "Yarn Linting" action causes a warning to appear about a deprecated
Node version. switch to actions/setup-node@v4, which is already in use
by the action building the web app for the firmware, to avoid this
warning.
2024-09-20 17:00:37 +02:00
Bernhard Kirchen
ea1592ed0d actions: consistently use checkout@v4
this was already in use by "Gather Environments" and "Build
Environments", but neither in "Create Release" nor "Yarn Linting"
nor "cpplint".
2024-09-20 16:59:52 +02:00
Bernhard Kirchen
59a89e9165 changelogs: group webapp-related changes 2024-09-20 16:51:53 +02:00
Bernhard Kirchen
163abbbe58 remove test_build.yml: unmaintained and redundant
it seems this action has not been run for nealry a year. it has only
been run twice at all. it is not maintained, as it uses older Node.js
in particular. also, it seems to be redundant to build.yml, which
already builds firmware for every commit.
2024-09-20 16:51:53 +02:00
Bernhard Kirchen
00626b63f7 issue template: asks for firmware variant 2024-09-20 16:37:33 +02:00
Bernhard Kirchen
789a07e288 webapp: use shell=True in autocompile script
we need shell=True as on Windows, path resolution to find the yarn
"exectuable" (a shell script) is only performed by cmd.exe, not by
Python itself. as we are calling yarn with fixed arguments, using
shell=True is fine.
2024-09-20 15:53:05 +02:00
Bernhard Kirchen
4f5648689f webapp documentation moved as well 2024-09-20 15:39:47 +02:00
vaterlangen
27f5a943f6
Fix: device profile for OpenDTU Fusion with W5500 (#1259)
* explicitly disable NRF24 when using CMT + W5500. fixes #1257.
* explicitly disable CMT when using NRF + W5500
* added missing LED mapping for W5500 profiles
2024-09-16 22:10:43 +02:00
Thomas Basler
e8b1e7a71c webapp: Parse version string event if update search is not allowed 2024-09-16 19:30:45 +02:00
Thomas Basler
d3d92e90e0 webapp: Upgrade tsconfig node18 to node22 2024-09-16 19:13:17 +02:00
Thomas Basler
3e3cf3cd64 webapp: Update dependencies 2024-09-16 19:04:26 +02:00
Thomas Basler
c2e50a9594 Upgrade olikraus/U8g2 from 2.35.21 to 2.35.27 2024-09-16 18:41:18 +02:00
Thomas Basler
5a1d4946fb Upgrade ESPAsyncWebServer from 3.2.0 to 3.3.1 2024-09-16 18:37:51 +02:00
Bernhard Kirchen
8ff94e7b94 issue template: asks for firmware variant 2024-09-16 16:10:38 +02:00