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

Weather on the wall, or my wBox :)

Discussion of Jacques DesRoches's web site templates

Moderator: JacquesD

User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

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

Post by dazza1223 »

hi i setting up the wbox and i trying to get forecas.xml but it saying ony work with api now?

NB!!!!
In the first quarter next year, forecast.xml and forecast_hour_by_hour.xml will be discontinued in favour of a newer JSON API.
Vi encourage you already now to switch to the new API.
There are a lot of changes, and you can read all the technical details in our new developer portal https://developer.yr.no


https://www.yr.no/place/United_Kingdom/ ... /data.html
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
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 :)

Post by Smarmen »

Hi
You are probably trying to download foercast.xml under the new rules, and this is not possible without authorization.

This is your valid forecast.php file:

Code: Select all

<?php
/**
 * @package    Andreovia.pl - forecast frrom YR.NO
 * @copyright  Copyright (C) 2019-2020 Krzysiek Maziarz
 * @license    GNU General Public License version 2 or later
 */
    $srcfile = 'https://www.yr.no/place/United_Kingdom/England/Worthing/forecast.xml';
    $dstfile = './forecast.xml';
      if (!copy($srcfile, $dstfile))
	  {
      echo "Failed to copy $srcfile...\n";
      }

Write if it was successful :D
I'm working on a JSON version but it's summer 8-)
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

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

Post by dazza1223 »

Screenshot_20200813-192020_Gallery.jpg
Ok i will give that ago and one last thing that I will like to fix is the pressure trend just stays at 3 lines i did read somewhere on here to fix but i didn't understand it
You do not have the required permissions to view the files attached to this post.
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
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 :)

Post by Smarmen »

Hi
What is link to your wBox? I want to see it in full.
Take care :D
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

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

Post by dazza1223 »

Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
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 :)

Post by Smarmen »

Hi
I need more time. So far, the pressure changes I see in your realtime.txt file are too small to react. It must be at least 0.2hPa. See how it is described in the JS library:
wBox.js from line number 86

Code: Select all

$('.tPrs').hide();
var RPpT = dataRT[18] * 1;
  if (RPpT  >= 6.0)           {  $('#tPpA').show();  }                         // show _iPtrendA.png -- trend  >=  6.0
  else if (RPpT >   3.5 && RPpT <   6.0)  {  $('#tPpB').show();  }             // show _iPtrendB.png -- trend  >   3.5  &  <   6.0
  else if (RPpT >   1.5 && RPpT <=  3.5)  {  $('#tPpC').show();  }             // show _iPtrendC.png -- trend  >   1.5  &  <=  3.5
  else if (RPpT >   0.2 && RPpT <=  1.5)  {  $('#tPpD').show();  }             // show _iPtrendD.png -- trend  >   0.2  &  <=  1.5
  else if (RPpT >= -0.2 && RPpT <=  0.2)  {  $('#tPpE').show();  }             // show _iPtrendE.png -- trend  >= -0.2  &  <=  0.2
  else if (RPpT <  -0.2 && RPpT >= -1.5)  {  $('#tPpF').show();  }             // show _iPtrendF.png -- trend  <  -0.2  &  >= -1.5
  else if (RPpT <  -1.5 && RPpT >= -3.5)  {  $('#tPpG').show();  }             // show _iPtrendG.png -- trend  <  -1.5  &  >= -3.5
  else if (RPpT <  -3.5 && RPpT >  -6.0)  {  $('#tPpH').show();  }             // show _iPtrendH.png -- trend  <  -3.5  &  >  -6.0
  else if (RPpT <= -6.0)      {  $('#tPpI').show();  }                         // show _iPtrendI.png -- trend  <= -6.0

Krzysiek
User avatar
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 :)

Post by Smarmen »

Hi
I need more time. So, the pressure changes I see in your realtime.txt file are too small to react. It must be at least 0.2hPa.
See how it is described in the JS library wBox.js from line number 86:

Code: Select all

