diff --git a/CHANGED b/CHANGED index a37d33c45..e3ee499a0 100644 --- a/CHANGED +++ b/CHANGED @@ -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 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 diff --git a/FHEM/55_GDS.pm b/FHEM/55_GDS.pm index 859213af9..b65301eef 100644 --- a/FHEM/55_GDS.pm +++ b/FHEM/55_GDS.pm @@ -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($) {
- get <name> forecasts <region> -

- -
- get <name> conditionsmap <region>


+ get <name> forecasts <region> +

+ +
+ get <name> forecastsmap <stationName>


- get <name> headlines + get <name> headlines [separator]

- +
get <name> help