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

weatherist34
Posts: 443
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 » Fri Nov 24, 2017 7:14 am

Toxic17 wrote:
weatherist34 wrote:i think the PHP upgrade is worth it and 7.2 is about to be released that might create some havoc with some older scripts in other templates , especially numerical outputs it is easily remedied but could be time consuming for large templates with many pages. i have seen some reference where some are told to turn error reporting but that doesn't actually fix the problem . so beware need help as always you have my email.its no problem.

brian


Brian, just installed the CU-X7 template. in the menu.php you have this:

Code: Select all

<!---wxcharts---><div class="nav-text"> <a href="wxcharts.php" title="WEATHERSTATION EXTRAS"> <?php echo $weather34mapicon;?> WXCHARTS </a>    </div></li>


but I have no "icon" ($weather34mapicon) beside the WXCHARTS name to the left of the text.

what or where is $weather34mapicon ??

I've added my own for the time being as i could not get the default one to show.

CU X7 - https://www.conligwx.org/pws1/index.php


good morning ok sorry my fault forgot to add the svg script to the shared.php so undo your change and upload attached shared.php and i added this to the download just now.

have a nice weekend ill catch up next week i have a busy weekend all food related so :-)

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

User avatar
Toxic17
Posts: 565
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 Nov 24, 2017 9:25 am

Hello Brian

Thanks for the amendment.

Have a great weekend!
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://www.conligwx.org/pws1/

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

weatherist34
Posts: 443
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 » Fri Nov 24, 2017 2:47 pm

Toxic17 wrote:Hello Brian

Thanks for the amendment.

Have a great weekend!


Reference eu alarms

here is where I am at but run out of time for today , i had to juggle it around a bit as the weather alarm text varies depending what information is
sent , so obviously the whole message at times is not going to fit into the main page so i created a pop up module and an alert in the notification area
still need to monitor this for different of output text to see if breaks out of the design .

see screenshot , what needs to be done is some explanation how to obtain your specific area code , whilst you know , i know there could be many who are not so familiar .

Image

weatherist34
Posts: 443
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 » Fri Nov 24, 2017 8:23 pm

Ok meteoalarm warnings its available for Cumulus only at the moment and slimmed down to work in the design .

i have added two options to the easyweathersetup see screenshot .
it is color coded and the alert will only appear on main page notification area when it is yellow,orange,red based on the info at http://www.meteoalarm.eu/?lang=en_UK

I have used the Ken True's original script and adapted to the design of the template ,i found his code once again far more easier to adapt and work with , i looked at the others but this was far easier to adapt and probably for me to iron out any issues . currently it is only in english will adapt for other european languages when time permits .*note for european users only .i cant use it personally as im out of the EU areas they support or offer data for.

a screenshot below shows that as easy as i could make it though numerous files require upgrading css,index.php livedata so full upgrade im afraid .
available via https://weather34.com/homeweatherstation/

Image

brian...have a wonderful weekend..

Steepleian
Posts: 48
Joined: Sat Mar 29, 2014 7:33 am
Weather Station: Ambient WS-1001
Operating System: Debian 9.1 Stretch
Location: Steeple Claydon
Contact:

Re: Cumulus Realtime.txt Dashboard Template

Postby Steepleian » Fri Nov 24, 2017 9:52 pm

weatherist34 wrote:Ok meteoalarm warnings its available for Cumulus only at the moment and slimmed down to work in the design .

i have added two options to the easyweathersetup see screenshot .
it is color coded and the alert will only appear on main page notification area when it is yellow,orange,red based on the info at http://www.meteoalarm.eu/?lang=en_UK

I have used the Ken True's original script and adapted to the design of the template ,i found his code once again far more easier to adapt and work with , i looked at the others but this was far easier to adapt and probably for me to iron out any issues . currently it is only in english will adapt for other european languages when time permits .*note for european users only .i cant use it personally as im out of the EU areas they support or offer data for.

a screenshot below shows that as easy as i could make it though numerous files require upgrading css,index.php livedata so full upgrade im afraid .
available via https://weather34.com/homeweatherstation/

Image

brian...have a wonderful weekend..


Hi Brian,

Brilliant as usual. I am certainly going to have a wonderful weekend playing around with this!

All the best,
Ian

User avatar
Mapantz
Posts: 464
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 Nov 24, 2017 10:02 pm

I've just caught up.. are we back in business? :o
Image
Image

User avatar
Toxic17
Posts: 565
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 Nov 24, 2017 11:19 pm

weatherist34 wrote:Reference eu alarms

see screenshot , what needs to be done is some explanation how to obtain your specific area code , whilst you know , i know there could be many who are not so familiar .



Ok for all who do not know how to get your code for the region in Meteoalarm to work, so goto:

https://www.meteoalarm.eu/

then select the region.

