[weewx-user] Re: NWS Alerts

2016-12-07 Thread bgrattan
Ok, I think I understand now... The warnings.html file should have been in /home/weewx/public_html where the templates have created the files to be displayed. I got it to appear in index.html (although in the wrong place for now). Need to work on the placement. Many thanks and much appreciated

[weewx-user] Re: NWS Alerts

2016-12-07 Thread Monachus
In fact, the warnings.html is not there!! I just checked: see for yourself http://grattans.org/wx/warnings.html On Wednesday, December 7, 2016 at 2:14:02 PM UTC-6, bgra...@umw.edu wrote: > > Monachus, > > Thanks for the reply. I have tried adding your line below in several > places but nothing

[weewx-user] Re: NWS Alerts

2016-12-07 Thread Monachus
Are you sure that you are adding it to the template? I am not sure. I looked at your site (http://grattans.org/wx/) and it is not there. (Right click and view source). On Wednesday, December 7, 2016 at 2:14:02 PM UTC-6, bgra...@umw.edu wrote: > > Monachus, > > Thanks for the reply. I have trie

[weewx-user] Re: NWS Alerts

2016-12-07 Thread bgrattan
Monachus, Thanks for the reply. I have tried adding your line below in several places but nothing shows up on the skin. warnings.html is in /home/weewx/skins/Standard as well as index.html.tmpl. When I view the created page source, the line appears but it does not display the contents of warni

[weewx-user] Re: NWS Alerts

2016-12-07 Thread Monachus
Just add the line below to your template somewhere. The template would normally be here: /etc/weewx/skins/Standard/index.html.tmpl You can customize the height and width and where you put it. On Wednesday, December 7, 2016 at 12:23:13 PM UTC-6, bgra...@umw.edu wrote: > > Hi Monachus, > > Cou

[weewx-user] Re: NWS Alerts

2016-12-07 Thread bgrattan
Hi Monachus, Could you give me some help adding your script to the Standard skin? I have got the curl setup which creates the file /home/weewx/skins/Standard/warnings.html but don't know what I'm doing when it comes to adding the alert file text to my main page. I prefer adding the alert info

[weewx-user] Re: NWS Alerts

2016-11-29 Thread Chris Swanda
Duh... I just read and viewed what Dave posted... it's what I'm using too. Oh, BTW, Dave I'm NC0̸S On Tuesday, November 22, 2016 at 12:26:58 PM UTC-6, Monachus wrote: > > Does anyone know of an existing way to import the NWS > advisories/alerts/warnings which can be found here: > > https://a

[weewx-user] Re: NWS Alerts

2016-11-29 Thread Chris Swanda
I use an iframe from Dark Sky on my index page. Whenever there is an NWS alert for my area, it will show. http://forecast.io/embed/#lat=38.863&lon=-94.755&name=Olathe, KS"> See it live here... http://olathewx.duckdns.org/index.html All you have to do is change your Lat/Long. On Tuesday,

[weewx-user] Re: NWS Alerts

2016-11-28 Thread Monachus
Thanks for the suggestions. I found this way, although not particular to Weewx, but it works. 1st - get text for warnings via script, and pipe to a file (run the script every 5 min with cron): curl https://alerts.weather.gov/cap/wwaatmget.php?x=OKZ060 | awk -F'[<|>]' 'BEGIN{ORS="";} /|/ {pri

[weewx-user] Re: NWS Alerts

2016-11-22 Thread vince
On Tuesday, November 22, 2016 at 10:26:58 AM UTC-8, Monachus wrote: > > Does anyone know of an existing way to import the NWS > advisories/alerts/warnings which can be found here: > > The Saratoga templates (not part of weewx) have this ability, but they're php and they can be a little tricky to

[weewx-user] Re: NWS Alerts

2016-11-22 Thread Monachus
I am basically looking for a good way to show NWS warnings within the Weewx interface. -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@goog