Station Averages & Interactive Views not working

Post Reply
Csbull
Newbie
Newbie
Posts: 7
Joined: Mon May 21, 2018 10:01 pm
Station model: Davis Vantage Pro2
Software: Meteobridge
Contact:

Station Averages & Interactive Views not working

Post by Csbull » Wed Aug 01, 2018 8:16 pm

I have setup my website locally on my Mac using MAMP and I am running the update cronjob in terminal (which is working successfully every minute). My website is using Weather Underground for database updates and data import. The website is connected correctly to my database and all my data have been uploaded.

My current conditions block is working and updating about every 15 minutes and my Station Data block is also updating and showing correct data.

Unfortunately, the Station Averages block is empty and all of the pages within Interactive Views under Weather Station are not working. The Graph is empty and not showing anything. The Table also does not show anything (I can create the table when I hit OK but no data or pictures load). The Interactive Summary does work but it is showing bad data.

I don’t know what I can do to fix this as I already tried deleting and re-uploading the data from Weather Underground.
Attachments
Bad data
Bad data
Screen Shot 2018-08-01 at 4.11.45 PM.png (258.44 KiB) Viewed 7454 times
no data or pictures load
no data or pictures load
Screen Shot 2018-08-01 at 4.12.26 PM.png (32.88 KiB) Viewed 7454 times
empty graph
empty graph
Screen Shot 2018-08-01 at 4.12.50 PM.png (113.76 KiB) Viewed 7454 times

wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Re: Station Averages & Interactive Views not working

Post by wx_jon » Wed Aug 01, 2018 9:12 pm

If you go to the admin control panel - Edit Data page, do you see data in a table? If not, something must be wrong with the data recording.
The missing icons are probably either a path or permissions issue. What is your website's URL?

P.S.: If you're just starting a new weather station and/or website, I'd highly recommend using weeWX software, as it works very smoothly with MeteoTemplate and would not rely on the unreliable Weather Underground. I or some others on this forum could help you set that up.

Csbull
Newbie
Newbie
Posts: 7
Joined: Mon May 21, 2018 10:01 pm
Station model: Davis Vantage Pro2
Software: Meteobridge
Contact:

Re: Station Averages & Interactive Views not working

Post by Csbull » Wed Aug 01, 2018 10:58 pm

Strangely enough all the data seems to be in the table and none of it seems inaccurate as far as I can tell from a quick glance. I still don’t get why it won't show up on the Station Averages Block or any of the Interactive View pages.

Image problems seem to be caused by the image file being in the wrong spot. For example, the weather —> outlook page was missing the Forecast Summary icon and after opening the index.php in Brackets, I saw that it should be located in icons/table.png (/pages/forecast/icons/table.png). Turns out that the file was located in /icons and not /pages/forecast/icons.

That fixes the first issue with the images loading problem. The other problem seems to be the code <?php echo $pageURL.$path?> within the img src code. When I took that segment out and placed the table icon in the appropriate folder, the image appeared when reloading the page.

My current setup has my Davis Vantage Pro2 console connected via the USB data logger to my Mac and WeatherLink. It then uploads to weatherlink.com where I upload to Weather Underground. Unfortunately, this method doesn’t support rapid fire so Weather Underground gets updated every 15 minutes or so. I’m not sure how weeWX would be any better with my current setup.

wx_jon
Advisor
Advisor
Posts: 52
Joined: Tue Aug 29, 2017 8:54 pm
Location: Seattle, WA, USA
Station model: Davis Vantage Pro 2 Plus
Software: weeWX
Contact:

Re: Station Averages & Interactive Views not working

Post by wx_jon » Thu Aug 02, 2018 5:11 pm

Did you set your "Path" and "Page URL" correctly in the template's main setup? Pretty sure you need the '/' after your page URL for things to work properly. So it should be

Code: Select all

http://www.your-weather-website.com/
and your path, if your template is installed in a folder called 'template', should be 'template/'.

I'm not too sure about what is going on with your data though. Maybe someone else has experienced this with Weather Underground sync.

Well unfortunately you can't use weeWX and WeatherLink at the same time, but weeWX will save all of your data in a convenient database, upload to Weather Underground and many other sites with rapid-fire updates, and upload automatically to Meteotemplate (with the addition of a plugin), also with rapid updates. It's very slick. It's the only software I use on my Mac with Davis VP2/USB.

Csbull
Newbie
Newbie
Posts: 7
Joined: Mon May 21, 2018 10:01 pm
Station model: Davis Vantage Pro2
Software: Meteobridge
Contact:

Re: Station Averages & Interactive Views not working

Post by Csbull » Mon Aug 06, 2018 2:54 pm

Well I couldn’t figure out the problem so I downloaded the template again and reconfigured my settings. Everything seems to be working fine now. All my data is appearing where it should be and everything is updating fine.

Post Reply