what kind of hardware are you using?
>

raspberry 2

 

> my understanding is that any BatteryStatus value should be either 0 (ok) 
> or 1 (low battery), and the Voltage variables would provide a quantitative 
> measure.
>

and therefore I was astonished that the value has digits 
<http://dict.leo.org/englisch-deutsch/astonished> 

 

> you should be able to do this inline:
>
> $current.txBatteryStatus.format("%.2f")
>

this works and I changed to "%.1f" 

formatting is covered in the customization guide:
http://weewx.com/docs/customizing.htm#customizing_templates

thank you for helping and the link


Joachim

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to