Weather34 Aurora MKII Version 2022

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

Moderator: Mattk

ToTo
Gold Boarder
Gold Boarder
Posts: 243
Joined: Wed Apr 03, 2019 9:24 am
Location: Magdeburg, Germany
Contact:

Re: Weather34 Aurora MKII Version 2022

Post by ToTo »

I would like to show 3 more errors which I noticed. I could fix them already on my website and they could be fixed with the next simple update?

1.) consolecharts-2021.php
If the AVG wind speed chart is displayed (no UV Data), then the zoom is mistakenly for wind speed. Solution AVG must be added:
<?php if($uvsensor=="no"){?>
<li><div id=wind></div>
<div class='weather34zoom'><div class='weatherzoomholder'>
<a href="weather34charts/yearAVGwindspeedmodulechart2a2021.php" data-lity data-title='Zoom'>
<?php echo $weather34chartzoom?></a></div>
</div></li>
<?php }?>

2.) weather34-chart-yearmaxmin.php
The time values of pressure are from the month not from the year. Solution change month in year:
echo "<orange>".$weather["thb0seapressymax"]."</orange> ";echo " ".$weather["thb0seapressYEARmaxtime"]."<br>";
echo "<alternativeblue>".$weather["thb0seapressymin"]."</alternativeblue> ";echo " ".$weather["thb0seapressYEARmintime"];

3.) I use PHP 8.1 on my testserver and i found an anomaly with WU-Data, which is not so obvious under PHP 7.4, but snow must be predicted ;-)
In wuforecast.txt the variable snowRange can contain the value "< 2". In PHP 7.4 this is ignored and it becomes rain, in PHP8 the processing is stopped. I removed everything except numbers with this statement and then the snow is also displayed (Schnee=Snow, Regen=Rain).
$wuskydayacumm7 = preg_replace('/[^0-9]/', '', $wuskydayacumm7)

The error surely affects more PHP files of the template where the variable snowRange is evaluated. No problems in outlookwutext.php, it works there without adjustment, what I do not understand.
PHP 7.4.jpg
PHP 7.4.jpg (37.48 KiB) Viewed 5244 times
PHP 8.1.jpg
PHP 8.1.jpg (29.96 KiB) Viewed 5244 times
PHP 8.1-fix.jpg
PHP 8.1-fix.jpg (36.11 KiB) Viewed 5244 times
Attachments
wuforecast.zip
(1.8 KiB) Downloaded 196 times
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora MKII Version 2022

Post by weatherist34 »

Good morning

Toto this is awesome help , I have applied those fixes to the simple update and tested on PHP 8.1.4 .many thanks keep up the good work.

simple update via https://weather34.com

Change Log March 2022

* (March 20th 18:12) * Fix preg_replace typo ref Toto (Forum)
* (March 20th 08:30) * Fix PHP 8.1 forecast ref Toto (Forum)
* (March 20th 08:30) * Fix incorrect UV in charts ref Toto (Forum)
* (March 20th 08:30) * Fix year max/min in charts ref Toto (Forum)
* (March 17th) * Fix N/A forecast at 0C/32F ref Lorenzo (Forum)
* (March 8th) * Forecast overlay Icons ref Toto (Forum)
* (Feb 15th) * Critical setup screen change for PHP 8.1.2
* (Feb 15th) * PHP 8.1.2 requires the simple update file

toto.png
toto.png (135 KiB) Viewed 5201 times
login.png
login.png (56.37 KiB) Viewed 5201 times
User avatar
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 Aurora MKII Version 2022

Post by prestwickwx »

Brian,

Many thanks!

Cheers,

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
User avatar
rzelle-K1TTC
Gold Boarder
Gold Boarder
Posts: 243
Joined: Fri Jul 12, 2019 4:32 pm

Re: Weather34 Aurora MKII Version 2022

Post by rzelle-K1TTC »

Brian,

Thanks for the Updates. Hope all is well.

73s

..Ron
https://weather.k1ttc.com/AuroraMKII/index.php (Offline)
W. Methuen, Ma 01844 - Davis VP2+FARS - PurpleAir
Ciemon
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Mar 18, 2022 8:02 pm

Re: Weather34 Aurora MKII Version 2022

Post by Ciemon »

I've seen the pdf showing how to setup Weather34 on meteobridge but is there anything more for the web server end? What needs to be setup? obviously PHP, does it also need MySQL?

Thanks in advance.
Regards,
@Ciemon
@VillageWeather
villageweather.net
User avatar
Bart
Expert Boarder
Expert Boarder
Posts: 128
Joined: Fri Nov 20, 2020 12:08 am
Contact:

