Angular directive

sra-bar-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-bar-gauge-voltage data-sra-args-show-digital-value="false"></sra-bar-gauge-voltage>

Dependencies:
NameTypeDescription
data-sra-args-show-digital-value boolean Set to true or false for displaying the digital value. Defaults to true. Can be overridden from the URL with "SHOWDIGITALVALUE=false".
data-sra-args-interval integer The interval, in milliseconds, that this widget will update from the server. Default is 500.