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 3042 Jan 14 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: 191
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 » Mon Apr 25, 2016 11:13 pm

Mapantz wrote:I've updated mine! It loaded fast before, it seems even faster now?! :)

Just a couple of minor discrepancies ..

2016-04-25 (2).png


2016-04-25 (3).png



hi ,

download the latest , i uploaded the fix for outlook modal a short while ago had 4 others email me that one, just replace the outlook.php no other adjustments needed.

the other one looks like a small adjustment needed on the css line look for

.chartsky {
margin-top: 24px
}

adjust the value to 25 or 26px .

glad it loads fast however that wasn't my aim more beneficial moving forward .

however when i checked yours and compared it the others your wind compass is all messed up ?

brian..
https://www.weather34.com
https://www.weather34.com/homeweatherstation/

"My code dont work and I dont know why. Now my code works but I still don't know why."

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

Re: Cumulus Realtime.txt Dashboard Template

Postby Mapantz » Mon Apr 25, 2016 11:43 pm

weatherist34 wrote:
Mapantz wrote:I've updated mine! It loaded fast before, it seems even faster now?! :)

Just a couple of minor discrepancies ..

2016-04-25 (2).png


2016-04-25 (3).png



hi ,

download the latest , i uploaded the fix for outlook modal a short while ago had 4 others email me that one, just replace the outlook.php no other adjustments needed.

the other one looks like a small adjustment needed on the css line look for

.chartsky {
margin-top: 24px
}

adjust the value to 25 or 26px .

glad it loads fast however that wasn't my aim more beneficial moving forward .

however when i checked yours and compared it the others your wind compass is all messed up ?

brian..


Ahh - I use Cloudflare through my hosting now- I made a change to my menu which affected the css. I did fix it, but forgot to purge the cache files on Cloudflare. I've done that now, it should be back to normal?

Updated the outlook.php and added on the couple of pixels to the margin. All good!

Thank you once again Brian, it has really come a long way since I first started using it. Great work! :clap:
Image

f4phlyer
Posts: 31
Joined: Sun Feb 13, 2011 7:12 pm
Weather Station: Davis Vantage Pro 2
Operating System: RaspBerry Pi Win 10 OSx
Location: Gulf Breeze, Fl., USA
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby f4phlyer » Tue Apr 26, 2016 2:03 am

Hello Brian,

I to was a beta user. I really like your template, it has a nice contemporary iOs look and feel. The soft colors are really nice.

I had a couple of issues that prevented me from revealing it's location but after downloading your current build those issues have been eliminated.

Thanks for the hard work.

Steve
Steve
The Squeaky Sands Inn
CumulusMX on Raspberry π 3
WeatherUnderground KFLGULFB1
http://www.squeakysands-inn.net/index.php

weatherist34
Posts: 191
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 Apr 26, 2016 8:26 am

hi all

ok ironed out a few css bugs overnight unfortunately my ISP went down so i couldn't upload the new changes , so I uploaded final version( dare I say that) this morning(Tuesday 26th April). however once it has stop raining I'm off cycling finally for quite some time and looking forward to getting out of the city .

to upgrade its is always beneficial to save a copy of your settings.php somewhere , then you can simply and best way is to remove current files on your server and just upload the new download and then replace the settings.php with your saved version. the settings.php rarely changes .

in this download some file names changed to simplify the what files do the functions so they are all now quite easily recognised i.e windirection.php , windspeed.php etc

thanks to every one for highlighting discrepancies and errors , its important and really does help and I really enjoy this forum it offers constructive reliable criticism and the result is beneficial in getting things right.

enough of that rhetoric stuff !

changes :

1.year,month,day for opening chart modals improved positioning .
2.slight adjustment to wind direction css
3.fixed outlook.php where descriptions overlapped
4.fixed earthquake to show worldwide earthquakes as opposed to display regional earthquakes in modal
5.removed all unwanted css
6.in cumulus.php all data sections/areas are highlighted for easy adjustment or changes i.e <!--windspeed for homeweatherstation template-->
7.improved script for full screen option on desktop (removed some unwanted code)

available at http://www.idesign34.com/homepws/homeweather.html

thank you for comments above it takes time and its been almost a year since i first started on it using only weather underground for data but soon realised the way
to go was to use realtime data .

contemporary i guess it is , i use iPads and desktop OSX (EL Capitan) , i replaced our mac screen and bought a brand new monitor BenQ BL3200PT and it really opens your eyes to color balancing with pantone charts .

lastly thank you to steve for dropping me an email a few weeks ago , perhaps I would have never made the improvements over the last two weeks .

