mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +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:
parent
ef12a5d545
commit
ae76b59f01
@ -1,7 +1,8 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
- bugfix: YAMAHA_BD: fix power off events when player is turned on
|
- feature: 55_GDS: new command get <name> headlines [separator]
|
||||||
via set command on
|
- 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
|
- bugfix: 95_Dashboard: fixed javascript bug causing tabs not to load
|
||||||
- feature: 36_DavisVantage.zip (author: "habeIchVergessen")
|
- feature: 36_DavisVantage.zip (author: "habeIchVergessen")
|
||||||
Receive Davis Vantage Weather Stations with JeeLink
|
Receive Davis Vantage Weather Stations with JeeLink
|
||||||
|
@ -417,6 +417,7 @@ sub GDS_Get($@) {
|
|||||||
"conditionsmap:".$cmapList." ".
|
"conditionsmap:".$cmapList." ".
|
||||||
"forecasts:".$fcList." ".
|
"forecasts:".$fcList." ".
|
||||||
"forecastsmap:".$fmapList." ".
|
"forecastsmap:".$fmapList." ".
|
||||||
|
"headlines ".
|
||||||
"radarmap:".$cmapList." ".
|
"radarmap:".$cmapList." ".
|
||||||
"warningsmap:"."Deutschland,Bodensee,".$bulaList." ".
|
"warningsmap:"."Deutschland,Bodensee,".$bulaList." ".
|
||||||
"warnings:".$bulaList;
|
"warnings:".$bulaList;
|
||||||
@ -454,6 +455,11 @@ sub GDS_Get($@) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
when("headlines"){
|
||||||
|
$parameter //= "|";
|
||||||
|
return gdsHeadlines($name,$parameter);
|
||||||
|
}
|
||||||
|
|
||||||
when("warningsmap"){
|
when("warningsmap"){
|
||||||
# retrieve map: warnings
|
# retrieve map: warnings
|
||||||
if(length($parameter) != 2){
|
if(length($parameter) != 2){
|
||||||
@ -2196,24 +2202,25 @@ sub getListForecastStations($) {
|
|||||||
<ul>Retrieve current conditions at selected station</ul>
|
<ul>Retrieve current conditions at selected station</ul>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<code>get <name> forecasts <region></code>
|
|
||||||
<br/><br/>
|
|
||||||
<ul>Retrieve forecasts for today and the following 3 days for selected region as text</ul>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<code>get <name> conditionsmap <region></code>
|
<code>get <name> conditionsmap <region></code>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<ul>Retrieve map (imagefile) showing current conditions at selected station</ul>
|
<ul>Retrieve map (imagefile) showing current conditions at selected station</ul>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
<code>get <name> forecasts <region></code>
|
||||||
|
<br/><br/>
|
||||||
|
<ul>Retrieve forecasts for today and the following 3 days for selected region as text</ul>
|
||||||
|
<br/>
|
||||||
|
|
||||||
<code>get <name> forecastsmap <stationName></code>
|
<code>get <name> forecastsmap <stationName></code>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
<ul>Retrieve map (imagefile) showing forecasts for selected region</ul>
|
<ul>Retrieve map (imagefile) showing forecasts for selected region</ul>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
<code>get <name> headlines</code>
|
<code>get <name> headlines [separator]</code>
|
||||||
<br/><br/>
|
<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/>
|
<br/>
|
||||||
|
|
||||||
<code>get <name> help</code>
|
<code>get <name> help</code>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user