Weather34 TEMPLATE

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 TEMPLATE

Post by jasonmfarrow »

I have updated my historical rainfall going back to 2016 into my Meteobridge nano (painful manual extraction from WU).

The console setup asks how far back the meteobridge data goes and the almanac Rain Total Since yyyy is directly related to the choice here but the almanac template only uses current and previous year. The value [rain0total-allsum:--] is uploaded to the template from the meteobridge and is the right value for this Almanac field.

Regards
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Weather34 TEMPLATE

Post by jasonmfarrow »

Adding

Code: Select all

$weather['rainalltime']=$meteobridgeapi[151];
in livedata.php creates the variable. Then we use this variable in rain-almanac.php

Code: Select all

<div class="almanac6"><div class="almanac-content">
<?php  //all time
$totalrain=$weather["rainymax"]+ $weather['rainlastyear'];
echo "<valuetextheading1>Total <deepblue>since ".$mbyear."</deepblue></valuetextheading1><br>";
echo "<div class=tempmodulehome0-5c>".$weather['rainalltime']."<smalltempunit2>".$weather["rain_units"];
?><smalltempunit2></div></div>
Then the all-time rain works fine.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
Lespius
Senior Boarder
Senior Boarder
Posts: 44
Joined: Thu May 18, 2017 9:53 pm

Re: Weather34 TEMPLATE

Post by Lespius »

Works fine, thanks !
weatherist34
Platinum Boarder
Platinum Boarder
Posts: 1693
Joined: Tue Mar 28, 2017 6:57 am

Re: Weather34 TEMPLATE

Post by weatherist34 »

Good morning

I have the applied the all time rainfall fix but you need too add the correct conversion part in livedata.php which I have in the standalone update and updated the master on GitHub/download.

As of this afternoon local Istanbul time Im on a long vacation , last three months has been mentally mind blowing due to lockdowns, restrictions,100% stay at curfews and traveling basically only left home for essentials probably mounted to 1 hour per week since 1st week of march .However did take advantage of the lockdown periods to add features to template and was on hand most days to resolve issues so some positives taken from the depressing scenario .anyway long story short restrictions for traveling internal around turkey have been lifted we are taking full advantage of it and I hope to come back to Istanbul late Autumn if nothing in between in terms of restrictions arise that said one week since restrictions were lifted we have seen a large spike of daily new cases sadly this is worrying.

so don't read anything else into it just merely going to our second home for a few months and I don't have a computer there just an iPad and I might even get around to installing a Davis vp2 there finally which has sat in a box since last year.so with that don't expect anything for many months perhaps the easy fixes I could address or help with via GitHub but other that complex ones are off way limits :-)

tip if you going to release modifications Jason check all metric , non metric scenarios yes its tedious and easy to overlook but end users will be quick to jump on errors as I found this morning in email ....mmToin($weather, "rainalltime");inTomm($weather, "rainalltime"); have a great .....ya all
1.png
1.png (61.17 KiB) Viewed 4666 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
Lespius
Senior Boarder
Senior Boarder
Posts: 44
Joined: Thu May 18, 2017 9:53 pm

Re: Weather34 TEMPLATE

Post by Lespius »

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

Re: Weather34 TEMPLATE

Post by jasonmfarrow »

Thank you, Brian. I knew that I’d probably omitted something.

Have a great break.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
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 TEMPLATE

Post by prestwickwx »

weatherist34 wrote: Sun Jun 14, 2020 9:09 am Good morning

I have the applied the all time rainfall fix but you need too add the correct conversion part in livedata.php which I have in the standalone update and updated the master on GitHub/download.

As of this afternoon local Istanbul time Im on a long vacation , last three months has been mentally mind blowing due to lockdowns, restrictions,100% stay at curfews and traveling basically only left home for essentials probably mounted to 1 hour per week since 1st week of march .However did take advantage of the lockdown periods to add features to template and was on hand most days to resolve issues so some positives taken from the depressing scenario .anyway long story short restrictions for traveling internal around turkey have been lifted we are taking full advantage of it and I hope to come back to Istanbul late Autumn if nothing in between in terms of restrictions arise that said one week since restrictions were lifted we have seen a large spike of daily new cases sadly this is worrying.

so don't read anything else into it just merely going to our second home for a few months and I don't have a computer there just an iPad and I might even get around to installing a Davis vp2 there finally which has sat in a box since last year.so with that don't expect anything for many months perhaps the easy fixes I could address or help with via GitHub but other that complex ones are off way limits :-)

tip if you going to release modifications Jason check all metric , non metric scenarios yes its tedious and easy to overlook but end users will be quick to jump on errors as I found this morning in email ....mmToin($weather, "rainalltime");inTomm($weather, "rainalltime"); have a great .....ya all

1.png
Brian,

Have a good break. :D

Take care,

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

Post by prestwickwx »

ConligWX wrote: Fri May 29, 2020 6:01 pm Ok thanks Brian. The VOC sensor is experiemental, but from what Adrian has said in the past he will most likely fit the BME680 as standard in the future as this is another "air quality" measurement that PurpleAir can use.
Hi Simon,

