You need averages.html, averages.json, averages.js and theme.js. Just 
because nothing is displaying on the page does not mean something is 
missing, as I said it is more likely that the browser cannot find one or 
more of the files. The browser console will possibly tell what that is.

Gary

On Wednesday, 10 October 2018 23:24:42 UTC+10, Phil Owers wrote:
>
> Gary
> Before I do that Ive just downloaded the script folder and averages.html 
> and average.json to my web server
> I just get a blank page Is there anything else that needs downloading to 
> the web server to get it to work
>
> Phil
>
> On Wednesday, October 10, 2018 at 11:53:35 AM UTC+1, Phil Owers wrote:
>>
>> Hi Guys
>> Downloaded the weewx-averages extension a few days ago but cant get 
>> anything on the averages.html
>> I changed the report_timing to @daily to get it started and appears that 
>> the averages.json file has data in it
>>
>> [{
>> "_version": "averages.json.tmpl version 0.5.0",
>> "temperatureplot": {"series":
>> {"outTempMeanMinMax": {"name": "Temperature", "data": [[3.0, 7.2], [3.1, 
>> 7.4], [4.0, 9.9], [6.2, 13.1], [9.0, 16.1], [11.9, 19.1], [14.1, 21.5], 
>> [14.1, 21.2], [12.1, 18.6], [10.2, 15.2], [6.4, 10.7], [4.4, 8.5]]},
>> "outTempMean": {"name": "Mean Temperature", "data": [5.1, 5.2, 7.0, 9.6, 
>> 12.6, 15.5, 17.8, 17.6, 15.4, 12.7, 8.6, 6.5]},
>> "outTempMax": {"name": "Maximum Temperature", "data": [15.2, 17.6, 21.8, 
>> 28.3, 28.8, 32.3, 34.1, 30.9, 30.3, 28.2, 17.6, 15.6]},
>> "outTempMin": {"name": "Minimum Temperature", "data": [-7.9, -5.4, -6.1, 
>> -0.3, -1.5, 5.1, 9.2, 8.1, 5.3, 2.8, -0.1, -5.9]}},
>> "yAxisLabel": {"text":  "(\u00B0 C)"
>> },
>> "yAxisUnits": {"text":  "\u00B0 C"
>> }},
>> "rainplot": {"series":
>> {"rainAvg": {"name": "Rain", "data": [54.6, 46.0, 43.0, 36.5, 48.3, 42.4, 
>> 44.4, 52.2, 42.9, 62.1, 65.3, 55.1]}},
>> "yAxisLabel": {"text":  "(mm)"
>> },
>> "yAxisUnits": {"text":  "mm"
>> }},
>> "generated": "10 October 2018 00:00"
>> }]
>>
>> but the averages.html is blank
>>
>> The averages.json file is in the HTML_ROOT/Jason folder and the 
>> averages.html is in HTMT_ROOT folder
>>
>> The [[HighChartsAverages]] section in the weewx.conf is
>>
>> [[HighchartsAverages]]
>>         report_timing = @daily
>>         skin = HighchartsAverages
>>         [[[Units]]]
>>             [[[[StringFormats]]]]
>>                 inch = %.2f
>>                 mm = %.1f
>>                 degree_F = %.1f
>>                 cm = %.2f
>>                 degree_C = %.1f
>>             [[[[TimeFormats]]]]
>>                 current = %-d %B %Y %H:%M
>>             [[[[Groups]]]]
>>                 group_temperature = degree_C
>>                 group_rain = mm
>>         [[[CopyGenerator]]]
>>             copy_once = scripts/averages.js, scripts/theme.js, 
>> averages.html
>>         [[[Generators]]]
>>             generator_list = weewx.cheetahgenerator.CheetahGenerator, 
>> weewx.reportengine.CopyGe$
>>
>> I loaded the extension using wee_extension --install= 
>>
>> Weewx is version 3.8.2 and I have data in the sdb file back to 2010
>>
>> Am I being in to much of a rush or have I missed something
>> Any help would be most welcome
>> Thanks in advance
>> Phil
>>
>

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

Reply via email to