enjoy , have fun brian
https://www.weather34.com
https://www.weather34.com/homeweatherstation/

"My code dont work and I dont know why. Now my code works but I still don't know why."

Bjarne
Posts: 13
Joined: Wed Dec 31, 2008 2:35 pm

Re: Cumulus Realtime.txt Dashboard Template

Postby Bjarne » Tue May 03, 2016 5:34 am

Hi Brian,
First of all thanks for these great templates, I just love the look of them, and all the details you were able to collect on one screen.
I have installed the latest templates, and they were running fine for a few days, but since yesterday, all the graphs you can get for day, month or year don't display any data. It has been working for a while, but not any longer. I automatically run the 2 files in the cronfiles directory, so forecast and other station info works, but no Graphs.

Any ideas on what the issue can be?

Here are a few of the errors I see in the PHP log file:
[03-May-2016 05:13:52 UTC] PHP Stack trace:

[03-May-2016 05:13:52 UTC] PHP 1. {main}() D:\webroot\cumulus\yearly\monthtemp.php:0

[03-May-2016 05:13:52 UTC] PHP 2. include_once() D:\webroot\cumulus\yearly\monthtemp.php:2

[03-May-2016 05:13:52 UTC] PHP 3. fopen() D:\webroot\cumulus\yearly\WUG-inc-month.php:195

