Weather34 Aurora Version(english supported only)

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

Moderator: Mattk

Locked
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 Ron

glad your well and busy likewise just finishing off a private client web design , glad you like the MKII nearly there a few little tweaks here and there and it should be fine and can progress with new API structure..
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 »

Brian,

In Aurora MkII, the multiple today<something>modulechart2.php files the code is adding spurious "NaN" values for the blank lines to the end of each chart.

I know you fixed this in MkI so it's probably not got to MkII yet and no-one else has spotted it.
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 »

thank you just updated .

* Removes NAN from last line in today charts ref Jason (5:10pm).
* Minor color adjustment to humidity module (5:10pm).
* Fix bottom bar overlap in dark mode mobile ref Josep (8:00am).
* Fix Davis forecast in light mode Ref Brycen (8:00am).

2.png
2.png (70.59 KiB) Viewed 3718 times


https://weather34.com/homeweatherstation/
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
alexeysailman
Senior Boarder
Senior Boarder
Posts: 78
Joined: Sun Mar 03, 2019 8:12 pm
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by alexeysailman »

Hi, Brian!
Do you remember my previous post? It was about the difference in atm. pressure readings between MK2 and the template from the meteobridge itself . I dropped two links to them. The very value of atmospheric pressure in the template, its maximum and minimum are not the same as on the console and in the meteobridge itself. Even after yesterday's update, the daily trends disappeared altogether.

https://xn--10-6kcwaznenhomt1p.xn--p1ai/index.php
https://admin.meteobridge.com/8f0945daa ... /index.php
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 »

sorry alex i cant help you .im more inclined to drop mmHg its obviously not working and im having great trouble following what your asking or highlighting and there is a quite long period between your responses often a week or weeks . to be honest i cant even remember your last issue .so my sincere apologies but I will remove mmHG in forthcoming update. unless you can provide some form of code i understand then ill quite happily help.

when you say trends do you mean charts ? if so barometer file had a missing code from yesterdays update please try this mornings update which also includes some preparation for new API structure .

the new API structure will provide better end of day for a universal use .it is noted from a few that the time of meteobridge just before end of day is not the same as server , the difference can be upto a matter of minutes or even seconds .it is not a meteobridge problem generally if there is any slight difference between hosted server time and meteobridge time then the end of day for month/year charts will produce an incorrect date . it is not a widespread issue but there are a few who have this problem so the new chart end of day will be required to be set at 00:15 therefore giving plenty of time to run the end of day without any crossover of dates . the new end of day basically uses the new api structure where it gathers the previous days Hi,lo,avg,sum at 00:15 so it won't miss any data right until midnight.

I will provide a complete guide so there is no confusion that said if you dont have this problem there is nothing to change in meteobridge or template once the API has been updated .

the new API will have a few additional strings like screenshot .

Screenshot at Jan 15 11-59-23.png
Screenshot at Jan 15 11-59-23.png (63.87 KiB) Viewed 3685 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
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 »

Brian, the MK11 todaybarometermodulechart2.php is not generating a chart.
Capture9.PNG
Capture9.PNG (95.52 KiB) Viewed 3552 times
I'm updated to 14th Jan pm-release. I think the problem is related to the added IF statement in the wrong place.
MKII has this code:

Code: Select all

if(allLinesArray.length>0){
	if ( rowData[2] >-150)
		for (var i = 0; i <= allLinesArray.length-1; i++) {
			var rowData = allLinesArray[i].split(',');					
				//dataPoints1.push({label:rowData[1],y:parseFloat(rowData[3] *<?php echo $conv ?>)});		
				dataPoints1.push({label: rowData[1],y:parseFloat(rowData[3]*<?php echo $conv ;?>),color:WEATHER34CHARTCOLORS(parseFloat(rowData[3]))});
		}
	}
Changing it to this fixes the problem:

Code: Select all

if(allLinesArray.length>0){
	for (var i = 0; i <= allLinesArray.length-1; i++) {
		var rowData = allLinesArray[i].split(',');
			if ( rowData[3] >0)
				//dataPoints1.push({label:rowData[1],y:parseFloat(rowData[3] *<?php echo $conv ?>)});		
				dataPoints1.push({label: rowData[1],y:parseFloat(rowData[3]*<?php echo $conv ;?>),color:WEATHER34CHARTCOLORS(parseFloat(rowData[3]))});
	}
}
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 »

jasonmfarrow wrote: Fri Jan 15, 2021 3:02 pm Brian, the MK11 todaybarometermodulechart2.php is not generating a chart.
Capture9.PNG

I'm updated to 14th Jan pm-release. I think the problem is related to the added IF statement in the wrong place.
MKII has this code:

Code: Select all

if(allLinesArray.length>0){
	if ( rowData[2] >-150)
		for (var i = 0; i <= allLinesArray.length-1; i++) {
			var rowData = allLinesArray[i].split(',');					
				//dataPoints1.push({label:rowData[1],y:parseFloat(rowData[3] *<?php echo $conv ?>)});		
				dataPoints1.push({label: rowData[1],y:parseFloat(rowData[3]*<?php echo $conv ;?>),color:WEATHER34CHARTCOLORS(parseFloat(rowData[3]))});
		}
	}
Changing it to this fixes the problem:

Code: Select all

