cloudy cloudy

Author Topic: Custom Forecast Message  (Read 6786 times)

0 Members and 1 Guest are viewing this topic.

Offline Federation HQ

  • From Standard Orbit Base
  • Posts: 24
  • Huron, OH USA
    • trekfederation
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
Custom Forecast Message
« on: November 21, 2015, 04:00:58 PM »
Hi All,

I'm new here.  Thanks to Chris at gateway2capecod.com for getting my weather site up and running.  I have converted from VIS to Weather Display for my modest Acu-Rite station.  Chris has taken a lot of time to get my site up and running.

A part of my site are the steel gauges.  Chris added those at my request.  One thing that I would like to do is get the forecast banner to show something.  Since I am running Acu-Rite, it doesn't automatically upload the file from which the steel gauges scroller reads.  So my question is maybe something that has never been asked or done before:

Can I create a file to put on my server that the steel gauges page will draw the scroll text from?  Just some kind of message or welcome or whatever from my company.  It wouldn't automatically update, as I would create the file manually.  Is that possible?

One caveat...I am far from a techy.  I need easy step-by-step info, please.

Thanks!
Russ Haslage, President
The Federation
1125 Mudbrook Road
Huron, OH 44839

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,421
  • Leuven Belgium CET
  • OS/Browser:
  • iOS 9.0.2
  • Safari 9.0
    • My PWS at Leuven Belgium Europe
Re: Custom Forecast Message
« Reply #1 on: November 21, 2015, 05:21:44 PM »
Hi All,

I'm new here.  Thanks to Chris at gateway2capecod.com for getting my weather site up and running.  I have converted from VIS to Weather Display for my modest Acu-Rite station.  Chris has taken a lot of time to get my site up and running.

A part of my site are the steel gauges.  Chris added those at my request.  One thing that I would like to do is get the forecast banner to show something.  Since I am running Acu-Rite, it doesn't automatically upload the file from which the steel gauges scroller reads.  So my question is maybe something that has never been asked or done before:

Can I create a file to put on my server that the steel gauges page will draw the scroll text from?  Just some kind of message or welcome or whatever from my company.  It wouldn't automatically update, as I would create the file manually.  Is that possible?

One caveat...I am far from a techy.  I need easy step-by-step info, please.

Thanks!
It would be be extremely helpfull to post the URL of your site. There are at least 3 different implementations of a "Steelseries" script.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline Federation HQ

  • From Standard Orbit Base
  • Posts: 24
  • Huron, OH USA
    • trekfederation
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
Re: Custom Forecast Message
« Reply #2 on: November 21, 2015, 06:02:05 PM »
Yes, that would be helpful.  :)   Told ya I'm new.

Please visit my new site at weather.standardorbitap.com
Russ Haslage, President
The Federation
1125 Mudbrook Road
Huron, OH 44839

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,421
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 46.0.2490.86
    • My PWS at Leuven Belgium Europe
Re: Custom Forecast Message
« Reply #3 on: November 21, 2015, 08:17:10 PM »
Yes, that would be helpful.  :)   Told ya I'm new.

Please visit my new site at weather.standardorbitap.com
First of all, your idea to substitue another text string for a missing forecast seems a good idea.

1. Your Saratoga-Template
You are using the Steelseries at http://weather.standardorbitap.com/wxssgauges.php.
WD is uploading the realtime data for this  gauges  in the file:http://weather.standardorbitap.com/customclientraw.txt
That data is only stored on your website disk, before it is loaded from the browser javascripts displaying the gauges.
All conversion of the data is done in the browser so there is no way to add extra texts as it would involve customizing other scripts.
You could ask Brian (the creator of WeatherDisplay) if it is possible to substitute a text string when there is no Davis forecast in the customclientraw. 
Or even better to make an option one could switch on or off to use ones own string. I think for special holidays it could be used also.

2. Your Leuven-Template
You are using the Steelseries at http://weather.standardorbitap.com/weather28/index.php?p=gaugePage&lang=en and also a subset of the gauges in the headers on every page.
The data for these dials comes from WD standard realtime files http://weather.standardorbitap.com/clientraw.txt which are used for all realtime displays in the Leuven-Template.
The clientraw data is also stored on your website  but it is processed before sent to the browser / javascript. The data is converted to the requested format and units on the webserver and that is why there is no empty lcd but a lcd with a substitued message in it: "Data will be reloaded in".
Some users changed that  "Data will be reloaded in" to their own strings, even including texts such as current weather values and trends.
But one needs more than casual PHP program knowledge to do that.

