Addendum....

I have managed to get the graphs to work (manully, hence won't be updated) 
by simply copying over the day.json etc. files from \belchertown\json to 
\json on the web host file system, so it seems like this problem can be 
solved by ensuring that the json files are uploaded by sftp to \json rather 
than \belchertown\json.  Any idea how I do that, please?

Thanks

David.

On Wednesday, 10 October 2018 15:57:56 UTC+1, dhin...@djhindley.com wrote:
>
> I previously posted here various issues I had with weewx and the excellent 
> Belchertown skin.  I have solved some of these - for example I have been 
> able to use SFTP to upload to my hosted website, as the host has stopped 
> allowing plain FTP.  However, I just can't get the graphs to work, which I 
> had posted about previously. I have even bought a new Raspberry Pi, as mine 
> was quite old and I wanted to eliminate that source. So, I have a fresh 
> install of weewx and the Belchertown skin, but the graphs are just not 
> displaying.  The public site has changed from my previous post and is now 
> www.ashteadweather.com.
>
> The latest syslog is below.
>
> The website is under the root in ashteadweather.com.  I can see in the 
> file structure that \json only has two json files (dark-sky... and 
> weewx-data.json) whereas \belchertown\json has more json files (e.g. 
> day.json, week.json etc.).  Is this the source of the issue perhaps, and if 
> so, how do I get the required json files into \json?
>
> Any help would be much appreciated, as I am really struggling to work out 
> what is going on here, and am very keen for the graphs to be displayed.
>
> Thanks
>
> David.
>
>
> Oct 10 15:40:15 raspberrypi weewx[20911]: vantage: Getting archive packets 
> since 2018-10-10 15:35:00 BST (1539182100)
> Oct 10 15:40:15 raspberrypi weewx[20911]: vantage: Gentle wake up of 
> console successful
> Oct 10 15:40:17 raspberrypi weewx[20911]: vantage: Retrieving 1 page(s); 
> starting index= 0
> Oct 10 15:40:17 raspberrypi weewx[20911]: manager: Added record 2018-10-10 
> 15:40:00 BST (1539182400) to database 'weewx.sdb'
> Oct 10 15:40:17 raspberrypi weewx[20911]: manager: Added record 2018-10-10 
> 15:40:00 BST (1539182400) to daily summary in 'weewx.sdb'
> Oct 10 15:40:18 raspberrypi weewx[20911]: restx: WOW: wait interval (600 < 
> 900) has not passed for record 2018-10-10 15:40:00 BST (1539182400)
> Oct 10 15:40:18 raspberrypi weewx[20911]: restx: StationRegistry: wait 
> interval (67200 < 604800) has not passed for record 2018-10-10 15:40:00 BST 
> (1539182400)
> Oct 10 15:40:18 raspberrypi weewx[20911]: vantage: DMPAFT complete: page 
> timestamp 2018-10-01 18:25:00 BST (1538414700) less than final timestamp 
> 2018-10-10 15:40:00 BST (1539182400)
> Oct 10 15:40:18 raspberrypi weewx[20911]: vantage: Catch up complete.
> Oct 10 15:40:18 raspberrypi weewx[20911]: reportengine: Running reports 
> for latest time in the database.
> Oct 10 15:40:18 raspberrypi weewx[20911]: vantage: Requesting 200 LOOP 
> packets.
> Oct 10 15:40:18 raspberrypi weewx[20911]: reportengine: Running report 
> StandardReport
> Oct 10 15:40:18 raspberrypi weewx[20911]: reportengine: Found 
> configuration file /etc/weewx/skins/Belchertown/skin.conf for report 
> StandardReport
> Oct 10 15:40:18 raspberrypi weewx[20911]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.belchertown.getData']
> Oct 10 15:40:18 raspberrypi weewx[20911]: manager: Daily summary version 
> is 2.0
> Oct 10 15:40:18 raspberrypi weewx[20911]: vantage: Gentle wake up of 
> console successful
> Oct 10 15:40:21 raspberrypi weewx[20911]: cheetahgenerator: Generated 12 
> files for report StandardReport in 2.73 seconds
> Oct 10 15:40:21 raspberrypi weewx[20911]: copygenerator: copied 1 files to 
> /var/www/html/weewx
> Oct 10 15:40:21 raspberrypi weewx[20911]: reportengine: Running report sftp
> Oct 10 15:40:21 raspberrypi weewx[20911]: reportengine: Found 
> configuration file /etc/weewx/skins/sftp/skin.conf for report sftp
> Oct 10 15:40:21 raspberrypi weewx[20911]: sftp: running SFTPGenerator 0.3
> Oct 10 15:40:21 raspberrypi weewx[20911]: sftp: 
> local_root=/var/www/html/weewx
> Oct 10 15:40:21 raspberrypi weewx[20911]: sftp: remote_root=/
> Oct 10 15:40:21 raspberrypi weewx[20911]: sftp: server=xxxxxxxx port=22 
> user=xxxxxx
> Oct 10 15:40:21 raspberrypi weewx[20911]: sftp: connecting to 
> xxxxxxx@xxxxxxxx
> Oct 10 15:40:21 raspberrypi weewx[20911]: sftp: create remote directory /
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: uploaded file /index.html
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: uploaded file /style.css
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: create remote directory 
> /smartphone
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: create remote directory 
> /smartphone/icons
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: create remote directory 
> /RSS
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: create remote directory 
> /json
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: uploaded file 
> /json/weewx_data.json
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: create remote directory 
> /NOAA
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: uploaded file 
> /NOAA/NOAA-2018-10.txt
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: uploaded file 
> /NOAA/NOAA-2018.txt
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: create remote directory 
> /backgrounds
> Oct 10 15:40:22 raspberrypi weewx[20911]: sftp: create remote directory /js
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: uploaded file 
> /js/highcharts-dayplots.js
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: uploaded file 
> /js/highcharts-yearplots.js
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: uploaded file 
> /js/highcharts-monthplots.js
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: uploaded file 
> /js/highcharts-weekplots.js
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: create remote directory 
> /graphs
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: uploaded file 
> /graphs/index.html
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: create remote directory 
> /records
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: uploaded file 
> /records/index.html
> Oct 10 15:40:23 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown
> Oct 10 15:40:24 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/index.html
> Oct 10 15:40:24 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/style.css
> Oct 10 15:40:24 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/json
> Oct 10 15:40:24 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/json/weewx_data.json
> Oct 10 15:40:24 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/json/day.json
> Oct 10 15:40:25 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/json/month.json
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/json/year.json
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/json/week.json
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/NOAA
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/NOAA/NOAA-2018-10.txt
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/NOAA/NOAA-2018.txt
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/js
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/js/highcharts-dayplots.js
> Oct 10 15:40:26 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/js/highcharts-yearplots.js
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/js/highcharts-monthplots.js
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/js/highcharts-weekplots.js
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/graphs
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/graphs/index.html
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/records
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/records/index.html
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/reports
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/reports/index.html
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/about
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: uploaded file 
> /belchertown/about/index.html
> Oct 10 15:40:27 raspberrypi weewx[20911]: sftp: create remote directory 
> /belchertown/images
> Oct 10 15:40:28 raspberrypi weewx[20911]: sftp: create remote directory 
> /reports
> Oct 10 15:40:28 raspberrypi weewx[20911]: sftp: uploaded file 
> /reports/index.html
> Oct 10 15:40:28 raspberrypi weewx[20911]: sftp: create remote directory 
> /about
> Oct 10 15:40:28 raspberrypi weewx[20911]: sftp: uploaded file 
> /about/index.html
> Oct 10 15:40:28 raspberrypi weewx[20911]: sftp: create remote directory 
> /images
> Oct 10 15:40:28 raspberrypi weewx[20911]: sftpgenerator: transferred 30 
> files in 7.29 seconds
> Oct 10 15:40:28 raspberrypi weewx[20911]: reportengine: Running report 
> Highcharts_Belchertown
> Oct 10 15:40:28 raspberrypi weewx[20911]: reportengine: Found 
> configuration file /etc/weewx/skins/Highcharts_Belchertown/skin.conf for 
> report Highcharts_Belchertown
> Oct 10 15:40:28 raspberrypi weewx[20911]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.belchertown_highchartsSearchX.highchartsDay', 
> 'user.belchertown_highchartsSearchX.highchartsWeek', 
> 'user.belchertown_highchartsSearchX.highchartsMonth', 
> 'user.belchertown_highchartsSearchX.highchartsYear']
> Oct 10 15:40:28 raspberrypi weewx[20911]: manager: Daily summary version 
> is 2.0
> Oct 10 15:40:46 raspberrypi weewx[20911]: cheetahgenerator: Generated 4 
> files for report Highcharts_Belchertown in 18.12 seconds
> Oct 10 15:40:46 raspberrypi weewx[20911]: copygenerator: copied 0 files to 
> /var/www/html/weewx/belchertown
> Oct 10 15:40:46 raspberrypi weewx[20911]: reportengine: Running report 
> Belchertown
> Oct 10 15:40:46 raspberrypi weewx[20911]: reportengine: Found 
> configuration file /etc/weewx/skins/Belchertown/skin.conf for report 
> Belchertown
> Oct 10 15:40:46 raspberrypi weewx[20911]: cheetahgenerator: using search 
> list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.belchertown.getData']
> Oct 10 15:40:46 raspberrypi weewx[20911]: manager: Daily summary version 
> is 2.0
> Oct 10 15:40:49 raspberrypi weewx[20911]: cheetahgenerator: Generated 12 
> files for report Belchertown in 3.00 seconds
> Oct 10 15:40:49 raspberrypi weewx[20911]: copygenerator: copied 1 files to 
> /var/www/html/weewx/belchertown
> Oct 10 15:40:49 raspberrypi weewx[20911]: reportengine: Running report FTP
> Oct 10 15:40:49 raspberrypi weewx[20911]: reportengine: Found 
> configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP
> Oct 10 15:40:49 raspberrypi weewx[20911]: ftpgenerator: FTP upload not 
> requested. Skipped.
> Oct 10 15:40:49 raspberrypi weewx[20911]: reportengine: Running report 
> RSYNC
> Oct 10 15:40:49 raspberrypi weewx[20911]: reportengine: Found 
> configuration file /etc/weewx/skins/Rsync/skin.conf for report RSYNC
> Oct 10 15:40:49 raspberrypi weewx[20911]: rsyncgenerator: rsync upload not 
> requested. Skipped.
>
>
> On Tuesday, 21 August 2018 19:45:13 UTC+1, Pat wrote:
>>
>> The Belchertown skin for weewx is now available. This skin is modeled 
>> after https://belchertownweather.com 
>>
>> The skin features
>>
>>    - Real time streaming updates on the front page without needing to 
>>    reload the site (weewx-mqtt extension required)
>>    - Forecast data updated every hour without needing to reload (a free 
>>    DarkSky API key required)
>>    - Information on your closest Earthquake updated automatically every 
>>    3 hours
>>    - Weather station observation graphs which update without needing to 
>>    reload
>>    - Weather records for the current year, and for all time
>>    - A mobile and iPad ready display. You could use an iPad as a "2nd 
>>    console". 
>>    
>> There are dozens of options to configure within the skin. Please view 
>> the readme on GitHub <https://github.com/poblabs/weewx-belchertown> for 
>> a detailed explanation. 
>>
>> The GitHub page: https://github.com/poblabs/weewx-belchertown
>>
>> Direct download of v0.1: 
>> https://github.com/poblabs/weewx-belchertown/archive/weewx-belchertown-0.1.tar.gz
>>
>> Quick install:
>>
>> wget https://
>> github.com/poblabs/weewx-belchertown/archive/weewx-belchertown-0.1.tar.gz
>>
>> sudo wee_extension --install weewx-belchertown-0.1.tar.gz
>>
>> Configure weewx.conf with your options
>>
>> Restart weewx
>>
>> Out of the box, it is a very basic theme. Make sure to check out the readme 
>> for all options available <https://github.com/poblabs/weewx-belchertown>!
>>
>>
>> This is my first skin, and I've done all I could to test it out in 
>> various environments to iron out any initial bugs. If you do find something 
>> that's a little off, or room for improvement, please let me know!
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to