***closed*** weather34 for WeatherDisplay (clientraw and WDapi)

Wim
Thanks again updates installed.
http://southwestweather.com/w34wd/index.php

BTrip

First clock I see not moving from left to right and back. =D> :thumbright:
Did you use another type of font for that?

That really looks good, great job Wim =D>

Yes any monotype font will do.

font-family: "Lucida Console", Monaco, monospace;

On request of a user as it was indeed irritating using a normal font, Wim

Great stuff, Wim! Special thanks for the clock. . . but Moon info pop-up rise/set still not right. See moon2 from http://swanston.maui.co.uk/pws/

P.S. _list.pdf has a few |2018-01-19| dates - should these be |2019-01-19|?


Hi Wim,

I got a “NO Boltek file found”.
https://www.weerstation-assen.nl/actueel-weer2.php
The Boltek file is there.

Thanks!

Brgds,
Oebel

To check what is happening, the URL to the pwsWD/ folder is essential. At home I can inspect and find it in the HTML. When traveling with an iPad no way. So this embedded / I Frame??? script will have to wait till tomorrow, sorry
Wim

The moon block is now OK. The pop-up was not touched yet, it is not on the list either. Need more time for that one.

Wim

Hi Wim,

Here is the url: https://www.weerstation-assen.nl/pwsWD/index.php
It worked all the time, before I did this update from this template yesterday.

Brgds,
Oebel

There were only minor changes to this script for checking if the file exists and has a minimal length a.s.o.

Your file seems not to be in ./demodata/ as that one is from 2018-12, so I can not check the length of your file
The message you have occurs when: the file-location is not set or the file is less then 10 characters length.

Be aware that an URL to the file will not work on some webservers as the returned file-length is then incorrect.
[s]
The demo site display correct data, when it loads the file from the ./demodata/NSRealtime.txt file
I moved the file to the jsondata/ folder => works OK
And renamed the demodata one to be sure => works OK
When I make a typing error in the file location in easyweather I get your message.

So please check the typing. Otherwise PM me the easyweather password so I can check.[/s]

The setting used a full URL “http://adaddad.xx/nxdata.txt
That should not be done as the checks for incomplete uploads fail in that case.
Always use relative address “…/nxdata.txt” when the file is in the root.

Wim

No problem! (Reminds me a bit of the old version I am still running that had a fine tune setting for moonrise/set in easyweathersetup, presumably to allow for daylight saving time!)

In the meantime I’ve temporarily added an hour offset in moon_popup.php so that moon block and moon popup rise/set agree. . . I’ll keep an eye on it.

Looking forward to the eclipse tonight. . .


moon3.JPG

Is there anyway to add snowfall?
Some of use lucky or unlucky peoples get the white stuff.

If WeatherDisplay supports it and it is the clientraw, OK
But otherwise, how would the a script on the webserver know that there is snow at your place?
Wim

It is located in clientrawextra.txt

479 Snow Inputed into WD ToDay Number 12.700
480 Snow Inputed into WD Month Number 21.590
481 Snow Inputed into WD Season
Snow for the day
Snow for the month
Snow for the season
This may not work if its not in the clientraw.txt

697 in clientrawextra also has the snowdeth.
But:

  1. is everybody uploading the other clientrawxx files?
  2. do they manually update those fields as snowdepth and snow for the day?
  3. what to do with the WDapi users?
    Then:
    Where do we put it? In the rain-block i think.
    ===
    Maybe you should move this question with the remarks so far, to the “wish” topic.
    Will not be this season, so we have more time to think and find a good place to put the info.

Wim

Is it possible to add it in the rain box but have an option in the block to show snow?
A drop down box, Radio button etc.

Most people who receive snow will input the reading manually.
To add it for next season is okay with me.
Maybe we need more people to comments, How many people add snow on there page.

Thanks Great template
Windgust
K1DED(Amateur Radio)

Sorry, I was not clear. There is a separate topic for

Time to test, attached a beta version of the pop-up for the April release.
I run the test-site http://wd34.weather-template.com/pwsWD/ with timezone/at/lon for Edinburgh city center and IMHO I think this pop-up has the correct rise set times compared to this site: https://www.timeanddate.com/moon/uk/edinburgh

Please test it at your site for errors in the calculations (AFTER you made a copy of the current moon-popup.php).

Thanks in advance, Wim


moon_popup.php.zip (5.89 KB)

Thanks, Wim.

I run the test-site with timezone/lat/lon for Edinburgh city center

I am honoured!

When updating files will I need to re-do all my settings in the easyweathersetup.php or can I leave the old file in place.

Thanks, John