I ordered a BME680 from Adrian and I plan to add it to my Purple Air unit to provide another test site. I saw your discussion about the VOC measurement dropping off. Did you determine if it was a bad card or firmware?

Best wishes,

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 TEMPLATE

Post by rzelle-K1TTC »

Have a Good Break Brian hope you can relax you deserve it ..

73s

..Ron
https://weather.k1ttc.com/AuroraMKII/index.php (Offline)
W. Methuen, Ma 01844 - Davis VP2+FARS - PurpleAir
User avatar
ConligWX
Platinum Boarder
Platinum Boarder
Posts: 329
Joined: Wed Nov 14, 2018 12:48 pm
Location: Conlig, Co. Down, UK
Contact:

Re: Weather34 TEMPLATE

Post by ConligWX »

prestwickwx wrote: Sun Jun 14, 2020 3:27 pm
ConligWX wrote: Fri May 29, 2020 6:01 pm Ok thanks Brian. The VOC sensor is experiemental, but from what Adrian has said in the past he will most likely fit the BME680 as standard in the future as this is another "air quality" measurement that PurpleAir can use.
Hi Simon,

I ordered a BME680 from Adrian and I plan to add it to my Purple Air unit to provide another test site. I saw your discussion about the VOC measurement dropping off. Did you determine if it was a bad card or firmware?

Best wishes,

Chuck
Temp, Pressure,Humidity were all working, but VOC was not reporting any result. the values steadied over about a week then slowly dropped off till zero or the value of 25 was listed constantly. the value never changed. I RMA'd the 680, but awaiting supplier to get back to me.
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 TEMPLATE

Post by prestwickwx »

ConligWX wrote: Mon Jun 15, 2020 9:04 am
prestwickwx wrote: Sun Jun 14, 2020 3:27 pm
ConligWX wrote: Fri May 29, 2020 6:01 pm Ok thanks Brian. The VOC sensor is experiemental, but from what Adrian has said in the past he will most likely fit the BME680 as standard in the future as this is another "air quality" measurement that PurpleAir can use.
Hi Simon,

I ordered a BME680 from Adrian and I plan to add it to my Purple Air unit to provide another test site. I saw your discussion about the VOC measurement dropping off. Did you determine if it was a bad card or firmware?

Best wishes,

Chuck
Temp, Pressure,Humidity were all working, but VOC was not reporting any result. the values steadied over about a week then slowly dropped off till zero or the value of 25 was listed constantly. the value never changed. I RMA'd the 680, but awaiting supplier to get back to me.
Ok. Thanks for the info.

Update - Installed the BME680 and it seems to be working fine. Sent you a PM.
Capture.PNG
Capture.PNG (62.29 KiB) Viewed 4534 times



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 TEMPLATE

Post by weatherist34 »

Simple home indoor data for standalone tablet devices it is self contained and ideal for low cost tablet displays in landscape mode only !! with no access to any low cost android tablets at present I cant perfect it for portrait mode .
simply run the (69kb) Standalone-update-03-07-2020.zip via the update screen or if using GITHUB then normal process for updating via GitHub.

the main file is called weather34-ev.php "ev" means home in Turkish :-)

as always via updates via https://weather34.com/homeweatherstation/ or if I have granted you GITHUB privileges to the private repo you can get it via that route.

edit updated late afternoon July 3rd Friday (84KB) Standalone-update-03-07-2020.zip also now has a new moon phase script (very small footprint two updated files weather34-mooninfo.php , weather34-moonphasemod.php)
ev.jpg
ev.jpg (134.22 KiB) Viewed 4405 times
ev2.jpg
ev2.jpg (125.44 KiB) Viewed 4405 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 TEMPLATE

Post by prestwickwx »

Brian,

Nice update! Hope all is well :D

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 TEMPLATE

Post by rzelle-K1TTC »

Brian,

Very Nice addition ... Looks Great on iPads ..

73s

..Ron
https://weather.k1ttc.com/AuroraMKII/index.php (Offline)
W. Methuen, Ma 01844 - Davis VP2+FARS - PurpleAir
User avatar
jasonmfarrow
Gold Boarder
Gold Boarder
Posts: 249
Joined: Mon May 25, 2020 4:21 pm
Contact:

Re: Weather34 TEMPLATE

Post by jasonmfarrow »

weatherist34 wrote: Fri Jun 12, 2020 2:00 pm hello jason
....when you have it installed and configured to produce valid data to file send me a copy of that file with valid data and ill compile a version for you.
Brian. I hope you enjoyed your time away. I worked on this whilst you were off. My AQI now looks like this:
AQI3.PNG
AQI3.PNG (112.43 KiB) Viewed 4370 times
Both sensors report via the Raspberry PI and upload to mbridge/AQIrealtimeupload.txt and mbridge/VOCrealtimeupload.txt.
If anyone else wants the code (for the RPi or the Template) I can make this fully available.
Regards
Jason
https://jmfweather.uk | @jasonmfarrow
Post Reply