for this example I will select my own example for Northern Ireland and since this is in the UK I select the UK (MAP) OR the UK Title on the Right..

UK1.PNG


once this has been selected the page will change to your country (mine is UK) and then select my region - Northern Ireland.

NI1.PNG


I then look at the URL bar in my web browser for the area code.

NI2.PNG


mine is UK014.

Hope this helps.....

BTW Brian. the URL

https://www.meteoalarm.eu/en_UK/0/0/UK0 ... ngdom.html (TODAY)
https://www.meteoalarm.eu/en_UK/1/0/UK0 ... ngdom.html (Tomorrow)

not sure it this is worth a note, that the next days "alarm" could also be noted perhaps???
You do not have the required permissions to view the files attached to this post.
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://www.conligwx.org/pws1/

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

User avatar
Toxic17
Posts: 565
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 Nov 24, 2017 11:39 pm

Brian, FYI

I change the line-height from 165px to "text-align:center;line-height:150px}" this was my description was just about readable on the bottom of the text field and the text needed to move up just slightly.


euwarning.txt:

Code: Select all

<b>valid from</b> 24.11.2017 22:00 CET <b>Until</b> 25.11.2017 11:00 CET <br/>
<b>Snow/Ice&nbsp;</b> Awareness Level: <b>Yellow&nbsp;</b> <br/>
A band of rain, sleet and snow showers will move from the northwest to southeast across the yellow area through Friday, clearing during the early hours of Saturday, followed by further wintry showers. Icy patches are likely to form on untreated surfaces as temperatures fall. 1-2 cm snow may accumulate above about 200 m by Saturday morning with with 2-5 cm possible above 300m. Small amounts of snow are possible at low levels inland, mostly in the north.&nbsp;<br/>


Thank you once again for all your hard work!

https://www.conligwx.org/pws1/
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://www.conligwx.org/pws1/

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

weatherist34
Posts: 443
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 » Sat Nov 25, 2017 6:29 am

Toxic17 wrote:Brian, FYI

I change the line-height from 165px to "text-align:center;line-height:150px}" this was my description was just about readable on the bottom of the text field and the text needed to move up just slightly.


euwarning.txt:

Code: Select all

<b>valid from</b> 24.11.2017 22:00 CET <b>Until</b> 25.11.2017 11:00 CET <br/>
<b>Snow/Ice&nbsp;</b> Awareness Level: <b>Yellow&nbsp;</b> <br/>
A band of rain, sleet and snow showers will move from the northwest to southeast across the yellow area through Friday, clearing during the early hours of Saturday, followed by further wintry showers. Icy patches are likely to form on untreated surfaces as temperatures fall. 1-2 cm snow may accumulate above about 200 m by Saturday morning with with 2-5 cm possible above 300m. Small amounts of snow are possible at low levels inland, mostly in the north.&nbsp;<br/>


Thank you once again for all your hard work!

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


good morning

i had a feeling that the lengths of the output was going to vary at times . so I reworked it this morning using your regional output , you simply only have to replace the eualert.php attached no need to download complete version if you are already using it from yesterday . i updated the download but this is the only change from yesterday . see screenshot below

have a nice weekend I'm off to eat as much sausages and bacon i can find today , off to an international food event and pork sausages and bacon are almost most non existent here so stocking up on bacon and sausages..you dont realize how nice they until you go without for months every year.

brian

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

weatherist34
Posts: 443
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 Nov 26, 2017 9:45 am

weatherist34 wrote:
Toxic17 wrote:Brian, FYI

I change the line-height from 165px to "text-align:center;line-height:150px}" this was my description was just about readable on the bottom of the text field and the text needed to move up just slightly.


euwarning.txt:

Code: Select all

<b>valid from</b> 24.11.2017 22:00 CET <b>Until</b> 25.11.2017 11:00 CET <br/>
<b>Snow/Ice&nbsp;</b> Awareness Level: <b>Yellow&nbsp;</b> <br/>
A band of rain, sleet and snow showers will move from the northwest to southeast across the yellow area through Friday, clearing during the early hours of Saturday, followed by further wintry showers. Icy patches are likely to form on untreated surfaces as temperatures fall. 1-2 cm snow may accumulate above about 200 m by Saturday morning with with 2-5 cm possible above 300m. Small amounts of snow are possible at low levels inland, mostly in the north.&nbsp;<br/>


Thank you once again for all your hard work!

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


good morning

i had a feeling that the lengths of the output was going to vary at times . so I reworked it this morning using your regional output , you simply only have to replace the eualert.php attached no need to download complete version if you are already using it from yesterday . i updated the download but this is the only change from yesterday . see screenshot below

have a nice weekend I'm off to eat as much sausages and bacon i can find today , off to an international food event and pork sausages and bacon are almost most non existent here so stocking up on bacon and sausages..you dont realize how nice they until you go without for months every year.

brian

