cloudy cloudy

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

0 Members and 1 Guest are viewing this topic.

Offline WxTrader

  • Posts: 3
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: HWS-template (WD34) July version available
« Reply #150 on: July 15, 2019, 05:50:47 PM »
April version: https://www.weatherinharrogate.co.uk/pwsWD/w34_module_test.php  => click left bottom box with ../weatherdisplay/clientraw.txt
=> 403 Forbidden A potentially unsafe operation has been detected in your request to this site. a.s.o.
So both versions complain, but the April version  works although there is a complaint.

I inserted in the html the link to the webcam in the July version => OK
So these errors seem not to block the working. The Wordfence does not like linking to another folder backwards, i think. But it still seems to work.
Could you please add the correct links to your settings?  So that i can see if it works?
Wim


I have put the full html address in for the clientraw.txt file/webcam pic and that works fine, as you say for some reason wordfence allows the old version to work, but not the new July version. I will just leave the full address for the time being. Many thanks for the prompt reply. I guess other people may come across the same issue if they are looking to another folder backwards.

Offline MatteoPV

  • Posts: 6
  • OS/Browser:
  • Win NT 6.3
  • Firefox 68.0
Re: HWS-template (WD34) July version available
« Reply #151 on: July 16, 2019, 06:51:52 AM »
The data for the graphs com from WU and there is only UV data available, no solar.
As it is still not clear if and how WU will continue access to out own data, I will start after my vacation with new graphs based on the new WU-api.
The 7 day data contains both UV and solar.  There can probably be a meaningful  UV-solar graph added.

I do not understand what what you mean with ET-index.
There is a calculated ET-value (Evapotranspiration) when there is a Davis console but not all weather-programs deliver that.
There are requests for soil-moist sensors and extra temp-hum sensors, so the ET-value can be added to the list of new weather-values.
Be aware that the WU-data does not deliver any ET-values as I am aware of.

Use for all these and further  "wishes" the special "wishes"-topic => https://www.weather-watch.com/smf/index.php/topic=68196.new#new
There we discuss the needed enhancements to the template for the next version.

Wim

OK thanks

Offline meteosleen

  • Posts: 1
    • 123
  • OS/Browser:
  • Win NT 10.0
  • Firefox 67.0
Re: HWS-template (WD34) July version available
« Reply #152 on: July 16, 2019, 10:01:48 AM »
Hallo Wim,
wanneer ik de template test krijg ik de volgende meldingen.

Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/meteosle/public_html/pwsWD/w34_livedata.php on line 576

Warning: file_get_contents(https://meteo-sleen.nl/weather28m/uploadCW/clientraw.txt): failed to open stream: no suitable wrapper could be found in /home/meteosle/public_html/pwsWD/w34_livedata.php on line 576

Warning: Cannot modify header information - headers already sent by (output started at /home/meteosle/public_html/pwsWD/w34_livedata.php:576) in /home/meteosle/public_html/pwsWD/w34_index2.php on line 88

Wat is hiervan de oorzaak
Roelof

Offline bitsostring

  • Posts: 975
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.102
    • Home Weather Station
Re: HWS-template (WD34) July version available
« Reply #153 on: July 17, 2019, 03:23:53 PM »
Earthquake block displays distance units KMs whether the distance is in km or miles.

P.S. I have already changed units "KMs" to "km" in the attached screenshots of my block.

P.P.S. It can wait until you get back from holiday, Wim  :)
« Last Edit: July 17, 2019, 03:25:44 PM by bitsostring »
It's meant to be fun. . .

Offline weather-at

  • Posts: 3
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 75.0.3770.142
Re: HWS-template (WD34) July version available
« Reply #154 on: July 18, 2019, 07:49:17 AM »
The data for the graphs com from WU and there is only UV data available, no solar.
As it is still not clear if and how WU will continue access to out own data, I will start after my vacation with new graphs based on the new WU-api.
The 7 day data contains both UV and solar.  There can probably be a meaningful  UV-solar graph added.

I do not understand what what you mean with ET-index.
There is a calculated ET-value (Evapotranspiration) when there is a Davis console but not all weather-programs deliver that.
There are requests for soil-moist sensors and extra temp-hum sensors, so the ET-value can be added to the list of new weather-values.
Be aware that the WU-data does not deliver any ET-values as I am aware of.

Use for all these and further  "wishes" the special "wishes"-topic => https://www.weather-watch.com/smf/index.php/topic=68196.new#new
There we discuss the needed enhancements to the template for the next version.

Wim
Hello  Wim,

the solar radiation data are availabe from WU, you already fetch it with your actual data set.
I added the solar radiation graph to w34_graph by
$grphs['solar|day']   = '|'.       '|0|'.lang('Solarradiation').'|'.               '|0|'.lang('Solarradiation').'|'.$temperatureconv.'|'.'W/m2'.     '|13|-1|HH:mm|12|||';

Best regards
Reinhard

Offline ms372591

  • Posts: 10
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.100
Re: HWS-template (WD34) July version available
« Reply #155 on: July 18, 2019, 11:36:27 PM »
Has anyone used the weewx realtime.txt setup? I've tried using it and for some reason my temp drops to 0 degrees at times and my barometer stays at 0.00. Website address is https://klephtic-math.000webhostapp.com/
« Last Edit: July 19, 2019, 12:59:48 AM by ms372591 »

