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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

Post Reply
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,
Me again. I have just install let's encrypt certificate to make my weather website secured. There are a number of tweaks I need to make in the config and css to make it works as usual. Only one thing that I still can't solve is the forecast row won't show up. It has following message:

Refused to display 'https://bthofen.com/wBox/yr/aYRico.php' in a frame because it set 'X-Frame-Options' to 'deny'

I really don't know how to solve it.

Update 29 Jan 2020: I found it. As the problem happens only after I implement ssl, I have to amend the content of /etc/apache2/conf-enabled/ssl-params.conf:

Code: Select all

# Header always set X-Frame-Options DENY
Header always set X-Frame-Options sameorigin
wbox_iframe.jpg
You do not have the required permissions to view the files attached to this post.
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 »

Hello :)
This is probably a browser settings message, because x-frame is a potential threat.
For me, the frame https://bthofen.com/wBox/yr/aYRico.php opens without a problem.
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

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

Post by Big Daddy »

Hello,
I am just looking at wBox and have a few issues. I am trying on my local pi which has Apache installed and runs my test website for use with Cumulus. I like the idea of using wbox for a little display for my office desk.

So, I have it installed and running. Realtime.txt and realmore.txt are being generated and sent by Cumulus to my webserver every 20 seconds same as wbox is set to refresh. All good so far.

I am just using wbox (original) wBoxV.html page to start, just to get everything working and then I will start to play.

But I have a few problems that I need help with and cant understand why they dont work.

1) Windrose. Compass is showing, wind direction red and blue arrows showing and updating ok. I have mesh in middle of compass but no data populating windrose data.
rose.jpg
2 Pressure. Always show steady and "steps" showing trend are always in a line.
Press.jpg
wbox has been running all day but no windrose or pressure changes although it has been windy and pressure has changed from 1025.2 to 1022.4

I also attached my realmore and realtime files

Any help much appreciated.

Andy
You do not have the required permissions to view the files attached to this post.
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

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

Post by Big Daddy »

Quick Update. Pressure "steps" now seem to be working.

Struggling with Windrose.
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 »

Hello,
The Windrose display is done using the library zino.chart.min.js and zino.svg.min.js in the LIB folder - check if these files are there.
Write the full link to the wBoxV.html file.
See also the new version of wBox http://andreovia.pl/weather/wBoxV.html, - has more options, are you interested?
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

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

Post by Big Daddy »

Hi,
Thanks for replying. All looks ok.

I have put online so you can see. http://midlifedad.me.uk/wBox/wBox.html

At the minute I am just "playing". I have a small 7" android tablet and having fun trying to arrange things so they fit nicely.

This is a very nice piece of work and gives an excellent display.

Any help will be welcome.

Regards
Andy

**EDIT** I have same issue using either wBox or wBox2
Last edited by Big Daddy on Wed 03 Jun 2020 10:27 pm, edited 1 time in total.
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

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

Post by Big Daddy »

I am using Raspberry Pi and running Apache2 and php and also found problems with the forecast last night when running wBox2.

I worked out that my installation of Apache2 / PHP didnt have xml and curl for php so I needed to install them to get the forecast to work.
Just in case others have similar issues here is what I did to fix the problem.

My system
Raspbian Version 10 (Buster)
PHP 7.3.14
Apache 2.4.38

To install xml and curl

Update Raspberry Pi
sudo apt-get update
Install XML for PHP
sudo apt-get install php-xml
Restart Apache
sudo service apache2 restart
Install curl
sudo apt-get install curl
Restart Apache
sudo service apache2 restart
Install curl for PHP
sudo apt-get install php-curl
will prompt to install… type y or yes!
Restart Apache
sudo service apache2 restart

Dont know if this was just my particular installation and I didnt inckude everything when I installed Apache2 / PHP or if it does not include them as default.

It may help someone else

Andy
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 Andy :)
Maybe I solved your problem :D
Check file realmoreT.txt Variables are separated by one space character, not two or more!!!

realmoreT.txt extended for wBox version 2 (wBoxV.html):

Code: Select all

<#pressYL> <#TpressYL> <#pressYH> <#TpressYH> <#pressTL> <#TpressTL> <#pressTH> <#TpressTH> <#WindRoseData> <#realtimeinterval> <#avgtempY> <#windYM> <#domwindbearingY>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now these are the possibilities of showing the weather by wBox version 2
http://andreovia.pl/weather/wBox/wBoxV_EN.png
Image

For vertical layout - wBoxH.html
http://andreovia.pl/weather/wBox/wBoxH_EN.png

Enjoy :)
Last edited by Smarmen on Sat 06 Jun 2020 5:54 am, edited 1 time in total.
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

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

Post by Big Daddy »

Doskonale i dziękuję.
Nie jestem pewien, jak miałem podwójne spacje w pliku realmoeT.txt, ale problem został rozwiązany i działa teraz idealnie.

Spojrzę na nowe ikony i zobaczę, czy mogę je dopasować do mojego ekranu. Może być konieczne znalezienie większego tabletu. :)

