Angular directive

sra-text-gauge-voltage source template

This widget displays the voltage.

States:

  • WARNING - something is wrong with your battery.
  • CRITICAL - time to pit for repairs.
Example:

<sra-text-gauge-voltage></sra-text-gauge-voltage>

Dependencies:
NameTypeDescription
data-sra-args-show-label boolean Set to true or false for displaying the label. Defaults to true. Can be overridden from the URL with "SHOWLABEL=false".
data-sra-args-round-to double The value to round the digital display to. Defaults to 1. Can be overridden from the URL with "ROUNDTO=10".
data-sra-args-interval integer The interval, in milliseconds, that this widget will update from the server. Default is 16.