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: 391
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 Sep 19, 2017 5:44 am

Toxic17 wrote:
weatherist34 wrote:GOOD AFTERNOON ...

here is the last of the ideas I had sitting on my drive , the aim to present data clearly and relatively easy for enthusiasts and non enthusiasts to fathom out the actual data..see screenshot below..



Brian, is there an Air Quality setting as shown in the screenshots? I cant seem to actually find it.

https://www.conligwx.org/pws1/index.php


Good morning

not sure if I posted it here but you need to find your nearest AQI station , if it is some 5-10km or more away then its of no relative use to you the one I access is less than half of a km away ! .
go here http://aqicn.org/city/turkey/marmara/istanbul/besiktas/ and use the search at the top right to find your nearest aqi station and drop me the url via PM i will then just send you the two files needed pre scripted for the url you supplied.

may be in october I will add the option in the setup screen but need to work out the best way to advise . ideally you would need to obtain an API token key from them to use at the moment it will use mine which is good for 1000 calls per day and so far no one exceeded it .
you can obtain a personal token from here http://aqicn.org/api/..

i also updated this morning the meteor shower module using the script created by betejuice he did for me many months ago i just adapted it to show the next upcoming meteor shower..see screenshot..Im here all day today but rest of the week I'm offline most of the time due to we are having all our electric re-wired and connected to a new back up generator as we get frequent outages during the winter months.. brian

Image

cazz
Posts: 10
Joined: Sun Sep 24, 2017 12:18 pm
Weather Station: ws-0101
Operating System: Windows 10

Re: Cumulus Realtime.txt Dashboard Template

Postby cazz » Wed Sep 27, 2017 4:09 pm

Hi
I have two question if someone can tell me what to do

In the setup I have set the wind to read in m/s but it still show km/h, do I do something wrong??

I also wonder how I get forecast to work?

User avatar
Toxic17
Posts: 526
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 Sep 27, 2017 5:58 pm

the forecasting works from Weather Underground. in the setup you add your WU ID and key.

do you upload to WU? if not create and account upload from CumulusMX to WU and then setup a key from here:

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

cazz
Posts: 10
Joined: Sun Sep 24, 2017 12:18 pm
Weather Station: ws-0101
Operating System: Windows 10

Re: Cumulus Realtime.txt Dashboard Template

Postby cazz » Wed Sep 27, 2017 6:25 pm

Thanks for the reply

I have install v1.9.4 and not Cumulus MX version, I curious to try it but not sure if it support windows, have only see Linux and OS X.

I have Weather Underground login but forgot it to add it to Cumulus only to Dashboard Template.
so now I have to wait and see what happend if WU get my info and I can get info from WU

User avatar
Toxic17
Posts: 526
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 Sep 27, 2017 6:47 pm

cazz wrote:Thanks for the reply

I have install v1.9.4 and not Cumulus MX version, I curious to try it but not sure if it support windows, have only see Linux and OS X.

I have Weather Underground login but forgot it to add it to Cumulus only to Dashboard Template.

so now I have to wait and see what happend if WU get my info and I can get info from WU


if you are uploading data from cumulus (v1) to WU then data can be obtained by the template. You will however need an api key too.

oh btw Yes CumulusMX does run in Windows.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

cazz
Posts: 10
Joined: Sun Sep 24, 2017 12:18 pm
Weather Station: ws-0101
Operating System: Windows 10

Re: Cumulus Realtime.txt Dashboard Template

Postby cazz » Wed Sep 27, 2017 7:57 pm

found it, thanks :)

weatherist34
Posts: 391
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 » Thu Sep 28, 2017 7:42 am

good morning

the moon information pop up module has now been reworked , the moonphase output I sat down and re-wrote,compiled from the ground up has the original had a lot of code that was not needed so this a very slimmed down version and the actual script for the moonphase output visually is basically less than 1kb !! . see screenshot.

please note all information pop up modules like moon,earthquake,aqi,aurora,meteor all reside in a folder called info . so to use these you could simply just replace the index.php and the info folder from the download but *note if you using the mysql version by tony (HRVISTA) you will need to modify the index.php to point to the files int the info folder example for moon info it would be info/moondata.php , earthquake info/eqlist.php and so on..

*note i will either publish the scripts or provide info to encourage others to create there own for there own projects , i see alot of people now creating there websites so hopefully it will be of use to many, if not its always there for reference..

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

..Brian

Image

User avatar
HRVistaWeather
Posts: 160
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 » Fri Sep 29, 2017 12:09 am

Brilliant, thanks as always Brian.
I keep forgetting, this has prompted me to look at flipping the Moon for Southern Hemisphere.
Note to self : fix when time permits.
Kind 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: 526
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 Sep 29, 2017 9:24 pm

Brian is there an easy way to force Landscape (windowed??) mode
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: 391
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 Sep 30, 2017 7:30 am

HRVistaWeather wrote:Brilliant, thanks as always Brian.
I keep forgetting, this has prompted me to look at flipping the Moon for Southern Hemisphere.
Note to self : fix when time permits.
Kind Regards,


