diff --git a/piusv/sv_widgets/piusv.html b/piusv/sv_widgets/piusv.html new file mode 100644 index 000000000..200c12738 --- /dev/null +++ b/piusv/sv_widgets/piusv.html @@ -0,0 +1,54 @@ +/** +* ----------------------------------------------------------------------------- +* @package smartVISU +* @author Wolfram v. Hülsen +* @copyright 2018 - 2024 +* @license GPL [http://www.gnu.de] +* ----------------------------------------------------------------------------- +*/ + +/** +* Displays the status of the PiUSV +* +* @param {id=} unique id for this widget(optional) +* @param {item} main item path for piusv struct +* +*/ + +{% macro info(id, item) %} + {% import config_version_full >= "3.2.c" ? "@widgets/basic.html" : "basic.html" as basic %} + +
Versorgungsspannung: | +{{basic.print('', item~'.u_ext', '%01,3f V','VAR1/1000' ) }} | +Batteriespannung: | +{{basic.print('', item~'.u_batt', '%01,3f V','VAR1/1000') }} | +
Spannung RPI: | +{{basic.print('', item~'.u_rasp', '%01,3f V','VAR1/1000' ) }} | +Strom RPI: | +{{basic.print('', item~'.i_rasp', 'mA' ) }} | +