Page 13 of 102

Re: Weather34 Aurora Version(english supported only)

Posted: Wed Dec 02, 2020 3:44 pm
by prestwickwx
weatherist34 wrote: Wed Dec 02, 2020 3:34 pm
prestwickwx wrote: Wed Dec 02, 2020 3:20 pm Hi Brian,

I noticed that the email Icon shows up for me with either Yes or No. I checked the Settings file and it is flagged No.

Best wishes,

Chuck
oooff one small comma ; in index.php broke it :-( should be fine now thanks ...Brian
That fixed it. :D The tooltips look great!

Chuck

Re: Weather34 Aurora Version(english supported only)

Posted: Thu Dec 03, 2020 11:35 am
by weatherist34
simple update aurora-simple-update-03-12-2020.zip

Gains of not dealing with languages this update add phrases to tooltips where relevant in various charts .


ttphrases.jpg
ttphrases.jpg (124.14 KiB) Viewed 3644 times

Re: Weather34 (PHP 8 ?)

Posted: Fri Dec 04, 2020 7:06 am
by weatherist34
Good morning

I thought id openly answer this as it has been a frequent question last week or so .

PHP 8 is fully supported and ready . I religiously follow PHP releases and install them locally when available just like I do with latest CSS values released in browser support , this simply allows me a heads up of making adjustments to code long before public hosts make latest version available to their customers .With PHP8 I had todo hardly anything as it closely followed the last two releases of PHP 7.4.11 PHP 7.4.12 where I made some slight changes but nothing significant to warrant a concern.Although PHP 8 has some exclusive extensions and to me a marginal performance increase however that said those running big sites like Wordpress with mass of plugins etc installs could be in for a big headache or the requirement to shed some of that old style compiling of PHP because those will throw errors up and likely break your templates .I have an old client(I no longer do any client work) who stupidly jumped at installing PHP8 on a Joomla site built in 2014 it simply fell apart literally at the seems .

Weather34 has made every effort to not use old school complex styling php string arrays amongst other ways I commonly see in other templates not just weather templates.Like any new PHP release i.e from PHP 5.XX to PHP 7.XX there will be broken elements if your templates or code has not been recompiled for later PHP revisions .PHP 8 is a big improvement and a step forward no longer is PHP a mass of unfamiliar awkward code.In fact it will make Devs, designers compile cleaner better smart code..

for a piece of mind if your using weather34 template your in safe hands sometimes its not always about making it look pretty :-)

its also worth noting building this template solely around the meteobridge devices for so long makes compiling ideas somewhat easier , although some
of the latest support for multiple mixing of sensors from different brands gives me an headache to understand the rest is pretty much a breeze todo simply meteobridge nigh on does what it set on the box ...

34php8.jpg
34php8.jpg (65.8 KiB) Viewed 3616 times

Re: Weather34 Aurora Version(english supported only)

Posted: Sat Dec 05, 2020 8:51 am
by weatherist34
good morning for those curious of PHP8 use Lars in singapore jumped in at installing php8 and happy to report he had no issues using the weather34 aurora version . http://singaporeweather.info/index.php

side note previous version 9.34xx with language support is not compatible with PHP8 however those not concerned about language support can use the simple 934-upgrade file to update to current Aurora version. I have no immediate plans to make older versions compatible with PHP8 . so please be cautious and think about things before installing if languages are of importance.

if your a wordpress user you have my sympathy as your at the mercy of plugin developers to recompile their plugins,components etc . message here is PHP8 of importance to you as most hosts will offer a choice,so please think about it. just because you can doesnt mean you have too... :) have a great weekend ..

on a funny note if you ever seen the movie War of the Roses starring michael douglas , kathleen turner well that could be me and my wife this weekend as we are on a 72hour strict lockdown ,curfew ... https://en.wikipedia.org/wiki/The_War_o ... ses_(film)

see ya all..

Re: Weather34 Aurora Version(english supported only)

Posted: Sat Dec 05, 2020 5:48 pm
by prestwickwx
Hi Brian,

Good luck with the lockdown and the "War". :D

Thanks for the PHP 8 info - I suspect our host will roll it out soon.

Take care.

Chuck

Re: Weather34 Aurora Version(english supported only)

Posted: Mon Dec 07, 2020 11:36 am
by woolfg
Hi Brian

The latest download doesnt appear to be working

Not sure if its a problem with MediaFire

Regards

Graham

Re: Weather34 Aurora Version(english supported only)

Posted: Tue Dec 08, 2020 12:43 pm
by jasonmfarrow
Brian, an odd bug has appeared with the chart for Air Quality caused by negative air temperatures.

My AQI chart had data gaps where the outside temperature went into negative values. As soon as the air temp went back to positive the chart correctly parsed the data.

Code: Select all

