setting km/h instead of m/sec

1,138 views
Skip to first unread message

Pierre D

unread,
Feb 1, 2015, 2:33:53 PM2/1/15
to weewx...@googlegroups.com
Hi folks.
Just switched from Cumulus to Weewx because my old laptop I was using for Cumulus died. My preferred solution was to go with Raspberry Pi but it doesn't support Wine, (Anyway Wine doesn't support USB so...) thus not Cumulus.
Weewx seems great and was easy to setup. I get all the data.
However, I can't seem to find the way to change the wind speed from m/s to km/h. I've looked in the manuals and I saw a couple of place I could perhaps do it (....conf) but either it stops displaying wind speed althgether (get a N/A) or nothing changes.
Can someone be kind enough to instruct me to do it?
I'm rather new with Pi (2 weeks) and I was once a "power user" of linux, but this was 15 years ago and, memory being what it is...

I have a National Geographic weather station (FineOffset protocole).

Thanks,
Pierre. (Qc, Canada)

Thomas Keffer

unread,
Feb 1, 2015, 3:37:39 PM2/1/15
to weewx-user
Very easy to do. Go into skins/Standard/skin.conf and change the entry

group_speed = meter_per_second
group_speed2 = meter_per_second2

to

group_speed = km_per_hour
group_speed2 = km_per_hour2

This is all in the Customizing manual, under section Changing options in skin.conf. (Although there is a typo. It says "mile_per_second", instead of "mile_per_hour.") 

-tk

--
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.
For more options, visit https://groups.google.com/d/optout.

Pierre D

unread,
Feb 1, 2015, 7:13:36 PM2/1/15
to weewx...@googlegroups.com
Thanks Tom.
I kind of misunderstood the instructions as I was changing it only in "speed2".

Now, the bug:
I display everything in metric. Yet, in the /etc/weevx/skins/Standard/skin.conf, everything is "english".
So, I changed "miles_per_hour" to "km_per_hours", but the rest is "inches/degF" etc
Yet, the webpage shows mm, and degC.
???

Did I edit the wrong file?

Thomas Keffer

unread,
Feb 2, 2015, 8:58:16 AM2/2/15
to weewx-user
Your skin configuration file, skin.conf, was overridden by the main configuration file, weewx.conf. This was done by the Debian install program. Look in /etc/weewx/weewx/conf for the settings.

Sorry, I should have recognized the possibility.

-tk

Pierre D

unread,
Feb 2, 2015, 7:01:50 PM2/2/15
to weewx...@googlegroups.com
Problem Solved!
Thanks Tom.

Pierre.
Reply all
Reply to author
Forward
0 new messages