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
Thomas Basler
f854cdff03
Init last_update with 0 instead of current time
2022-11-01 13:23:29 +01:00
Thomas Basler
9ee75ed7ce
Fixed missing yarn.lock
2022-10-31 15:37:34 +01:00
Thomas Basler
32c2f911a7
webapp: add app.js.gz
2022-10-31 15:29:00 +01:00
Thomas Basler
860710c47a
Changed minimal limit from 10% to 2%
2022-10-31 15:23:09 +01:00
Thomas Basler
3612dd3d52
Apply correct unit of measure format
...
See https://en.wikipedia.org/wiki/Space_(punctuation)#Unit_symbols_and_numbers
2022-10-31 15:12:32 +01:00
Thomas Basler
20e856ecfc
Use correct locale for number formatting
...
Also moved numberFormat method so separate file
2022-10-31 15:08:56 +01:00
Thomas Basler
68423179cc
webapp: Update dependencies
2022-10-31 14:41:20 +01:00
Thomas Basler
b96f0c4dbe
Introduce last_update MQTT topic
...
Shows the timestamp of the last successfull statistics data from the specific inverter
2022-10-31 14:38:10 +01:00
Thomas Basler
547fe41ab1
Add missing parser class to documentation
2022-10-31 14:14:01 +01:00
Thomas Basler
dfd553090e
webapp: Round to relevant digits in live status
2022-10-31 11:51:15 +01:00
Thomas Basler
4049f6bdb7
Implemented method to get the amount of relevant digits
2022-10-31 11:51:08 +01:00
Thomas Basler
27ed4e3cda
BREAKING: Change power factor from percent value to value between 0 and 1
...
If you write these values to a database you have to update them.
2022-10-31 10:50:31 +01:00
Thomas Basler
57a63f690e
webapp: Added additional reboot message after OTA firmware upgrade
2022-10-31 00:45:01 +01:00
Thomas Basler
f2a08ba503
Rename FLD_PCT to FLD_PF and assign UNIT_NONE
2022-10-31 00:43:07 +01:00
Thomas Basler
3f4b7cb2e3
Merge branch 'pr284'
2022-10-30 20:15:18 +01:00
Thomas Basler
e47c1603e1
Add own youtube video showing the compilation process
2022-10-30 20:15:06 +01:00
descodess
03f79adad0
Fixes for README.md
...
- fix microfarads (µF; see: https://en.wikipedia.org/wiki/Farad )
- fix spaces between number and unit of measurement (see: https://en.wikipedia.org/wiki/Space_(punctuation)#Unit_symbols_and_numbers )
- fix ellipsis (see: https://en.wikipedia.org/wiki/Ellipsis )
- fix typo
2022-10-30 19:41:48 +01:00