Page 97 of 106

Re: Cumulus Realtime.txt Dashboard Template

Posted: Fri Apr 06, 2018 7:28 pm
by weatherist34
pdamigos wrote:Hello Brian,

It seems that in the latest cumulus version of weather34 the wind chart is not correct.
Every day at 13:30 the wind chart stops while the guest wind continues.
Here are two sites you can check.
http://pdam-weather.host22.com/weather34/ Older version With the correct wind chart .

http://pdam.infocode.gr/weather34/ Latest version with the problem

Thanks


hmmm why would it be at 13:30 everyday anyway just replace the todaywindspeedgust.php from the download

chartswu/todaywindspeedgust.php

basically what was happening not particular to cumulus some stations where there sensors lost contact with there consoles or loggers the console would send out -9999 so i simply added a what if >0 display data if it was less than 0 it doesn't display it for wind,barometer,rain .

anyway i tested it with your STATION ID IPIRAEUS4 and wind showed up for all the day ok

IPIRAEUS4.png

Re: Cumulus Realtime.txt Dashboard Template

Posted: Sat Apr 07, 2018 5:12 am
by pdamigos
Hmm it is not at the same time every day. I supposed so because I checked it a few days in the evening. Now that I checked it in the morning again it stops suddenly. Perhaps after a particular number of points?

wind.png


And after some minutes:

wind2.png


I replaced the file you said with one from older version and it is ok.

Re: Cumulus Realtime.txt Dashboard Template

Posted: Tue Apr 10, 2018 2:33 am
by PaulMy
Hi Brian,
Thanks for the numerous mods.
I grabbed a copy of the latest CU-X7 and then applied the WxSim and my HRVMysql mods, so I now have a new all in one CU-X7-WXSIM-HRVMYSQL.

https://southfranklinweather.com/dashboard/index.php


I have Tony's mysql version here http://www.komokaweather.com/pws-mysql-tony/index.php using the WU forecast as I don't have the WXSIMS forecast

It includes Charts last 48 hours and Charts last year.

Thanks Tony,
Paul

Re: Cumulus Realtime.txt Dashboard Template

Posted: Mon Apr 16, 2018 10:54 am
by weatherist34
hello

new minor features and design using pure css and removing jquery dependancies to create visuals.

as cumulus is almost identical to the meteobridge layout it was relatively straightforward to implement these into the cumulus version using
same code .

jquery is only called when displaying pop up modules or charts the menu is pure css .

new two options in easyweathersetup
1.display indoor
2.set cloudbase to display in feet or metres (meters)

as always available via https://weather34.com/homeweatherstation/

Image

Re: Cumulus Realtime.txt Dashboard Template

Posted: Tue Apr 17, 2018 7:24 am
by Steepleian
weatherist34 wrote:hello

new minor features and design using pure css and removing jquery dependancies to create visuals.

as cumulus is almost identical to the meteobridge layout it was relatively straightforward to implement these into the cumulus version using
same code .

jquery is only called when displaying pop up modules or charts the menu is pure css .

new two options in easyweathersetup
1.display indoor
2.set cloudbase to display in feet or metres (meters)

as always available via https://weather34.com/homeweatherstation/



WeeWX customised version of Brian's 16 April update is up and running.

Screen Shot 2018-04-17 at 08.13.35.png

Re: Cumulus Realtime.txt Dashboard Template

Posted: Tue Apr 17, 2018 8:18 am
by weatherist34
Steepleian wrote:
weatherist34 wrote:hello

new minor features and design using pure css and removing jquery dependancies to create visuals.

as cumulus is almost identical to the meteobridge layout it was relatively straightforward to implement these into the cumulus version using
same code .

jquery is only called when displaying pop up modules or charts the menu is pure css .

new two options in easyweathersetup
1.display indoor
2.set cloudbase to display in feet or metres (meters)

as always available via https://weather34.com/homeweatherstation/



WeeWX customised version of Brian's 16 April update is up and running.

Screen Shot 2018-04-17 at 08.13.35.png


looks good well done on weewx ..

Re: Cumulus Realtime.txt Dashboard Template

