cloudy cloudy

Author Topic: HWS-template (WD34) July version available  (Read 3740 times)

0 Members and 3 Guests are viewing this topic.

Offline weatherbee

  • Posts: 716
  • Sherman, Ct.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Sherman Ct. Weather
Re: HWS-template (WD34) July version available
« Reply #30 on: June 29, 2019, 10:42:49 AM »
Webcam location is set in easyweathersetup.php.
About midway down.
Tom
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2


Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,291
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 75.0.3770.100
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) July version available
« Reply #31 on: June 29, 2019, 12:32:41 PM »
No UVI in "This hour:" forecast in DS Current Conditions block?
Can you test this update?
Quote
No way to use extra_tmp_c_small.php?
Not for all as I have to find a simple solution for the  extra upload data, that is why I did not include it in this version. Only WD-api (3 TH but  no soil) and WL.com (all) have the extra sensors

But one can add a block to w34_blocks.php and manually change the settings1.
When the next beta is available (August) a standard solution will become available also as an update for the normal releases.
It should include correct versions of extra_tmp_c_small.php and  soil_c_block plus a soil pop-up. Also all "extra"-scripts should be in easyweather.

Wim
« Last Edit: June 29, 2019, 12:52:16 PM by wvdkuil »

Offline bitsostring

  • Posts: 935
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
    • Home Weather Station
Re: HWS-template (WD34) July version available
« Reply #32 on: June 29, 2019, 01:27:11 PM »
Can you test this update?

Looks OK, but colours are not working?. . . Try putting "This hour: Temperature. . ." on the same line if you want to save a line and show Rain and UVI on separate lines. (URL as left but /pwsnew/: I've modified my original w34_util_ccn.php to get UV and colours.)

Quote
Not for all as I have to find a simple solution for the  extra upload data, that is why I did not include it in this version. Only WD-api (3 TH but  no soil) and WL.com (all) have the extra sensors

WD-clientraw has 8 extratemp/hum fields. . . I'm also using a WD customtextout.txt file to get extra upload data.

Quote
But one can add a block to w34_blocks.php and manually change the settings1.

I know. . .  :)

Quote
When the next beta is available (August) a standard solution will become available also as an update for the normal releases.
It should include correct versions of extra_tmp_c_small.php and  soil_c_block plus a soil pop-up. Also all "extra"-scripts should be in easyweather.

OK.
« Last Edit: June 29, 2019, 09:31:14 PM by bitsostring »
It's meant to be fun. . .

Offline richardcr

  • Posts: 6
  • Devon, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Collapit Weather
Re: HWS-template (WD34) July version available
« Reply #33 on: June 29, 2019, 03:25:18 PM »
Meteoalarm.eu alerts display correctly but if there is no alert, the forecast for tomorrow now appears in the alerts box instead. Is this intentional? http://www.collapit.org.uk/pwsWD/

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,291
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 75.0.3770.100
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) July version available
« Reply #34 on: June 29, 2019, 03:34:17 PM »
Meteoalarm.eu alerts display correctly but if there is no alert, the forecast for tomorrow now appears in the alerts box instead. Is this intentional? http://www.collapit.org.uk/pwsWD/
Yes it is.
Explanation: When there is no outside "official" alert and no internally calculated warning,  what should we display there?

Earlier versions used a "no alerts" message. But users thought that was a waste of space.
So if there is some meaningful information, like a forecast, that is displayed.

Some users changed the translation from "Weather alert" to "Weather message", but that is nitpicking.
Wim

Offline richardcr

  • Posts: 6
  • Devon, UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Collapit Weather
Re: HWS-template (WD34) July version available
« Reply #35 on: June 29, 2019, 03:48:47 PM »
Yes it is.
Explanation: When there is no outside "official" alert and no internally calculated warning,  what should we display there?

Earlier versions used a "no alerts" message. But users thought that was a waste of space.
So if there is some meaningful information, like a forecast, that is displayed.

Some users changed the translation from "Weather alert" to "Weather message", but that is nitpicking.
Wim
Thanks for the explanation.  I'd suggest prefacing the forecast in the alert box with,"Forecast for tomorrow:". It was only clear to me that it was tomorrow's forecast when I looked at the forecasts in the "forecast ahead"pop up but perhaps I'm nitpicking too!!

Offline mldenison

  • Posts: 306
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
    • York, Pennsylvania USA Weather
Re: HWS-template (WD34) July version available
« Reply #36 on: June 29, 2019, 05:35:05 PM »
Is there a way to change the text color on Weather Alerts?  Mine looks like silver text on an orange background and is hard to read:

https://www.m82a1.us/pwsWD/index.php


Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,291
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 75.0.3770.100
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) July version available
« Reply #37 on: June 29, 2019, 06:51:41 PM »
Is there a way to change the text color on Weather Alerts?  Mine looks like silver text on an orange background and is hard to read:

https://www.m82a1.us/pwsWD/index.php
Not in a setting, but I set the font color to black in the curly warnings script
Can you please test this version. Thanks,
Wim

Offline mldenison

  • Posts: 306
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
    • York, Pennsylvania USA Weather
Re: HWS-template (WD34) July version available
« Reply #38 on: June 29, 2019, 07:04:41 PM »
That looks fine, Wim. Thanks.

Offline mldenison

  • Posts: 306
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
    • York, Pennsylvania USA Weather
Re: HWS-template (WD34) July version available
« Reply #39 on: June 29, 2019, 07:13:47 PM »
The weather alerts/warnings are not displaying the text when I click on them in the iframe.

