Re: [weewx-user] Change unit from "cb" to "%" for WH51

2022-03-21 Thread Graham Eddy
i do this ⊣ Graham Eddy ⊢ > On 21 Mar 2022, at 11:49 pm, Thomas Hackler wrote: > > It is possible to add this to the extensions.py? > > import weewx.units > weewx.units.obs_group_dict['soilMoist1'] = 'group_percent' -- You received this message because you are subscribed to the Google

[weewx-user] Change unit from "cb" to "%" for WH51

2022-03-21 Thread Thomas Hackler
Hello, I want to change the unit from my WH51 moisture sensor from "cb" to "%" and I don't know how to do it. In the unit group group_moisture there is only centibar available. How can I tell weewx to use the unit group group_percentage for soilMoist1 ? To modify the unit.py "soilMoist1"