Offline wvdkuil

  • Wim van der Kuil
  • Posts: 1,344
  • 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 #156 on: July 19, 2019, 06:02:49 AM »
Has anyone used the weewx realtime.txt setup? I've tried using it and for some reason my temp drops to 0 degrees at times and my barometer stays at 0.00. Website address is https://klephtic-math.000webhostapp.com/
https://klephtic-math.000webhostapp.com/w34_module_test.php
Left bottom, select the real-time.txt and click List contents

As you will see, the file is nearly empty, with 0 and a lot of NULL values

I am on holiday till July 28, without decent internet. I will check when I am home

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 bitsostring

  • Posts: 975
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.102
    • Home Weather Station
Re: HWS-template (WD34) July version available
« Reply #157 on: July 20, 2019, 10:43:00 AM »
Problem with max wind|gust block just after midnight when max gust not displayed at all. Checked live data and max gust was 0, so I'm guessing it's down to the conditional in line 79 of wind_c_small.php

Code: [Select]
if ($weather['wind_gust_speed_max'] <> 'n/a'

which says, basically, if max gust is n/a (or 0) then don't show anything. (But I haven't worked out why max wind time was still showing 14.20.)

All OK this morning  :)

« Last Edit: July 20, 2019, 02:21:52 PM by bitsostring »
It's meant to be fun. . .

Offline ms372591

  • Posts: 10
  • OS/Browser:
  • Win NT 10.0
  • Chrome 75.0.3770.142
Re: HWS-template (WD34) July version available
« Reply #158 on: July 20, 2019, 04:07:22 PM »
https://klephtic-math.000webhostapp.com/w34_module_test.php
Left bottom, select the real-time.txt and click List contents

As you will see, the file is nearly empty, with 0 and a lot of NULL values

I am on holiday till July 28, without decent internet. I will check when I am home

Wim

Wim, I might have fixed it. I'm using the Cumulus CRT to creat the realtime.txt I changed the setting from loop to archive. I think what was happening is that the Acurite was updating different readings at different intervals which caused the null values.  Thanks!!
« Last Edit: July 20, 2019, 05:37:54 PM by ms372591 »

Offline johnmac78

  • Posts: 90
  • 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 #159 on: July 20, 2019, 06:47:55 PM »
Setting Country Flag -

I have made attempts to change the country flag on my site. USA - I changed the $flag setting in "setings1.php" to "us.svg", but any time I save the "easyweathersetup.php" it reverts back to the British flag. There does not seem to be a choice in "easyweathersetup.php" for a US flag. Is there another file that I need to change along with $flag in "settings1.php"?

http://scannorthcounty.net/pwsWD/index.php

John
John
scannorthcounty.net

Offline bitsostring

  • Posts: 975
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.102
    • Home Weather Station
Re: HWS-template (WD34) July version available
« Reply #160 on: July 20, 2019, 07:03:07 PM »
I have made attempts to change the country flag on my site.

Does this help?
It's meant to be fun. . .

Offline johnmac78

  • Posts: 90
  • 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 #161 on: July 20, 2019, 08:33:10 PM »
Does this help?

No, no luck. Renamed us.svg to xx.svg (Renamed the old xx.svg first) and changed Easyweather to "Your Country" also changed $flag in wd34settings1.php to xx.svg. Still loads with British flag. Also on numerous occasions when I save Easyweather, it reverts to a different version and my changes are gone.

John
John
scannorthcounty.net

Offline bitsostring

  • Posts: 975
  • Oregon Scientific WMR200
  • Edinburgh, U.K.
  • OS/Browser:
  • Win NT 10.0
  • Chrome 70.0.3538.102
    • Home Weather Station
Re: HWS-template (WD34) July version available
« Reply #162 on: July 20, 2019, 08:54:14 PM »
No, no luck. Renamed us.svg to xx.svg

Have you searched for the answer? I think you are supposed to rename us.svg to uk.svg . . .
It's meant to be fun. . .

Offline blainec

  • Global Moderator
  • Posts: 438
  • Calgary, Ab.
  • OS/Browser:
  • Win NT 10.0
  • Firefox 68.0
    • Weather YYC
Re: HWS-template (WD34) July version available
« Reply #163 on: July 20, 2019, 09:23:51 PM »
No, no luck. Renamed us.svg to xx.svg (Renamed the old xx.svg first) and changed Easyweather to "Your Country" also changed $flag in wd34settings1.php to xx.svg. Still loads with British flag. Also on numerous occasions when I save Easyweather, it reverts to a different version and my changes are gone.

John
All you have to do is rename us.svg to en.svg
No other changes are required
« Last Edit: July 20, 2019, 09:26:20 PM by blainec »

Offline Mapantz

  • Le Pantz.
  • Posts: 9
  • Wareham, Dorset - UK
  • OS/Browser:
  • Win NT 10.0
  • Chrome 77.0.3843.0
    • Wareham Weather
Re: HWS-template (WD34) July version available
« Reply #164 on: July 20, 2019, 10:03:13 PM »
I just wanted to add my thanks to the author for the hard work. It looks really good! It was very easy to set up, too.

 

cumulus