Definitely possible. In fact, the Seasons skin uses the tag $current.consBatteryVoltage.
All I can say is to double, triple check your spelling. Do other things, such as $current.txBatteryStatus work properly? On Fri, Dec 4, 2020 at 6:03 AM Robin Hunt <[email protected]> wrote: > Hey everyone > > This is, I am sure, a noob question but I can't figure it out having RTFMd > as best I can > > I have Davis Vantage Pro 2 station via USB on a raspberry pi and am trying > to add some battery info to index.html.tmpl on Standard skin. > > If I run weewx from the command line this appears among the output: > consBatteryVoltage: 4.83 > > So there does appear to be a value available > > but > > If I insert > [...] > Console battery: $current.consBatteryVoltage<br/> > [...] > > into index.html.templ > > The output is literally that rather than the battery voltage. There is no > substitution. I have tried this with $station.consBatteryVoltage, no > different > > What prefix should I use? Is this possible? > > Kind regards > Robin > > > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/c13c3ece-a82a-4efe-a77e-c74fdd3f46b2n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/c13c3ece-a82a-4efe-a77e-c74fdd3f46b2n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEB4p4zD6wcrp6BchO-WnUJ10FUPTP%3DQrc%3DCJ3gX0%3DrMVA%40mail.gmail.com.
