As you already said, mm and l/m^2 have the same values. So you could set up 
rain to mm and change the label for mm to " l/m^2". This can be done in 
weewx.conf

Stefan Gliessmann schrieb am Freitag, 30. Mai 2025 um 09:51:55 UTC+2:

> Dear all,
>
> I always struggle when I want to change the unit of a certain entity.
> This time, it is rain and rain rate. The WeeWX default is cm and cm/h, 
> respectively.
> I would like to change it to l / m2 and l /m2 / h.
> The calculation seems straight forward as 1 mm rain = 1 liter / m2 rain 
> and its rate accordingly as 1 mm / h = 1 l/(m2 h).
> Do I add this as a new label in weewx.conf under [Units] or do I add a new 
> unit in extensions.py as per https://weewx.com/docs/5.1/custom/units/ ?
>
> Any help / hint would be highly appreciated!
>
> TIA,
> Stefan 
>

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/b7ab2f0c-3c7e-45f6-beac-66c4d3e52e4bn%40googlegroups.com.

Reply via email to