Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Weather on the wall, or my wBox :)
Moderator: JacquesD
-
- Posts: 37
- Joined: Tue 19 Dec 2017 11:07 am
- Weather Station: WH24+Ecowitt GW1000/Tempest
- Operating System: Windows 10/11/Debian/Ubuntu
- Location: Bangkok, Thailand
Re: Weather on the wall, or my wBox :)
Here is mine.
You do not have the required permissions to view the files attached to this post.
- Smarmen
- Posts: 90
- Joined: Tue 22 Nov 2011 2:02 pm
- Weather Station: WH 1080
- Operating System: Windows 10
- Location: Poland - Jedrzejow
Re: Weather on the wall, or my wBox :)
OK, I'm not sure, but let's go
File yrnoGenerIcoHtml.php Have you changed anything here?
Show me content from the row 224 to 227
File yrnoGenerIcoHtml.php Have you changed anything here?
Show me content from the row 224 to 227
-
- Posts: 37
- Joined: Tue 19 Dec 2017 11:07 am
- Weather Station: WH24+Ecowitt GW1000/Tempest
- Operating System: Windows 10/11/Debian/Ubuntu
- Location: Bangkok, Thailand
Re: Weather on the wall, or my wBox :)
I did not touch anything in the file.Smarmen wrote:OK, I'm not sure, but let's go
File yrnoGenerIcoHtml.php Have you changed anything here?
Show me content from the row 224 to 227
Ok, I know why now, because I changed $lang from "pl" to "en" in yrnoSettings file; so it returned weather status values in English text, and yrnoGenerIcoHtml can't match the English status. When I change it back to pl, it works.
You do not have the required permissions to view the files attached to this post.
Last edited by bthoven on Tue 26 Dec 2017 3:19 am, edited 1 time in total.
-
- Posts: 37
- Joined: Tue 19 Dec 2017 11:07 am
- Weather Station: WH24+Ecowitt GW1000/Tempest
- Operating System: Windows 10/11/Debian/Ubuntu
- Location: Bangkok, Thailand
Re: Weather on the wall, or my wBox :)
Hi,
Another question if you don't mind.
The Moon phase seems a bit too advanced; for example, today Moon phase is just around 49%, but it shows over 50%. Not sure how to fix this. What is should be: Thank you
Another question if you don't mind.
The Moon phase seems a bit too advanced; for example, today Moon phase is just around 49%, but it shows over 50%. Not sure how to fix this. What is should be: Thank you
You do not have the required permissions to view the files attached to this post.
- Smarmen
- Posts: 90
- Joined: Tue 22 Nov 2011 2:02 pm
- Weather Station: WH 1080
- Operating System: Windows 10
- Location: Poland - Jedrzejow
Re: Weather on the wall, or my wBox :)
That's what I thought, but I wanted to make sure. You wanted well, but... "the devil is in the details"Ok, I know why now, because I changed $lang from "pl" to "en" in yrnoSettings file; so it returned weather status values in English text, and yrnoGenerIcoHtml can't match the English status. When I change it back to pl, it works.
You know, I wrote that this is not a ready and complete solution for everyone. I think it can be adjusted.
In yrnoGenerIcoHtml.php, row 224 to 227, now it is:
Code: Select all
if ($dayText2 == 'rano') { $arrDay[]= '<img src="ico/_iFCtime1.png" title="do południa" alt ="" width ="50"/>';
} else if ($dayText2 == 'południe') { $arrDay[]= '<img src="ico/_iFCtime2.png" title="w południe" alt ="" width ="50"/>';
} else if ($dayText2 == 'wieczór') { $arrDay[]= '<img src="ico/_iFCtime3.png" title="po południu" alt ="" width ="50"/>';
} else if ($dayText2 == 'noc') { $arrDay[]= '<img src="ico/_iFCtime4.png" title="w nocy" alt ="" width ="50"/>';
1. File yrnoSettings.php - change $lang from "pl" to "en"
2. File yrnoGenerIcoHtml.php - replace row 224 to 227
Code: Select all
if ($dayText2 == 'morning') { $arrDay[]= '<img src="ico/_iFCtime1.png" title="morning" alt ="" width ="50"/>';
} else if ($dayText2 == 'afternoon') { $arrDay[]= '<img src="ico/_iFCtime2.png" title="afternoon" alt ="" width ="50"/>';
} else if ($dayText2 == 'evening') { $arrDay[]= '<img src="ico/_iFCtime3.png" title="evening" alt ="" width ="50"/>';
} else if ($dayText2 == 'night') { $arrDay[]= '<img src="ico/_iFCtime4.png" title="night" alt ="" width ="50"/>';
And NOW look this:
http://bthoven.dyndns.biz:802/wBox/yr/aYRfull.php
http://bthoven.dyndns.biz:802/wBox/yr/aYRico.php
http://bthoven.dyndns.biz:802/wBox/yr/aYRmin.php
What You think about? You can use it on your webpages
About MOONphase - I know... and I'm still going to improve it This is related to the approximation of the image of light - full moon is OK. The procedure (not mine) is contained in the library moon-phase.js
Sorry for my googlish
Pozdrawiam
-
- Posts: 37
- Joined: Tue 19 Dec 2017 11:07 am
- Weather Station: WH24+Ecowitt GW1000/Tempest
- Operating System: Windows 10/11/Debian/Ubuntu
- Location: Bangkok, Thailand
Re: Weather on the wall, or my wBox :)
Hi Pozdrawiam,
Thanks a lot. Great forecast pages.
Now I’ll try to put my webcam image (with auto refresh) into your template. May have to adjust some spacing. Never do web coding before. Any suggestion?
Thanks a lot. Great forecast pages.
Now I’ll try to put my webcam image (with auto refresh) into your template. May have to adjust some spacing. Never do web coding before. Any suggestion?
- Smarmen
- Posts: 90
- Joined: Tue 22 Nov 2011 2:02 pm
- Weather Station: WH 1080
- Operating System: Windows 10
- Location: Poland - Jedrzejow
Re: Weather on the wall, or my wBox :)
Hi
My name is Krzysiek (Chris).
Polish word "pozdrawiam" means regards
About webcam - set it to takes pictures and i.e. every 30 seconds send to your server with the same name - let them overwrite. When it's be ready, send me a link to the photo, for example: http://bthoven.dyndns.biz:802/wBox/webcamimg.jpg
The photo file must be very small ! Otherwise all webpage will be slower.
My name is Krzysiek (Chris).
Polish word "pozdrawiam" means regards
About webcam - set it to takes pictures and i.e. every 30 seconds send to your server with the same name - let them overwrite. When it's be ready, send me a link to the photo, for example: http://bthoven.dyndns.biz:802/wBox/webcamimg.jpg
The photo file must be very small ! Otherwise all webpage will be slower.
-
- Posts: 37
- Joined: Tue 19 Dec 2017 11:07 am
- Weather Station: WH24+Ecowitt GW1000/Tempest
- Operating System: Windows 10/11/Debian/Ubuntu
- Location: Bangkok, Thailand
Re: Weather on the wall, or my wBox :)
Hi Chris,
Really sorry.
My webcam image is at http://bthoven.dyndns.biz:802/europacafe.jpg
Sorry I can’t move it to wBox folder because the photo is being used by many weather templates now.
Really sorry.
My webcam image is at http://bthoven.dyndns.biz:802/europacafe.jpg
Sorry I can’t move it to wBox folder because the photo is being used by many weather templates now.
- Smarmen
- Posts: 90
- Joined: Tue 22 Nov 2011 2:02 pm
- Weather Station: WH 1080
- Operating System: Windows 10
- Location: Poland - Jedrzejow
Re: Weather on the wall, or my wBox :)
Hi
No problems, it's fun
The picture does not have to be in wBox folder - it's OK, it may be different, as it is now.
Give me a some time, I must try my idea
No problems, it's fun
The picture does not have to be in wBox folder - it's OK, it may be different, as it is now.
Give me a some time, I must try my idea
-
- Posts: 37
- Joined: Tue 19 Dec 2017 11:07 am
- Weather Station: WH24+Ecowitt GW1000/Tempest
- Operating System: Windows 10/11/Debian/Ubuntu
- Location: Bangkok, Thailand
Re: Weather on the wall, or my wBox :)
Hi Chris...thanks a lot...Chote.Smarmen wrote:Hi
No problems, it's fun
The picture does not have to be in wBox folder - it's OK, it may be different, as it is now.
Give me a some time, I must try my idea
- grwkak
- Posts: 173
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Weather on the wall, or my wBox :)
Using the templates and thanks to your changes have the forecast icons correct. I like the look and simplicity.
I did note that if you use inches for rain in yrnosettings.php then it fails to load forecast icons. I am using imperial units - all the others seem to work fine except rain!
My barometer is in inHg and does not display decimals - been looking to see how to change this - any suggestions?
Guy
http://wilsonsweather.host-ed.me/wBoxH.html
I did note that if you use inches for rain in yrnosettings.php then it fails to load forecast icons. I am using imperial units - all the others seem to work fine except rain!
My barometer is in inHg and does not display decimals - been looking to see how to change this - any suggestions?
Guy
http://wilsonsweather.host-ed.me/wBoxH.html
- Smarmen
- Posts: 90
- Joined: Tue 22 Nov 2011 2:02 pm
- Weather Station: WH 1080
- Operating System: Windows 10
- Location: Poland - Jedrzejow
Re: Weather on the wall, or my wBox :)
Hi ChoteHi Chris...thanks a lot...Chote.
OK, download this: http://andreovia.pl/weather/doc/wBoxVcam.zip
Unpack and GO!
I am not satisfied with this solution, I would not put a webcam picture on this website, but if you want...
Here is a piece of code that supports webcam - row 16 to 27 in file wBoxVcam.html
Code: Select all
<img class="NoNo" id="wcam" style="top:260px; left: 10px;" src="http://bthoven.dyndns.biz:802/europacafe.jpg" alt="Loading..." height="280px" />
<script language="javascript" type="text/javascript" >
<!--
function changeFot()
{
var d = new Date();
var t = d.getTime();
document.getElementById('wcam').src = "http://bthoven.dyndns.biz:802/europacafe.jpg?"+t;
}
var reloadcam = setInterval("changeFot()",2000);
-->
</script>
If someone wants to use it, he has to change the address accordingly.
Regards
Chris
- Smarmen
- Posts: 90
- Joined: Tue 22 Nov 2011 2:02 pm
- Weather Station: WH 1080
- Operating System: Windows 10
- Location: Poland - Jedrzejow
Re: Weather on the wall, or my wBox :)
Look to file yr/yrnoSettings.php, row 35 to 40 - maybe you're deleting a space before signs?grwkak wrote: I did note that if you use inches for rain in yrnosettings.php then it fails to load forecast icons. I am using imperial units - all the others seem to work fine except rain!
Code: Select all
$uomTemp = '°C'; // or = °F
$uomRain = ' mm'; // or = in
$uomWind = ' km/h'; // or = kts, m/s, mph
$uomBaro = ' hPa'; // or = hPa, mb, inHg
$uomSnow = ' cm'; // or = cm, in
$uomDistance = ' km'; // or = km, mi
Yeah, look to file lib/wBox.js, row 47My barometer is in inHg and does not display decimals - been looking to see how to change this - any suggestions?
Code: Select all
$('#RT11').text(Math.round(dataRT[10]));
Code: Select all
$('#RT11').text(dataRT[10]);
Regards
- grwkak
- Posts: 173
- Joined: Fri 28 Jun 2013 12:32 am
- Weather Station: Davis Vantage Vue
- Operating System: Windows 10
- Location: Hambden, Ohio US
- Contact:
Re: Weather on the wall, or my wBox :)
Fixed the barometer issue - thanks!
With the rainfall - I had tried the space before - it made no difference.
The error (when executing the php script aYRico.php) is:
Invalid UOM for Rain: unit used in -
Program wil halt. Please change the settings in the yrnoSettings.php script
Guy
With the rainfall - I had tried the space before - it made no difference.
The error (when executing the php script aYRico.php) is:
Invalid UOM for Rain: unit used in -
Program wil halt. Please change the settings in the yrnoSettings.php script
Guy
-
- Posts: 37
- Joined: Tue 19 Dec 2017 11:07 am
- Weather Station: WH24+Ecowitt GW1000/Tempest
- Operating System: Windows 10/11/Debian/Ubuntu
- Location: Bangkok, Thailand
Re: Weather on the wall, or my wBox :)
Smarmen wrote:Hi ChoteHi Chris...thanks a lot...Chote.
OK, download this: http://andreovia.pl/weather/doc/wBoxVcam.zip
Unpack and GO!
I am not satisfied with this solution, I would not put a webcam picture on this website, but if you want...
Here is a piece of code that supports webcam - row 16 to 27 in file wBoxVcam.htmlNote that the image address is saved as absolute - this is not a good solution, but it worksCode: Select all
<img class="NoNo" id="wcam" style="top:260px; left: 10px;" src="http://bthoven.dyndns.biz:802/europacafe.jpg" alt="Loading..." height="280px" /> <script language="javascript" type="text/javascript" > <!-- function changeFot() { var d = new Date(); var t = d.getTime(); document.getElementById('wcam').src = "http://bthoven.dyndns.biz:802/europacafe.jpg?"+t; } var reloadcam = setInterval("changeFot()",2000); --> </script>
If someone wants to use it, he has to change the address accordingly.
Regards
Chris
Hi Chris,
Thank you very much. It's really nice. Could you help do the same for the H version that have indoor temp/humidity? It would also be nice to have indoortemp/humidity for this V version. If I may ask.
Yours is my favorite now. then followed by a combination of widgets on Android:
You do not have the required permissions to view the files attached to this post.