How hard is to setup and use weather34 template? ** Closed - outdated **

www.weather911.net/capture2.png does not exist, but there is an image at

Right, but I’m still getting a server 500 error. The http link is direct to my website. I was trying to make sure the php file and the link I entered was properly entered, including the dashes. Still may be a permissions issue which I’m working on. Thanks

Sent from my Pixel 2 using Tapatalk

Enter the link as

…/capture2.jpg

Looks like it’s a permissions issue. I see duplicate php files in the main pwsWD folder and then again in the pwswdupdate folder. Do I update all php files in both folders for the duplicates or only one?

Edit. I updated all php files to 644 and scripts seem to be working. I went ahead and setup WD to upload from my station and got the “success” message when I tested, but still not seeing my station conditions, just the sample conditions. I think I need to provide clientraw.txt path in settings? If so, do I fill out the boxes in the WD pic below

Sent from my Pixel 2 using Tapatalk

can someone tell me why I am getting this error:
Warning: array_key_exists() expects parameter 2 to be array, null given in /home4/jzinckgr/public_html/pwsWD/w34_livedata.php on line 305

at this link: http://www.weather911.net/pwsWD/index.php

Did you hand edit any of the files included with the distribution?

Also, your page footer shows:

Data Source: Clientraw n/a Hardware: Davis VP2 Pro

Double check your path setting in easy setup to your clientraw file…

The real error is Warning: file_get_contents(clientraw.txt):
So there is no data to be read, if you meant that clientraw.txt is in the root is should be …/clientraw.txt
But that is not correct either as http://www.weather911.net/clientraw.txt does not exists (404 error) or can not be read.

When there is no data at all, all kind of errors and warnings can occur. Also the array_key_exist which was checking if a certain field existed.

So for now please reset the location of clientraw.txt to “./demodata/clientraw.txt” then there will be no errors messing things up.
Then you can change ONE setting at a time => save after every change => test => only continue when all remains OK
Wim

That’s where I’m confused. WD generates a clientraw.txt file right? I assume this gets uploaded to my host, but I can’t find the file and thus the path to direct to

Sent from my Pixel 2 using Tapatalk

There is far far to much data that WD can generate and upload. There is a youtube movie and a wiki about what to select and how to upload. Then WD uploads only what you want/need.
Wim

you can set in WD to create and upload the clientraw.txt file
see under control panel
webfiles/web page setup
real time ftp setup

Looking much better now…

Making progress: Raymond, ME Home Weather Station (wd version)

Can get temp, barometer and webcam image to work, but not seeing any wind data or local forecast, current conditions. It’s still showing demo for those. When I open the wuweatherupdate.txt file, it is blank. Do I have to use darksky for conditions and forecast?

I never had an API key from WU so I think that explains why the text file is blank. Wondering if I’ll be able to get one after Feb 15. Seems like a lot up in the air.

Is there a way to use WD to provide 5 day forcst instead of using darksky or metar? I see an option in settings if I’m using clientraw, but not sure where to get the actual frcst file info from. Is it WD?

Sent from my Pixel 2 using Tapatalk

All uploaders to WU should be able to get a NEW-API-key. But what they can retrieve and if there will be scripts to use the key is unclear.

Is there a way to use WD to provide 5 day forcst instead of using darksky or metar? I see an option in settings if I'm using clientraw, but not sure where to get the actual frcst file info from. Is it WD?
[b]The forecast[/b] can only come from DarkSky at the moment. You need a free key for that. The limits are also very generous, 1000 calls/day

The current conditions can come from DarkSky, using the same API-key
Or from METAR using another free key
Or WD can read the METAR for you and the clientraw.txt will contain that information.

Thanks wim. Do you know why wind data is not populating?

Sent from my Pixel 2 using Tapatalk

Permissions problem
jquery.js:1 GET http://weather911.net/pwsWD/wind_gust_block.php?_=1548851151654 500 (Internal Server Error)
It works OK when started with http://www.weather911.net/pwsWD/w34_module_test.php

Wim

Got it all fixed. Looks good. Just need to get the historical data working so I can see the trends. I setup mysql db on my server, but do I import the util SQL file from pwsWD? Thanks !

Couple other questions:

  1. why does dark theme not stay dark all the time? I notice in my web browser that during refresh it changes to the bright theme, then I have to back and switch it again

  2. If I make my link (http://www.weather911.net/pwsWD/?theme=dark) public, how do I remove the “Home” and “Menu” buttons at the top left?

  3. Can I use a tablet to display the above link and have it display in landscape mode, similar to desktop appearance?

Still can’t figure out how to setup historical data. Am I supposed to setup the mysql settings in WD as well as the database and table setup on my ftp server?

What historical data are you looking for? I’ve looked at your site and I’m trying to figure out what historical data you are missing…