[03-May-2016 05:13:52 UTC] PHP Warning: fopen(https://www.wunderground.com/weathersta ... its=metric): failed to open stream: operation failed in D:\webroot\cumulus\yearly\WUG-inc-month.php on line 195

[03-May-2016 05:13:52 UTC] PHP Stack trace:

[03-May-2016 05:13:52 UTC] PHP 1. {main}() D:\webroot\cumulus\yearly\monthtemp.php:0

[03-May-2016 05:13:52 UTC] PHP 2. include_once() D:\webroot\cumulus\yearly\monthtemp.php:2

[03-May-2016 05:13:52 UTC] PHP 3. fopen() D:\webroot\cumulus\yearly\WUG-inc-month.php:195

[03-May-2016 05:13:52 UTC] PHP Warning: fgetcsv() expects parameter 1 to be resource, boolean given in D:\webroot\cumulus\yearly\WUG-inc-month.php on line 196


Regards,
Bjarne

http://weather.briis.com

User avatar
nitrx
Posts: 1291
Joined: Sun Dec 13, 2009 1:21 pm
Weather Station: WH3080 / WS 5000
Operating System: Windows 7
Location: Apeldoorn The Netherlands
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby nitrx » Tue May 03, 2016 5:53 am

Bjarne wrote:
Any ideas on what the issue can be?

Regards,
Bjarne

http://weather.briis.com


When I look at the popup-graphs there are no json data in it (view source), I don't know if tey are called by the wunderground if so you should at your api-key maybe it's suspended due overload ? Just a suggestion.

You edited your post after my answer are you sure you've php 5.4 or higher...

Bjarne
Posts: 13
Joined: Wed Dec 31, 2008 2:35 pm

Re: Cumulus Realtime.txt Dashboard Template

Postby Bjarne » Tue May 03, 2016 7:19 am

Hi,
I just checked on weather underground, and no 'Raindrops' have been used, and the forecast data are also downloaded fine, so this should not be the issue.

I am running PHP 7.0, and as I wrote it was running fine for over a week, but just stopped yesterday.

Bjarne

weatherist34
Posts: 191
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 May 03, 2016 10:24 am

Bjarne wrote:Hi,
I just checked on weather underground, and no 'Raindrops' have been used, and the forecast data are also downloaded fine, so this should not be the issue.

I am running PHP 7.0, and as I wrote it was running fine for over a week, but just stopped yesterday.

Bjarne


hi sorry to hear your having problems

the historic charts do not use an API key so don't worry about over usage and they don't store data on your server they are pulling data directly from WU , i checked the graphs locally on the cumulus demo here using your IHOVEDST16 id and they all generated correctly .

1.was the php 7 upgraded by the host ? did any settings change in the configuration ?
2.can you revert to a previous version php ?

attached a screenshot
You do not have the required permissions to view the files attached to this post.
https://www.weather34.com
https://www.weather34.com/homeweatherstation/

"My code dont work and I dont know why. Now my code works but I still don't know why."

Bjarne
Posts: 13
Joined: Wed Dec 31, 2008 2:35 pm

Re: Cumulus Realtime.txt Dashboard Template

Postby Bjarne » Tue May 03, 2016 11:56 am

As far as I know nothing should have changed. But I just tried to change the weather site to PHP 5.6, and restarted the server, still with the same result. :?:

Bjarne
Posts: 13
Joined: Wed Dec 31, 2008 2:35 pm

Re: Cumulus Realtime.txt Dashboard Template

Postby Bjarne » Tue May 03, 2016 4:05 pm

I am running MAMP Pro on Windows to host the website, and looking in the log, it seems that there is an issue with OpenSSL and Certificates. So I think this is a local Server issue and not an issue with the templates.
I'll have to do some searching and fixing of that locally.

***UPDATE**
Now removed MAMP Pro and activated IIS Express with PHP. Installed both v5.3 and 7.0 of PHP. If I run the templates through v5.3 of PHP it works without problems. If I set the PHP version to 7.0 it does not work. Strange as other PHP sites run fine with the v7.0 og PHP.

Anyway, my current problem is solved, but it irritates me not to know why v7.0 og PHP is not working for me with these templates.

Bjarne

weatherist34
Posts: 191
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 May 13, 2016 8:50 am

template updated to version 4.17

fixed 3 day forecast alignment when values are 0(zero),fixed barometer realtime value and unit font,added doctype for HTML5 and improved css ,improved css for earthquake data,


please do a full upgrade including new settings.php if using a previous version from April 2016 or earlier .(13th May 2016)

http://www.idesign34.com/homepws/homeweather.html
You do not have the required permissions to view the files attached to this post.
https://www.weather34.com
https://www.weather34.com/homeweatherstation/

"My code dont work and I dont know why. Now my code works but I still don't know why."

water01
Posts: 1336
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Gurney Slade,Somerset, UK
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby water01 » Fri May 13, 2016 10:56 am

I have updated to the latest release.

Just a couple of things -

handlebars.js & jqueryui.js are missing from the js directory

I no longer see the logos at the bottom of the screen.

I have also noticed that in IE11 the Windirection area is not displaying correctly, it is OK in FireFox examples below.

Image
IE11

Image
Firefox

The test page can be seen here http://www.dmjsystems.co.uk/weather/hwe ... umulus.php

weatherist34
Posts: 191
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 May 13, 2016 1:11 pm

water01 wrote:I have updated to the latest release.

Just a couple of things -

handlebars.js & jqueryui.js are missing from the js directory

I no longer see the logos at the bottom of the screen.

I have also noticed that in IE11 the Windirection area is not displaying correctly, it is OK in FireFox examples below.

Image
IE11

Image
Firefox

The test page can be seen here http://www.dmjsystems.co.uk/weather/hwe ... umulus.php


hi

i have now combined all scripts into 3 files combi.js,gauges.js,jquery.js

no longer using logo's just plain text to highlight version,software etc.

i can't help with internet explorer , i tested with safari,iPad,iPhone,firefox + developer,chrome,opera developer,vivaldi,min(new browser)
i don't own a windows machine with IE11 but you may want to try and adjust but my guess it will shift out of alignment in above .

.windirectionvalue {
display: block;
position: absolute;
color: rgba(95,96,97,0.8);
margin-top: 55px;
margin-left: 62px;
font: 400 2em weathertext, Helvetica, Arial;
width: 50px
}

.windirectionwords {
display: block;
position: absolute;
color: rgba(95,96,97,0.8);
margin-left: 20px;
margin-top: 70px;
text-align: center;
font: 600 13px / 13px Helvetica, Arial, Helvetica;
width: 100px
}


wish i could with IE but it always renders things differently for whatever reasons .


hope it is of some help.


brian
https://www.weather34.com
https://www.weather34.com/homeweatherstation/

"My code dont work and I dont know why. Now my code works but I still don't know why."

water01
Posts: 1336
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Gurney Slade,Somerset, UK
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby water01 » Fri May 13, 2016 2:27 pm

Thanks will try that, no big deal IE11 is always different!!

Just to let you know that although you may have combined the js something is still calling handlebars.js & jqueryui.js as I am getting 404s saying they are not in the js directory, hence why I put them in.

Just also noticed the link to Cumulus in the credits is wrong. Title is correct URL is weather-display.

Code: Select all

<a href="http://www.weather-display.com/index.php" title="http://sandaysoft.com/products/cumulus" target="_blank">

User avatar
PaulMy
Posts: 1401
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby PaulMy » Fri May 13, 2016 2:49 pm

Thanks Brian, I have updated mine www.komokaweather.com/pws/cumulus.php

and made the edit in cumulus.php to the software source url as David noted.

Paul


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 2 guests