Page 5 of 10

Re: Weather on the wall, or my wBox :)

Posted: Sun 31 Dec 2017 7:07 pm
by PaulMy
I checked the station and looks like some snow packed in the anemometer cups so takes a bit to spin, and other than perhaps one 4.3 kph gust at noon it has been virtually still... I'll have to wait to see the wind data on the wBox.
snow-20171231_133450a.jpg
I'll also get some delayed rain reading when it warms up a bit...
snow=20171231_133510a.jpg
Enjoy,
Paul

Re: Weather on the wall, or my wBox :)

Posted: Sat 13 Jan 2018 7:21 am
by Smarmen
PaulMy wrote:I'll have to wait to see the wind data on the wBox.
Hi Paul
Now I see your wind, but there is no windrose. Have you done and launched realmoreT.txt --> realmore.txt ?
And realtime.txt is not in real time :)

Enjoy,
Chris

Re: Weather on the wall, or my wBox :)

Posted: Sat 13 Jan 2018 8:44 am
by Smarmen
bthoven wrote:Another way to add something without messing with the code. Using web widget + showr widget. They have the auto-refresh feature.
Hi Chote,
:clap:
I see you painted the moon? Finely :)

How will it be written in Thai? The man who painted the moon

Chris

Re: Weather on the wall, or my wBox :)

Posted: Sun 21 Jan 2018 3:32 am
by bthoven
Hi Chris,

I still enjoy tweaking your template very much.

Latest tweak is to display current Sun (to monitor Sun Spots) on top of the Wind rose. It will fade in and out. Like it a lot.

Also added daily weather forecast right below your template.

http://bthoven.dyndns.biz:802/wBox/wBox ... rWind.html

https://youtu.be/--lHYYlb9WM

Thanks a lot for sharing the script.
4D016123-0F2F-48F2-BFF0-9C17C8CF6A15.jpeg

Re: Weather on the wall, or my wBox :)

Posted: Fri 11 Jan 2019 11:46 am
by kocher
I'm happy with this script. :D

I can see it in full screen on my PC.
I can see it on an old tablet on full screen.

http://kocher.es/cumulusMX/wBox-Original/ipad.php

I have replaced the forecast "Yr.no" with my own elaborated by my beloved "WXSim".

I use the metric system and I have changed the number of decimals to 1, for the temperature and the pressure.

Now I would like to shift to the right, or decrease the size of the font, the value of the pressure, so that it does not overlap the trend icons.

I am very grateful to Krzysiek for this magnificent (and laborious) coding work.

Greetings from San Sebastian, Spain

Javier

Re: Weather on the wall, or my wBox :)

Posted: Fri 11 Jan 2019 2:48 pm
by PaulMy
Very nicely done,,,

Enjoy,
Paul

Re: Weather on the wall, or my wBox :)

Posted: Wed 23 Jan 2019 9:53 am
by Smarmen
Hi everyone
First, I will answer Javier - good job! :clap:
To change the font size and/or text position, search in the wBox HTML file:
temperature:
<div class="fnBR" id="RT03" style="top:-12px; right: 75px; font-size:280px;">
pressure:
<div class="fnBR" id="RT11" style="top: 68px; right:180px; font-size: 150px;"></div>
Note - the values are different for different samples (files .html)!

Second message: I made a new version of wBox
The most important change consists in the fact that in addition to the weather forecast, I also show the forecasts of pressure changes, wind speed and direction, the amount of precipitation for 48 hours. I also complemented the weather icons.
The weather forecast does NOT use the 'Leuven script' solution anymore.
The libraries are common to both versions of the Box!

Here is the package to download:
http://www.andreovia.pl/weather/doc/wBox2.zip

Screen:
Image
and another screens:
http://www.andreovia.pl/weather/doc/wBox2Home-01.png
http://www.andreovia.pl/weather/doc/wBox2Home-02.png

Samples:
http://www.andreovia.pl/weather/wBox2Home.html width: 980px; height: 1560px
http://www.andreovia.pl/weather/wBox2VD2.html width: 1600px; height: 970px

Now I fall into a winter sleep - like a bear :lol: That's why I do not describe all the changes exactly - discover them yourself :groan:
Regards

Re: Weather on the wall, or my wBox :)

Posted: Fri 05 Apr 2019 2:17 am
by bthoven
Hi,

Great enhancement! Thanks.

It's time for me to look into your code and enhance my modified wBox.

Re: Weather on the wall, or my wBox :)

Posted: Thu 25 Apr 2019 12:31 am
by bthoven
Hi,

Me again. I copy the working wBox folder from my other ubuntu box to another without any modification. Though everything displayed in order, the forecast part is missing. Do you have some clue what would have caused this problem? Thanks in advance.
wbox.png

Re: Weather on the wall, or my wBox :)

Posted: Sun 28 Apr 2019 5:21 am
by Smarmen
Hi :)
1. See the folder structure. Is there a YR folder with content? There are files responsible for the weather forecast.
2. Check (compare) file permissions in the Cache subfolder.
3. Make sure that the system supports PHP correctly.
I wish you good weather :D

Re: Weather on the wall, or my wBox :)

Posted: Fri 03 May 2019 5:53 am
by bthoven
Hi,

Thanks a lot for your suggestion.
I've compared my folders permission with my working wBox/Yr/cache/ permission. Amend them to be same. Still not producing the forecast. If I copy files from cache folder of the working server to the new server, it displays forecast fine. The problem is my new server won't produce the forecast by itself. Still finding the cause.

The php is working properly because my other web pages using php have no problem, e.g. weather34 template.

Re: Weather on the wall, or my wBox :)

Posted: Fri 03 May 2019 4:03 pm
by Smarmen
Hi
What are the file permissions in the YR/CACHE folder? It should be 644
Do files have a current date/time?

Re: Weather on the wall, or my wBox :)

Posted: Mon 25 Nov 2019 2:38 am
by bthoven
Smarmen wrote: Fri 03 May 2019 4:03 pm Hi
What are the file permissions in the YR/CACHE folder? It should be 644
Do files have a current date/time?
Hi Smarmen,
Me again. I've tried your suggestion, and it still doesn't display the forecast row. Does php version matter? My current working server uses version 5.6.40; but my new server uses version 7.2.

I now have no idea what went wrong.

update 2 Jan 2020: after allowing debug on, I need to install SimpleXMLElement php component by 'sudo apt-get install php7.2-xml" and restart apache. Then problem solved.

Re: Weather on the wall, or my wBox :)

Posted: Wed 15 Jan 2020 5:33 pm
by bthoven
Really enjoy customising your excellent weather console. Now adding realtime pm2.5 value.

Re: Weather on the wall, or my wBox :)

Posted: Thu 16 Jan 2020 11:39 am
by Smarmen
Excellent :D :clap:
We say: honey on my heart :)