hello tony

attached zip file contains the simple mod for southern hemisphere . just rename the moondata-sh.php to moondata.php note all it is doing is rotating the div by 180 degrees . see screenshot and note I have reworked it a bit more to show the darkside of the moon ...

in the zip file two files the standard moondata.php for northern and for southern hemisphere moondata-sh.php

couldnt resist it darkside of the moon :-)

"Ticking away the moments that make up a dull day
You fritter and waste the hours in an offhand way.
Kicking around on a piece of ground in your home town
Waiting for someone or something to show you the way. "

Image


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

User avatar
HRVistaWeather
Posts: 160
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 » Sat Sep 30, 2017 10:10 pm

Hi Brian,

Brilliant matey (works perfect), I'm glad working on the Dark Side of the Moon allowed you to fill in some of your otherwise dull day. :D

I found another, however I think this one will not be a global fix.
On the index.php the moon phase displayed was still NthHem, so the only fix I could find was to modify each of the main css files.
Maybe there's a better way to to it !

Code: Select all

main.Light.css / main.color.css / main.dark.css :

From : .moonposition{font-size:16px;line-height:20px;padding-top:2px}

MNH.PNG


Code: Select all

main.Light.css / main.color.css / main.dark.css :

To : .moonposition{font-size:16px;line-height:20px;padding-top:2px;-ms-transform: rotate(180deg); /* IE 9 */webkit-transform: rotate(180deg); /* Safari */transform: rotate(180deg); /* Standard syntax */}

MSH.PNG


MoonSH.PNG


Kind regards,
You do not have the required permissions to view the files attached to this post.
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)

weatherist34
Posts: 391
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 » Sun Oct 01, 2017 4:00 am

HRVistaWeather wrote:Hi Brian,

Brilliant matey (works perfect), I'm glad working on the Dark Side of the Moon allowed you to fill in some of your otherwise dull day. :D

I found another, however I think this one will not be a global fix.
On the index.php the moon phase displayed was still NthHem, so the only fix I could find was to modify each of the main css files.
Maybe there's a better way to to it !

Code: Select all

main.Light.css / main.color.css / main.dark.css :

From : .moonposition{font-size:16px;line-height:20px;padding-top:2px}

MNH.PNG

Code: Select all

main.Light.css / main.color.css / main.dark.css :

To : .moonposition{font-size:16px;line-height:20px;padding-top:2px;-ms-transform: rotate(180deg); /* IE 9 */webkit-transform: rotate(180deg); /* Safari */transform: rotate(180deg); /* Standard syntax */}

MSH.PNG

MoonSH.PNG

Kind regards,


no problem, sometime this month after installing some new hardware finally weather permitting i will add a simple option to the setup to say "Are you in the Southern Hemisphere" then
simply create a css line in the three css theme css files

.moonpositionsh{font-size:16px;line-height:20px;padding-top:2px;-ms-transform: rotate(180deg); -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); transform: rotate(180deg); }

then call it in the index.php

if (sh=='yes'){echo <div class moonpositionsh>}
else echo <div class moonposition>;.........

think its better avoid asking people to edit the files directly .

Toxic , i will send something along sometime this week you basically need to edit the @css media lines ..for example

@media screen and (max-width:1024px)
@media screen and (max-width:768px)
@media screen and (max-width:640px)

hope you have a decent css editor ?

ps having two new pieces of hardware here ive come to a very quick conclusion the oregon scientific wmr300 is almost like/identical to davis vp2 apart from a few small differences , its quite shocking really im sure its been discussed before elsewhere but incredibly similar as a standalone off the shelf unit ..hopefully i will be able to do so comparisons but somewhat limited in space so the ability to have them running side by side is not an option unfortunately..
brian

User avatar
HRVistaWeather
Posts: 160
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 » Sun Oct 01, 2017 4:17 am

Brilliant as usual,
no problem, sometime this month after installing some new hardware finally weather permitting i will add a simple option to the setup to say "Are you in the Southern Hemisphere" then
simply create a css line in the three css theme css files.....................

if (sh=='yes'){echo <div class moonpositionsh>}
else echo <div class moonposition>;.........

Thanks Brian.
Kind 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)

cazz
Posts: 10
Joined: Sun Sep 24, 2017 12:18 pm
Weather Station: ws-0101
Operating System: Windows 10

Re: Cumulus Realtime.txt Dashboard Template

Postby cazz » Tue Oct 03, 2017 7:41 pm

wow I just love this template. Even my friends like it so somehow I have say I going to help him with the install :)

I'm just curious if is it possible to remove or hide some of the boxes like forecast, solardata, earthquake. I just dont'need to show all the information and my weather station does not support UV.

Is ok if i can't disable them, I going to use it anyway becurse I love this template.

User avatar
Toxic17
Posts: 526
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 » Tue Oct 03, 2017 9:32 pm

you will need to comment out modules you dont want. not sure why you would not want forecast module however.
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 4 guests