On Thursday, July 4, 2019 at 4:44:19 AM UTC-4, Neil S wrote: > > > I now have a battery map of > txBatteryStatus = batterytx > windBatteryStatus = batteryWind > rainBatteryStatus = batteryRain > outTempBatteryStatus = battery1 > # WARNING: the following are not in the default schema > extraBatteryStatus1 = battery2 > extraBatteryStatus2 = battery3 > extraBatteryStatus3 = battery4 > extraBatteryStatus4 = battery5 > uvBatteryStatus = batteryuv > > weewx.conf >
that is an odd sensor_map - it appears to use older observation names. is there some reason that you defined your own mapping? please post the actual [WMR100] section from your weewx configuration file. > I have no requirement for historical or tracked battery data so assume I > dont need to extend the database. > > Just need to work out how to now display it in the Battery Status section. > > I have added the following to sensors.inc in the Seasons skin folder > > #if $day.uvBatteryStatus.has_data > <tr> > <td class="label">$obs.label.uvBatteryStatus</td> > <td > class="data">$get_battery_status($current.uvBatteryStatus.raw)</td> > </tr> > #end if > since you have not extended your schema, the directive $day.uvBatteryStatus.has_data will always be false. remove the two lines `#if #day.uvBatteryStatus.has_data` and `#end if` m -- 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/5480ad7b-96a4-473c-bcb5-e6d8d8a55dc0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
