If you use Cumulus, please donate Image

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

weatherist34
Posts: 380
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Fine Offset HP1000/2000
Operating System: OS X Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Tue Aug 15, 2017 5:54 pm

Mapantz wrote:I noticed there were a few differences between my version and some of the others, so I just updated to the version on Brian's site, then transferred the sql stuff back over. All working!

I have found something though, not sure if it just me or not?

I can't seem to change the colours of the 4 boxes at the top, despite the settings being this:

$position1 = "homeindoor.php";
$position2 = "cumulus-sunshine.php";
$position3 = "earthquake.php";
$position4 = "homenotification.php";
$position1title = " Indoor <green> Sensor</green>";
$position2title = " Sunshine <orange> Hours </orange>";
$position3title = " Recent <blue>Earthquakes</blue>";
$position4title = " Weather <red>Alert</red>";


It shows as Green, Blue, Red and Orange, respectively.


They only change the color of text in dark theme mode .

User avatar
Toxic17
Posts: 503
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Wed Aug 16, 2017 10:26 am

Just keeping an eye on the apache error logs and noticed this:

Code: Select all

[Wed Aug 16 09:40:21.635770 2017] [php7:warn] [pid 21240:tid 140369825175296] [client 37.9.113.141:56251] PHP Warning:  filemtime(): stat failed for https://www.conligwx.org/sky.jpg in /xx/xx/xx/xx/pws2/cam.php on line 6


this points to the following in cam.php:

Code: Select all

<style>
.webcamlarge{
-webkit-border-radius:4px;   -moz-border-radius:4px;   -o-border-radius:4px;   -ms-border-radius:4px;border-radius:4px;border:solid RGBA(84, 85, 86, 1.00) 2px;   width:775px;    height:420px;}
</style>
<!-- HOMEWEATHER STATION TEMPLATE SIMPLE Large WEBCAM -add your url as shown below do NOT delete the class='webcamlarge' !!! -->
<img src="https://www.conligwx.org/sky.jpg?version=<?php echo filemtime("https://www.conligwx.org/sky.jpg");?>" alt="ConligWX WebCam" class="webcamlarge">
</span>

line 6 is the <img src= line...

Just curious, should "filetime" not be pointing to a local path ie. /share/whatever/sky.jpg and not a full url?
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
Mapantz
Posts: 438
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 » Wed Aug 16, 2017 11:02 am

Toxic17 wrote:Just keeping an eye on the apache error logs and noticed this:

Code: Select all

[Wed Aug 16 09:40:21.635770 2017] [php7:warn] [pid 21240:tid 140369825175296] [client 37.9.113.141:56251] PHP Warning:  filemtime(): stat failed for https://www.conligwx.org/sky.jpg in /xx/xx/xx/xx/pws2/cam.php on line 6


this points to the following in cam.php:

Code: Select all

<style>
.webcamlarge{
-webkit-border-radius:4px;   -moz-border-radius:4px;   -o-border-radius:4px;   -ms-border-radius:4px;border-radius:4px;border:solid RGBA(84, 85, 86, 1.00) 2px;   width:775px;    height:420px;}
</style>
<!-- HOMEWEATHER STATION TEMPLATE SIMPLE Large WEBCAM -add your url as shown below do NOT delete the class='webcamlarge' !!! -->
<img src="https://www.conligwx.org/sky.jpg?version=<?php echo filemtime("https://www.conligwx.org/sky.jpg");?>" alt="ConligWX WebCam" class="webcamlarge">
</span>

line 6 is the <img src= line...

Just curious, should "filetime" not be pointing to a local path ie. /share/whatever/sky.jpg and not a full url?


I kept my old cam.php:

Code: Select all

<img rel='prefetch' src="https://warehamwx.co.uk/cumulus/cam.php" class="webcamlarge">
Image
Image

weatherist34
Posts: 380
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Fine Offset HP1000/2000
Operating System: OS X Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Wed Aug 16, 2017 11:24 am

Toxic17 wrote:Just keeping an eye on the apache error logs and noticed this:

Code: Select all

[Wed Aug 16 09:40:21.635770 2017] [php7:warn] [pid 21240:tid 140369825175296] [client 37.9.113.141:56251] PHP Warning:  filemtime(): stat failed for https://www.conligwx.org/sky.jpg in /xx/xx/xx/xx/pws2/cam.php on line 6


this points to the following in cam.php:

Code: Select all

<style>
.webcamlarge{
-webkit-border-radius:4px;   -moz-border-radius:4px;   -o-border-radius:4px;   -ms-border-radius:4px;border-radius:4px;border:solid RGBA(84, 85, 86, 1.00) 2px;   width:775px;    height:420px;}
</style>
<!-- HOMEWEATHER STATION TEMPLATE SIMPLE Large WEBCAM -add your url as shown below do NOT delete the class='webcamlarge' !!! -->
<img src="https://www.conligwx.org/sky.jpg?version=<?php echo filemtime("https://www.conligwx.org/sky.jpg");?>" alt="ConligWX WebCam" class="webcamlarge">
</span>

