Thanks Tom, it work like a charm :) many thanks for your support and superb software Weewx
Bye Pierantonio Il giorno martedì 16 ottobre 2018 18:17:25 UTC+2, Thomas Keffer ha scritto: > > #if $current.txBatteryStatus.raw > #set $battery_status = "low" > #else > #set $battery_status = "OK" > #end if > > <p>The battery status is $battery_status</p> > > > On Tue, Oct 16, 2018 at 8:33 AM pierantonio <[email protected] > <javascript:>> wrote: > >> Hi all , i have a Davis vp2 wireless, in my skin i added rxChekPercent, >> consBatteryVoltage and txBatteryStatus. >> the txbatterystatus report 0,0000 and as I read it means it's ok. >> I ask if you can add in the template the condition that if it is zero it >> comes out Ok otherwise low >> >> Thanks to all in advance >> Pierantonio >> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- 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.