Re: Weather34 Aurora MKII Version 2022

Post by Bart »

No, if you go through all the steps of the Setup guide, the data that your meteobridge collects during the day and neatly stored on the domain where you installed Weather34.
If you follow the instructions after the arrow "continue", all provisions are made with the Setups of: Charts today, End of the day and Extra Services to generate overviews.

You can see that after installation (patiently waiting for the day to end, etc.) in the available overviews and graphs.

Regards,

Bart
Ciemon
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Mar 18, 2022 8:02 pm

Re: Weather34 Aurora MKII Version 2022

Post by Ciemon »

Thanks Bart,

I'm watching today's data build now.

The only thing left to figure out is how to set a password for the admin menu and then get configuring.
Regards,
@Ciemon
@VillageWeather
villageweather.net
User avatar
jmontamat
Gold Boarder
Gold Boarder
Posts: 267
Joined: Tue Sep 09, 2014 4:49 pm
Location: Barcelona Spain
Contact:

Re: Weather34 Aurora MKII Version 2022

Post by jmontamat »

Ciemon wrote: Sat Apr 02, 2022 6:59 am I've seen the pdf showing how to setup Weather34 on meteobridge but is there anything more for the web server end? What needs to be setup? obviously PHP, does it also need MySQL?

Thanks in advance.

If you publish the website we can help you more.
User avatar
Bart
Expert Boarder
Expert Boarder
Posts: 128
Joined: Fri Nov 20, 2020 12:08 am
Contact:

Re: Weather34 Aurora MKII Version 2022

Post by Bart »

Ciemon wrote: Sat Apr 02, 2022 10:22 am Thanks Bart,

I'm watching today's data build now.

The only thing left to figure out is how to set a password for the admin menu and then get configuring.
If you open the menu by pressing Dashboard Admin, there is now no password. So enter by leaving the password blank. At the top you can enter a "new" password.

Bart
Ciemon
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Mar 18, 2022 8:02 pm

Re: Weather34 Aurora MKII Version 2022

Post by Ciemon »

:D I know I tried that before...

But in making a change I'm getting Error 500, so I'll keep reading. Thanks for your help.
Regards,
@Ciemon
@VillageWeather
villageweather.net
User avatar
Bart
Expert Boarder
Expert Boarder
Posts: 128
Joined: Fri Nov 20, 2020 12:08 am
Contact:

Re: Weather34 Aurora MKII Version 2022

Post by Bart »

If saving (bottom page) the password (any settings you change) gives that error then it must have something to do with your read and write settings in the directory of the server where you installed Weather34. You must have the right to be able to read and write. Check the settings on that server fist.

Bart
Ciemon
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Mar 18, 2022 8:02 pm

Re: Weather34 Aurora MKII Version 2022

Post by Ciemon »

*facepalm*

If your php settings file is defining strings between double quotes, don't use double quotes in your password.
Regards,
@Ciemon
@VillageWeather
villageweather.net
User avatar
Bart
Expert Boarder
Expert Boarder
Posts: 128
Joined: Fri Nov 20, 2020 12:08 am
Contact:

Re: Weather34 Aurora MKII Version 2022

Post by Bart »

There is always a 1st time for everything. I've never met anyone who uses " in a password. :lol: :lol: But that's just my problem.
I wouldn't have found out that was the problem.
If everything works, good luck with Weather34.

Have fun,

Bart
Ps, read the tip Jmontamat wrote here about publishing your website.
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 Aurora MKII Version 2022

Post by weatherist34 »

Hello all

me again requesting some help for a purchase from UK or USA .many thanks to all those who offered to help it has now been sorted ..many thanks you are truly a great bunch of people..brian

I still receive many emails and whilst I always respond but please accept my apologies for just replying with a link to this forum has I believe the answers can be found here or help if needed has there are many experienced users who frequent this forum.Im not being lazy or ignorant just I don't want to give a misleading impression Im readily available to help out . frequently asked about the setup guides (2) these are in the download perhaps not so obvious has there are many files or alternatively until July 1ST the setup guides are available to download via https://weather34.com

many thanks and hope everyone is in good health..Brian

setuppdf.png
setuppdf.png (27.41 KiB) Viewed 4820 times
Ciemon
Fresh Boarder
Fresh Boarder
Posts: 17
Joined: Fri Mar 18, 2022 8:02 pm

Re: Weather34 Aurora MKII Version 2022

Post by Ciemon »

Brian can you drop me an email about this please ciemon at gmail.com

Thank you.
Regards,
@Ciemon
@VillageWeather
villageweather.net
Post Reply