https://www.m82a1.us/pwsWD/index.php


Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,291
  • Leuven Belgium CET
  • OS/Browser:
  • iOS 12.3.1
  • Safari 12.1.1
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) July version available
« Reply #40 on: June 29, 2019, 07:30:41 PM »
The weather alerts/warnings are not displaying the text when I click on them in the iframe.

https://www.m82a1.us/pwsWD/index.php
Can you post the URL to the page with the iframe, then I can check.

Wim

Offline mldenison

  • Posts: 306
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.100
    • York, Pennsylvania USA Weather
Re: HWS-template (WD34) July version available
« Reply #41 on: June 29, 2019, 08:33:00 PM »
Sorry, Wim.  I copied the wrong link:

https://www.m82a1.us/pwsWD/index.php?frame=weatheralarms

Then click on the warning.

Offline johnmac78

  • Posts: 83
  • Westminster, Massachusetts USA
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
    • Village at Old Mill - Weather
Re: HWS-template (WD34) July version available
« Reply #42 on: June 30, 2019, 01:37:31 AM »
Webcam location is set in easyweathersetup.php.
About midway down.
Tom

Thanks Tom, I see it now, must have skipped over it the first few times.

John
John
scannorthcounty.net

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,291
  • Leuven Belgium CET
  • OS/Browser:
  • Mac OS X 10.13.6
  • Chrome 75.0.3770.100
    • My PWS at Leuven Belgium Europe
Re: HWS-template (WD34) July version available
« Reply #43 on: June 30, 2019, 07:44:00 AM »
Sorry, Wim.  I copied the wrong link:
https://www.m82a1.us/pwsWD/index.php?frame=weatheralarms
Then click on the warning.
Your site:
https://www.m82a1.us/pwsWD/nws-alerts-142/nws-summary.php
Click on the alert or the "no alerts" link for York  => HTTP ERROR 500  which means a PHP parsing error of some sort

My test-site (or try other users site):
http://wd34.weather-template.com/pws07/nws-alerts-142/nws-summary.php
Click on a alert or a "no alerts" link for NewHaven
=> http://release230/pwsWD/nws-alerts-142/nws-details.php?a=CTZ006#WA1 no error, normal output

===

I did not change anything in the "Curly" download from KenTrue's website.
Not even the folder name.  So it must be a change somewhere in the settings,

===

When I click for the details on an unchanged version the link reads
Code: [Select]
<a href="nws-details.php?a=CTZ006#WA1" title=" &nbsp;Details for New Haven" style="color: #000;">No alerts</a>but your link reads
Code: [Select]
<a href="wxnws-details.php?a=PAZ065#WA1" title=" &nbsp;Details for York" style="color: #000;">No alerts</a>
So there must have been a change to use another details page. This "wx" page is for a Saratoga site, not for a stand-alone version.
This is how the "nws-alerts-config.php" about line 40 should look:
Code: [Select]
// file names
$cacheFileName = 'nws-alertsMainData.php';  // main data cache file name
$aboxFileName  = 'nws-alertsBoxData.php';   // alert box cache file name
$iconFileName  = 'nws-alertsIconData.php';  // big icons cache file
$alertURL      = 'wxnws-details.php';       // web page file name for complete details - Used with Saratoga Base USA template
$summaryURL    = 'wxadvisory.php';       // web page for the alert summary - Used with Saratoga Base USA template
$alertURL      = 'nws-details.php';       // web page file name for complete details - Used for standard web pages
$summaryURL    = 'nws-summary.php';       // web page for the alert summary - Used for standard web pages
This is yours config,  the two lines which are commented are the cause of the error
Code: [Select]
// file names
$cacheFileName = 'nws-alertsMainData.php';  // main data cache file name
$aboxFileName  = 'nws-alertsBoxData.php';   // alert box cache file name
$iconFileName  = 'nws-alertsIconData.php';  // big icons cache file
$alertURL      = 'wxnws-details.php';       // web page file name for complete details - Used with Saratoga Base USA template
$summaryURL    = 'wxadvisory.php';       // web page for the alert summary - Used with Saratoga Base USA template
//$alertURL      = 'nws-details.php';       // web page file name for complete details - Used for standard web pages
//$summaryURL    = 'nws-summary.php';       // web page for the alert summary - Used for standard web pages
The "meant for Saratoga" scripts need other supporting data which is not there as we are running the stand-alone version.

Wim

Offline R_o_B

  • Posts: 326
  • Maple Bay, British Columbia, Canada
  • OS/Browser:
  • Win NT 10.0
  • Firefox 52.0
    • Tzouhalem-Maple Bay Weather
Re: HWS-template (WD34) July version available
« Reply #44 on: June 30, 2019, 02:47:41 PM »
Wim, if the user has entered a WeatherFlow station ID, could add in the 'Extra links' in the menu, in addition to the link to the WeatherFlow map page, a new link to the WeatherFlow weather station data/info page - the link should have this format:
Code: [Select]
https://smartweather.weatherflow.com/station/'.$weatherflowID.'/grid
In case you need/want to check my site, it can be reached at 'Tzouhalem-Maple Bay Weather    Maple Bay, BC'

Although I probably already know your response after looking at your PHP code, is there a way to prevent the display of the 'Official weather alarms' menu when there is no weather alarm?
R_o_B
---
eMail: weather@tzweather.org

 

cumulus