Wow - I never put the pieces together in my brain before.  Thanks for 
replying with what you did rather than just "solved".

Anybody willing to volunteer adding a brief wiki page for this one ?  It 
seems like a great example to use for mapping something to a particular 
units group, as well as editing the string format.


On Wednesday, March 29, 2023 at 12:42:32 PM UTC-7 Wayne Rademacher wrote:

Here are the required changes:
I added this to extensions.py as suggested by an oldman and Karen K
*/usr/share/weewx/user extensions.py*

*import weewx.units*

*weewx.units.obs_group_dict['windBatteryStatus'] = 
''group_volt'weewx.units.obs_group_dict['luminosity'] = 'group_illuminance'*

I changed the [[stringformats]] in the belchertown skin.conf to get the 
right amount of digits.
*    [[StringFormats]]*
*        #volt                   = %.1f*
*        volt                    = %.2f*

-- 
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/b27e7eaf-8053-46a9-93d8-fabc34970a51n%40googlegroups.com.

Reply via email to