Sorry to keep going on this but I have no takers so far.

I have added this to weewx.conf:
[[StandardReport]]
        # This is the old "Standard" skin. By default, it is not enabled.
        skin = Standard
        enable = true

         [[[Units]]]
            [[[[Groups]]]]
                group_fraction     = ppm                #added for CO2 
monitor 11/30/21
                group_severt       = µSv
                group_conductivity = dSm
                group_cpm          = cpm
         [[[[StringFormats]]]]
                ppm                = %.0f  # 12/2/21
                cpm                = %.0f
                µSv                = %.2f
                dSm                = %.2f

and this to units.py:

obs_group_dict = ListOfDicts({
"signal1"                   : "group_cpm",
    "signal2"                   : "group_severt",

USUnits = ListOfDicts({
"group_severt"      : "µSv",

As mentioned earlier, this is working fine in 4.10.2 but I just can't get 
going in 5.1 (pip install). Everything else seems to be working well.
Any help would be greatly appreciated. 
Cheers,
Bob
grattans.org/wx

On Thursday, July 4, 2024 at 3:06:51 PM UTC-4 [email protected] wrote:

> Hello all,
> I am slowly moving my weewx 4.10.2 ubuntu VP2+ station to an RPI5 with 
> Bookworm. Lacking in indepth knowledge of html and python, I'm having lots 
> of trouble with formats and units. I had it working on the Standard skin 
> (see attache file) but many things have changed on how this is now done. 
> Before I was adding to weewx.conf but it appears more complicated for 5.0.
> The file shows my present Standard page and then the attempted version in 
> 5.0. I'm not sure how to add the "µ" symbol or to round data with too many 
> decimal places.
> What I have in 5.0 seems to be running but doesn't look very nice.
> Could someone please point me in the correct direction? I have looked at 
> the customization section of the wiki but am not sure how to proceed. The 
> Geiger counter data is stored in Signal1 and Signal2 of weewx.sdb.
>
> MQTT section from weewx.conf
>         ##################
>         ## Radmon+ Geiger counter from emonpi
>         ##################
>
>         [[[gccpm]]]
>             name = signal1
>             [[[[message]]]]
>                 type = individual
>         [[[gcdose]]]
>             name = signal2
>             [[[[message]]]]
>                 type = individual
>         ####################################
>         ## Soil Moisture / Soil Temp from emoncms
>         ####################################
>         [[[4103]]]
>             name = soilMoist1
>             [[[[message]]]]
>                 type = individual
>         [[[4102]]]
>             name = soilTemp3
>             [[[[message]]]]
>                 type = individual
>         [[[4108]]]
>             name = signal3
>             [[[[message]]]]
>                 type = individual
>
> Thanks in advance. Everything is rtunning with no errors so far.
> Bob
> http://grattans.org/wx 
>
>

-- 
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/b95fcbf4-c577-4908-b941-516dfa21e7e9n%40googlegroups.com.

Reply via email to