XML: windspeed in m/sec as well as km/h

33 views
Skip to first unread message

Keimpe Bleeker

unread,
Jan 28, 2020, 9:04:32 AM1/28/20
to weewx-user
Hi all,

For a local news-website I kneed to build an XML- feed with windspeed in km/h, while my WeeWX is (consiously) configured for m/sec. Cheetah is picking the value for windspeed with this variable: $current.windSpeed.formatted. Is there a solution to get/create/... a second variable with windspeed in km/h?

Thanks in advance!

Andrew Milner

unread,
Jan 28, 2020, 9:41:00 AM1/28/20
to weewx-user
$current.windSpeed.formatted.km_per_hour

I think

Thomas Keffer

unread,
Jan 28, 2020, 10:04:07 AM1/28/20
to weewx-user
Almost. It's $current.windSpeed.km_per_hour.

It's all in the documentation.

-t


--
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/9481d291-2619-4d78-9589-550b57805ff1%40googlegroups.com.

Keimpe Bleeker

unread,
Jan 28, 2020, 10:35:53 AM1/28/20
to weewx...@googlegroups.com
Many thanks, that's working! Sorry for missing this in the documentation, I was digging around in everything and my blue eyes turned grey...
  

Op di 28 jan. 2020 om 16:04 schreef Thomas Keffer <tke...@gmail.com>:
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/VxBdQHKD-U4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEC7eEbVGqm3KoihzWYQM_kwWrJhDmUr%2B09j3s1zp1O7Cg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages