Page 4 of 5

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

Posted: Fri Dec 29, 2017 6:10 pm
by Smarmen
Good news, it looks great :mrgreen:

And the last two "tasks of Hercules"

Procedure: Icons average rate of change in temperature
wBox.js, row 100 to 101

Code: Select all

if (RTpT > 0.3)                       {   $('#tTtA').show();   }   // show _iTtrendA.png -- trend > 0,3°
else if (Math.abs(RTpT) <= 0.3)       {   $('#tTtB').show();   }   // show _iTtrendB.png -- |trend| <= 0,3°

Values 0.3[°C] must be convert to [°F]

Procedure: Thermometer red or blue
wBox.js, row 21

Code: Select all

if (Temp > 0)

Values 0[°C] must be convert to [°F]

Now it's time for a beer :D

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

Posted: Fri Dec 29, 2017 9:41 pm
by grwkak
I already did the themometer colour. Thought about changing rate of change. 0.3C is about 0.5F -which I did not think would make much of a difference - but may do it anyway.

Thanks for the help and scripts etc. :D

I should post the script for others to use??

Guy

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

Posted: Sat Dec 30, 2017 1:50 am
by bthoven
Another way to add something without messing with the code. Using web widget + showr widget. They have the auto-refresh feature.
wBoxVcamHome_widget.JPG

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

Posted: Sat Dec 30, 2017 12:39 pm
by Smarmen
grwkak wrote:I already did the themometer colour.

Yes, I saw it, but I wanted the description to remain for others :)

Thought about changing rate of change. 0.3C is about 0.5F -which I did not think would make much of a difference - but may do it anyway.

The advantage of the solution shown by me is that everyone can adapt the screen to their needs - just like You or Chote.

I should post the script for others to use??

Yes of course, that's what it's all about.

A beautiful wind in Ohio today :D
Chris

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

Posted: Sat Dec 30, 2017 12:44 pm
by Smarmen
bthoven wrote:Another way to add something without messing with the code. Using web widget + showr widget. They have the auto-refresh feature.

YES and... NO :)
The advantage of using javascript is the ability to refresh only those elements whose value has changed, not refreshing the whole page, which looks worse.
But, as I wrote, do whatever you want. It's important that it's fun :D
Chris

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

Posted: Sat Dec 30, 2017 1:39 pm
by grwkak
Wbox.js attached - with modifications to display imperial units. This seems to work :D

Guy

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

Posted: Sat Dec 30, 2017 3:18 pm
by bthoven
Smarmen wrote:
bthoven wrote:Another way to add something without messing with the code. Using web widget + showr widget. They have the auto-refresh feature.

YES and... NO :)
The advantage of using javascript is the ability to refresh only those elements whose value has changed, not refreshing the whole page, which looks worse.
But, as I wrote, do whatever you want. It's important that it's fun :D
Chris


Thanks a lot Chris. The beauty of web widget is it only redraws the parts that change, not the whole web page. :)

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

Posted: Sat Dec 30, 2017 8:56 pm
by PaulMy
Hi Chris,
I've been following your posts and have got http://www.komokaweather.com/weather/wBox/wBoxH.html working. I think I got the latest fixes done. Looks very nice. Thanks for sharing.

Enjoy,
Paul

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

Posted: Sun Dec 31, 2017 7:10 am
by Smarmen
PaulMy wrote:Hi Chris,
I've been following your posts and have got http://www.komokaweather.com/weather/wBox/wBoxH.html working. I think I got the latest fixes done. Looks very nice. Thanks for sharing.

Hi Poul & thanks - its my pleasure :D
But... where is your wind? Still now? Maybe wind sleeps at night, like you :) It's good, because it's very cold for you.
With us it is rather unimaginable that the windrun during the day would be zero.
Chris

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

Posted: Sun Dec 31, 2017 10:52 am
by Smarmen
...continuation of continuation :)

Procedure sensed temperature: heat index or wind chill
wBox.js, row 53 to 63
In row 56 and 62, for the Fahrenheit degrees I suggest to change the value 1 to value 2

Is this the end?
May not :)
Regards
Chris

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

Posted: Sun Dec 31, 2017 11:06 am
by bthoven
Hi Chris,

Really enjoy customizing your great template.

wBox_VCamHome.JPG


wBox_Hdr2Cam.JPG

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

Posted: Sun Dec 31, 2017 3:46 pm
by PaulMy
Hi Chris,
Winds overnight are often nil. But we did get some good gusts yesterday and with our low temperature it felt pretty chilly.
This is my Cumulus:
data for Sunday 31 December 2017 Today Yesterday
Temperature and Humidity
High Temperature -13.2 °C at 10:27 -7.8 °C at 12:58
Low Temperature -22.2 °C at 01:16 -21.0 °C at 23:59
Temperature Range 9.0 °C 13.2 °C
High Apparent Temperature -16.5 °C at 10:27 -12.1 °C at 15:57
Low Apparent Temperature -25.9 °C at 01:16 -24.7 °C at 23:59
Low Wind Chill -22.1 °C at 01:13 -20.9 °C at 23:57
High Heat Index -13.2 °C at 10:27 -7.8 °C at 12:58
High Humidity 100 % at 04:28 91 % at 15:57
Low Humidity 84 % at 00:00 81 % at 13:36
Hours of Sunshine 0.0 0.9
Rainfall
Rainfall 0.0 mm 0.0 mm
High Rainfall Rate 0.0 mm/hr at 00:00 0.0 mm/hr at 00:00
High Hourly Rainfall 0.0 mm at 00:00 0.0 mm at 00:00
Days Since Last Dry Day 0
Days Since It Last Rained 6
Wind
Highest Gust 0.0 km/h at 00:00 38.6 km/h at 14:08
Highest Speed (10 minute average)
and Beaufort scale number 0.0 km/h (F0 on Beaufort scale) at 00:00 15.0 km/h (F3 on Beaufort scale) at 13:55
Wind Run 0.0 km 47.5 km
Dominant Direction 0° --- 283° WNW
Pressure (Sea level)
High Pressure 1032.31 hPa at 10:27 1027.40 hPa at 23:56
Low Pressure 1027.33 hPa at 00:07 1015.51 hPa at 13:03


But then maybe my anemometer is frozen!?! something which I've never experienced in the nearly 10 years of my VP2. I'll have to get bundled up and check it out.

Enjoy,
Paul

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

Posted: Sun Dec 31, 2017 4:19 pm
by Smarmen
PaulMy wrote:But then maybe my anemometer is frozen!?!

Or maybe the wind limit for 2017 ended? :D
My anemometer freezes from time to time when the wet snow falls. Then I just wait for better weather.
Regards & happy New Year :)

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

Posted: Sun Dec 31, 2017 5:34 pm
by grwkak
This was mine this morning - zero means zero:

20171231_105539.jpg
....

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

Posted: Sun Dec 31, 2017 6:08 pm
by ICP963
grwkak wrote:This was mine this morning - zero means zero:

20171231_105539.jpg....


Dang, and I thought my 37.4F this morning was cold. :)