WXforum.net
Weather Software => What Weather Software should I use/buy? => Topic started by: jrswiss on March 03, 2017, 06:04:15 AM
-
Hi Weather Enthusiasts
We are a small group of Weather Enthusiasts located in Switzerland.
In the last months we have spent hours to develop two small PHP Scripts to check the weather of our Davis Weather Stations but also any other PWS Station from Wunderground.com.
We want to share our work with other Weather Enthusiasts!
Focus on development:
- Display Weather Data in Browser (especially on Smartphones or Tablets)
- Setting Alerts and get informed on severe weather conditions via email.
Target group:
- House owners checks weather for their home and garden (awnings, umbrellas, sprinkler-systems etc.)
- Meteorologists & Weather Enthusiasts can use it to get informed about typical or untypical weather conditions
- Fire Departments observe an area of interest (precipitation, heat etc)
The result:
- G-Davis: A small PHP Script for Davis Weather Stations connected to Weatherlink Network
- G-Wunder: A small PHP Script for Wunderground PWS connected to Wunderground Network
We are looking for Beta-Tester.
You need a Web Server (Webhosting) runs PHP 5x. NO DATABASE REQUIRED!
Both apps (Pre-Releases) are free and ready to download from our Website: http://www.gustalert.com
Please read the manuals for further information.
Thank you for your interest!
Best regards
JRSWISS
-
Just added this to my site now. Thanks =D>
https://www.conligwx.org/gwunder/
-
Great - You are welcome! :grin:
Please let me know if you encounter any problems!
-
I think you also have a Typo...
Huminity -> Humidity
Line 62 index_i.php
-
Uuups,... just corrected. Thank you!
-
I will add this to my site once internet is restored at home.
-
Hello, I added gdavis to my site and it's not working. I double checked the Weatherlink account and PW and those are good. I double checked the permissions on cron.enc and config/pref.enc and both are set to 644. The cron job is running, but it is generating a lot of undefined variable errors (errorlog attached). My site is http://cedarridgeweather.com/gdavis. I'm running PHP 5.6.
I also added gwunder to my site (http://cedarridgeweather.com/gwunder (http://cedarridgeweather.com/gwunder)) and it's working perfectly.
-Chris
-
@cjohlandt
Thank you for your information. We just sent you a mail regarding G-Davis.
So long,
JR
-
@cjohlandt
Thank you for your information. We just sent you a mail regarding G-Davis.
So long,
JR
Roman at Gustalert was able to determine that my Weatherlink account is not properly generating an XML file. I have contacted Davis to see if they can fix my corrupt XML file and will update when I hear back from them.
-Chris
-
Hi,
I have unzipped and FTP the gwunder folder. I cannot get past the Login page. Then at clicking the Home Screen I get a:
Warning: include(config/settings.php): failed to open stream: Permission denied in /home/content/96/5379896/html/gwunder/index.php on line 2
Warning: include(): Failed opening 'config/settings.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /home/content/96/5379896/html/gwunder/index.php on line 2
My FTP version with GoDaddy is 5.4
I have increased the file permissions as mentioned in the manual and also index.php.
Anything else I can try?
Regards,
Paul
-
@PaulMy
Thank you for your information.
Please try:
- CHMOD 777 to the gwunder/config folder and all 4 files inside the folder.
- CHMOD 777 to gwunder/cron.enc
This could be done with your FTP Client.
Another option would be: Setup an FTP account for us and send us the login details to info@gustalert.com
Please give us access to folder gwunder only!
Best regards
JR
-
@cjohlandt
Thank you for your information. We just sent you a mail regarding G-Davis.
So long,
JR
Roman at Gustalert was able to determine that my Weatherlink account is not properly generating an XML file. I have contacted Davis to see if they can fix my corrupt XML file and will update when I hear back from them.
-Chris
Thanks to Roman at Gustalert and Bruce at Davis, my problem has been resolved. After I removed the # from my Weatherlink.com password, it all started working properly. Per Bruce, symbols (%$#@&) are invalid in user names and passwords because Davis passes the information in a URL. I now have both G-Davis and G-Wunder working on my site:
http://cedarridgeweather.com/gdavis
http://cedarridgeweather.com/gwunder
-Chris
-
Thanks JR,
those changes allowed it to work http://www.komokaweather.com/gwunder/index_m.php
Paul
-
Sounds great Paul.
Thank you for your feedback.
Best regards
Roman
-
We've just updated our PHP scripts!
for Davis Weather Stations
http://www.gustalert.com/app/gdavis_test_bright/index.php
(http://www.gustalert.com/bilder/da.png)
for Wunderground PWS of interest
http://www.gustalert.com/app/gwunder_test_dark/index.php
(http://www.gustalert.com/bilder/wu.png)
Download from here: http://www.gustalert.com
Have fun!
Roman
-
Thank you, I have mine updated. A little strugle to get rid of the error messages, but after giving enough time for the cron to run then magically all was fine and I could go in and change to my preferred settings. www.komokaweather.com/gwunder
One thing, I see on your example you have the option to change from light to dark theme. I know I can change it in the settings but can it be changed by a user like on yours?
Regards,
Paul
-
@Paul
Thank you for your feedback. Also nice integration in your existing webpage :)
For dark and bright themes we are using two instances (is that english?) to get this work, but it is not integrated in the script itself. Just for demo. But let me think about integration in future updates.
Please let me know if you have any issues.
By the way: We got a little bit confused. Most user-installations of our scripts does not use the Alert function. For us - this was our major reason why we have wrote that scripts. Here in Europe we have also national weather warning systems (goverment and privates), but in some areas we want to use our own PWS data.
Anyway, some users need our scripts for home automation tools such as sprinkler or heater.
Regards,
Roman
-
Hi,
I to have just installed the latest version and I must say this new version is better, it's more slick and the layout is clean, looks great on any platform, website (dw7240.com) or on a smartphone.
Keep up the great work and thank you for offering this very simple template.
Nick. dw7240.com.
-
Hi Roman,
I had set the alerts and have received some for high winds which I think was correct, but had deleted them after receiving the alerts so can't verify. However received an alert this morning for low temp which I think is incorrect.
My set alerts are H 28°C; L -18°C; Wind/Gust 45 kmh; Rain 25 mm
We had a low of 0.1°C this morning and the alert was triggered. I presume since -18°C is near the same as 0°F the alert picked up my 0.1°C as F temp in error, could that be possible?
p.s. at the moment there is no data in my GWunder and also can't connect to WU so presume it is a WU issue.
Regards,
Paul
-
Hi Paul
Thank you for your information. We noticed, wunderground has problems with their API last night and today. One hour ago the api was complete down. This is why you have got this "wrong" alerts these days and this is also the reason why you had or still have no data.
Our script does not manipulate the data provided by wunderground.com. Also data are not cached (works without a database). If wunderground sends 'wrong data' you will get 'wrong alerts' too. Please have a look here https://plus.google.com/collection/oVycQE (https://plus.google.com/collection/oVycQE). We are building up a info page for our scripts (something like Q&A page).
Thank you for your feedback!
Best regards
Roman
-
@Paul: Yes and -18° Celsius means "there was no data provided" by wunderground. Ends up with '-18°'.
-
Hi Roman,
Thanks for the link.
WU is back up and data displaying, and just a few minutes ago received a new alert of wind gust 45.1 which is just above my settings' threshold so seems to be working correctly.
Regards,
Paul
-
Great Paul, thank you for Info!
Best regards, Roman