Commit Graph

824 Commits

Author SHA1 Message Date
Thomas Basler
dd7babb448 Added a timeout of 5ms to detect current time.
This prevents false positives when a interrupt occours during the reading of the time
2022-11-14 20:19:38 +01:00
Thomas Basler
83acba323f Updated Web-API documentation
added information regarding required authentication as shown in #233
2022-11-14 20:10:46 +01:00
Thomas Basler
6229e4b5a8 Fixed issue that fetching stopped when inverter was deleted
This happend when due to special timing the last inverter was deleted. In that case interverPos was never changed and the fetching process stucked
2022-11-14 20:00:16 +01:00
Thomas Basler
2937809def Merge branch 'pr346' into dev 2022-11-14 18:37:34 +01:00
Thomas Basler
ab1c4e458c webapp: Upgraded dependencies 2022-11-14 18:32:16 +01:00
Thomas Basler
50d73c7440 Upgraded espMqttClient to v1.3.3 2022-11-14 17:53:00 +01:00
Michael Wilk
34218cdc4a changed formatting/qoutes to better match the master (less changes) 2022-11-14 14:52:41 +01:00
Michael Wilk
7d203b50a3 reworked the InverterAdminView.vue view for easier maintainability.
this also fixed the bug of changed max_power values after closing the edit modal without saving
2022-11-14 14:43:42 +01:00
Thomas Basler
22b54aebc1 Do not allow blank issues any more
Submit here either real issues or feature requests
Use discussions or discord for support
2022-11-12 16:23:31 +01:00
Thomas Basler
bad903106a Doc: Added hint regarding Basic Authenticaation credentials 2022-11-10 20:38:11 +01:00
Thomas Basler
043e01b476 Merge branch 'pr233' into dev 2022-11-10 20:32:02 +01:00
Thomas Basler
5dac8198fa Added workspace specific vscode settings.json
This just sets the correct c++ formatter
2022-11-10 20:20:56 +01:00
Thomas Basler
8245eef90e Describe Prometheus API in Readme 2022-11-10 20:20:56 +01:00
Thomas Basler
c2f59427b8 Prometheus API: Increase buffer size to allow more inverters 2022-11-10 20:20:55 +01:00
Thomas Basler
d7bcce947e Prometheus API: Adjust api url and method names 2022-11-10 20:20:54 +01:00
Thomas Basler
d62c5b239f Prometheus API: use integrated serialString() method to fetch serial number 2022-11-10 20:20:53 +01:00
Thomas Basler
8e4e055930 Prometheus API: Remove duplicate cache control 2022-11-10 20:20:52 +01:00
Thomas Basler
0fdf7f19e4 Prometheus API: Applied code formatting 2022-11-10 20:20:45 +01:00
Thomas Basler
bfd112d268 Merge branch 'pr275' into dev 2022-11-10 19:21:53 +01:00
Thomas Basler
0d619e780a Prevent null pointer exception
It could occur that the command queue contained commands for inverters which are already deleted.
Therefor it has to be checked that getInverterBySerial returns a valid inverter
2022-11-10 18:32:28 +01:00
Thomas Basler
26b9bbf537 Prevent null pointer exception when deleting inverter
The removeInverterBySerial can be called in a webserver callback method.
This is maybe executed on another core which can then run in parallel to the radio loop hoymiles loop.
Accessing inverters which are already removed can lead to exceptions.
The Semaphore prevents that parallel execution
2022-11-10 18:26:01 +01:00
Dominik Westner
e5bbb7f517 implemented prometheus metrics 2022-11-10 18:00:13 +01:00
Thomas Basler
8b158a029e webapp: add app.js.gz 2022-11-09 20:01:50 +01:00
Thomas Basler
7d1cdb0536 Fix #322: German umlauts create mistakes when using them in passwords
See https://stackoverflow.com/questions/3626183/javascript-base64-encoding-utf8-string-fails-in-webkit-safari
2022-11-09 19:42:47 +01:00
Thomas Basler
fbe321228a ::set-output is deprecated. Replace it with new method 2022-11-09 18:44:53 +01:00
Thomas Basler
4fb3a1db74 webapp: add app.js.gz 2022-11-08 22:39:00 +01:00
Thomas Basler
e0b069ff3d Password protection for limit/power settings API 2022-11-08 18:34:00 +01:00
Thomas Basler
0a6965c015 webapp: Implemented logged-out event 2022-11-07 23:34:54 +01:00
Thomas Basler
ab0029d9fd Show the correct amount of string input fields in inverter config 2022-11-07 22:38:53 +01:00
Thomas Basler
11c272b1fb webapp: add app.js.gz 2022-11-07 21:02:35 +01:00
Thomas Basler
107330c70c webapp: Fix location of Logout button 2022-11-07 20:51:09 +01:00
Thomas Basler
f163e239d2 Fix #303: Add inverter name as prefix to HASS auto discovery 2022-11-07 19:35:29 +01:00
Thomas Basler
233efe3a50 Password protection for firmware update API 2022-11-07 19:02:07 +01:00
Thomas Basler
d63476c70e webapp: Update dependencies 2022-11-07 18:52:22 +01:00
Thomas Basler
c2de7dbdb8 webapp: Send X-Requested-With header for all requests
This prevents browser password dialogs in all cases
2022-11-07 18:49:36 +01:00
Thomas Basler
fe8b68d2be Password protection for config settings API 2022-11-07 18:48:02 +01:00
Martin Dummer
244c94e456 add Web-API documentation
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
2022-11-04 22:03:15 +01:00
Thomas Basler
7798854b2b webapp: Change authHeader to return Headers object instead of Record<string, string> 2022-11-04 00:01:34 +01:00
Thomas Basler
a646eae51a Password protection for inverter settings API 2022-11-03 21:44:01 +01:00
Thomas Basler
902e632f51 Password protection for mqtt settings API 2022-11-03 21:31:50 +01:00
Thomas Basler
3a2f73a2b3 Password protection for ntp settings API 2022-11-03 21:20:12 +01:00
Thomas Basler
e605e42c3e Password protection for network settings API 2022-11-03 21:13:42 +01:00
Thomas Basler
b9d2978bf9 Password protection for dtu settings 2022-11-03 21:05:51 +01:00
Thomas Basler
8d14dbd367 Password protection for security settings API
Also implemented the base functionallity to protect further API endpoints.
2022-11-03 21:00:13 +01:00
Thomas Basler
af4b47beeb webapp: Use scss instead of css
Enables easier theming in future
2022-11-02 20:39:18 +01:00
Thomas Basler
72a773f190 webapp: add app.js.gz 2022-11-02 18:20:27 +01:00
Thomas Basler
c85d71abfd webapp: Added icon to navbar 2022-11-01 17:37:19 +01:00
Thomas Basler
ed6e9dd9cd webapp: Use correct Complimentary colours 2022-11-01 16:54:13 +01:00
Thomas Basler
438ce36bab Added sum values of all inverters to web UI 2022-11-01 16:33:20 +01:00
Thomas Basler
69b675bc64 BREAKING CHANGE: Structure WebAPI /api/livedata/status changed
The different inverter data are now in a subobject called "inverters".
This is required to extend the API by other data then the inverter values
2022-11-01 15:04:05 +01:00