it works, thank you! Thomas Hackler schrieb am Montag, 21. März 2022 um 13:49:57 UTC+1:
> 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" : "group_moisture", > > is not a good idea I think because I will loose the change after an > update? So I guess I have to add something in the extensions.py or can I > fix it in the weewx.conf ? > > It is possible to add this to the extensions.py? > > import weewx.units > weewx.units.obs_group_dict['soilMoist1'] = 'group_percent' > > Maybe my problem is still solved but after google some hours and looking > in the documentation I did not find how I can fix it and I want to ask > before I modify things I don't really understand. Thank you! > Regards > Thomas > -- 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/28e560c5-8af5-4d30-8006-b60ec693f05fn%40googlegroups.com.
