2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

55_GDS.pm: new command get … headlines

git-svn-id: https://svn.fhem.de/fhem/trunk@10002 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2015-11-25 12:28:32 +00:00
parent ef12a5d545
commit ae76b59f01
2 changed files with 17 additions and 9 deletions

View File

@ -1,7 +1,8 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: YAMAHA_BD: fix power off events when player is turned on
via set command on
- feature: 55_GDS: new command get <name> headlines [separator]
- bugfix: YAMAHA_BD: fix power off events when player is turned on
via set command on
- bugfix: 95_Dashboard: fixed javascript bug causing tabs not to load
- feature: 36_DavisVantage.zip (author: "habeIchVergessen")
Receive Davis Vantage Weather Stations with JeeLink

View File

@ -417,6 +417,7 @@ sub GDS_Get($@) {
"conditionsmap:".$cmapList." ".
"forecasts:".$fcList." ".
"forecastsmap:".$fmapList." ".
"headlines ".
"radarmap:".$cmapList." ".
"warningsmap:"."Deutschland,Bodensee,".$bulaList." ".
"warnings:".$bulaList;
@ -454,6 +455,11 @@ sub GDS_Get($@) {
break;
}
when("headlines"){
$parameter //= "|";
return gdsHeadlines($name,$parameter);
}
when("warningsmap"){
# retrieve map: warnings
if(length($parameter) != 2){
@ -2196,24 +2202,25 @@ sub getListForecastStations($) {
<ul>Retrieve current conditions at selected station</ul>
<br/>
<code>get &lt;name&gt; forecasts &lt;region&gt;</code>
<br/><br/>
<ul>Retrieve forecasts for today and the following 3 days for selected region as text</ul>
<br/>
<code>get &lt;name&gt; conditionsmap &lt;region&gt;</code>
<br/><br/>
<ul>Retrieve map (imagefile) showing current conditions at selected station</ul>
<br/>
<code>get &lt;name&gt; forecasts &lt;region&gt;</code>
<br/><br/>
<ul>Retrieve forecasts for today and the following 3 days for selected region as text</ul>
<br/>
<code>get &lt;name&gt; forecastsmap &lt;stationName&gt;</code>
<br/><br/>
<ul>Retrieve map (imagefile) showing forecasts for selected region</ul>
<br/>
<code>get &lt;name&gt; headlines</code>
<code>get &lt;name&gt; headlines [separator]</code>
<br/><br/>
<ul>Returns a string, containing all alert headlines separated by |</ul>
<ul>Returns a string, containing all alert headlines. <br/>
Default separator is | but can be overriden.</ul>
<br/>
<code>get &lt;name&gt; help</code>