Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Cumulus Realtime.txt Dashboard Template

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
vaggos
Posts: 338
Joined: Sat Feb 06, 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby vaggos » Sun Jul 01, 2018 5:45 pm

Nice page Jenny.
A lot of data.
Regards
Vaggelis.
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft

User avatar
Mapantz
Posts: 555
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Mapantz » Sun Jul 01, 2018 7:34 pm

Noticed a glitch with today's rainfall graph;

https://warehamwx.co.uk/pws/chartswu/todayrainfall.php

The rainfall rate is at the beginning of the graph, and not at the end.
Image
Image

weatherist34
Posts: 602
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Oregon WMR300 + Weatherflow
Operating System: OSX High Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Sun Jul 01, 2018 7:43 pm

Mapantz wrote:Noticed a glitch with today's rainfall graph;

https://warehamwx.co.uk/pws/chartswu/todayrainfall.php

The rainfall rate is at the beginning of the graph, and not at the end.



hello

the glitch is in your wunderground file i think though i may be wrong notice the date 2018-07-01 then the time at the end 23:05

https://warehamwx.co.uk/pws/chartswudata/01072018.txt

wunderground :-)


2018-07-01 00:05:00,20.2,11.2,1012.6,ENE,68,8.0,16.1,56,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:05:00,


Time,TemperatureC,DewpointC,PressurehPa,WindDirection,WindDirectionDegrees,WindSpeedKMH,WindSpeedGustKMH,Humidity,HourlyPrecipMM,Conditions,Clouds,dailyrainMM,SolarRadiationWatts/m^2,SoftwareType,DateUTC<br>
2018-07-01 00:05:00,20.2,11.2,1012.6,ENE,68,8.0,16.1,56,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:05:00,
<br>
2018-07-01 00:10:00,20.2,11.1,1012.7,ENE,66,6.4,14.5,56,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:10:00,
<br>
2018-07-01 00:15:00,20.1,11.0,1012.6,ENE,61,6.4,14.5,56,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:15:00,
<br>
2018-07-01 00:20:00,19.9,10.8,1012.7,NE,55,6.4,9.7,56,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:20:00,
<br>
2018-07-01 00:25:01,19.8,11.0,1012.7,NE,55,4.8,9.7,57,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:25:01,
<br>
2018-07-01 00:30:01,19.6,11.1,1012.7,NE,56,4.8,9.7,58,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:30:01,
<br>
2018-07-01 00:35:01,19.4,10.9,1012.6,NE,54,4.8,9.7,58,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:35:01,
<br>
2018-07-01 00:40:01,19.3,11.1,1012.7,NE,50,4.8,8.0,59,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:40:01,
<br>
2018-07-01 00:44:57,19.2,11.2,1012.6,NE,44,4.8,8.0,60,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:44:57,
<br>
2018-07-01 00:49:57,19.1,11.1,1012.7,NE,47,4.8,9.7,60,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:49:57,
<br>
2018-07-01 00:54:57,18.9,11.2,1012.7,NE,48,4.8,11.3,61,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:54:57,
<br>
2018-07-01 00:59:57,18.8,11.1,1012.7,NE,42,4.8,11.3,61,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-06-30 23:59:57,
<br>
2018-07-01 01:04:58,18.7,10.7,1012.7,NE,42,4.8,11.3,60,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-07-01 00:04:58,
<br>
2018-07-01 01:09:58,18.6,10.6,1012.6,NE,47,4.8,8.0,60,0.0,,,0.0,0.00,Cumulus v3.0.0,2018-07-01 00:09:58,
<br>

weatherist34
Posts: 602
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Oregon WMR300 + Weatherflow
Operating System: OSX High Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Sun Jul 01, 2018 7:52 pm

correction my apologies sincerely . error in todayrainfall.php


corrected version attached just replace.

many thanks brian
You do not have the required permissions to view the files attached to this post.

User avatar
vaggos
Posts: 338
Joined: Sat Feb 06, 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby vaggos » Mon Jul 02, 2018 7:25 am

Brian hello.
i have update my pws with the last one. In the position2 i have max-min temp. An i saw that its not refreshing. ;Only when i refresh manual th page.
In updater.php you have:

Code: Select all

//update the modules position 2
var refreshId;$(document).ready(function(){indoor()});function indoor(){$.ajax({cache:false,success:function(a){$("#position2").html(a);<?php if ($indoorRefresh > 0) {
   echo 'setTimeout(indoor,' . 60000*$indoorRefresh.')';
} ?>},
  contentType: "application/x-www-form-urlencoded;charset=ISO-8859-15",
  type:"GET",url:"<?php echo $position2 ;?>"})}; 


And i change it with:

Code: Select all

