Page 54 of 89

Re: Weather34 TEMPLATE

Posted: Sat Jun 13, 2020 7:13 pm
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

Re: Weather34 TEMPLATE

Posted: Sat Jun 13, 2020 7:52 pm
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.

Re: Weather34 TEMPLATE

Posted: Sat Jun 13, 2020 10:25 pm
by Lespius
Works fine, thanks !

Re: Weather34 TEMPLATE

Posted: Sun Jun 14, 2020 9:09 am
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 4668 times

Re: Weather34 TEMPLATE

Posted: Sun Jun 14, 2020 10:10 am
by Lespius
Enjoy your break !

Re: Weather34 TEMPLATE

Posted: Sun Jun 14, 2020 10:27 am
by jasonmfarrow
Thank you, Brian. I knew that I’d probably omitted something.

Have a great break.

Re: Weather34 TEMPLATE

Posted: Sun Jun 14, 2020 3:12 pm
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

Re: Weather34 TEMPLATE

Posted: Sun Jun 14, 2020 3:27 pm
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

Re: Weather34 TEMPLATE

Posted: Sun Jun 14, 2020 10:47 pm
by rzelle-K1TTC
Have a Good Break Brian hope you can relax you deserve it ..

73s

..Ron

Re: Weather34 TEMPLATE

Posted: Mon Jun 15, 2020 9:04 am
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.

Re: Weather34 TEMPLATE

Posted: Tue Jun 16, 2020 2:42 pm
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 4536 times



Chuck

Re: Weather34 TEMPLATE

Posted: Fri Jul 03, 2020 9:46 am
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 4407 times
ev2.jpg
ev2.jpg (125.44 KiB) Viewed 4407 times

Re: Weather34 TEMPLATE

Posted: Fri Jul 03, 2020 4:37 pm
by prestwickwx
Brian,

Nice update! Hope all is well :D

Chuck

Re: Weather34 TEMPLATE

Posted: Fri Jul 03, 2020 5:09 pm
by rzelle-K1TTC
Brian,

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

73s

..Ron

Re: Weather34 TEMPLATE

Posted: Fri Jul 03, 2020 6:44 pm
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 4372 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.