Page 5 of 6

Re: wBox (weather box) in JSON version

Posted: Wed 29 Dec 2021 7:47 am
by Smarmen
Yes :x
Now I know - it's my mistake :bash:
The problem only appears at the turn of the old and new year.
This is due to the wrong way of comparing dates - I'm not taking the year, only month and day, but January (number 1) is less than December (number 12), so the system behaves as if there is no forecast.
Of course, I will change the code, but it will take me some time, and the problem will go away on January 1, 2022, so in two days :)

The good news is, it gives me the opportunity to wish you all a Happy New Year :D

Re: wBox (weather box) in JSON version

Posted: Thu 30 Dec 2021 2:53 am
by bthoven
Forecast is getting shorter and shorter.

Re: wBox (weather box) in JSON version

Posted: Thu 30 Dec 2021 7:29 am
by Smarmen
Just like that.
This year is ending and the next one is a great unknown :)
But on January 1, the forecast will be visible again, but it is not known what.
Isn't it beautiful? :mrgreen:

Re: wBox (weather box) in JSON version

Posted: Sun 02 Jan 2022 12:35 pm
by bthoven
Smarmen wrote: Wed 29 Dec 2021 7:47 am Yes :x
Now I know - it's my mistake :bash:
The problem only appears at the turn of the old and new year.
This is due to the wrong way of comparing dates - I'm not taking the year, only month and day, but January (number 1) is less than December (number 12), so the system behaves as if there is no forecast.
Of course, I will change the code, but it will take me some time, and the problem will go away on January 1, 2022, so in two days :)

The good news is, it gives me the opportunity to wish you all a Happy New Year :D
Thanks for pointing out what causes the issue. After you mitigate the issue, could you highlight which part of the codes you change so that I can make changes only to that part, and I don't have to re-do all my tweaks again from scratch. Thanks.

Re: wBox (weather box) in JSON version

Posted: Sun 02 Jan 2022 2:32 pm
by Big Daddy
Hi Kris,
Happy New Year to you.

Forecast came back as you said yesterday and has brought with it some warm winter weather for a few days. Nice suprise.

I have said before, I love wBox and am always looking at ways to add new features. I received a new Pi4 at Christmas so now have all my Cumulus, Webserver, wBox, scripts, webcam images etc all managed on one device. Over the holiday I added a new feature to wBox. Click on the window icon next to the cloudbase to view it. It works best during daylight hours :D

http://midlifedad.me.uk/wBox/main.html#loaded

Have fun in 2022.

Andy

Re: wBox (weather box) in JSON version

Posted: Mon 03 Jan 2022 10:56 am
by Smarmen
Hi Bthofen
Of course, as soon as I find a good solution, I will write exactly what part of the code should be changed.

Hi Andy :)
I am very happy that you are using wBox :D
I like it too, and when it happened that my tablet turned off, it was somehow wild at home :o

I've seen your shifts and camera images before - they're wonderful :mrgreen:
I will do something similar overlooking my garden.
As for my weather forecast mistake: I discovered that it highlights the turn of the year and I liked it very much :)
We run so fast now, that we don't notice things like that. :(

Re: wBox (weather box) in JSON version

Posted: Sun 06 Mar 2022 10:39 am
by Big Daddy
Hi Everyone,
I just wanted to share my latest "improvements" to my wBox....extended forecast.

Go to my wBox here http://midlifedad.me.uk/wBox/main.html

Click or press anywhere in the forcast section in the bottom right. Once you have viewed the forecast, click or press anywhere in this page and go back to the main wBox page.

Hope you enjoy.

Andy

Re: wBox (weather box) in JSON version

Posted: Sun 06 Mar 2022 5:42 pm
by Smarmen
Hi,
In my opinion, Andy did a great job, I'm very happy about this :D
It's very interesting that we were both working on similar solutions at the same time!

The YR.NO forecast is for 7 days, so in the wBox.js library I expanded the range of available data accordingly. This way you can visualize the weekly forecast.
http://andreovia.pl/weather/wBoxH7f.html
But why use such a 'basset'? I'm using Linux Mint, where a website can be shown on the desktop via WebApp Manager - forecast is still on my desktop :)

