Re: [weewx-user] Format Battery as Percent

2024-07-09 Thread Wiggytoo
Ignore that question - I worked it out from the advice you gave and added it to the main belchertown.py script as below. Many thanks for your help and swift response. #Extend dictionary for battery percent observations weewx.units.obs_group_dict['rainBatteryStatus'] = 'group_percent' weewx.units

Re: [weewx-user] Format Battery as Percent

2024-07-09 Thread Wiggytoo
Many thanks - will take a look in more detail, for observation types that come directly from the Netatmo driver (i.e. I don't have an equivalent user/electricity.py would I just assign the main skin.py file? Regards, Gav On Tuesday 9 July 2024 at 15:00:18 UTC+1 Tom Keffer wrote: > See the sec

Re: [weewx-user] Format Battery as Percent

2024-07-09 Thread Tom Keffer
See the section *Assigning a unit group * in the Customization Guide. You will want to assign your new observation types to group "group_percent". On Tue, Jul 9, 2024 at 3:58 AM Wiggytoo wrote: > Hi - I've had a good look for

[weewx-user] Format Battery as Percent

2024-07-09 Thread Wiggytoo
Hi - I've had a good look for this but not found how to do it, I have added the following observations from the Netatmo driver to my site (skin is Belchertown). "rainBatteryStatus", "windBatteryStatus", "outTempBatteryStatus" I'd like to format them as % but can't work out how to do it, any hel