mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
10_ZWave.pm: dehex SENSOR_ALARM, SENSOR_BINARY (Forum #56682)
git-svn-id: https://svn.fhem.de/fhem/trunk@12050 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b71255a46f
commit
c4529d901a
@ -1,5 +1,6 @@
|
|||||||
# 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.
|
||||||
|
- change: 10_ZWave.pm: change numbers in events (hex -> dec, Forum #56682)
|
||||||
- added: 98_exportdevice: new command to export device definitions
|
- added: 98_exportdevice: new command to export device definitions
|
||||||
- feature: 90_at: computeAfterInit attribute (Forum #56706)
|
- feature: 90_at: computeAfterInit attribute (Forum #56706)
|
||||||
- change: 93_DbRep: fit to new commandref style
|
- change: 93_DbRep: fit to new commandref style
|
||||||
|
@ -493,7 +493,7 @@ my %zwave_class = (
|
|||||||
SENSOR_ALARM => { id => '9c',
|
SENSOR_ALARM => { id => '9c',
|
||||||
get => { alarm => "01%02x" },
|
get => { alarm => "01%02x" },
|
||||||
parse => { "..9c02(..)(..)(..)(....)" =>
|
parse => { "..9c02(..)(..)(..)(....)" =>
|
||||||
'"alarm_type_$2:level $3 node ".hex($1)." seconds ".hex($4)'} },
|
'"alarm_type_$2:level ".hex($3)." node ".hex($1)." seconds ".hex($4)'} },
|
||||||
SILENCE_ALARM => { id => '9d' },
|
SILENCE_ALARM => { id => '9d' },
|
||||||
SENSOR_CONFIGURATION => { id => '9e' },
|
SENSOR_CONFIGURATION => { id => '9e' },
|
||||||
MARK => { id => 'ef' },
|
MARK => { id => 'ef' },
|
||||||
@ -2931,6 +2931,7 @@ ZWave_plusInfoParse($$$$$)
|
|||||||
}
|
}
|
||||||
|
|
||||||
my %zwave_sensorBinaryTypeV2 = (
|
my %zwave_sensorBinaryTypeV2 = (
|
||||||
|
"00"=>"off",
|
||||||
"01"=>"generalPurpose",
|
"01"=>"generalPurpose",
|
||||||
"02"=>"smoke",
|
"02"=>"smoke",
|
||||||
"03"=>"CO",
|
"03"=>"CO",
|
||||||
@ -2943,7 +2944,8 @@ my %zwave_sensorBinaryTypeV2 = (
|
|||||||
"0a"=>"doorWindow",
|
"0a"=>"doorWindow",
|
||||||
"0b"=>"tilt",
|
"0b"=>"tilt",
|
||||||
"0c"=>"motion",
|
"0c"=>"motion",
|
||||||
"0d"=>"glassBreak"
|
"0d"=>"glassBreak",
|
||||||
|
"ff"=>"on"
|
||||||
);
|
);
|
||||||
|
|
||||||
sub
|
sub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user