On Sunday, 1 October 2023 at 07:03:25 UTC+10 [email protected] wrote:

Ok thanks for the insight, Highchart is overwriting my week.json, but not 
my other, day.json, month.json or year.json…. Now the question is why?


Simple, the weewx-highcharts extensions produces two json files; week.json
 and year.json, it does not produce day.json or month.json. So that is why 
the Belchertown day.json and month.json are not overwritten. As for why 
year.json is not overwritten, it could be for a number of reasons. Have you 
disabled generation of weewx-highcharts year.json? Is it being written to 
another directory? By default weewx-highcharts places week.json and 
year.json in /home/weewx/public_html/json or /var/www/html/weewx/json depending 
on your WeeWX install type. I thought these would be safe, but perhaps not.

The answers will be in your config files. You have a few choices; either 
disable the Belchertown skin or weewx-highcharts or change the location of 
the generated Belchertown or weewx-highcharts output. You could also change 
the names of the weewx-highcharts generated json files, but I do not 
recommend this as it would entail editing some of the weewx-highcharts 
javascript.

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/d487f27f-ce8d-4c1e-a462-63d7581f2220n%40googlegroups.com.

Reply via email to