Doug,

I've been able to reproduce the problem. I've created issue #32 on GitHub 
to track the issue.

I wrote the scroller/forecast code used in RTGD over four years ago, back 
when Matthew Wall's original forecast extension was in use. My code is not 
as robust as I would like plus it is possible something changed within the 
forecast extension. I suspect it will be an easy fix, but let me work on 
this some more.

Gary

On Sunday, 10 September 2023 at 20:42:47 UTC+10 [email protected] 
wrote:

> Thanks Gary
>
> On Sunday, September 10, 2023 at 6:27:42 PM UTC+8 gjr80 wrote:
>
>> Thanks. that all looks as it should. It's been a while since I've looked 
>> at any of the forecasting source code in RTGD. Let me re-familiarise myself 
>> with it and I will get back to you.
>>
>> Gary
>>
>> On Sunday, 10 September 2023 at 19:10:10 UTC+10 [email protected] 
>> wrote:
>>
>>>  Here is the debug log file
>>>
>>> On Sunday, September 10, 2023 at 4:51:58 PM UTC+8 Doug Couper wrote:
>>>
>>>> Gray 
>>>>
>>>> Here is the stanzer will get the log next 
>>>>
>>>> I have changed the Zambretti bit in the stanzer to lower case to no 
>>>> avail already and reverted back to the capitalised version
>>>>
>>>>
>>>> [RealtimeGaugeData]
>>>>     # This section is for the RTGD service.
>>>>     
>>>>     # Date format to be used in gauge-data.txt. Must be either %d/%m/%Y,
>>>>     # %m/%d/%Y or %Y/%m/%d. Separator may be forward slash '/' or a
>>>>     # hyphen '-'. Default is %Y/%m/%d.
>>>>     date_format = %Y/%m/%d
>>>>     
>>>>     # Time format to be used in gauge-data.txt. May be %H:%M or %h:%M.
>>>>     # Default is %H:%M
>>>>     time_format = %H:%M
>>>>     
>>>>     # Path to gauge-data.txt. Relative paths are relative to HTML_ROOT. 
>>>> If
>>>>     # empty HTML_ROOT is used, if setting omitted altogether /var/tmp 
>>>> is used.
>>>>     rtgd_path = /var/www/thecoupers/weewx/ss/
>>>>     
>>>>     # Scrolling text display or 'forecast' field source. Case 
>>>> insensitive. 
>>>>     # All except Zambretti require a corresponding [[ ]] stanza. 
>>>> Uncomment and 
>>>>     # select one entry to enable.
>>>>     scroller_source = Zambretti
>>>>     
>>>>     # Settings to be used for Darksky forecast block. Uncomment to use.
>>>>     
>>>>     # DarkSky API key
>>>>     # api_key = xxxxxxxxxxxxxxxx
>>>>     
>>>>     [[WU]]
>>>>     # Settings to be used for Weather Underground forecast block. 
>>>> Uncomment 
>>>>     # to use.
>>>>     
>>>>     # WU API key to be used when calling the WU API
>>>>     # api_key = xxxxxxxxxxxxxxxx        
>>>>     
>>>>     [[Text]]
>>>>     # Settings to be used for user specified text block. Uncomment to 
>>>> use.
>>>>     
>>>>     # user specified text to populate the 'forecast' field
>>>>     # text = enter text here
>>>>     
>>>>     [[File]]
>>>>     # Settings to be used for first line of text file block. Uncomment 
>>>> to use.
>>>>     
>>>>     # Path and file name of file to use as block for the 'forecast' 
>>>>     # field. Must be a text file, first line only of file is read.
>>>>     # file = path/to/file/file_name
>>>>     
>>>>     [[StringFormats]]
>>>>         # formats for gauge-data.txt fields by unit type
>>>>         degree_C = %.1f
>>>>         degree_F = %.1f
>>>>         degree_compass = %.0f
>>>>         foot = %.0f
>>>>         hPa = %.1f
>>>>         inHg = %.2f
>>>>         inch = %.2f
>>>>         inch_per_hour = %.2f
>>>>         km_per_hour = %.1f
>>>>         km = %.1f
>>>>         mbar = %.1f
>>>>         meter = %.0f
>>>>         meter_per_second = %.1f
>>>>         mile = %.1f
>>>>         mile_per_hour = %.1f
>>>>         mm = %.1f
>>>>         mm_per_hour = %.1f
>>>>         percent = %.0f
>>>>         uv_index = %.1f
>>>>         watt_per_meter_squared = %.0f
>>>>     
>>>>     
>>>>     [[Groups]]
>>>>         # Units to be used in gauge-data.txt. Note not all available 
>>>> WeeWX units 
>>>>         # are supported for each group.         
>>>>         
>>>>         # Supported options for group_altitude are 'meter' or 'foot'
>>>>         group_altitude = meter
>>>>         # Supported options for group_pressure are 'inHg', 'mbar', or 
>>>> 'hPa'
>>>>         group_pressure = hPa
>>>>         # Supported options for group_rain are 'inch' or 'mm'
>>>>         group_rain = mm
>>>>         # Supported options for group_speed are 'mile_per_hour', 
>>>> 'km_per_hour' 
>>>>         # or 'meter_per_second'
>>>>         group_speed = km_per_hour
>>>>         # Supported options for group_temperature are 'degree_F' or 
>>>> 'degree_C'
>>>>         group_temperature = degree_C
>>>>
>>>> On Sunday, September 10, 2023 at 4:33:07 PM UTC+8 gjr80 wrote:
>>>>
>>>>> We're going to need some more info. Can you please post your 
>>>>> [RealtimeGaugeData] stanza from weewx.conf; if you are only using the 
>>>>> Zambretti forecast there should be no sensitive info in the stanza, but 
>>>>> do 
>>>>> check first for API keys, passwords etc before posting. Also, can you 
>>>>> edit 
>>>>> weewx.conf, set debug = 1, save weewx.conf and restart WeeWX. Take a 
>>>>> log extract showing the full WeeWX startup and post the extract back here.
>>>>>
>>>>> Gary
>>>>> On Sunday, 10 September 2023 at 18:22:22 UTC+10 [email protected] 
>>>>> wrote:
>>>>>
>>>>>> Hi all
>>>>>>
>>>>>> Installed stainless steel gauges and the real-time gauge data 
>>>>>> extension.
>>>>>>
>>>>>> The forecast in the ticker is not showing it is a blank display
>>>>>> https://baldivisweather.ddns.net/ss/
>>>>>>
>>>>>> Forecast for Weewx is installed and working correctly with the 
>>>>>> Zambretti forecast, Weewx.Conf has be modified for Zambretti in the real 
>>>>>> time gauge config.
>>>>>>
>>>>>> The site is presenting Zambretti forecast on the forecast sample
>>>>>> https://baldivisweather.ddns.net/forecast/zambretti.html
>>>>>>
>>>>>> I thought it might be due to the Zambretti algorithm not having run 
>>>>>> but it has now and not displaying.
>>>>>>
>>>>>> Probably some very simple I have missed “forecast” is in the database
>>>>>>
>>>>>> Doug
>>>>>> https://baldivisweather.ddns.net
>>>>>>
>>>>>>

-- 
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/e13603da-35cc-4916-8da4-ed37ea810fb9n%40googlegroups.com.

Reply via email to