Page 7 of 10

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

Posted: Thu 04 Jun 2020 7:13 pm
by Big Daddy
PaulMy,
Are you also uploading Realtime.txt to your wBox. You need both files, realtime and realmore.

Andy

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

Posted: Thu 04 Jun 2020 7:16 pm
by Big Daddy
Smarmen,
Thank You. No rush.

Andy

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

Posted: Thu 04 Jun 2020 7:40 pm
by PaulMy
Hi,
I'll wait as well, but yes I am updating both realtime and realnore.txt to the wBox2 folder.

Enjoy,
Paul

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

Posted: Fri 05 Jun 2020 4:19 pm
by Big Daddy
I have been having a good play with wBox today and have achieved a few things.

1) Added the Home icon and values
2) Created a new "Smile" icon set, lets call him "Mr Weatherman"
3) I created and added a sun icon which shows UV index and Solar Radiation which are provided in realtime.txt file (item 43 and 45 in the array)
4) moved a few thing around to make it fit.

I did find though that every so often new icons would appear on the display and even though I looked at the chart Smarmen posted I had to make some minor changes as I didnt quite get the positioning right.

Once I got into it and got a feel for how things work I found it quite easy. My knowledge is very basic.

Hope you like it

http://midlifedad.me.uk/wBox/wBox.html

Smarmen,
I used the following #RT values as they seemed to be well out of the way of any others. If you want to assign different numbers for your templates then please let me know what they are and I can change my wBox.js file to match and keep things standard. Hopefully somewhere you have a record of what they all mean. :D

$('#RT70').text(Math.round(dataRT[43]));
$('#RT71').text(dataRT[45]);

Also I used Re24 for the text (W/m2) under the Solar Radiation. I see this is also used for % sign in Home humidty. Let me know if this needs changing as well.

Next task is to get the UV measurement to display in different colours colour depending on its value against the global UV index standard.

Have fun.

Andy

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

Posted: Sat 06 Jun 2020 7:12 pm
by Smarmen
Hi
Finally, I made a website describing the wBox (second version) application. There you will find all the information necessary for installation.
http://www.andreovia.pl/jedrzejow-pogoda/wbox#wbox_en
I need to rest now ;)

Important
After starting please send me a link to wBox on your website - I would like to show others how easy it is :)

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

Posted: Sun 07 Jun 2020 6:18 am
by Smarmen
Big Daddy wrote: Thu 04 Jun 2020 4:50 pm 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?
Yes of course!
wbox is NOT intended to run on a regular computer, therefore there is no screen scaling option. The resolution is fixed, but for testing purposes, the image in the browser can be scaled just like any other, e.g. Ctrl + mouse wheel.
The wBox application is used to display current weather conditions on a continuous basis, based on data from its own weather station and forecast provided by the YR.NO weather service. According to the assumptions, the website is launched on a tablet or phone, in full-screen browser mode, the data is refreshed every 20 seconds, some elements are animated. http://www.andreovia.pl/jedrzejow-pogoda/wbox#wbox_en

For this reason, wBox is not suitable for displaying on your own weather home page, but you can recommend weblink, then other people from the same city can display your weather on their tablets. (This is the answer, among others, to PoulMy)

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

Posted: Sun 07 Jun 2020 3:20 pm
by PaulMy
(This is the answer, among others, to PaulMy)
Got it... played a bit more with it today and understand. Thanks,

Enjoy,
Paul

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

Posted: Sun 07 Jun 2020 4:10 pm
by pernaczy
Smarmen wrote: Sat 06 Jun 2020 7:12 pm
Important
After starting please send me a link to wBox on your website - I would like to show others how easy it is :)
As you wish:
1. Verical: https://www.pogoda-niesiolowice.kaszuby ... /wBoxH.php
2. Horizontal: https://www.pogoda-niesiolowice.kaszuby ... BoxV.html
Piotr

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