line 6 is the <img src= line...

Just curious, should "filetime" not be pointing to a local path ie. /share/whatever/sky.jpg and not a full url?


same code never changed much in the last three months ,, demo using same code http://www.boutiquehotelitaly.com/adev/ ... theme=dark

endfm
Posts: 29
Joined: Sat Apr 25, 2015 8:11 am
Weather Station: XC0348
Operating System: Jessie
Location: Newcastle, Australia
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby endfm » Wed Aug 16, 2017 12:42 pm

Thankyou & commendable, I only wanted you to remove my name in association with the business plus I was going for a new job, which I now have, phew. In any case I really don't mind, everything is cached one way or another on the internet, one big honey pot eh but Alias only please.

Yes, there was still reference to the developer everywhere on the website including the code but in any case I'll upload the full website with the new one and leave as default, just waiting on the WU API's to become active, I have no idea what's going on there to be completely honest it seems as if my API's have been disabled, which is strange to say the least maybe I guess we're going to agree to disagree, at least I wasn't selling the dam theme that's who I was referencing to, jokingly of course, in any case people have emailed and I've directed them to your theme, more so then you'd think.

That's fine, I'm not denying it, I'm just agreeing to disagree.

This was a great template and still is, I do apologize if been a bit of an ass, which i have been and I'm sorry and if I've caused you any stress, I wish you the best.

back to the weather.

regards,

/end


HRVistaWeather wrote:Note: By request from endfm, I have removed reference to his real name, though endfm needs to remember that regardless of his profession, he is still plastered all over the internet (real name and all) and based on the contents within this thread, including what I have captured over time. from the internet and his sites. He would be best to thank his lucky stars and hope that the remainder of his life is furbished with better outcomes. Note: To all, be careful what you put on the internet.
I have no intention of replying to endfm's last post about 3 down, as it is absolutely not worth it. He is not the only one who knows that he was wrong and I have the evidence to prove it, full desktop screen captures over come website screen copying issues on website footers.
Kind Regards,
Stay Safe, Have a nice Weather Day,

User avatar
HRVistaWeather
Posts: 146
Joined: Mon Apr 09, 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 (64bit)
Location: Franklin, Huon Valley, Tasmania

Re: Cumulus Realtime.txt Dashboard Template

Postby HRVistaWeather » Wed Aug 16, 2017 10:33 pm

Hi,

For those using the test vesrion of Cummulus MySql Charts I have sent to you.

Please note that due to the fact it was provided as a starting point on which to be enhanced and eventually incorporated fully into Brian's official releases in time and that I was in and still the midst of health issues, I tried to make minimal changes to core template files and in doing so I missed adding a comment regards the update of the charts which you need to add to your settings.php file manually as I did not want to provide a modified version of that file.

Basically in the index.php I provided as examples, the following to ensure the msqlupdate.php updated : (toward base of file).

Code: Select all

<script DEFER type="text/livescript">
 //update the wu charts,eq,forecast data and current conditions//
  var refreshId;$(document).ready(function(){stationcron()});function stationcron(){$.ajax({cache:false,
  success:function(a){$("#blank")
  .html(a);<?php if ($wuupdate > 0) {
  echo 'setTimeout(stationcron,' . 1000*$wuupdate.')';}?>},
  contentType: "application/x-www-form-urlencoded;charset=ISO-8859-15",
  type:"GET",url:"jsondata/wuupdate.php"})};
  </script>
 
 
<script DEFER type="text/livescript">
 //update the mysql charts,eq,forecast data and current conditions//
  var refreshId;$(document).ready(function(){stationcron()});function stationcron(){$.ajax({cache:false,
  success:function(a){$("#blank")
  .html(a);<?php if ($mysqlupdate > 0) {
  echo 'setTimeout(stationcron,' . 1000*$mysqlupdate.')';}?>},
  contentType: "application/x-www-form-urlencoded;charset=ISO-8859-15",
  type:"GET",url:"jsondata/mysqlupdate.php"})};
  </script> 
 


If you are not using WU Charts remove the first WU script, in addition I failed to add that you will also need to add the following line (shown in RED) to your "settings.php" to ensure the mysql chart files are updated;

After line 68 add :

$mysqlupdate = 300; // 300 = 5 mins , 60 = 1 min etc.

$eqRefresh = 600; // 10 minutes
$forecastRefresh = 900; // 15 minutes
$notificationcenterRefresh = 300; // 5 minutes set refresh time for notification of earthquakes default 5 minutes
$wuupdate = 1800; // 30 minutes
$mysqlupdate = 300; // 300 = 5 mins , 60 = 1 min etc.
$wfupdate = 60; // weatherflow api 60 seconds



Sorry I forgot this earlier,

Regards,
Tony

Huon River Vista Weather - South Franklin - Tasmania
Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Weather PC Died 2016/11/21 15:25 Cannot justify replacement (Website dead)

User avatar
Toxic17
Posts: 503
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Wed Aug 16, 2017 11:28 pm

Thanks for the info Tony. Please dont apologise.