if(allLinesArray.length>0){
	for (var i = 0; i <= allLinesArray.length-1; i++) {
		var rowData = allLinesArray[i].split(',');
			if ( rowData[3] >0)
				//dataPoints1.push({label:rowData[1],y:parseFloat(rowData[3] *<?php echo $conv ?>)});		
				dataPoints1.push({label: rowData[1],y:parseFloat(rowData[3]*<?php echo $conv ;?>),color:WEATHER34CHARTCOLORS(parseFloat(rowData[3]))});
	}
}
was fixed this morning see above post..

“ barometer file had a missing code from yesterdays update please try this mornings update which also includes some preparation for new API structure .”
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 »

Cheers Brian.

Question: Will the forthcoming API change affect Aurora MK1 as well or just Mk2?

I'm currently using both Aurora versions and would not like to lose one for the other.
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 »

Jason the API all done Boris has updated the API a short while ago . for now MKII only it is a new file called weather34-chart-end-of-day.php that basically takes all of yesterdays hi lo , avg sum at 00:15 each day . Next week ill add it onto the Aurora MK1 as it also needs various new livedata.php code .

but here his the drift which I will push the update out later. its pretty straight forward 1,2,3 and save :-)
newchart setup.jpg
newchart setup.jpg (198.18 KiB) Viewed 3533 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
xray77
Gold Boarder
Gold Boarder
Posts: 182
Joined: Sat Mar 07, 2020 11:54 pm
Location: Buedelsdorf, SH Germany
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by xray77 »

Hello Brian,
must I do the new update-time for charts end of day soon as I installed the last update from today? ? Have run this php-file so far at 23:58 and it seems to work correctly with this time...
best regards
Mike
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 Mike

No you don't have to switch if you don't have any issues with end of day rollover time/date. However that said the master download will only contain the new file as it guarantees to produce the correct data without any rollover of dates .The use of just before end of day the timeframe is to short for some servers , as above in some cases there is a difference between meteobridge time and server time sometime minutes sometimes seconds but enough to cause the incorrect date insert.Reasons are many and generally at server level which is beyond any support I can offer but this new file its approach will 100% eradicate that going forward.

As and when its finalized I will push the updates out with a clear 1,2,3 explanation , I ve been running it for a few days now without any issues.The new API structure when finalized hopefully by end of today will also include the long overdue of UV,Solar max all time values . After this is finalized I won't be planning on any more API changes they are problematic due to the fact there is so much code to scrutinize and its so easy to make one simple code error and the whole thing falls apart.

As above will announce changes in API in full in due course.Caution weather34 versions prior to 2020 will not function correctly in many areas as the API has been restructured . versions 9.34xx to Aurora are perfectly fine with no changes.

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
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 »

Significant update

Please note currently for MKII version only .. * its worth noting the MKII version has doubled the original MK1 version in downloads in a matter of weeks .So possibility the way to go is with MKII version . food for thought . :wink:

Download Aurora MKII Updates
16th January 2021

* Significant update requires Meteobridge Reboot (2:15pm).
* Adds new end of day process for charts *see below (2:15pm).
* Adds new Almanac values (2:15pm).
* Adds new code to display all time UV / Solar max (2:15pm).
* Adds new wind direction info screen (2:15pm).

* Please always do a backup before running update

Setup New End of Day Charts Procedure

* Important First requires meteobridge reboot

*important existing users disable existing end of day service first !!
*new file for end of day weather34-chart-end-of-day.php

* Step 1 Goto services tab .
* Step 2 select service HTTP Request .
* Then select Event Type Specific Time now click save.
* Step 3 goto new service select 00:15 from drop down.
* Then enter the url example
* https://yourdomain/yourfolder/weather34 ... of-day.php
* now at the bottom click save thats it !!!.
* If added correctly it will automate end of day at 00:15am each day.


the chart output for current month and year are identical to previous all this update is doing is to insure there is no rollover of dates .it does
not effect your charts you have now the new file simply will append data to existing files.

once again thanks to Boris for promptly updating API numerous times yesterday :-)

1dc.png
1dc.png (179.31 KiB) Viewed 3482 times
3c.png
3c.png (178.02 KiB) Viewed 3481 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
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 Version(english supported only)

Post by prestwickwx »

Hi Brian,

Thanks for the new API and End of Day values. :D MKII is really looking nice!

One browser anomaly that I have noticed, Scroll bars on Extra Charts (below) - I think occurred after adding the Charts credits. I am only seeing this on Firefox (Windows) and I have not tried it on Firefox MAC. Seems to be OK on the other browsers.

Capture.PNG
Capture.PNG (66.35 KiB) Viewed 3467 times

Cheers,

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
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 »

Hi Chuck thank you good old Firefox slips pass me again :-) ..just pushed a fix should be fine now .
Yes MKII is the way forward far more pleasant on the eye and to work with maintaining (theoretically !).
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
prestwickwx
Platinum Boarder
Platinum Boarder
Posts: 510
Joined: Sat Aug 23, 2014 3:28 pm
Location: Myrtle Beach, SC USA
Contact:

Re: Weather34 Aurora Version(english supported only)

Post by prestwickwx »

weatherist34 wrote: Sat Jan 16, 2021 7:32 pm Hi Chuck thank you good old Firefox slips pass me again :-) ..just pushed a fix should be fine now .
Yes MKII is the way forward far more pleasant on the eye and to work with maintaining (theoretically !).
That fixed it! :D

Take care,

Chuck
Image
https://myrtleweather.com/
Myrtle Beach WX @ Prestwick
Locked