Thomas Basler
a18e298cdd
Apply automatic code formatting
2024-09-26 19:22:30 +02:00
Thomas Basler
326525c961
Merge branch 'pr2306' into dev
2024-09-26 18:34:07 +02:00
Thomas Basler
155735c828
Embed current branch into building process
2024-09-25 21:46:38 +02:00
Thomas Basler
9b565596d5
Feature: Allow reset of radio statistics via WebApp
2024-09-25 20:18:36 +02:00
LennartF22
851190dbcc
Implement W5500 support
2024-09-25 00:37:03 +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
2213ad7bce
MQTT Hass: Move serialization and allocation check into own method
2024-09-24 21:47:56 +02:00
Thomas Basler
c699f1b487
MQTT Hass: Add device_type and category to publishInverterBinarySensor
2024-09-24 20:45:55 +02:00
Thomas Basler
239a77198d
MQTT Hass: Move publishSensor logic into separate method
2024-09-24 20:38:12 +02:00
Thomas Basler
e5ca0ab784
MQTT Hass: Reorder binary sensor methods
2024-09-24 20:06:45 +02:00
Thomas Basler
f46a5017c7
MQTT Hass: Move publishBinarySensor logic into separate method
2024-09-24 20:03:42 +02:00
Thomas Basler
d899ea7364
MQTT Hass: Harmonise parameter names
2024-09-24 19:44:58 +02:00
Thomas Basler
7aca72b8fd
MQTT Hass: Change parameter order for publishInverterNumber
2024-09-24 19:39:14 +02:00
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
93b6e5a885
Optimize MQTT subscription handling
2024-09-23 21:59:43 +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
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
b52cd31309
Output WiFi disconnect reason in console
2024-09-02 20:16:03 +02:00
Thomas Basler
70dacb5ea6
Merge branch 'pr2168' into dev
2024-08-01 17:53:53 +02:00
Thomas Basler
4640ddfba0
Better handling of empty MQTT client id
...
If the configured client id is empty, the default value (auto generated) will be used
2024-06-29 11:05:04 +02:00
Thomas Basler
ba95f99e03
Feature: Allow custom MQTT Client ID
2024-06-29 00:28:21 +02:00
Thomas Basler
b9b2a19ac5
Fix: Remove not required semicolon
2024-06-29 00:08:27 +02:00
Thomas Basler
6e607f7f67
Feature: Add option to clear eventlog at midnight
2024-05-31 00:07:28 +02:00
Thomas Basler
918c3449da
Fix #2000 : MQTT subscriptions where not updated if MQTT base was changed
2024-05-20 17:56:59 +02:00
Stefan Oberhumer
97800434c4
Prevent compiling the whole project on each commit.
...
Putting the git information into a generated sourcefile prevents
recompiling the whole project after each commit.
2024-04-18 09:02:57 +02:00
Thomas Basler
ea28903761
Move parsing of serial from web request to separate method
2024-04-05 19:14:56 +02:00
Thomas Basler
980e847ccb
Feature: Check for out of memory situations when sending json responses
...
Also shows a nice message in the frontend if an internal error occours
2024-04-05 19:14:56 +02:00
Thomas Basler
2e3125fe8d
Feature: Migrated ArduinoJson 6 to 7
2024-04-05 19:14:56 +02:00
Thomas Basler
8add226a7c
Save flash: Move WebApi json parsing to separate method to prevent a lot of redundant code
2024-04-01 13:52:09 +02:00
Thomas Basler
6f3b8fb8e1
Fix: Change default NTP server
...
Fixes #1877
2024-03-31 12:27:27 +02:00
Thomas Basler
33bf2117c6
Fix: Set all settings to default when deleting an inverters
...
Previously some old settings from previous inverters could have been shown in a new inverter
2024-03-13 18:47:28 +01:00
Thomas Basler
c27ecc3620
BREAKING CHANGE: Web API Endpoint /api/livedata/status
...
To reduce the heap usage it is necessary to send the inverters one by one instead of a huge response. A simple call to `/api/livedata/status` returns just some very general information. If detailed inverter information are required the inverter serial number has to appended `?inv=<serial number>`.
The websocket also returns only one inverter at a time. It as to be assembled at client side.
2024-01-30 22:29:25 +01:00
Thomas Basler
557c5d645e
Remove all files but the pin_mapping.json from filesystem on factory reset
...
This allows to create more user defined files and get them deleted on factory reset.
2024-01-30 22:29:12 +01:00
Thomas Basler
48a722f826
Merge branch 'pr1642' into dev
2024-01-30 20:47:45 +01:00
Stefan Oberhumer
e752c433af
Use http header ETag caching for all static content.
...
Using the md5sum as ETag http header value should enable caching on all static http content.
2024-01-30 00:35:23 +01:00
Thomas Basler
2716f4c5df
Removed not required pointer to AsyncServer instance
2024-01-27 01:09:55 +01:00
Thomas Basler
4e669d8932
Feature: Add support for ST7567 GM12864I-59N Display
2024-01-26 16:05:56 +01:00
Thomas Basler
4f2fbaaf2a
Remove unused function parameter
2024-01-20 23:12:59 +01:00
Thomas Basler
7bc1a17fac
Move task initialization from init method to constructor
...
This saves flash
2024-01-20 11:24:57 +01:00
Thomas Basler
251d197fb6
Migrate WebApi loop() methods to scheduler tasks
2024-01-20 02:00:22 +01:00