OpenDTU-old/webapp/src
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
..
assets webapp: Added initial vue app 2022-04-11 21:48:12 +02:00
components Fix: linting error 2023-06-22 21:55:58 +02:00
locales Fix vedirect polling (#291) 2023-07-04 12:04:38 +02:00
plugins webapp: Fix lint error 2022-12-25 12:01:04 +01:00
router Fix vedirect polling (#291) 2023-07-04 12:04:38 +02:00
scss webapp: Use scss instead of css 2022-11-02 20:39:18 +01:00
types Fix vedirect polling (#291) 2023-07-04 12:04:38 +02:00
utils webapp: replace own formatNumber by vue-i18n $n 2023-01-02 15:50:22 +01:00
views Fix vedirect polling (#291) 2023-07-04 12:04:38 +02:00
App.vue webapp: use modern component format 2022-12-20 19:26:28 +01:00
emitter.d.ts webapp: ESLint fixes 2022-12-08 22:20:40 +01:00
main.ts webapp: use unplugin-vue-i18n to reduce bundle size 2023-02-20 19:15:36 +01:00