0,00:00,0.7,1000.2,0.2,0,0.0,0.0,0,0.3,0.0,13.0,20.3,48,8 Dec,-1.2,,97,64.0
0,00:10,0.7,1000.0,0.0,0,0.0,0.0,0,0.4,0.0,13.0,20.2,48,8 Dec,-1.2,,98,64.9
0,00:20,0.7,1000.1,0.0,0,0.0,0.0,0,0.4,0.0,13.0,20.1,48,8 Dec,-1.2,,98,73.2
0,00:30,0.6,1000.1,0.0,0,0.0,0.0,0,0.2,0.0,13.0,20.1,48,8 Dec,-1.4,,97,71.1
0,00:40,0.6,1000.2,0.0,0,0.0,0.0,0,0.3,0.0,13.0,20.0,48,8 Dec,-1.3,,98,70.9
0,00:50,0.6,1000.2,0.0,0,0.0,0.0,0,0.2,0.0,13.0,19.9,48,8 Dec,-1.4,,97,67.7
0,01:00,0.4,1000.3,0.0,0,0.0,0.0,0,0.0,0.0,13.0,19.8,48,8 Dec,-1.6,,97,66.0
0,01:10,0.3,1000.5,0.0,0,0.0,0.0,0,-0.1,0.0,13.0,19.8,48,8 Dec,-1.7,,97,66.8
0,01:20,0.1,1000.6,0.0,0,0.0,0.0,0,-0.3,0.0,13.0,19.7,48,8 Dec,-1.9,,97,62.6
0,01:30,0.0,1000.6,0.0,0,0.0,0.0,0,-0.4,0.0,13.0,19.6,48,8 Dec,-2,,97,62.8
0,01:40,-0.1,1000.7,0.0,0,0.0,0.0,0,-0.5,0.0,100.0,19.6,47,8 Dec,-2.2,,97,63.4
0,01:50,-0.2,1000.7,0.0,0,0.0,0.0,0,-0.6,0.0,100.0,19.5,48,8 Dec,-2.3,,97,63.4
0,02:00,-0.3,1000.7,0.0,0,0.9,0.3,0,-0.7,0.0,117.0,19.4,47,8 Dec,-2.4,,97,60.2
0,02:10,-0.5,1000.7,0.0,0,0.9,0.1,0,-0.9,0.0,117.0,19.4,47,8 Dec,-2.6,,97,58.1
0,02:20,-0.6,1000.8,0.0,0,0.9,0.0,0,-1.0,0.0,117.0,19.3,47,8 Dec,-2.7,,97,59.6
0,02:30,-0.7,1001.0,0.0,0,0.4,0.0,0,-1.1,0.0,117.0,19.2,47,8 Dec,-2.8,,97,60.0
0,02:40,-0.7,1001.0,0.0,0,0.9,0.2,0,-1.1,0.0,165.0,19.2,47,8 Dec,-2.8,,97,55.1
0,02:50,-0.7,1001.0,0.0,0,0.9,0.1,0,-1.1,0.0,161.0,19.2,47,8 Dec,-2.8,,97,51.7
0,03:00,-0.8,1001.1,0.0,0,0.9,0.0,0,-1.2,0.0,161.0,19.1,47,8 Dec,-3,,97,45.4
0,03:10,-0.8,1001.1,0.0,0,0.4,0.0,0,-1.2,0.0,226.0,19.1,47,8 Dec,-3,,97,38.8
0,03:20,-0.8,1001.2,0.0,0,0.4,0.0,0,-1.2,0.0,225.0,18.9,47,8 Dec,-3,,97,50.6
0,03:30,-0.9,1001.2,0.0,0,0.4,0.0,0,-1.3,0.0,230.0,18.9,47,8 Dec,-3.1,,97,56.0
0,03:40,-1.0,1001.2,0.0,0,0.4,0.0,0,-1.4,0.0,211.0,18.9,47,8 Dec,-3.2,,97,43.8
0,03:50,-1.2,1001.2,0.0,0,0.4,0.0,0,-1.6,0.0,211.0,18.8,47,8 Dec,-3.4,,97,40.8
0,04:00,-1.3,1001.3,0.0,0,0.0,0.0,0,-1.7,0.0,211.0,18.7,47,8 Dec,-3.5,,97,44.6
0,04:10,-1.3,1001.4,0.0,0,0.0,0.0,0,-1.7,0.0,211.0,18.7,47,8 Dec,-3.5,,97,49.2
0,04:20,-1.4,1001.5,0.0,0,0.0,0.0,0,-1.8,0.0,211.0,18.6,47,8 Dec,-3.6,,97,51.5
0,04:30,-1.4,1001.5,0.0,0,0.0,0.0,0,-1.8,0.0,211.0,18.6,47,8 Dec,-3.6,,97,41.7
0,04:40,-1.6,1001.5,0.0,0,0.0,0.0,0,-2.0,0.0,211.0,18.6,47,8 Dec,-3.9,,97,50.0
0,04:50,-1.6,1001.5,0.0,0,0.0,0.0,0,-2.0,0.0,211.0,18.5,47,8 Dec,-3.9,,97,39.6
0,05:00,-1.6,1001.7,0.0,0,0.0,0.0,0,-2.0,0.0,211.0,18.4,47,8 Dec,-3.9,,97,39.6
0,05:10,-1.7,1001.8,0.0,0,0.0,0.0,0,-2.1,0.0,196.0,18.4,47,8 Dec,-4,,97,50.2
0,05:20,-1.8,1001.8,0.0,0,0.0,0.0,0,-2.2,0.0,196.0,18.3,47,8 Dec,-4.1,,97,35.0
0,05:30,-1.8,1001.9,0.0,0,0.0,0.0,0,-2.2,0.0,167.0,18.3,47,8 Dec,-4.1,,97,42.9
0,05:40,-1.9,1002.1,0.0,0,0.0,0.0,0,-2.3,0.0,167.0,18.2,47,8 Dec,-4.2,,97,51.3
0,05:50,-2.1,1002.1,0.0,0,0.0,0.0,0,-2.5,0.0,167.0,18.2,47,8 Dec,-4.4,,97,39.2
0,06:00,-2.2,1002.0,0.0,0,0.0,0.0,0,-2.6,0.0,167.0,18.1,47,8 Dec,-4.5,,97,39.6
0,06:10,-2.2,1002.0,0.0,0,0.0,0.0,0,-2.6,0.0,328.0,18.1,47,8 Dec,-4.5,,97,33.8
0,06:20,-2.3,1002.2,0.0,0,0.0,0.0,0,-2.7,0.0,330.0,18.0,47,8 Dec,-4.6,,97,43.8
0,06:30,-2.4,1002.1,0.0,0,0.0,0.0,0,-2.8,0.0,330.0,17.9,47,8 Dec,-4.8,,97,35.4
0,06:40,-2.5,1002.2,0.0,0,0.0,0.0,0,-2.9,0.0,330.0,17.9,47,8 Dec,-4.9,,97,39.2
0,06:50,-2.6,1002.2,0.0,0,0.0,0.0,0,-3.0,0.0,330.0,17.9,47,8 Dec,-5,,97,38.3
0,07:00,-2.7,1002.3,0.0,0,0.0,0.0,0,-3.1,0.0,330.0,17.9,47,8 Dec,-5.1,,97,39.6
0,07:10,-2.8,1002.4,0.0,0,0.0,0.0,0,-3.2,0.0,270.0,18.2,47,8 Dec,-5.2,,97,39.2
0,07:20,-2.8,1002.5,0.0,0,0.0,0.0,0,-3.2,0.0,270.0,18.3,47,8 Dec,-5.2,,97,37.5
0,07:30,-2.8,1002.7,0.0,0,0.0,0.0,0,-3.2,0.0,270.0,18.4,47,8 Dec,-5.2,,97,33.8
0,07:40,-2.8,1002.9,0.0,0,0.0,0.0,0,-3.2,0.0,270.0,18.6,47,8 Dec,-5.2,,97,32.1
0,07:50,-2.9,1003.1,0.0,0,0.0,0.0,0,-3.3,0.0,259.0,18.8,47,8 Dec,-5.3,,97,45.4
0,08:00,-2.8,1003.1,0.0,0,0.0,0.0,0,-3.2,0.0,259.0,19.0,47,8 Dec,-5.2,,97,40.4
0,08:10,-2.7,1003.2,0.0,0,0.0,0.0,0,-3.1,0.0,259.0,19.2,47,8 Dec,-5.1,,97,33.3
0,08:20,-2.7,1003.3,0.0,0,0.0,0.0,0,-3.1,0.0,259.0,19.3,47,8 Dec,-5.1,,97,40.8
0,08:30,-2.6,1003.4,0.0,0,0.0,0.0,0,-3.0,0.0,259.0,19.3,47,8 Dec,-5,,97,43.8
0,08:40,-2.2,1003.4,0.0,0,0.0,0.0,0,-2.6,0.0,259.0,19.2,47,8 Dec,-4.5,,97,33.8
0,08:50,-1.8,1003.4,0.0,0,0.0,0.0,0,-2.2,0.0,259.0,19.2,46,8 Dec,-4.1,,97,30.8
0,09:00,-1.4,1003.8,0.0,0,0.0,0.0,0,-1.7,0.0,257.0,19.2,46,8 Dec,-3.6,,98,37.9
0,09:10,-1.1,1003.8,0.0,0,0.0,0.0,0,-1.4,0.0,241.0,19.1,46,8 Dec,-3.3,,98,38.8
0,09:20,-0.9,1003.8,0.0,0,0.0,0.0,0,-1.2,0.0,241.0,19.0,46,8 Dec,-3.1,,98,38.3
0,09:31,-0.8,1003.8,0.0,0,0.0,0.0,0,-1.1,0.0,241.0,19.0,46,8 Dec,-2.9,,98,36.7
0,09:55,-0.4,1003.9,0.0,0,0.0,0.0,0,-0.7,0.0,241.0,18.9,47,8 Dec,-2.5,,98,42.5
0,10:00,-0.3,1003.9,0.0,0,0.0,0.0,0,-0.6,0.0,241.0,18.9,47,8 Dec,-2.4,,98,34.6
0,10:10,0.6,1003.9,0.0,0,0.0,0.0,0,0.3,0.0,241.0,18.9,47,8 Dec,-1.3,,98,37.5
0,10:20,0.8,1004.0,0.0,0,0.0,0.0,0,0.5,0.0,241.0,18.9,47,8 Dec,-1.1,,98,39.2
0,10:30,1.1,1004.1,0.0,0,0.4,0.1,0,0.8,0.0,211.0,18.9,47,8 Dec,-0.8,,98,35.8
Capture8.PNG
Capture8.PNG (66.53 KiB) Viewed 3466 times
The orange AQI correstponds from 00:00 to 01:30 and the green from 10:10 onwwards.

