2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

eventMap values added to getAllSets, up to the ones with space

git-svn-id: https://svn.fhem.de/fhem/trunk@1685 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-07-05 07:11:04 +00:00
parent 7a60cb00d5
commit 71e43a64d4
4 changed files with 10 additions and 4 deletions

View File

@ -52,7 +52,7 @@
- feature: motd with SecurityCheck added
- feature: telnet module added, attr global port moved. allowfrom changed.
- feature: FhemUtils/release.pm for the new update process added. (M. Fischer)
- feature: new global attributes <updateserver>, <updatepath>, <updatectrlfile>
- feature: new global attributes updateserver, updatepath, updatectrlfile
for the new update process added (M. Fischer)
- 2011-12-31 (5.2)

View File

@ -4,5 +4,7 @@
attr global logfile /tmp/fhem-%Y-%m.log
attr global statefile /tmp/fhem.save # where to save the state of the devices
attr global verbose 3 # "normal" verbosity (min 1, max 5)
attr global port 7072 # our TCP/IP port (localhost only)
attr global modpath . # where our FHEM directory is
define telnetPort telnet 7072 # our TCP/IP port (localhost only)
attr telnetPort password secret

View File

@ -3,10 +3,11 @@
#
attr global logfile /tmp/fhem-%Y-%m.log
attr global modpath . # where our FHEM directory is
attr global port 7072 global # our TCP/IP port
attr global statefile /tmp/fhem.save # where to save the state of the devices
attr global verbose 3 # "normal" verbosity (min 1, max 5)
define telnetPort telnet 7072 global # our TCP/IP port
define WEB FHEMWEB 8083 global
define WEBphone FHEMWEB 8084 global
@ -24,6 +25,7 @@ attr autocreate device_room %TYPE
attr autocreate filelog /tmp/%NAME-%Y.log
attr autocreate weblink
attr autocreate weblink_room Plots
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

View File

@ -1579,7 +1579,9 @@ getAllSets($)
my $em = AttrVal($d, "eventMap", undef);
if($em) {
$em = join(" ", map { $_ =~ s/.*://s; $_ } EventMapAsList($em));
$em = join(" ", map { $_ =~ s/.*://s; $_ }
grep { !/ / }
EventMapAsList($em));
$a2 = "$em $a2";
}
return $a2;