cloudy cloudy

Author Topic: JavaScript WDL version 1.0.0 alpha.  (Read 20737 times)

0 Members and 2 Guests are viewing this topic.

Offline colovin

  • Posts: 171
  • Fountain Hills, AZ
  • OS/Browser:
  • Mac OS X 10.10.5
  • Safari 10.1.2
    • Nivoloc Productions
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #435 on: July 11, 2018, 08:16:21 PM »
Yes I want to upload the file to FTP server.  I've repeatedly unchecked the "running my own server, no FTP needed" hit OK then when I reopen the panel it is checked again.
Davis VantagePro2,  Mac OS 10.12.6, Mac Mini 2.6 GHz Intel Core i7 16GB,   WD 10.37S-B305, WDlive 6.05
http://tinyurl.com/nivoloc-weather

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,483
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 67.0.3396.99
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #436 on: July 11, 2018, 09:11:27 PM »
Hmmm, well that's the problem. In windows I would direct you to Control Panel, FTP & Connections, where there is a similar setting which could be forcing that one, but I don't know if you have that in mac :dontknow:

Offline colovin

  • Posts: 171
  • Fountain Hills, AZ
  • OS/Browser:
  • Mac OS X 10.10.5
  • Safari 10.1.2
    • Nivoloc Productions
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #437 on: July 11, 2018, 09:14:10 PM »
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  :D
« Last Edit: July 11, 2018, 09:16:21 PM by colovin »
Davis VantagePro2,  Mac OS 10.12.6, Mac Mini 2.6 GHz Intel Core i7 16GB,   WD 10.37S-B305, WDlive 6.05
http://tinyurl.com/nivoloc-weather

Offline Yerren

  • Posts: 137
  • The creator of FreshWDL
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Firefox 61.0
    • The current JavaScript WDL build
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #438 on: July 12, 2018, 01:31:00 AM »
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.

Hey :)

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.


Offline colovin

  • Posts: 171
  • Fountain Hills, AZ
  • OS/Browser:
  • Mac OS X 10.10.5
  • Safari 10.1.2
    • Nivoloc Productions
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #439 on: July 12, 2018, 07:07:15 PM »
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.  :D   Love what you've done, it looks and works great!

Davis VantagePro2,  Mac OS 10.12.6, Mac Mini 2.6 GHz Intel Core i7 16GB,   WD 10.37S-B305, WDlive 6.05
http://tinyurl.com/nivoloc-weather

Offline Weather Display

  • Posts: 84,931
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Android 7.1.1
  • Chrome 67.0.3396.87
    • Weather Display
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #440 on: July 13, 2018, 02:47:38 AM »
Try ticking use WD,s Ftpud?

Offline huggy

  • Posts: 157
  • Dunedin New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Fairfield Dunedin Weather Report
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #441 on: July 13, 2018, 06:32:29 AM »
Hey everyone, another update has been put on the server :)


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.

Bruce
« Last Edit: July 13, 2018, 06:34:23 AM by huggy »

Offline Yerren

  • Posts: 137
  • The creator of FreshWDL
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Firefox 61.0
    • The current JavaScript WDL build
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #442 on: July 13, 2018, 06:41:30 AM »
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.

Bruce

Hey, it's still the same HTML file that has been available since the 29th of June, all the changes were on the server-side.  :)

Offline scottma61

  • Posts: 29
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #443 on: July 14, 2018, 03:45:02 PM »
Thanks for this.  I have FreshWDL running.  I also use the Saratoga template and have a page that has the WDL display.  When I access the FreshWDL page directly is looks great http://weather.5-scotts.com/FreshWDLmaster.html.  When I access the FreshWDL page through the saratoga template it does not 'autoscale'.  It looks like this:http://weather.5-scotts.com/FreshWDLSaratoga.png.

What do I need to do to have it 'autoscale' to the Saratoga template?  Thanks for your help.
« Last Edit: July 14, 2018, 04:05:19 PM by scottma61 »
WD 10.37S-(b72)
Davis Vantage Pro2 Plus (console firmware 3.15)
Davis WeatherLinkIP Datalogger (firmware 1.11)
Windows 10 Pro x64
http://weather.5-scotts.com

Offline giantocr

  • Posts: 80
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Weatherstation - MeteoSauwerd
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #444 on: July 14, 2018, 04:02:31 PM »
Thanks for this.  I have FreshWDL running.  I also use the Saratoga template and have a page that has the WDL display.  When I access the FreshWDL page directly is looks great http://weather.5-scotts.com/FreshWDLmaster.html.  When I access the FreshWDL page through the saratoga template is does not 'autoscale'.  It looks like this:http://weather.5-scotts.com/FreshWDLSaratoga.png.

What do I need to do to have it 'autoscale' to the Saratoga template?  Thanks for your help.

Hi,

Maybe you should try it with an iframe in a new page.

Piet

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,483
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 67.0.3396.99
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #445 on: July 14, 2018, 05:15:02 PM »
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.

Something to try  :)

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.)
« Last Edit: July 14, 2018, 05:16:44 PM by niko »

Offline colovin

  • Posts: 171
  • Fountain Hills, AZ
  • OS/Browser:
  • Mac OS X 10.10.5
  • Safari 10.1.2
    • Nivoloc Productions
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #446 on: July 14, 2018, 06:33:15 PM »
niko, Thanks for the suggestion but I'm on a Mac sooooo  It's doing fine going to the FTP server so no problems here.
Davis VantagePro2,  Mac OS 10.12.6, Mac Mini 2.6 GHz Intel Core i7 16GB,   WD 10.37S-B305, WDlive 6.05
http://tinyurl.com/nivoloc-weather

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,483
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 67.0.3396.99
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #447 on: July 14, 2018, 06:41:58 PM »
I think OSX includes Apache web server...

Offline scottma61

  • Posts: 29
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #448 on: July 14, 2018, 09:11:03 PM »
Hi,

Maybe you should try it with an iframe in a new page.

Piet

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?
WD 10.37S-(b72)
Davis Vantage Pro2 Plus (console firmware 3.15)
Davis WeatherLinkIP Datalogger (firmware 1.11)
Windows 10 Pro x64
http://weather.5-scotts.com

Offline chief-david

  • Posts: 116
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Robbinsdale Middle School Weather
Re: JavaScript WDL version 1.0.0 alpha.
« Reply #449 on: July 14, 2018, 09:45:15 PM »
I did this

<object data=your web site width="1200" height="600" background="white"> <embed src=your web site background="white"> </embed> Error: Embedded data could not be displayed. </object>


And I am in no way a programmer.
Vantage Pro Plus 6163
KMNMINNE28
CWOP DW6947
Midwesternweather.net 
twitter @RMSWeather 
facebook Robbinsdale-Middle-School-Weather/488461314507720

 

cumulus