helgeerbe
f709bb7a78
Merge branch 'development'
2024-01-17 14:18:14 +01:00
helgeerbe
f305b40be0
Merge pull request #612 from Fribur:development
...
- fix to HttpPowermeter not using explicitly specified non standard ports
- Revert back to using FirebaseJson instead of ArduinoJson
2024-01-17 13:26:52 +01:00
helgeerbe
7439ad0934
Merge pull request #612 from Fribur:development
...
- fix to HttpPowermeter not using explicitly specified non standard ports
- Revert back to using FirebaseJson instead of ArduinoJson
2024-01-17 13:24:08 +01:00
Fribur
75e3d03ea4
Revert back to using FirebaseJson instead of ArduinoJson
...
There is no convenient way to access arrays of Json objects and nested keys such as testarray/[2]/myvalue using ArduinoJson. It would at the very least to split the path into a number of individual strings and then access the value like json[testarray][2][myvalue] More details in https://arduinojson.org/v6/doc/deserialization/ . Conclusion: too complicated.
2024-01-16 19:32:02 -05:00
Fribur
8392c7cd8c
fix to HttpPowermeter not using explicitly specified non standard
...
should resolve the connection refused issues reported in https://github.com/helgeerbe/OpenDTU-OnBattery/issues/611
2024-01-16 16:34:46 -05:00
helgeerbe
7c66965ced
Merge branch 'development'
2024-01-16 17:48:46 +01:00
helgeerbe
63205f88be
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2024-01-16 17:39:45 +01:00
helgeerbe
b8fcdf3998
build: add manual lib dependency that ESPSoftwareSerial 8.0.1 can compile
...
Add lib dependency
https://github.com/dok-net/ghostl @ ^1.0.1
manually. ESPSoftwareSerial 8.0.1 has incorrect debendency configuration.
2024-01-16 12:55:38 +01:00
Thomas Basler
47417276a0
webapp: add app.js.gz
2024-01-14 17:15:12 +01:00
Thomas Basler
9093f9de79
Change default target frequency for US and BR
2024-01-14 17:09:53 +01:00
Thomas Basler
a1f2c93cf6
Added const keywords
2024-01-14 16:37:43 +01:00
Thomas Basler
18485ffefd
webapp: update dependencies
2024-01-14 16:37:43 +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
188c4688ab
Distinct between Band and Country
...
This allows different frequencies (Startup/Default etc.) for the same band configuration.
2024-01-14 00:06:35 +01:00
Thomas Basler
6b44694a12
Added frequency and command definitions for the 900 MHz band (North America)
2024-01-13 15:29:17 +01:00
Thomas Basler
16cd1a90d5
Move HOY_BOOT_FREQ from define to function
2024-01-13 14:48:23 +01:00
Thomas Basler
58f0121c11
Create separate definition for the 860MHz band of the CMT2300A
...
This is required to support different countries in the future. The defines where moved to function to change the values dynamically
2024-01-13 14:48:23 +01:00
Thomas Basler
abc53f4257
Merge branch 'pr1639' into dev
2024-01-13 13:01:21 +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
ce2109ab1b
Rename define CMT_BASE_CH_OFFSET860 to CMT_BASE_CH_OFFSET
2024-01-13 11:40:30 +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
Nikolaj Kappler
6166ecdb7d
refactor webapp/utils/time
2024-01-13 11:14:20 +01:00
Fribur
e136e096f4
Merge branch 'development' into development
2024-01-08 11:00:59 -05:00
Thomas Basler
637d4f06a3
Feature: Added option to disable the diagram at the display
2024-01-08 14:19:26 +01:00
helgeerbe
ffd189c1f5
Merge branch 'development'
2024-01-07 19:09:26 +01:00
Bernhard Kirchen
a012d81427
avoid too frequent SmartShunt data copies ( #596 )
...
currently the whole SmartShunt data structure is copied to the
BatteryStats instance in every loop, even though the data cannot
possibly have changed. this is quite an expensive task to do in every
loop. this change tracks the last update timestamp and only does the
copy operation if an actual updated data structure was received from
the smart shunt.
2024-01-07 18:30:02 +01:00
helgeerbe
2806b6db86
set dependency for plerup/EspSoftwareSerial to 8.0.1
...
8.2.0 has unresolvable dependencys
2024-01-07 18:00:57 +01:00
helgeerbe
642f38ce51
Merge remote-tracking branch 'tbnobody/OpenDTU/master' into development
2024-01-07 11:01:30 +01:00
helgeerbe
44d207a5f5
add webapp
2024-01-07 10:31:22 +01:00
helgeerbe
dd5d5ce9fd
Prevent empty HASS auto discovery topics if memory allocation fails (onBattery)
2024-01-07 10:31:06 +01:00
helgeerbe
d0e1da7b1d
Prevent config corruption by checking whether memory allocation was successfull. (onBattery)
2024-01-07 10:30:12 +01:00
Thomas Basler
265a44c517
Sort recommend extensions by name
2024-01-07 01:55:05 +01:00
Thomas Basler
9d8e195ce1
Merge branch 'pr1611' into dev
2024-01-07 01:53:43 +01:00
Thomas Basler
6556268056
Allow multiple patch directories per environment
2024-01-07 00:47:05 +01:00
helgeerbe
d6d274f078
Prevent empty HASS auto discovery topics if memory allocation fails (onBattery)
2024-01-06 22:51:35 +01:00
helgeerbe
ec93004724
Better handling of out of memory situations in live data websocket (onBattery)
2024-01-06 22:42:34 +01:00
helgeerbe
210fce67ce
Use auto keyword and references more often (onBattery)
2024-01-06 22:10:07 +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
024ee26705
Feature: Added pull to refresh and websocket indicator
2024-01-06 20:03:52 +01:00
Fribur
92de3e9f87
fixed a bug where under one condition DNS was not tried for resolving host IP
2024-01-05 20:54:53 -05:00
helgeerbe
67e2134f7e
add webapp
2024-01-05 23:03:09 +01:00
helgeerbe
d5155a07be
Remove F macro from onBattery extensions
2024-01-05 23:02:26 +01:00
Thomas Basler
bfcce16bc9
webapp: update dependencies
2024-01-05 22:04:54 +01:00
Thomas Basler
6573c51052
Use auto keyword and references more often
2024-01-05 22:04:54 +01:00
Thomas Basler
24c8a40fad
Use Utils::checkJsonAlloc in ConfigurationClass
2024-01-05 21:56:34 +01:00
Thomas Basler
f968179b60
Better handling of out of memory situations in live data websocket
2024-01-05 21:56:34 +01:00
Thomas Basler
f00cd1bd61
Prevent empty HASS auto discovery topics if memory allocation fails
2024-01-05 21:55:15 +01:00
Thomas Basler
88d75673fc
Prevent config corruption by checking whether memory allocation was successfull.
2024-01-05 21:55:15 +01:00