Not too interesting.  I see it on the WeatherBoard report here:
https://affolter.familyds.net/wetter/weatherboard/

You no longer are producing it, but the JavaScript is happily fetching the 
latest values.

As for why you don’t see km/h, I obviously am not managing the dictionaries 
correctly.  I will have to fix that, but in the meantime, please verify that it 
works if you add the following under SeasonsReport.

>>         [[[Units]]]
>>             [[[[Labels]]]]
>>                 km_per_hour = " km/h"


> On Jul 5, 2020, at 6:11 AM, Geni 0815 <[email protected]> wrote:
> 
> 
> Now it gets interesting, where do you see kph on my season page?
> 
> Am Sonntag, 5. Juli 2020 14:18:00 UTC+2 schrieb John Kline:
>> 
>> 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/9d702cab-41cf-4e8b-9e8f-f3f6464f9f50o%40googlegroups.com.
> <weewx.conf>

-- 
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/27471A72-D2AC-4E03-8FFB-8B631767EC23%40johnkline.com.

Reply via email to