Weather34 Aurora Version(english supported only)

All about the standard Meteobridge devices based on mobile routers from TP-Link, D-Link, ASUS

Moderator: Mattk

User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by jasonmfarrow »

jasonmfarrow wrote: Sat Jan 01, 2022 1:51 pm Hi Brian,

In the various charts, "yesterday" and "last month" are not working but "last year" is. Possibly a 2022 vs 2021 issue given that this is the first year-up since this functionality was added. The december.csv and 31dec2021.csv files are good from a content pov.
FYI: update31-12-2021.zip is applied.
in monthtemperaturechart2previous.php the code takes off one month in line 23 but in line 62 it's still using the current year:

Code: Select all

url: "<?php echo date('Y');?>/<?php echo $weatherfile;?>.csv",
I think this is the cause in all the today|month...previous.php chart modules. It will be rectify itself by February but it will need you to fix it to make it work in January.
Regards
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
andredebruijn
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Sun May 23, 2021 11:42 am

Re: Weather34 Aurora Version(english supported only)

Post by andredebruijn »

hello brian, I am using your app for al long time, found a small bug in the baromater almanac -> 2020 (history)

(AFTER LAST UPDATE 31/12) ALSO NOW IN 2021 AND ALSO NOW THE UV INDEX LAST YEAR IS NOT CORRECT.)

it should show 2 variables, the sea level pressure high / low. (THIS IS FOR THE BAROMETER)

now it shows 9-average temp out / and 10-sea level pressure high

it should I think take 10 + 11

although with my data.

hope you can fix this.

bye bye

andre
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

andredebruijn wrote: Sat Jan 01, 2022 5:49 pm hello brian, I am using your app for al long time, found a small bug in the baromater almanac -> 2020 (history)

(AFTER LAST UPDATE 31/12) ALSO NOW IN 2021 AND ALSO NOW THE UV INDEX LAST YEAR IS NOT CORRECT.)

it should show 2 variables, the sea level pressure high / low. (THIS IS FOR THE BAROMETER)

now it shows 9-average temp out / and 10-sea level pressure high

it should I think take 10 + 11

although with my data.

hope you can fix this.

bye bye

andre
Hello Andre thanks always something I miss but was expecting some year rollover issues , Number 1 todo list this year better way of handling charts for rollover of year in advance ..(theoretically).

Change Log 1st January 2022

* (20:43) * Contains all features/fixes from December 4th to January 1st
* (20:43) * Fix last year(2021) chart barometer,uv,solar Ref Andre
* (20:43) * PHP 8.1.1 verified 22nd December


** 28th December 2021 Important please run the setup to clear existing
UTC setting screenshot shown below.

Clear UTC Screenshot

** Please always do a backup before applying updates.

* Doing backups will preserve your chart data and settings in the event of
any problems.
* When new setup options are added ensure the settings file
(console-settings) is not locked with file permissions on your server.


@JasonFarrow last month for January needs some thought to handle year in year out as its driven by the year folder i.e December is in 2021 folder January is in 2022 folder so needs some reorganizing at some newer code .if I don't do it it will correct itself on Feb(1ST) ,yesterdays should correct itself tomorrow (2nd Jan) see https://singaporeweather.info 8 hours in front of UK ..

also some more work required to produce air quality for last year etc but will look at this sometime this month ..

Brian
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by jasonmfarrow »

weatherist34 wrote: Sat Jan 01, 2022 7:55 pm @JasonFarrow last month for January needs some thought to handle year in year out as its driven by the year folder i.e December is in 2021 folder January is in 2022 folder so needs some reorganizing at some newer code .if I don't do it it will correct itself on Feb(1ST) ,yesterdays should correct itself tomorrow (2nd Jan) see https://singaporeweather.info 8 hours in front of UK ..
Brian
I think it's the case of an if statement along this logical thought -->

Code: Select all

if current_Month = 1 then {chart_year = current_year-1} else {chart_year = current_year}
It's only needed for year|month...previous.php charts. There's just so many to patch...as your time allows.

Hope you had a good New Year. Cheers. J.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

Hello Jason

ive pushed a solution to GITHUB for now , I will make a simple update release tomorrow ... see https://singaporeweather.info for outcome.
basically if January do its thing :-)

code is
$weatherfile = date('F', strtotime("-1 months"));
$year = date('Y');
if (date('F')=="January"){$year=date('Y', strtotime("-1 year"));};


then
url: "<?php echo $year?>/<?php echo $weatherfile;?>.csv",.........


have a good evening ..Brian
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
User avatar
jmontamat
Gold Boarder
Gold Boarder
Posts: 267
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by jmontamat »

Hi Brian, the previous month was bad solar.
Good Sunday.
Thank you.
Attachments
Sin título.png
Sin título.png (38.16 KiB) Viewed 6447 times
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by jasonmfarrow »