W wersji 2 wBox2 potrzebna jest tylko nowa wersja realmoreT.txt i nowe pliki HTML. Jeśli tak, czy możesz opublikować nowe pliki HTML, aby wygenerować taki sam obraz, jaki opublikowałeś, to mogę „odtworzyć”. Jeśli jest to zupełnie nowa paczka, możesz ją skompresować i wysłać pocztą.

Jeszcze raz wielkie dzięki. Wygląda dobrze.

(Mam nadzieję, że Tłumacz Google działa dobrze)

pozdrowienia
Andy

Roughly translated....

Excellent and Thank You.
I am not sure how I had some double spaces in my realmoeT.txt file but problem is all fixed and working perfectly now.

I will take a look at the new icons and see if I can fit them in to my screen. I may need to find a bigger tablet. :)

For wBox2 version 2 is it just the new realmoreT.txt that is needed and new html files. If so please can you post new html files to produce the same as the image you posted then I can "play". If its a whole new package can you zip and post.

Many thanks again. Looking good.

(I hope Google Translate works well)

Regards
Andy
User avatar
pernaczy
Posts: 133
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: Windows 7
Location: Niesiolowice, Northern Poland
Contact:

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

Post by pernaczy »

Big Daddy wrote: Thu 04 Jun 2020 8:11 am
For wBox2 version 2 is it just the new realmoreT.txt that is needed and new html files. If so please can you post new html files to produce the same as the image you posted then I can "play". If its a whole new package can you zip and post.
Regards
Andy
Here you are wBox2 files: http://www.andreovia.pl/weather/doc/wBox2.zip
And the new "realmore.txt" file (code) is in the post above yours. :D

Piotr
The day when I have learned something is not the lost one.
Ignorance can be corrected with the help of a book. Stupidity requires a shotgun and a shovel.

Image
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

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

Post by Big Daddy »

Thanks Piotr,
I already have the wBox2 files from earlier in this post. I was wondering if there is a html document that shows all the features as ahown in the picture a little earlier.

wBoxV.html is mentioned but I dont find that file.

Do I undertsnd this correctly.

Andy
User avatar
pernaczy
Posts: 133
Joined: Thu 15 Nov 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: Windows 7
Location: Niesiolowice, Northern Poland
Contact:

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

Post by pernaczy »

Big Daddy wrote: Thu 04 Jun 2020 12:15 pm Thanks Piotr,
I already have the wBox2 files from earlier in this post. I was wondering if there is a html document that shows all the features as ahown in the picture a little earlier.
wBoxV.html is mentioned but I dont find that file.
Do I undertsnd this correctly.
Andy
Attached you can find "html" file for an old version of wBox. Unfortunately it is in Polish. Try to translate with with "uncle Google". If you fail I will help but it must take some time. :D
Piotr
You do not have the required permissions to view the files attached to this post.
The day when I have learned something is not the lost one.
Ignorance can be corrected with the help of a book. Stupidity requires a shotgun and a shovel.

Image
User avatar
PaulMy
Posts: 3777
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

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

Post by PaulMy »

Hi,
My wBox is at http://www.komokaweather.com/weather/wBox/wBoxH.html
I just installed wBox2 and haven't done much checking but initial http://www.komokaweather.com/weather/wB ... 2Home.html does not yet work.

My wBox2 realmoreT.txt is:
<#pressYL> <#TpressYL> <#pressYH> <#TpressYH> <#pressTL> <#TpressTL> <#pressTH> <#TpressTH> <#WindRoseData> <#realtimeinterval> <#avgtempY> <#windYM> <#domwindbearingY>

But my processed realmore.txt has a combination space and comma separator:
1001.90 06:04 1008.06 04:44 1007.38 04:40 1008.77 08:39 114.3,128.7,0.0,0.0,0.0,0.0,0.0,0.0,0.0,72.4,790.2,1543.4,6.4,117.5,6.4,0.0 10 22.4 9.7 284

I assumed this is incorrect but checking my existing wBox it also has a combination space and comma and that works fine.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www.komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX www.komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX www. komokaweather.com/cumulusmx4/index.htm

Image
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

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

Post by Big Daddy »

The output of the realmore.txt is similar to mine. I think the spaces define the different fields and the commas sepearte the vaules in those fields. This is mine which is working

1006.9 23:51 1012.9 00:03 998.9 17:49 1007.3 00:00 140.7,17.9,3.1,0.0,0.0,0.0,0.0,2.7,0.0,3.8,150.3,855.2,1520.9,1438.8,644.7,506.7 20 13.0 16.9 12

Unfortunalety I cant see all of your WBox screen when I click the links, there are bits off the bottom of the screen. Which piece is not working?
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 »

Daer Friends
Please wait with the installation wBox2, because the package Piotr wrote about does not apply to the latest version of wBox.
A lot has changed, so I will try to quickly prepare a new package with instructions.
Post Reply