Health comes first!
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
Toxic17
Posts: 503
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Thu Aug 17, 2017 10:53 am

Can anyone confirm the contact link on the Cumulus Edition works when you click on

"Email - Get in touch"

Twitter link working fine..

On another note:

Also I found links to missing files in the CU-X5.zip if you have installed it as a fresh install:

Code: Select all

/css/main.color.css
/css/fonts/weathericons-regular-webfont.eot - missing
/css/fonts/weathericons-regular-webfont.ttf - missing

/info/uvinfo.css
/css/fonts/weathertext.eot - missing
/css/fonts/weathertext.ttf - missing

/forecast/forecast.dark.css
/img/mousedark.png - missing

/wxcharts.php
/contactform/contactform.php - missing

/forecast/forecast10.php
/img/mouse.png - missing


these files are in older versions of Home Weatherstation templates.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
vaggos
Posts: 229
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 » Thu Aug 17, 2017 4:41 pm

Toxic17 wrote:Can anyone confirm the contact link on the Cumulus Edition works when you click on
"Email - Get in touch"

Mine in windows 7 Shows that there is a missing one dll. In windows 10 its working. Also works on my tablet.
Where it had "Get in touch" i put my email. And i left the link as it was.
(https://weather.meteoacharnes.gr/)
And yes, there isn't now the form for email.
Regards
Vaggelis.
Image
Acharnes Athens Greece Meteo station
http://www.meteoacharnes.gr
https://weather.meteoacharnes.gr/
Thanks Sandaysoft

User avatar
Mapantz
Posts: 438
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 » Thu Aug 17, 2017 8:21 pm

Toxic17 wrote:Can anyone confirm the contact link on the Cumulus Edition works when you click on

"Email - Get in touch"

Twitter link working fine..

On another note:


Clicking yours works. It opens up my email client with your email address supplied. :)
Image
Image

weatherist34
Posts: 380
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Fine Offset HP1000/2000
Operating System: OS X Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Fri Aug 18, 2017 7:21 am

Mapantz wrote:
Toxic17 wrote:Can anyone confirm the contact link on the Cumulus Edition works when you click on

"Email - Get in touch"

Twitter link working fine..

On another note:


Clicking yours works. It opens up my email client with your email address supplied. :)


wxcharts.php the contact form is no longer used or was present in last download.. simple reason languages it was a nightmare to maintain so its now a simple html email link

in wxcharts.php find

change link to highlighted in bold below..

<!-- load contact form---> <div id="contact" class="c"><a href="contact/contact.php" data-featherlight="iframe" class="cl"> <svg id="i-mail" viewBox="0 0 32 32" width="18" height="18" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"> <path d="M2 26 L30 26 30 6 2 6 Z M2 6 L16 16 30 6" /></svg></a> </div> </div></div>

User avatar
Toxic17
Posts: 503
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Fri Aug 18, 2017 11:12 am

Moonset values seem to be incorrect.

Saratoga Template:
https://www.conligwx.org/wxastronomy.php

CumulusMX Template:
https://www.conligwx.org/index.htm

HomeStation Template:
https://www.conligwx.org/pws/moon.php

HomeStation Template appears to be a full 1 hour out...

I mentioned this to Ken here too:

viewtopic.php?f=25&t=16189&start=30#p126259
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
Mapantz
Posts: 438
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 » Fri Aug 18, 2017 12:12 pm

Toxic17 wrote:Moonset values seem to be incorrect.

Saratoga Template:
https://www.conligwx.org/wxastronomy.php

CumulusMX Template:
https://www.conligwx.org/index.htm

HomeStation Template:
https://www.conligwx.org/pws/moon.php

HomeStation Template appears to be a full 1 hour out...

I mentioned this to Ken here too:

viewtopic.php?f=25&t=16189&start=30#p126259


Change your moonadjustment setting to "1"

weatherist34 wrote:
wxcharts.php the contact form is no longer used or was present in last download.. simple reason languages it was a nightmare to maintain so its now a simple html email link

in wxcharts.php find

change link to highlighted in bold below..

<!-- load contact form---> <div id="contact" class="c"><a href="contact/contact.php" data-featherlight="iframe" class="cl"> <svg id="i-mail" viewBox="0 0 32 32" width="18" height="18" fill="none" stroke="currentcolor" stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%"> <path d="M2 26 L30 26 30 6 2 6 Z M2 6 L16 16 30 6" /></svg></a> </div> </div></div>



Thanks Brian, all fixed. :)
Image
Image

User avatar
Toxic17
Posts: 503
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Toxic17 » Fri Aug 18, 2017 12:30 pm

Mapantz wrote:Change your moonadjustment setting to "1"


Ha! did even see that entry before now...

Thanks!
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

weatherist34
Posts: 380
Joined: Wed Apr 13, 2016 11:09 am
Weather Station: Fine Offset HP1000/2000
Operating System: OS X Sierra
Location: Istanbul
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby weatherist34 » Sat Aug 26, 2017 11:51 am

something new wonder if you can spot it ? :-)

https://weather34.com


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 4 guests