weatherist34 wrote: Sat Jan 01, 2022 9:53 pm Hello Jason, code is
$weatherfile = date('F', strtotime("-1 months"));
$year = date('Y');
if (date('F')=="January"){$year=date('Y', strtotime("-1 year"));};


then
url: "<?php echo $year?>/<?php echo $weatherfile;?>.csv",.........
All working as stated. Not certain whether there is a missing semi-colon after echo $year or not. Seems to be present in some code, absent in others.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
woolfg
Expert Boarder
Expert Boarder
Posts: 157
Joined: Wed Mar 20, 2019 4:01 pm
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by woolfg »

Hi Brian

Happy New Year

There appears to be a problem with rainfall extra data chart
rainfall.jpg
rainfall.jpg (30.37 KiB) Viewed 6408 times
http://ringwoodweather.ddns.net:86/Aurora2/index.php

Regards

Graham
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

hello Graham

80 mm less than last month(december)

876mm less than last year (2021)

equals 4mm accumulated so far this year.. :D

the blue values will always be the current difference between last month and last year

ps your url dont work hasnt for many months .

jason I wouldnt worry i use an aggressive PHP sniffer when compiling it doesn’t flag anything .

josep fix was pushed to github earlier today
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
lorenz1982
Expert Boarder
Expert Boarder
Posts: 136
Joined: Thu Apr 24, 2014 2:34 pm
Location: Trento / Trient - Northern Italy
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by lorenz1982 »

Hello,
I have a problem: why the monthly average is always 0 km/h?
Thanks.
Attachments
DC54CDAF-6F6F-4506-A040-999E7036E6CD.jpeg
DC54CDAF-6F6F-4506-A040-999E7036E6CD.jpeg (238.31 KiB) Viewed 6392 times
262F6D9E-18C3-4785-92A0-5585AD128155.jpeg
262F6D9E-18C3-4785-92A0-5585AD128155.jpeg (220.74 KiB) Viewed 6392 times
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

Hello Lorenzo correct my mistake its not in the API output and neither is year average speed . corrected or replaced with 15 min average will release simple update tomorrow . Brian


Screenshot at Jan 02 21-52-03.png
Screenshot at Jan 02 21-52-03.png (16.04 KiB) Viewed 6370 times
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
lorenz1982
Expert Boarder
Expert Boarder
Posts: 136
Joined: Thu Apr 24, 2014 2:34 pm
Location: Trento / Trient - Northern Italy
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by lorenz1982 »

Really thanks for your fast answer.
lorenz1982
Expert Boarder
Expert Boarder
Posts: 136
Joined: Thu Apr 24, 2014 2:34 pm
Location: Trento / Trient - Northern Italy
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by lorenz1982 »

I still have some problems with connecting to the charts of the previous year. The UV chart starts November 13 and the solar radiation chart is empty.
Thanks.
Attachments
2C3870EF-A1E0-4F8B-89F1-8F4B5D9AA16D.jpeg
2C3870EF-A1E0-4F8B-89F1-8F4B5D9AA16D.jpeg (259.59 KiB) Viewed 6345 times
D15B7A87-0267-476A-8CCB-FA9793550C16.jpeg
D15B7A87-0267-476A-8CCB-FA9793550C16.jpeg (258.27 KiB) Viewed 6345 times
E31BA102-C93A-4BA9-B3B9-A71A147771E3.jpeg
E31BA102-C93A-4BA9-B3B9-A71A147771E3.jpeg (399.9 KiB) Viewed 6345 times
B4084463-A14A-4B52-BEF9-86851E1EDADD.jpeg
B4084463-A14A-4B52-BEF9-86851E1EDADD.jpeg (185.12 KiB) Viewed 6345 times
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora Version(english supported only)

Post by weatherist34 »

good morning Lorenzo

see update just added addresses some of those but I can't reproduce the UVI shortfall of days....




Change Log 3rd January 2022

* (18:40) * Contains all features/fixes from December 4th to January 3rd
* (18:40) * Solar chart and dewpoint previous year phrase Ref Lorenzo
* (18:40) * Wind month/year average Ref Lorenzo
* (18:40) * PHP 8.1.1 verified 22nd December


** 28th December 2021 Important please run the setup to clear existing
UTC setting screenshot shown below.

Clear UTC Screenshot

** Please always do a backup before applying updates.

* Doing backups will preserve your chart data and settings in the event of
any problems.
* When new setup options are added ensure the settings file
(console-settings) is not locked with file permissions on your server.
Simple Update February 2023 for Weather34 Aurora MKII
https://www.mediafire.com/file/jk4lj3mq ... 2.zip/file

Weather34 Master Download Aurora MKII
https://download.meteobridge.com/files/Weather34.zip
ToTo
Gold Boarder
Gold Boarder
Posts: 243
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by ToTo »

Sun moon Text is currently moved off centre.
0BF02A70-F921-409A-904E-CA0B1F03F6A9.jpeg
0BF02A70-F921-409A-904E-CA0B1F03F6A9.jpeg (96.66 KiB) Viewed 6323 times
Locked