Not sure why a negative temperature should be mucking the graph about.

Re: Weather34 Aurora Version(english supported only)

Posted: Tue Dec 08, 2020 6:19 pm
by weatherist34
Thank you Jason think thats what you call "just in time" as I was just about to push an update.
cause was the air quality script was an original code line from when using luftdaten API using position 2 .
now its via meteobridge API its position 18 so if ( rowData[18]>=0) is now correct
it was unfortunately using if ( rowData[2]>=0) which is temperature in the meteobridge API , so classic seasonal scenario getting missed never appears in the warmer months .

anyway
update file contains also new folders for next year(2021) rollover for charts with each year in its own folder which is easier to manage going forward year in year out.Beta contact form for those who want a contact button.

(*Aurora Update File for 8th December)
* Fix air quality chart anomaly when temp below zero Ref J Farrow. (7:05pm)
* Prepares new chart folders for year change over to 2021. (7:05pm)
* Removes past lunar events. (7:05pm)
* Minor setup rephrase change in previous year. (7:05pm)
* Adds Beta contact form when email is set to yes. (7:05pm)
* Weather34 Aurora is PHP 8 ready and backwards compatible PHP 7.xx (News)
* Important always do a backup be safe be smart ! (Advice)

Re: Weather34 Aurora Version(english supported only)