Posted: Sun 07 Jun 2020 11:31 pm
by Big Daddy
So here is mine...so far. Still paying around with it. It does take a litle knowledge and also some logical thinking but when you get to know how the cogs turn it is quite easy.

http://midlifedad.me.uk/wBox/wBox.html

I have added a "sun icon" at the top. This displays...
Current UV index - this changes colour dependig on UV level and follows the Global UV scale
Current Solar Radiation (W/m2).
The sun icon also changes intensity depending on the Solar Radiation value with the following opacity.
1 to 249 W/m2 - 0.2,
250 to 499 W/m2 - 0.4,
500 to 749W/m2 - 0.6,
750 to 999 - 0.8,
anything higher, 1.0.

When there is no Solar Radiation (value is 0 - at night time) the icon changes to a grey color.

More to come later.

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

Posted: Thu 11 Jun 2020 8:04 pm
by Big Daddy
Firstly, a big Thank You to Smarmen for his work on this. I didnt think I needed a weather disply but now I am pleased I have one.

Here is my prototype wBox. Currently running on a 7 inch Huawei T3 tablet but hoping to get it on something slightly larger soon.

wbox.jpg


I have added some new data and I am not yet fully using all the capability that Smarmen included. On a small tablet it looks a bit too busy.

New additions.
1) As previously mentioned, I have added a "sun icon" now located half way down on the right.
This displays the current UV index and Solar Radiation in W/m2. The UV index (0-11) changes colour dependig on UV level and follows the Global UV scale.The sun icon changes intensity depending on the Solar Radiation value in opacity steps of 0.1 for every 100 W/m2. When 0 (night) the icon changes to a grey color.
2) Lightnng detection (Uses Ecowitt WH57 sensor). Shows number of lightning detections today (left) and distance to last strike today (right). The distance figure changes colour depending on value, >15 miles - green, 10 to 15 miles - yellow, 5 to 10 miles - Orange, < 5miles - Red. The value also flashes when < 5.

Other changes. I stopped the forecast.php script from running in wBox and use a bash script on my pi to get this every 30 minutes. Just reduces the traffic hitting the yr.no site.

Live data can be seen on http://midlifedad.me.uk/wBox/wBox.html

Life is about learning and having fun. Learnt a few more basic JQ / JS commands and functions and ended up with a pretty neat weather display.

Hope you like it.

Andy

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

Posted: Sun 14 Jun 2020 7:31 am
by Smarmen
Hi Andy
You ask, do I like it? This is fantastic! :D
Your changes are refined and fit nicely into the whole concept.
Probably I would do UV index and Solar Radiation, but I do not have such sensors - my station is very simple and... cheap. For now, I'm just thinking about buying a better one.

Thank you, I'm very happy... i dziękuję za słowa po polsku :)

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

Posted: Wed 08 Jul 2020 8:37 am
by Big Daddy
Hi Chris,
Still having fun with wBox :D

I saw this notice in a forecast.xml from yr.no while I was looking to see how the forecast worked as I wanted to change wind to mph as it was in mps. It looks like they are changing their api to json and from what I can see it looks as if wBox uses forecast.xml which will be stopped. I read that an xml version may still be available but will not be improved much but you need to obtain it using a different api call..
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
I will take a look when I have a bit more time.

Andy

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

Posted: Mon 13 Jul 2020 3:00 pm
by Smarmen
Hello Andy,
Thank you for the information.
I have read the text and well - I will slowly face the challenge :shock:
SLOWLY, because it's summer :D

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

Posted: Sat 01 Aug 2020 10:45 am
by kocher
I have installed your new version on my website:

http://kocher.es/cumulusMX/wBox-nuevo/wBoxV.php

My next attempts will consist of:

- Show the average temperature (between the maximum and minimum temperature) in green.

- Show temperature trend value

Thank you very much for your magnificent creation :clap:

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

Posted: Sun 02 Aug 2020 12:02 pm
by Smarmen
Hi Kocher,
Thanks for your message, it looks cool :D
Temperature trend value is here, just turn it on: vidBg2 = 1

Lots of sun for everyone