That’s great that you are up and running. I had a look at your WeatherBoard
report and indeed I see kph.
I just tried this myself. I targeted SeasonsReport (since that is what you
did) and added the km/h and it’s working for me. Let’s compare our
SeasonsReport entries.
I have the following. Note the Labels entry with km/h in quotes with a leading
space.
Please send what you have for this section.
[[SeasonsReport]]
# The SeasonsReport uses the 'Seasons' skin, which contains the
# images, templates and plots for the report.
skin = Seasons
enable = true
[[[Units]]]
[[[[StringFormats]]]]
mile_per_hour = %.1f
degree_C = %.1f
km_per_hour = %.1f
degree_F = %.1f
[[[[Labels]]]]
km_per_hour = " km/h"
> On Jul 5, 2020, at 4:58 AM, Geni 0815 <[email protected]> wrote:
>
>
> @John: I have new installed the weewx-loopdata here my settings in
> weewx.conf. In my SeasonsReport the field km_per_hour is correctly displayed
> with km/h.
> appended a loop_data.txt and kph is still in it.
>
> How does your built-in tests for conversions and formatting work?
>
> [LoopData]
> [[FileSpec]]
> loop_data_dir = /home/pi/wetter/loop-data
> filename = loop-data.txt
> [[Formatting]]
> target_report = SeasonsReport
> [[RsyncSpec]]
> enable = false
> remote_server = www.foobar.com
> remote_user = root
> remote_dir = /home/weewx/loop-data
> compress = false
> log_success = false
> ssh_options = -o ConnectTimeout=1
> timeout = 1
> skip_if_older_than = 3
> [[Include]]
> fields = dateTime, windSpeed, COMPASS_windDir, DESC_barometerRate,
> FMT_barometer, FMT_SUM_rain, FMT_dewpoint, FMT_heatindex, FMT_outHumidity,
> FMT_outTemp, FMT_rain, FMT_rainRate, FMT_windchill, FMT_windSpeed,
> FMT_HI_windGust, FMT_10mMaxGust, FMT_appTemp
> [[Rename]]
>
> --
> 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/34cc8d8a-4be6-48d6-9503-505d399d10ceo%40googlegroups.com.
> <loop-data.txt>
--
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/32999FB7-D6E5-4397-A133-F2625FD21DD5%40johnkline.com.