VERSION 4.10 BETA 3 ready for testing
NOTE: VERSION 4 and later REQUIRES YOU TO BE RUNNING VERSION 1.10 of the Ajax-Dashboard from Ken True!
This new version contains the following changes and additions:
Added in support for Automatic Snow Season Display. (You pick start and end months)
Added full support for NexStorm count tags and the Distance and Bearing tags
Reformatted the snow measurement to 0.00 format (it was 3 decimal places)
Reformatted the ET measurements to 0.00 format (it was 3 decimal places)
Added last rain tip to display when it is not raining
Removed VPstorm and Rain Rate tags when it’s not raining (made room for last tip date/time)
Removed Solar Noon tag as it wasn’t working
Moved the very small info line for Icon and VP Status under All Time Records
Cleaned up some code and formatting
Added NWS normal readings for the day
Added support for the OPTIONAL Rainer’s Cloud Base Image (you must have installed the Cloud Base script first)
Added 2 new rows of data to wind and rain if using Cloud Based script as it makes the columns longer!
The items I haven’t been able to test are: The switching items in rain when it’s raining (3 weeks with no rain here!) and the new wind options for 60 and 120 minute averages. I also fixed the FWI for the two periods that were missed and added support for metric cloud height.
Be sure to read the instructions! There are a number of config changes at the top of the code and you will need to replace your ajax-dashboard.php and ajaxWDwx.js files. You will also need to add a few tags to testtags.txt if you have NexStorm and to get the new wind and rain tags added.
Scott,
I have been testing the Beta 3 version and noticed a couple of things.
When using the cloud base graphic, there is an item in the Rain/Snow column for Avg For Month using the currentmonthaveragerain tag. This tag doesn’t appear to be working correctly as it changes value during the day. At noon, your site was displaying a value of 2.67. At 1:30 pm, it was displaying 2.71. And based on your rain detail pages, the only September rain you have had is 2.05 in 2008 and 0.01 in 2009.
In Weather Display, I have it set to just show strikes within 100 miles and only those strikes show in the strike counts. But the entries for distance, time, and bearing are still updating for strikes outside this range. Also the distance has no unit of measure (i.e. miles or kilometers).
I too have noticed the average rain tag doesn’t work. It is doing the same thing the solor noon tag is/was doing and thats changing all day long every day. I think this is one Brian will have to look at when he has time. In the mean time I will probably replace that tag with something else.
The lightning strikes item I’m not sure how I could recreate, I only have the one-wire version and that doesn’t give direction or distance. I will add in the unit of measure tag to the script though! Thanks!
Removed average rain and replace it with last 7 days rain. Fixed “hasn’t rained in xx days” and added Units to Lightning distance. Beta is available only at the beta link posted below:
I really need to find out if the rain measurements work and switch out correctly when it’s raining. It hasn’t rained here in over a month so no way to check!
Thanks for your hard work, got one problem with the new beta Nexstorm distance “Miles” now shows but i can only see count (516) flash up when a update occurs. Not sure if I have missed something or if it’s a bug.
BTW testtags shows the correct reading “516”
Be sure to read the instructions! There are a number of config changes at the top of the code and you will need to replace your ajax-dashboard.php and ajaxWDwx.js files. You will also need to add a few tags to testtags.txt if you have NexStorm and to get the new wind and rain tags added.
If you notice, you are missing the Strip_units before sending the temperature to thermometer.php. The cloud graphic flashed with every update, mine does that too. Not sure if thats normal or not but I think it is as it re-drays the image every update.
I think I played with it so much, I put the old thermometer.php in there.
Tried your suggestion, still not working.
Would it have something to do with the New ajaxWDwx.js file?
If I put that in there I get zero updates, plus the last updated time is blank in the seconds spot.
So I have an older version in there that works.
On the new ajaxWDwx.js file you would want to be sure the settings at the top of the file match what you use (location of the thermometer.php file being one of them) as it would be by default what I use. Otherwise though the changes I made were to fix additions of the Lightning pieces and some formatting changes. For some reason it’s not finding thermometer.php so I’m guessing that there is a path error to that file in either the js or dashboard php files.
I also notice that the windrose graphic is bad when it first starts so the path to those are not set correctly in the ajax-dashboard.php file too!
Thanks for replying to my earlier email this morning.
I have v4.10 on my site and wish to have the cloud height image and as I described in the email, the image doesn’t show. I get the following message when I test it:
Fatal error: Call to undefined function: idate() in /homepages/15/d234598541/htdocs/trajnet/wdl/cloud-base.php on line 1376
I tried your suggestion regarding the pathway to clientraw.txt with no success. I’m at a loss as to what else to try.
If there are any other suggestions, I’ll try them.
I think you’re going to have to check with the person the made that script. I installed it to add support for it to my script, I never had any problems with mine so I really haven’t even looked it myself. Sorry.
I have been in contact with Rainer and he has been a tremendous help. Yes, that is the problem. Although my server will support php5, some finagling would have to be done. I’m not ready to tackle that yet.
Rainer has shown me changes in the code to get it to work for me. Wxpeople are the greatest!
I noticed a version comment in the ajaxWDwx.js that says:
// — Version 2.12 - 07-Mar-2008 – added fix for ‘flashing icon/thermometer’ from Jim at jcweather.us
Would this be something that could also be done for the flashing cloud graphic?
Since I’ve added the Hobby Boards UV to my system I’ve noticed that at night the UV section is kinda useless (shows None). I’ve modified the code to switch it to the UV Forecast at night and the Current UV in the day. I’ve also noticed that sometimes the UV will show ZERO during the day. I’ve modified the java script to make it say “Updating…” as long as solar is greater then zero (If you don’t have solar it will still say ZERO). I’ve also added an option to the Weather Underground High/Low readings for those that can’t use WU’s stuff (by request). Here are the changes:
Switching Current UV and Forecast UV for day and night times
Switching headers for both UV and Solar based on Current reading or Info/Forecast
Added Sun/moon rise and set times in place of Weather Underground readings as an option
Reformatted the current temperature section to make better use of the space
Remove the Cloud Height reading on the bottom row, column 2 if using the cloud hight graphic instead
Fixed column width problem when date changes to 10 characters in the last rain tip (Pushed the column too wide)
Several cosmetic changes
Fix for UV reading of ZERO during the day… it now will say “updating…” rather then “0 - NONE”
This is mostly a cosmetic update. It is available for download now.
help needed, just converted to this dashboard, cannot get the thermometer graphics to display Celsius, I’ve changed the relevant php file but no luck. anybody show me where I’m going wrong