//update the modules position 2
var refreshId;$(document).ready(function(){position2()});function position2(){$.ajax({cache:false,success:function(a){$("#position2").html(a);<?php if ($notifyRefresh > 0) {
   echo 'setTimeout(position2,' . 1000*$notifyRefresh.')';
} ?>},
  contentType: "application/x-www-form-urlencoded;charset=ISO-8859-15",
  type:"GET",url:"<?php echo $position2 ;?>"})}


And then update automatically.
Have a nice week.
Vaggelis
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft

weatherist34
Posts: 602
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Oregon WMR300 + Weatherflow
Operating System: OSX High Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Mon Jul 02, 2018 4:42 pm

vaggos wrote:Brian hello.
i have update my pws with the last one. In the position2 i have max-min temp. An i saw that its not refreshing. ;Only when i refresh manual th page.
In updater.php you have:

Code: Select all

//update the modules position 2
var refreshId;$(document).ready(function(){indoor()});function indoor(){$.ajax({cache:false,success:function(a){$("#position2").html(a);<?php if ($indoorRefresh > 0) {
   echo 'setTimeout(indoor,' . 60000*$indoorRefresh.')';
} ?>},
  contentType: "application/x-www-form-urlencoded;charset=ISO-8859-15",
  type:"GET",url:"<?php echo $position2 ;?>"})}; 


And i change it with:

Code: Select all

//update the modules position 2
var refreshId;$(document).ready(function(){position2()});function position2(){$.ajax({cache:false,success:function(a){$("#position2").html(a);<?php if ($notifyRefresh > 0) {
   echo 'setTimeout(position2,' . 1000*$notifyRefresh.')';
} ?>},
  contentType: "application/x-www-form-urlencoded;charset=ISO-8859-15",
  type:"GET",url:"<?php echo $position2 ;?>"})}


And then update automatically.
Have a nice week.
Vaggelis


hello vaggos

yes original optional position was for indoor so the timeframe of update was set higher however as you have done works well for other options for same position.

brian

weatherist34
Posts: 602
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Oregon WMR300 + Weatherflow
Operating System: OSX High Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Wed Jul 04, 2018 7:58 pm

hello good evening

just a few reworked modules particular to cumulus version will be the purple air module if you use one, other than that nothing significant to warrant an update to your existing install

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

Image

User avatar
Toxic17
Posts: 779
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis VPro2 Plus
Operating System: Deb 9.4 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Wed Jul 04, 2018 9:14 pm

weatherist34 wrote:hello good evening

just a few reworked modules particular to cumulus version will be the purple air module if you use one, other than that nothing significant to warrant an update to your existing install

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


Excellent stuff again Brian. Thank you.
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://twitter.com/conligwx
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

beskidus
Posts: 3
Joined: Sat Aug 19, 2017 2:32 pm
Weather Station: Conrad Ws-0101
Operating System: windows 10
Location: Milowka/Poland
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby beskidus » Sat Jul 07, 2018 8:53 pm

Good evening. Very nice template :).Sorry, I am not good at English. I have a problem; i don't have forecast and current conditions. I have a api key from darski but dont' display. What should i do?
My page: pogodamilowka.y0.pl/pws

User avatar
vaggos
Posts: 338
Joined: Sat Feb 06, 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby vaggos » Mon Jul 09, 2018 5:37 am

I suppose that you have crash the code with the advertisment.
Try with a clean index.php.
Vaggelis
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft

beskidus
Posts: 3
Joined: Sat Aug 19, 2017 2:32 pm
Weather Station: Conrad Ws-0101
Operating System: windows 10
Location: Milowka/Poland
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby beskidus » Mon Jul 09, 2018 1:40 pm

Vaggelis
"I suppose that you have crash the code with the advertisment.
Try with a clean index.php."
Server is free, advertisment is not my.I have no influence on it.I noticed on serwer in jsondata darsky.txt, kindex.txt, equonotification.txt and metar34.txt are empty.
What is the cause of this problem?
Sincerely
Beskidus

http://pogodamilowka.y0.pl/pws/

User avatar
vaggos
Posts: 338
Joined: Sat Feb 06, 2010 7:00 pm
Weather Station: PROWEATHER STATION 1080
Operating System: XP SP3, win7, Win10
Location: Acharnes Athens Greece
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby vaggos » Mon Jul 09, 2018 6:16 pm

Beskidus,
in that case something huppens with your api for darksky an metar. Double check it.
For me everything wirkes perfect.
Regards
Vaggelis
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft

User avatar
steve
Cumulus Author
Posts: 26547
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby steve » Mon Jul 09, 2018 6:25 pm

Free servers sometimes restrict the types of files they allow, e.g. .txt files in particular sometimes do not work.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

beskidus
Posts: 3
Joined: Sat Aug 19, 2017 2:32 pm
Weather Station: Conrad Ws-0101
Operating System: windows 10
Location: Milowka/Poland
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby beskidus » Mon Jul 09, 2018 6:36 pm

Maybe I will try another server.. My main page works ok for 1 year . Thanks for help.
Edit:
I changed the server and everything works :D


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 4 guests