Image


good morning

applied a minor fix to the file homenotification.php to reflect no warnings issued output . i noticed that if no warnings were present in the meteoalarm it showed just a blank module .so simply just replace existing homenotification.php with file attached.

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

lw7dstweather
Posts: 3
Joined: Sun Sep 10, 2017 3:14 pm
Weather Station: w3104
Operating System: windows 7

Re: Cumulus Realtime.txt Dashboard Template

Postby lw7dstweather » Mon Nov 27, 2017 2:05 am

Hi all, i' want 180° moon, how code add in the php?
i don't want update all code in the page, only moon rotate,
thanks very much, the wx34 dashboard is very cool of all dashboard templates!
http://lw7dst.sytes.net/

weatherist34
Posts: 443
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 Nov 27, 2017 9:02 am

lw7dstweather wrote:Hi all, i' want 180° moon, how code add in the php?
i don't want update all code in the page, only moon rotate,
thanks very much, the wx34 dashboard is very cool of all dashboard templates!
http://lw7dst.sytes.net/


Good morning

Not possible to use current scripts with the version your using , *note your website is not accessible here in turkey unless I go through a private vpn .

The newer moon info page is slimmed down considerably and uses a much smaller jquery script to calculate moon data and phase position etc .

Sorry I can’t help much but the newer version has a simple option in the easyweathersetup to determine the orientation.

It’s just a css rotation function.

73,s om ..

Brian

lw7dstweather
Posts: 3
Joined: Sun Sep 10, 2017 3:14 pm
Weather Station: w3104
Operating System: windows 7

Re: Cumulus Realtime.txt Dashboard Template

Postby lw7dstweather » Mon Nov 27, 2017 8:34 pm

weatherist34 wrote:
lw7dstweather wrote:Hi all, i' want 180° moon, how code add in the php?
i don't want update.../


Good morning

Not possible to use current scripts with the version your using , *note your website is not accessible here in turkey unless I go through a private vpn .

The newer moon info page is slimmed down considerably and uses a much smaller jquery script to calculate moon data and phase position etc .

Sorry I can’t help much but the newer version has a simple option in the easyweathersetup to determine the orientation.

It’s just a css rotation function.

73,s om ..

Brian


thanks Brian, i 'take note the access from your country,
copyng few files the new version to the old version, .js .css moon.php should be rotate?

by the way I'm watching a novel there and it really is very good "Sultan" :mrgreen:

weatherist34
Posts: 443
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 » Tue Nov 28, 2017 5:41 am

lw7dstweather wrote:
weatherist34 wrote:
lw7dstweather wrote:Hi all, i' want 180° moon, how code add in the php?
i don't want update.../


Good morning

Not possible to use current scripts with the version your using , *note your website is not accessible here in turkey unless I go through a private vpn .

The newer moon info page is slimmed down considerably and uses a much smaller jquery script to calculate moon data and phase position etc .

Sorry I can’t help much but the newer version has a simple option in the easyweathersetup to determine the orientation.

It’s just a css rotation function.

73,s om ..

Brian


thanks Brian, i 'take note the access from your country,
copyng few files the new version to the old version, .js .css moon.php should be rotate?

by the way I'm watching a novel there and it really is very good "Sultan" :mrgreen:


good morning

well good your watching or reading about turkish history , the one to look for if it appears on your tv networks is Vatanim Sensin im hooked on it and your fortunate to have subtitles I guess i dont so it pushes my turkish to another extreme but its really good . Other one to watch or you may be watching now Muhteşem Yüzyıl translate to Magnificent Century thats all about the Sultans.

anyway I dont have an easy solution for you to adjust your existing template , all newer info modules now reside in a folder called info and are named appropriately .so only successful way is to install latest version.


just for anyones information i created a separate top module for the eu meteoalarm and added the option to the modules positions choice for the top 4
and just a small minor update was added to the meteor.php for meteorshowers in the info folder.

brian

User avatar
Toxic17
Posts: 565
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 Nov 28, 2017 10:24 am

Brian I have noticed the WU forecast is not working for me.

I am guessing this is due to the jason file missing the "fcttext_metric" values. this is a known and ongoing issue with WU.

outlook.php / forecast10.php

discussed here:

viewtopic.php?f=25&t=16597

https://apicommunity.wunderground.com/w ... 5-november

it seems to come and go and only affect some but not all.

"fcttext":"Partly cloudy. Windy. High 46F. Winds N at 20 to 30 mph. Winds could occasionally gust over 40 mph.",
"fcttext_metric":"",


https://www.conligwx.org/pws1/jsondata/ ... update.txt

possibly workaround is to use the fcttext if the fcttext_metric is null perhaps?
Regards Simon

https://www.conligwx.org
https://www.conligwx.org/pws/
https://www.conligwx.org/pws1/

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


Return to “Web site - General”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests