Thomas Basler
483c10785b
MQTT Hass: Change parameter order for publishInverterButton
2024-09-24 19:30:21 +02:00
Thomas Basler
a7100f238b
MQTT Hass: Change parameter order for publishDtuBinarySensor
2024-09-24 19:23:04 +02:00
Thomas Basler
57c5b8c97e
MQTT Hass: Make publish methods static
2024-09-24 19:22:05 +02:00
Thomas Basler
1c3e7de390
MQTT Hass: Change parameter order for publishDtuSensor
2024-09-24 19:21:06 +02:00
Thomas Basler
96e83f3d37
MQTT Hass: Change parameter order for publishInverterSensor
2024-09-24 19:18:56 +02:00
Thomas Basler
8e68632ed9
MQTT Hass: Rename caption parameter to name
2024-09-24 18:17:42 +02:00
Thomas Basler
8de1f7e70f
MQTT Hass: Change char* to String&
2024-09-24 18:15:38 +02:00
Thomas Basler
bef81eed45
Feature: Publish Radio statistics to home assistant
2024-09-23 23:13:23 +02:00
Thomas Basler
181802a76b
Feature: Allow reset of radio statistics via mqtt
2024-09-23 22:46:23 +02:00
Thomas Basler
0c012bf62a
Move inverter housekeeping tasks inside the InverterAbstract class
2024-09-23 22:08:53 +02:00
Thomas Basler
93b6e5a885
Optimize MQTT subscription handling
2024-09-23 21:59:43 +02:00
Bernhard Kirchen
2265992836
actions: prevent workflows triggering twice
...
the workflows running unconditionally for each push and each PR are run
twice when pushing to a branch that is to be merged by a PR and if that
branch is a branch local to the repo (rather than in a fork).
2024-09-23 21:53:33 +02:00
Bernhard Kirchen
82de98c7c0
Merge remote-tracking branch 'tbnobody/master' into development
2024-09-23 21:38:50 +02:00
Eugen
2637e32145
Feature: rxen/txen support for RS485 transceiver for SDM power meter ( #1269 )
...
This allows to talk to the SDM power meter through an RS485 transceiver
with separate rxen and txen pins, like on the OpenDTU Fusion board.
2024-09-23 21:20:03 +02:00
ranma
c16b3aa21b
Fix: typo in HASS auto-discovery metadata for heap stats ( #1274 )
...
Fixes a copy and paste error in commit b3ee38b0 from when maxAlloc/minFree were renamed.
2024-09-23 21:10:10 +02:00
Thomas Basler
d6a5fef4e7
Decrease restart delay to 1 second
...
This prevents a reload of the webapp (during firmware update) before the esp is online again
2024-09-23 18:33:01 +02:00
Thomas Basler
00584a0787
webapp: add app.js.gz
2024-09-23 18:25:49 +02:00
Thomas Basler
e29ac4f171
webapp: Fix data type for all range inputs
2024-09-23 18:24:22 +02:00
Thomas Basler
e37baedddb
webapp: Update dependencies
2024-09-23 18:16:05 +02:00
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