Posted: Tue Dec 08, 2020 7:06 pm
by jasonmfarrow
Brian,

Did that also fix the air-quality-indoor-davis chart?

update: Yes it did!

Re: Weather34 Aurora Version(english supported only)

Posted: Tue Dec 08, 2020 7:34 pm
by jasonmfarrow
weatherist34 wrote: Tue Dec 08, 2020 6:19 pm update file contains also new folders for next year(2021) rollover for charts with each year in its own folder which is easier to manage going forward year in year out.
So all current year charts are driven out of /weather34charts and all past year charts out of their respective folder /2019charts, /2020charts etc.?

Re: Weather34 Aurora Version(english supported only)

Posted: Tue Dec 08, 2020 9:03 pm
by prestwickwx
Hi Brian,

I have a little issue with the latest update in the 2019 charts. Looks like it may be a path problem. Also, the latest version of the consolecharts-2019.php is not on Git. I did see it in the Weather34 Update Zip file. Maybe some others that are different, as well.

Capture.PNG
Capture.PNG (166 KiB) Viewed 3431 times



Hope all is well.



Chuck

Re: Weather34 Aurora Version(english supported only)

Posted: Wed Dec 09, 2020 11:13 am
by weatherist34
hi chuck sorry about that i was trying to help someone out last night their server had some strange path configuration and i ended up falling asleep.. hopefully both are aligned now.

Re: Weather34 Aurora Version(english supported only)

Posted: Wed Dec 09, 2020 2:50 pm
by prestwickwx
Hi Brian,

No problem. I updated and the data seems to be there, but I notice the date at the bottom seems off. :?:


Capture.PNG
Capture.PNG (279.07 KiB) Viewed 3401 times

Hope all is well.

Chuck

Re: Weather34 Aurora Version(english supported only)

Posted: Wed Dec 09, 2020 4:34 pm
by weatherist34
i cant see anything wrong in the simple script , its simply reading the filemtime , which could be when last edited , when uploaded to server.it basically a timestamp set by server.

Re: Weather34 Aurora Version(english supported only)

Posted: Wed Dec 09, 2020 5:55 pm
by prestwickwx
OK. That makes sense. :D

Best wishes!

Chuck