$('.tPrs').hide();
var RPpT = dataRT[18] * 1;
  if (RPpT  >= 6.0)           {  $('#tPpA').show();  }                         // show _iPtrendA.png -- trend  >=  6.0
  else if (RPpT >   3.5 && RPpT <   6.0)  {  $('#tPpB').show();  }             // show _iPtrendB.png -- trend  >   3.5  &  <   6.0
  else if (RPpT >   1.5 && RPpT <=  3.5)  {  $('#tPpC').show();  }             // show _iPtrendC.png -- trend  >   1.5  &  <=  3.5
  else if (RPpT >   0.2 && RPpT <=  1.5)  {  $('#tPpD').show();  }             // show _iPtrendD.png -- trend  >   0.2  &  <=  1.5
  else if (RPpT >= -0.2 && RPpT <=  0.2)  {  $('#tPpE').show();  }             // show _iPtrendE.png -- trend  >= -0.2  &  <=  0.2
  else if (RPpT <  -0.2 && RPpT >= -1.5)  {  $('#tPpF').show();  }             // show _iPtrendF.png -- trend  <  -0.2  &  >= -1.5
  else if (RPpT <  -1.5 && RPpT >= -3.5)  {  $('#tPpG').show();  }             // show _iPtrendG.png -- trend  <  -1.5  &  >= -3.5
  else if (RPpT <  -3.5 && RPpT >  -6.0)  {  $('#tPpH').show();  }             // show _iPtrendH.png -- trend  <  -3.5  &  >  -6.0
  else if (RPpT <= -6.0)      {  $('#tPpI').show();  }                         // show _iPtrendI.png -- trend  <= -6.0
In realtime.txt, the trend of pressure changes is at position 18 (counting from 0, values separated by spaces).
There's a big pressure drop coming in, so let's wait.

Krzysiek
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

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

Post by dazza1223 »

Just a idea there is a pressure tag trend can that not be add to the realtime.txt that read from the console itself or is just the olny way off doing it I don't know it just a idea you know best?😀
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
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 :)

Post by Smarmen »

Hi
Please use simple language (English), because I don't understand :D
Pressure trend variable is a standard component of the realtime.txt file - see https://cumuluswiki.org/a/Realtime.txt

Krzysiek
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

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

Post by dazza1223 »

Sorry is first thing in the morning here um yeah i was saying there is a pressure trend tag that show the trend off the pressure woodnt that be more off a easy route to go down ?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
bthoven
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 :)

Post by bthoven »

Hi,

I got the latest version installed and it works perfectly. Only one thing, the Wind Rose do not update itself, even, if I'm not wrong, the web page auto refresh itself every 10 minutes. I have to manually refresh it. Have I missed anything? Thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
dazza1223
Posts: 860
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

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

Post by dazza1223 »

hi try my wBox.js and see if that works there maybe a bug in there but try
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
bthoven
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 :)

Post by bthoven »

dazza1223 wrote: Sat 15 Aug 2020 7:13 pm hi try my wBox.js and see if that works there maybe a bug in there but try
Could you provide your download link? Thanks
User avatar
beteljuice
Posts: 3292
Joined: Tue 09 Dec 2008 1:37 pm
Weather Station: None !
Operating System: W10 - Threadripper 16core, etc
Location: Dudley, West Midlands, UK

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

Post by beteljuice »

Updating every 20s ATM ...
Although the screenshot does NOT look like the link you posted !
Image
......................Imagine, what you will KNOW tomorrow !
User avatar
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 :)

Post by Smarmen »

dazza1223 wrote: Sat 15 Aug 2020 7:02 am Sorry is first thing in the morning here um yeah i was saying there is a pressure trend tag that show the trend off the pressure woodnt that be more off a easy route to go down ?
Hi Dazza,
In my opinion, your wBox works fine, pressure change icons are visible or... I do not understand what you mean.
Sorry is first thing in the morning here um yeah i was saying there is a pressure trend tag that show the trend off the pressure woodnt that be more off a easy route to go down ?
Which means pressure woodnt ?
Read the documentation again http://www.andreovia.pl/jedrzejow-pogoda/wbox#wbox_en
Post Reply