Posted: Tue Apr 17, 2018 9:01 am
by weatherist34
oh dear bug fix

just replace livedata.php from download

yesterday rainfall was reading indoor temperature , i set the wrong number should be ok now ...sorry

brian

Re: Cumulus Realtime.txt Dashboard Template

Posted: Wed Apr 18, 2018 6:24 am
by vaggos
Hello Brian.
Yes everything its OK now.
A small correction in Greek Language.
Line 26: You add in some languages $lang['Till'] = 'να ';
I suppose you want to "say" for.
It's "για".
Regards
Vaggelis

Re: Cumulus Realtime.txt Dashboard Template

Posted: Wed Apr 18, 2018 2:01 pm
by weatherist34
vaggos wrote:Hello Brian.
Yes everything its OK now.
A small correction in Greek Language.
Line 26: You add in some languages $lang['Till'] = 'να ';
I suppose you want to "say" for.
It's "για".
Regards
Vaggelis


hello vaggos

there is no language support anymore i leave upto yourselves to adapt . anyway i dont know any greek at all not even the basic words yes or no.,hello . so weather related terms its upto you to adapt sorry..

Re: Cumulus Realtime.txt Dashboard Template

Posted: Wed Apr 18, 2018 4:48 pm
by vaggos
Hello Brian.
I have forgot it.
For me its ok. I have done the correction.
Regards
Vaggelis

Re: Cumulus Realtime.txt Dashboard Template

Posted: Mon Apr 23, 2018 4:33 pm
by Toxic17
Brian.

Cant seem to get purpleair working on my pws site.

https://www.conligwx.org/pws/purpleair.php shows station offline, which it isn't. where is pws getting the data from?

https://map.purpleair.org/json

json url?

Purpleair sensor has actually two sensors. and the json link list both. 5876 5877

https://www.conligwx.org/wxairquality.php

Re: Cumulus Realtime.txt Dashboard Template

Posted: Mon Apr 23, 2018 4:56 pm
by Toxic17
I found the issue.

Code: Select all

// Aqi
//$purpleairID="";
//$json_string             = file_get_contents("https://www.purpleair.com/json?show=".$purpleairID."");


should be

Code: Select all

// Aqi
$purpleairID="";
$json_string             = file_get_contents("https://www.purpleair.com/json?show=".$purpleairID."");

Re: Cumulus Realtime.txt Dashboard Template

Posted: Mon Apr 23, 2018 6:09 pm
by weatherist34
Toxic17 wrote:I found the issue.

Code: Select all

// Aqi
//$purpleairID="";
//$json_string             = file_get_contents("https://www.purpleair.com/json?show=".$purpleairID."");


should be

Code: Select all

// Aqi
$purpleairID="";
$json_string             = file_get_contents("https://www.purpleair.com/json?show=".$purpleairID."");


sorry you need to put the comments back in


and go to wuupdate.php

replace the part at the bottom

with , i left the meteobridge path in there ..sorry .. oooof one day it will be ok ... so many things to check these days its nigh on impossible to perfect.






// air quality index AQICDN
if($aqidisplay=='yes'){
$json7 = file_get_contents("https://api.waqi.info/feed/geo:".$lat.";".$lon."/?token=".$aqitoken."");
$data7 = json_encode($json7);
$file7 = 'aqi.txt';
file_put_contents($file7, $json7);}
// air quality index Purple Air
if ($purpleairhardware=='yes'){
$json8 = file_get_contents("https://www.purpleair.com/json?show=".$purpleairID."");
$data8 = json_encode($json8);
$file8 = 'purpleair.txt';
file_put_contents($file8, $json8);}

Re: Cumulus Realtime.txt Dashboard Template

Posted: Mon Apr 23, 2018 6:19 pm
by weatherist34
simon thats your id running on my demo

Image

Re: Cumulus Realtime.txt Dashboard Template

Posted: Mon Apr 23, 2018 8:57 pm
by Toxic17
weatherist34 wrote:simon thats your id running on my demo


yes its located inside at present will be stationed outdoors soon, just getting a feel for the device before getting it running on the outside of the building.

I've amended the code back in purpleair.php and adjusted the wuupdate.php , thanks for your help.