Ok, in that case I will need to talk you through some fault finding.
Chances are if your json data file is being generated your problem is
likely a file not being found by the browser. What you need to do is open
up your browsers web console. How you do this is dependent on the browser
you are using. I use firefox and it is located under the hamburger menu,
Web Developer, Browser Console. For Chrome it is under More tools,
Developer tools. Once you have the browser console open you want to look at
the javascript log (its separate in firefox). Then you need to reload the
averages page and look through the browser console entries to see if any
errors come up that relate to the averages page, the json file or
highcharts. If there is nothing in the javascript log have a look at any of
the other log panels. If you see any relevant errors take note of what they
say and post some details back here.
Gary
On Wednesday, 10 October 2018 22:45:48 UTC+10, Phil Owers wrote:
>
> No not yet. Opened it up in the raspberry browser which works for all
> other weewx html's.
>
> 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.