Humm, OK now it is uploading to the FTP Server, along with clientrawdaily.txt, clientrawexttra.txt and clientrawhour.txt and the web page is working. I suspect that I needed more than just the clientraw.txt. Right now it’s updating every 30 seconds, not sure how it’s doing that, I’ve got the upload set at 5 minutes. WOW really looks good. I guess it just needed to think about it for awhile . . .
I put the config.js and FreshWDLmaster.html files in the documents/wdisplay/webfiles folder hoping to use that on the local network but still coming back as not receiving data. I tried putting all the files from the 1.1.1a files into the web folder which has no effect. Is there a way to have it work on the local network separately from the Internet?
Ideally what I’d like is to have the near realtime on the local network and a 5 minute upload to the FTP server/Internet.
Didn’t mean to start this off with the same Humm. Your reply was coming in as this was going out
At this stage, it is not possible (as far as I’m aware) to run the system on a local network.
However, uploading a text file uses very, very little data, so having the clientraw file upload in close to real time is definitely an option that many people use to get pretty much real time reporting.
Yeah, I’ve kind of gotten used to the near real time results although I still haven’t figured out how I’m getting them. I have FTP setup for 5 minutes and the control panel won’t let me uncheck the running my own server option so I guess some how that is going to the FTP which in reality it’s my server since it’s my domain just not housed on my computer. Love what you’ve done, it looks and works great!
Hi Yerren is the latest version that you made mention of on the 6th July the same version that is available for download on this site dated 29th June ???
Or is there a newer version to this 29th June file.
Use a simple webserver such as Mongoose to have JavaScript WDL on the local network. I have quickly tested this and it works for me. If your PC’s are behind a NAT router without port forwarding it should be relatively safe but try at your own risk, I have not spent more than a few minutes on this.
Copy the JavaScript WDL files into the same folder as the clientraw files.
Download the Mongoose Free Windows version executable into the same folder (you may have to move it there after download).
Click the Mongoose.exe to start it, you’ll get a windows popup, let it have access.
A browser window will open, direct it to localhost:8080/FreshWDLmaster.html - you should see JavaScript WDL working
On other PC’s on the network you should see JavaScript WDL at http://xxx.xxx.xxx.xxx:8080/FreshWDLmaster.html where xxx.xxx.xxx.xxx is the IP of the server PC. (Obviously that PC should be assigned a fixed IP for this to be a workable system.)
I do not know how to do that? The HTML page is loaded with an ‘Include’ and I cannot put a iframe in that call. The FreshWDL.html is all script calls so I don’t know how to do iframe there?
Thanks that helped. I am able to scale it down. In the Saratoga templates there is a user selectable option for ‘wide’ or ‘narrow’ display. I was able to auto adjust for that like this:
<div id="main-copy">
<h1><?php langtrans('Fresh Weather Display Live'); ?></h1>
<?php
if($_SESSION['CSSwidescreen'] == 1) { ?>
<object data="FreshWDLmaster.html" width="1200" height="600" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
;} else { ?>
<object data="FreshWDLmaster.html" width="650" height="375" background="white"> <embed src="FreshWDLmaster.html" background="white"> </embed> Error: Embedded data could not be displayed. </object>
<?php
;} ?>
</div><!-- end main-copy -->