Gary,

now things looks like I want it to look! I'm sure I hadn't solved this 
myself so a big thank you for that solution :) 
This forum is just great for people like me who isn't very good at this 
stuff. 
But I know I'm learning a lot when things don't go as I want and I get to 
read much about it. I think many solutions are in the weewx docs but 
sometimes it gets to difficult for a beginner!


Once again, thank you Gary for helping me!

Mikael


Den fredag 12 juli 2019 kl. 23:16:28 UTC+2 skrev gjr80:
>
> Mikael, 
>
> I had assumed that WeeWX had a default format for ‘count’ fields but it 
> appears that one does not exist, so we will have to define one. There is no 
> default label either, though not that one is really required (as hPa is 
> required for pressure) but we might as well add one. Try adding the 
> following to the end of extensions.py: 
>
> weewx.units.default_unit_format_dict['count'] = '%.0f' 
> weewx.units.default_unit_label_dict['count'] = '' 
>
> Again save and restart WeeWX. 
>
> Note that the above format and label can be overridden (as with any other 
> observation) from skin.conf or the [StdReport] stanza of weewx.conf. 
>
> Gary

-- 
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/6fbe75d4-95e5-4e9b-9905-43a5b932541c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to