I described the changes in the wBox.js library here: http://andreovia.pl/weather/wBox/readme_2022_03_06.txt

And I changed the wind icons to make it easier to see when it can blow heavily. Again, we have converging actions - me and Andy :D

Download: http://andreovia.pl/weather/wBox/wBox.zip

Regards
Krzysiek (Chris)

Re: wBox (weather box) in JSON version

Posted: Sun 04 Dec 2022 7:21 am
by Smarmen
Hello everyone
I'm getting older... slowly :D so I'm starting to put my affairs in order and no longer put the weather on an external site, only on the internal network.

Current project information:
wBox_EN.pdf

Package of files:
wBox.zip

Greetings to everyone and I remind you that at the end of the year we will have a disappearing forecast again - it's already a tradition :lol: But the sun will shine again in the new year ;)

Krzysiek (Chris)

Re: wBox (weather box) in JSON version

Posted: Sun 04 Dec 2022 8:40 am
by Big Daddy
Hi Krzysiek (Chris),

Nice to see you here again. Its funny, I was just about to post news on some new changes I have made to my wbox.

Here is my latest update, I have added some of the Cumulus charts on seperate pages which can be viewed by clicking elements on the main display.

http://midlifedad.me.uk/testWbox/desk.html

Click on the following to get graphs:

Current temperature
Current wind speed
Current pressure
Sun icon - the one that shows UV level and solar radiation.
(you may need to scroll right to see this one as screen dimensions are set up to test on one of my displays which may be a different size.)
Sunrise / Sunset icon
Humidity icon
Rain icon.

Once in a graph, click anywhere in the graph to get back to the main display.

It may take a few seconds for the graphs to display.

Still some work to do on making them look nice.

I also added an animated rain icon which replaces the standard rain icon when its raining. (Works when "rain rate" is <0)
Image

Andy

Re: wBox (weather box) in JSON version

Posted: Mon 05 Dec 2022 3:51 pm
by Smarmen
Hi Andy
I am very proud of your work! I'm glad you're developing the scripts so well by adding your own ideas. I've already looked at your graphs - they are very detailed and the idea of including links is brilliant :) I copied the animated rain icon - it's supposed to rain tomorrow, so I'll see how it works.

I am already retired, most of the time I work in my big garden and I said goodbye to Bill Windows - now I'm Linux on all my computers :mrgreen:

Krzysiek

Re: wBox (weather box) in JSON version

Posted: Sat 15 Apr 2023 3:34 pm
by Big Daddy
Hi everyone,
So a few new modifications.

I added charts for dewpoint, click on dewpoint icon

Added charts for my BBQ hut which has an external Ecowitt WH31 sensor. Click on the hut icon in the top left, next to the green house. I had to split the graphs in 2 as temperature and dewpoint are usually much lower than humidity so did not really show clearly.

Hourly forecasts for the current and next 8 hours are now available by clicking on the forecast icon in the top left section (under the house icon)

My wBox can be found online here http://midlifedad.me.uk/wBox/main.html.

Enjoy.

Andy

Re: wBox (weather box) in JSON version

Posted: Tue 18 Apr 2023 4:52 pm
by Smarmen
Hi Andy
All your changes to the app look great! This is how my work got a second life - beautifull life, and I proudly show it to all my friends :mrgreen:

I would love to use your changes, but I have a very modest weather station. I'm thinking of changing to a 'better model', but it's unrealistic for now.

Regards everyone :)

Re: wBox (weather box) in JSON version

Posted: Wed 04 Oct 2023 2:03 pm
by dazza1223
Got my weather box up on nice Samsung tablet what web browser would you guys recommend ?

Re: wBox (weather box) in JSON version

Posted: Wed 04 Oct 2023 3:08 pm
by Big Daddy
Hi Dazza,
If its Android based I have used Fully Kiosk. It free from the Google Play store and has loads of features.

Andy