I believe I have fixed the problem. Could you try using the latest 
highchartsearchlist.py, to install:

1. move aside you existing highchartssearchlist.py:

$ sudo mv /usr/share/weewx/user/highchartssearchlist.py 
/usr/share/weewx/user/highchartssearchlist_orig.py 

2. download the latest highchartssearchlist.py in its place:

$ sudo wget -P /usr/share/weewx/user 
https://raw.githubusercontent.com/gjr80/weewx-highcharts/master/bin/user/highchartssearchlist.py

3. restart WeeWX.

Monitor your WeeWX log to see if the original error recurs. Please let me 
know how you get on and if the issue is fixed I will release v0.3.1.

Gary
On Wednesday, 14 October 2020 at 23:50:26 UTC+10 [email protected] wrote:

> Thanks for the quick reply.  You answered what I needed to know.  I need 
> to integrate them into my page, that is where I was lost.  I just assumed 
> it did it automatically.  
> I will watch the highcharts for a few days to see if error persist then.
>
> On Wednesday, October 14, 2020 at 8:36:26 AM UTC-5 gjr80 wrote:
>
>> On Wednesday, 14 October 2020 at 23:11:09 UTC+10 [email protected] wrote:
>>
>>> I had wind pretty much all night with some gust and still getting the 
>>> error. 
>>
>>
>> By default the extension produces wind rose data over 24 hours, 7 days, a 
>> month and a year. Without going into details just one archive period 
>> without windSpeed data in the previous 24 hours will cause the error.
>>
>> Also, I am not understanding 100% how this extension works. 
>>
>>
>> Not sure what you mean by this. The extension generates a suite of JSON 
>> formatted data that can be used by Highcharts 
>> <https://www.highcharts.com/> to plot various WeeWX data. There are 
>> three elements to the extension; the reports that generate the JSON data, 
>> example JavaScript files to use with Highcharts to render the plots and 
>> example HTML to display the plots on a page served by a web server. If you 
>> want to display the plots on your own page (WeeWX generated or otherwise) 
>> then you need to integrate those three elements in your own site/pages.
>>
>> I have installed the Stacked Windrose also, it is putting the .png file 
>>> in the /var/www/html/weewx folder, but when I open my local index.html in 
>>> Chromium, it does not appear.  Can only view when I click on picture.  
>>
>>
>> The stacked windrose generator generates a graphic file for inclusion on 
>> a web page of your choice, it is up to you to add the appropriate HTML tags 
>> to display the image on your page/site.
>>  
>>
>>> Are the Highcharts and windrose supposed to be incorporated into the 
>>> html file?
>>
>>
>> Probably covered above, but ultimately if you want to display the 
>> Highcharts plots and stacked windrose you need to integrate them into your 
>> pages yourself, they are not integrated into any WeeWX generated pages like 
>> the WeeWX plot image files are. 
>>
>> Gary
>>
>

-- 
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/5ddf2273-f754-4ac4-a059-4698d146b2c8n%40googlegroups.com.

Reply via email to