What I will do is include an option to use ones own text string in combination with the forecast text (which can be empty).  But as it is evening already her in the CET timezone, I will write and test it tomorrow.

If you PM or mail me your e-mail address I will e-mail you the changed scripts end of Sunday.

Wim

P.S. Nice idea which will be available to all in the 2.9 release June next year also.
« Last Edit: November 21, 2015, 08:27:35 PM by wvdkuil »
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,260
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 46.0.2490.86
Re: Custom Forecast Message
« Reply #4 on: November 21, 2015, 08:44:49 PM »
There's probably a simpler option. WD can also generate a forecast independent of the station, based on the Zambretti Forecaster algorithm. You can select to use this forecast instead of the station forecast on the Realtime FTP tab under Control Panel. The Davis VP also uses a simple forecast algorithm, I doubt it is any better than the Zambretti.

Offline Federation HQ

  • From Standard Orbit Base
  • Posts: 24
  • Huron, OH USA
    • trekfederation
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
Re: Custom Forecast Message
« Reply #5 on: November 22, 2015, 01:21:39 PM »
You guys are good, but you were talking way over my head.    :?

Ultimately I would like to run the Leuven template.  I like having the gauges on the main page.  The Leuven site is working well EXCEPT the text wind direction and small pointer in the body of the site isn't updating.  It is correct when the page loads, but it won't update with everything else.  (I don't have that issue on the Saratoga site.  The wind direction text and direction pointer update with everything else.)  On Leuven, the gauges on top update and most of the other text areas in the body update...but the wind direction and little pointer don't.

Like I said, the new tech stuff is way over my head.  Thank goodness for Chris who installed both templates and got them working for me. 

Bottom line is whichever template I can get working will be THE one.  Saratoga is working.  I'd like to add the special scroll message if possible.  I would RATHER run the Leuven template if we can figure out why the text wind direction and direction pointer are not updating with everything else.

Thanks for the input and continued help, everyone.  I didn't understand much of what you said, so if you can dumb it down even more, I may catch on.    8O   If anyone is interested in helping with the work Chris is doing and getting the site working great, I will give you access to the server.

r
« Last Edit: November 22, 2015, 01:27:15 PM by russhaslage »
Russ Haslage, President
The Federation
1125 Mudbrook Road
Huron, OH 44839

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,421
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 46.0.2490.86
    • My PWS at Leuven Belgium Europe
Re: Custom Forecast Message
« Reply #6 on: November 22, 2015, 02:30:47 PM »
You guys are good, but you were talking way over my head.    :?

Ultimately I would like to run the Leuven template.  I like having the gauges on the main page.  The Leuven site is working well EXCEPT the text wind direction and small pointer in the body of the site isn't updating.  It is correct when the page loads, but it won't update with everything else.  (I don't have that issue on the Saratoga site.  The wind direction text and direction pointer update with everything else.)  On Leuven, the gauges on top update and most of the other text areas in the body update...but the wind direction and little pointer don't.

Like I said, the new tech stuff is way over my head.  Thank goodness for Chris who installed both templates and got them working for me. 

Bottom line is whichever template I can get working will be THE one.  Saratoga is working.  I'd like to add the special scroll message if possible.  I would RATHER run the Leuven template if we can figure out why the text wind direction and direction pointer are not updating with everything else.

Thanks for the input and continued help, everyone.  I didn't understand much of what you said, so if you can dumb it down even more, I may catch on.    8O   If anyone is interested in helping with the work Chris is doing and getting the site working great, I will give you access to the server.

r
I tried to answer on your PM but that is a little ackward as I can not get a screenshot in the  message.

The  attached img is your Saratoga and Leuven templates displaying EXACT the same values and both turning green (new data received) at the expected intervals.

You can use my e-mail or this forum, but I reealy do not see what is wrong.

The word error means highest proirity on the support system (http://support.leuven-template.eu/) or in an e-mail, but I do not see an error yet.

Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline Federation HQ

  • From Standard Orbit Base
  • Posts: 24
  • Huron, OH USA
    • trekfederation
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
Re: Custom Forecast Message
« Reply #7 on: November 22, 2015, 02:32:41 PM »
Its the wind direction in the area of your screen shot that is not updating on Leuven.  See how in Saratoga it is showing WSW as the direction on the dial and the text?  Leuven is showing W.  It isn't updating.  It is correct when the page loads, but those two items are not updating with the rest.

I'm sure its just a bug on my site, but I am not sure how to fix it.  Those areas are updating on the Saratoga site, but not on the Leuven site.  I'd like to run the Leuven site exclusively if we can fix that little problem.

r
« Last Edit: November 22, 2015, 02:41:41 PM by russhaslage »
Russ Haslage, President
The Federation
1125 Mudbrook Road
Huron, OH 44839

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,421
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.10.5
  • Chrome 46.0.2490.86
    • My PWS at Leuven Belgium Europe
Re: Custom Forecast Message
« Reply #8 on: November 22, 2015, 03:00:07 PM »
Its the wind direction in the area of your screen shot that is not updating on Leuven.  See how in Saratoga it is showing WSW as the direction on the dial and the text?  Leuven is showing W.  It isn't updating.

r
OK, I have to be a bit more technical.
To get the data from WD to your website, one can use  (in the Leuven-Template)  for WD different input files for the data files.
Either Saratoga testtags.txt => testtags.php,
Leuven testtags.txt => testags.php  (as used until release 2.6)
and tags.wd.txt => tagsWD.txt as used for release 2.7 , 2.8 and further.
The last possibillity is the advised and documented one. The other two are just for testing if a new release or a switch is possible.

You are using http://weather.standardorbitap.com/weather28/index.php?tags&p=0000&pw=#data-area the Saratoga testtags.
I tried in the past to get most of the data from that file, but probably did not succedeed into getting all the data wanted.
I will look into finding the missing pieces from the Saratoga file.
And getting the winddirection move more frequently, but it is not a highest priority problem and certainly not an error.

When using the Saratoga testtags file, please switch off this page in the menu also. Those fields/values in the error messages are not there either. http://weather.standardorbitap.com/weather28/index.php?p=trends&lang=en#data-area

===

If you plan to use Saratoga, simply delete the weather28/ folder.

If you plan to use Leuven, please add the tags.wd.txt => tagsWD.txt to the upload of WD.
Life for me is far easier to find errors if they are there with the most recent upload files also.

Wim
Support & demo PWS_Dasboard  (HWS_template) http://pwsdashboard.weather-template.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Offline Federation HQ

  • From Standard Orbit Base
  • Posts: 24
  • Huron, OH USA
    • trekfederation
  • OS/Browser:
  • Win NT 10.0
  • Mozilla compatible
Re: Custom Forecast Message
« Reply #9 on: November 22, 2015, 03:12:08 PM »
I plan to use Leuven exclusively.  I'll delete Saratoga now and start switching Leuven as the only site and I'll work on getting the settings as you need all set.

Thanks.
Russ Haslage, President
The Federation
1125 Mudbrook Road
Huron, OH 44839

Offline Weather Display

  • Posts: 87,468
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Android 4.4.2
  • Chrome 46.0.2490.76
    • Weather Display
Re: Custom Forecast Message
« Reply #10 on: November 23, 2015, 01:34:54 AM »
Niko,s idea would work
replacing that tag in the customclientrawlocal.txt file

Offline UW

  • Posts: 85
  • OS/Browser:
  • iOS 12.4
  • Safari 0.8.2
Re: Custom Forecast Message
« Reply #11 on: August 13, 2019, 11:21:58 AM »
Is it possible to use the Zambretti Forecast with consoleWD and have it in the customclientraw.txt instead of %vpforecasttext%?

I would like to have a weather forecast in my steelseries gauges scroll line.

Thank you for the support

Urs

Offline Weather Display

  • Posts: 87,468
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 76.0.3809.100
    • Weather Display
Re: Custom Forecast Message
« Reply #12 on: August 13, 2019, 09:35:17 PM »
yes, I could add that
which version?

Offline UW

  • Posts: 85
  • OS/Browser:
  • iOS 12.4
  • Safari 0.8.2
Re: Custom Forecast Message
« Reply #13 on: August 14, 2019, 07:02:06 AM »
That would be great!

I am running consoleWD (consolewd64desktop.tar.gz) and in the customclientraw.txt it says:

Code: [Select]
"version":"WD_console_18.0"

Offline Weather Display

  • Posts: 87,468
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 76.0.3809.100
    • Weather Display
Re: Custom Forecast Message
« Reply #14 on: August 15, 2019, 07:35:22 AM »
ah, OK, so this is the version for 64 bit linux desktop