Commit Graph

44 Commits

Author SHA1 Message Date
Bernhard Kirchen
e457ab73f9
Fix vedirect polling (#291)
* VE.Direct: remove polling interval

the polling interval was meant to limit the amount of MQTT updates.
however, that is already controlled by the global MQTT publish interval.
the removed interval was instead used to limit polling of the VE.Direct
UART for incoming data.

the Victron device sends data unsolicited. the VeDirectFrameHandler does
not implement any polling mechanism. no data is ever sent to the Victron
device.

what the removed polling interval did was cause a buffer overrun of the
HardwareSerial class, since the incoming data was not processed in time.
so every five seconds, we read a whole valid VE.Direct frame, plus some
old data, which was not a whole frame, leading to VE.Direct error
messages to pop up.

with the polling interval removed, no framing errors are reported, and
instead we gain new data from the charge controller approximately ever
two seconds -- for free.

* VE.Direct: change texts to correct VE.Direct capital letters

* VE.Direct: improve "UpdatesOnly" switch labels

especially since the publish interval setting is gone, the label makes
it hard to comprehend what the switch does. update the texts to better
explain what the switch is used for.

use the same text on the VE.Direct info view.

* VE.Direct: use StatusBadge on info view

there were custom badges to indicate the VE.Direct settings. replace
those by the common StatusBadge to make then look the same as the other
badged on the info views.
2023-07-04 12:04:38 +02:00
helgeerbe
b3c17c8ee8 Merge branch 'pr/MalteSchm/144' into development 2023-03-27 22:16:53 +02:00
MalteSchm
0e2b7767c7 Webapp changes to display Huawei PSU values and to enable/disable the unit 2023-03-26 11:06:51 +02:00
Adminius
05a5b2367b PowerMeter Class + SDM PowerMeter support 2023-03-21 23:46:54 +01:00
helgeerbe
f560f25302 initial merge of power_limiter * missing is inverter and channel setting in gui
* due to bug _webApiPrometheus.init is commented out
2023-02-20 15:56:02 +01:00
helgeerbe
9a7a0d293e Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2023-01-20 14:54:04 +01:00
Thomas Basler
e81a435ed9 webapp: Added device manager interface
Allows selecting a device profile which changes the pin assignment
2023-01-16 21:25:19 +01:00
helgeerbe
e49bbe0faf Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-12-27 14:17:24 +01:00
Thomas Basler
409a737388 webapp: Organize imports 2022-12-25 12:02:11 +01:00
Thomas Basler
f63b7f6ee7 webapp: Added virtual console view 2022-12-19 21:38:39 +01:00
helgeerbe
2109520bde Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-11-26 16:31:16 +01:00
Thomas Basler
a06a8fec3d webapp: Removed hardcoded info about views which require authentication
If the return value of a API request equals 401 then the user will be redirected to the login page.
Using this method it's possible to decided within the API if a authentication is needed or not.
2022-11-22 20:37:01 +01:00
Thomas Basler
e60619b867 Added device reboot functionality 2022-11-21 23:29:57 +01:00
helgeerbe
2c6dff3714 Password protection for vedirect settings API 2022-11-19 14:34:59 +01:00
helgeerbe
f35395e76f Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-11-16 16:39:01 +01:00
Thomas Basler
233efe3a50 Password protection for firmware update API 2022-11-07 19:02:07 +01:00
Thomas Basler
fe8b68d2be Password protection for config settings API 2022-11-07 18:48:02 +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
helgeerbe
c3df1e7328 Changes to keep ve.direct working 2022-10-20 13:35:14 +02:00
helgeerbe
905dc359a5 Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-10-20 13:34:31 +02:00
Thomas Basler
d798963df5 webapp: Migrated from vue-cli to vite 2022-10-17 19:26:04 +02:00
Thomas Basler
66d296a97b webapp: Reorganize .vue files 2022-10-17 19:26:04 +02:00
helgeerbe
5de35ee353 Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-10-17 10:10:34 +02:00
Thomas Basler
8d6cbc617b webapp: Added interface to set AP password 2022-10-13 19:54:27 +02:00
helgeerbe
bee600bfd8 Merge remote-tracking branch 'tbnobody/OpenDTU/master' 2022-09-19 10:49:41 +02:00
Thomas Basler
b0b8a2c088 webapp: implemented config management frontend 2022-09-17 11:37:25 +02:00
helgeerbe
c7c1506e42 First version 2022-08-11 17:26:00 +02:00
Thomas Basler
c8075d533f webapp: Upgrade from Javascript to TypeScript 2022-06-21 20:16:37 +02:00
Thomas Basler
ce828196e5 webapp: Added DtuAdminView 2022-05-27 01:15:11 +02:00
Thomas Basler
c4bd3c196f webapp: implemented firmware upgrade UI 2022-05-23 23:25:53 +02:00
Thomas Basler
34e86437d2 webapp: Added gui to manage inverters 2022-05-04 21:55:18 +02:00
Thomas Basler
699939b908 webapp: added first version of mqtt info page 2022-04-20 23:19:32 +02:00
Thomas Basler
fa236fc180 webapp: added settings view for mqtt configuration 2022-04-20 23:10:16 +02:00
Thomas Basler
6d0ed5ef44 webapp: Added ntp settings screen 2022-04-18 00:20:13 +02:00
Thomas Basler
855ee19cde webapp: added info page to show current time settings 2022-04-17 23:53:11 +02:00
Thomas Basler
9e5906e5aa webapp: Implemented first part of the network settings 2022-04-15 14:23:25 +02:00
Thomas Basler
37288b0996 webapp: added system overview 2022-04-14 13:22:40 +02:00
Thomas Basler
fbedd75e0e webapp: Added network info screen 2022-04-13 22:43:26 +02:00
Thomas Basler
917a091bf2 webapp: Added first simple navigation with two subpages 2022-04-12 23:31:47 +02:00