weewx 4.6.0: ppm missing from weewx/defaults.py

57 views
Skip to first unread message

Glenn McKechnie

unread,
Feb 7, 2022, 7:46:05 AM2/7/22
to weewx-user
Had trouble getting ppm to display in the uRADMon extension.

In weewx/defaults.py I added it to the [[Groups]] but the real issue
was the missing entry under [[Labels]].

After the following changes it worked as expected.


--- defaults.py 2022-01-05 07:45:54.536777300 +1100
+++ defaults.py.460 2022-02-07 21:15:20.650396954 +1100
@@ -46,6 +46,7 @@
group_distance = mile # Options are 'mile' or 'km'
group_energy = watt_hour
group_energy2 = watt_second
+ group_fraction = ppm
group_length = inch
group_moisture = centibar
group_percent = percent
@@ -190,6 +191,7 @@
mmHg = " mmHg"
mmHg_per_hour = " mmHg/h"
percent = %
+ ppm = " ppm"
second = " second", " seconds"
volt = " V"
watt_per_meter_squared = " W/m²"

--


Cheers
Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

matthew wall

unread,
Feb 7, 2022, 8:20:34 AM2/7/22
to weewx-user
thanks glenn.  fixed at commit cdf6de96

Tom Keffer

unread,
Feb 7, 2022, 8:30:59 AM2/7/22
to weewx...@googlegroups.com
Thanks, Matthew. Be sure to log in the change log.

On Mon, Feb 7, 2022 at 5:20 AM matthew wall <mwall...@gmail.com> wrote:
thanks glenn.  fixed at commit cdf6de96

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f538e30b-3a26-4f1d-89e8-d7009ada4630n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages