Thomas Basler
4f2fbaaf2a
Remove unused function parameter
2024-01-20 23:12:59 +01:00
Thomas Basler
16fbad92ac
simplify calculations in WebApi_ws_Live
2024-01-20 11:38:52 +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
Thomas Basler
e66060e769
Move the conversation from time_t to String into DevInfoParser
2024-01-20 01:09:42 +01:00
Thomas Basler
dcc157261e
Don't perform redundant conversions
2024-01-20 00:32:13 +01:00
Thomas Basler
c20caf8097
Feature: Support HMS/HMT inverters in different countries with different frequency bands
...
Thanks to @Fribur, @homeautomation2022 and @stefan123t
2024-01-14 16:37:34 +01:00
Thomas Basler
2c92750100
webapp: Remove hard coded min/max frequencies for CMT module
2024-01-13 12:51:20 +01:00
Thomas Basler
ee78698e37
Migrate all frequency calculations to Hz
...
Previously the code contains calculations using a mixture of kHz and Hz.
Thanks to @Fribur
2024-01-13 12:51:20 +01:00
Thomas Basler
638f52a8da
Feature: Add current limit to prometheus output
...
Fixes #1617
2024-01-13 11:33:58 +01:00
Thomas Basler
f013698471
Feature: Added fullscreen diagram to display
2024-01-13 11:31:12 +01:00
Thomas Basler
637d4f06a3
Feature: Added option to disable the diagram at the display
2024-01-08 14:19:26 +01:00
Bernhard Kirchen
2608080708
Feature: add heap details to system info and prometheus ( #595 )
...
this change adds the values of ESP.gteMaxAllocHeap() and
ESP.getMinFreeHead() to the prometheus metrics and the system
information object. the web UI uses these values to diplay the size of
the largest free contiguous block, calculate a rough estimate for the
level of fragmentation, and the maximum usage of heap memory since boot
in absolute and relative amounts.
2024-01-06 20:12:35 +01:00
Thomas Basler
3c37b61f44
Use auto keyword and references more often
2024-01-04 15:38:56 +01:00
Thomas Basler
b0b9764a23
Use Utils::checkJsonAlloc in ConfigurationClass
2024-01-04 14:47:21 +01:00
Thomas Basler
ef9f0040e8
Better handling of out of memory situations in live data websocket
2024-01-04 14:47:21 +01:00
Thomas Basler
ca18d2c841
Prevent empty HASS auto discovery topics if memory allocation fails
2024-01-04 14:09:58 +01:00
Thomas Basler
4053e31a5e
Prevent config corruption by checking whether memory allocation was successfull.
2024-01-04 13:42:39 +01:00
Thomas Basler
c1fc907ecb
Fix: Access Point not working after firmware update
...
Fixes #1613
2024-01-03 22:04:50 +01:00
Thomas Basler
cbbe053cd5
Fix: Optimize network connection handling
...
This should provide a more reliable connection to several AP types. See #576
2024-01-03 01:17:39 +01:00
Thomas Basler
aa8068370e
Feature: Add support for SSD1309 2.4" Display
2023-12-30 12:42:42 +01:00
Thomas Basler
34983471de
Simplfy diagram drawing code
2023-12-28 00:10:40 +01:00
Thomas Basler
06b8fb65a1
Move the diagram in Y direction if screen saver mode is turned on
2023-12-24 15:08:10 +01:00
Thomas Basler
2259b1b525
Add const keyword to variable
2023-12-24 14:35:29 +01:00
Stefan Oberhumer
ac427523b5
Feature: Add screensavermode also to diagram drawing.
2023-12-24 12:24:10 +01:00
Stefan Oberhumer
733a566172
NFC: Use std::size() instead of define.
2023-12-24 12:13:57 +01:00
Stefan Oberhumer
c1f0b9ea6f
http response header tag 'ETag' needs quotes.
...
As per RFC7232 ( https://www.rfc-editor.org/rfc/rfc7232#section-2.3 ) and
MDN docs ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag#directives )
the value of the ETag in the http header response has to be between quotes.
2023-12-23 19:00:44 +01:00
Thomas Basler
0ddc7fd28d
Feature: Added diagram to display
...
This is based on the idea of @Henrik-Ingenieur and was discussed in #1504
2023-12-19 17:26:24 +01:00
Thomas Basler
3b923885de
Fix #1579 : Static IP in Ethernet mode did not work correctly
2023-12-19 11:30:33 +01:00
Thomas Basler
84248ec9b6
Feature: Add DTU to Home Assistant Auto Discovery
...
This is based on PR 1365 from @CFenner with several fixes and optimizations
2023-12-17 14:40:04 +01:00
Thomas Basler
b4ead9d6ec
Feature: Allow setting of an inverter limit of 0% and 0W
...
Thanks to @madmartin in #1270
2023-12-13 22:15:49 +01:00
Thomas Basler
4f7597eaa1
Adjust member variable names in NetworkSettings
2023-12-12 23:55:03 +01:00
Thomas Basler
66530638de
Adjust member variable names in MqttSettings
2023-12-12 23:54:58 +01:00
Thomas Basler
e95afbf2cc
Use references instead of pointers whenver possible
2023-12-12 13:26:07 +01:00
Thomas Basler
8fb43fedf8
Add const keyword to methods
2023-12-12 01:30:40 +01:00
Thomas Basler
d6494fa791
Add const keyword to method parameters
2023-12-12 00:21:14 +01:00
Thomas Basler
5e45006831
Replace NULL by nullptr
2023-12-11 20:23:45 +01:00
Thomas Basler
47e905bcfc
Add const statement to several variables
2023-12-11 19:54:57 +01:00
Thomas Basler
efe0b6b383
Remove not required casts
2023-12-11 18:44:02 +01:00
Thomas Basler
06651f365a
Feature: First version of GridProfile Parser which shows all values contained in the profile.
2023-12-11 14:58:17 +01:00
Thomas Basler
00bc631e87
Feature: Added basic Grid Profile parser which shows the used profile and version
...
Other values are still outstanding.
2023-12-09 11:12:37 +01:00
Thomas Basler
b937532505
Remove not required AsyncEventSource
2023-12-07 15:21:24 +01:00
Thomas Basler
8b5d406a4f
Introduce several const statements
2023-12-07 15:19:04 +01:00
Thomas Basler
9ae791edd4
Feature: Added ability to change the brightness of the LEDs
...
Based on the idea of @moritzlerch with several modifications like pwmTable and structure
2023-12-07 12:46:38 +01:00
Thomas Basler
3b6e9343d4
Adjust device web api endpoint for dynamic led count
2023-11-25 12:45:18 +01:00
Thomas Basler
f8f79c816a
Split LedSingle into multiple tasks
2023-11-23 22:35:05 +01:00
Thomas Basler
0db5b2eb9a
Calculate SunPosition only every 5 seconds
2023-11-23 22:35:05 +01:00
Thomas Basler
134fefa30e
Split InverterSettings into multiple tasks
2023-11-23 22:35:05 +01:00
Thomas Basler
80d534e045
Migrate WebApi to TaskScheduler
2023-11-23 22:35:05 +01:00
Thomas Basler
ab8679e7b9
Migrate Display_Graphic to TaskScheduler
2023-11-23 22:35:05 +01:00