mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
10_CUL_HM: unreachable isue
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@8873 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ef48e49ecf
commit
c0a5c9f4eb
@ -7637,6 +7637,7 @@ sub CUL_HM_unQEntity($$){# remove entity from q
|
|||||||
my @chns = split(",",$dq->{$q});
|
my @chns = split(",",$dq->{$q});
|
||||||
my $chn = substr(CUL_HM_name2Id($name),6,2);
|
my $chn = substr(CUL_HM_name2Id($name),6,2);
|
||||||
@chns = grep !/$chn/,@chns;
|
@chns = grep !/$chn/,@chns;
|
||||||
|
@chns = grep !/00/,@chns;#remove device as well - just in case
|
||||||
$dq->{$q} = join",",@chns;
|
$dq->{$q} = join",",@chns;
|
||||||
}
|
}
|
||||||
$q = $q."Wu" if (CUL_HM_getRxType($defs{$name}) & 0x1C);
|
$q = $q."Wu" if (CUL_HM_getRxType($defs{$name}) & 0x1C);
|
||||||
@ -7783,7 +7784,7 @@ sub CUL_HM_autoReadReady($){# capacity for autoread available?
|
|||||||
|| ReadingsVal($ioName,"cond","init") !~ m /^(ok|Overload-released|init)$/#default init for CUL
|
|| ReadingsVal($ioName,"cond","init") !~ m /^(ok|Overload-released|init)$/#default init for CUL
|
||||||
|| ( defined $defs{$ioName}->{msgLoadCurrent}
|
|| ( defined $defs{$ioName}->{msgLoadCurrent}
|
||||||
&& ( $defs{$ioName}->{msgLoadCurrent}>
|
&& ( $defs{$ioName}->{msgLoadCurrent}>
|
||||||
AttrVal($ioName,"hmMsgLowLimit",40)))){
|
(defined $defs{$ioName}{helper}{loadLvl}?$defs{$ioName}{helper}{loadLvl}{bl}:40)))){
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
@ -8160,9 +8161,10 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
requests by itself, and if it is configured with the 3-byte address
|
requests by itself, and if it is configured with the 3-byte address
|
||||||
of a foreign CCU which is still configurerd with the default
|
of a foreign CCU which is still configurerd with the default
|
||||||
password, it is able to answer signing requests correctly.</li>
|
password, it is able to answer signing requests correctly.</li>
|
||||||
<li>AES-Encryption is not useable with a CUL device as the interface,
|
<li>AES-Encryption is useable with a HMLAN or a CUL. When using
|
||||||
but it is supported with a HMLAN. Due to the issues above I do not
|
a CUL, the perl-module Crypt::Rijndael needs to be installed.
|
||||||
recommend using Homematic encryption at all.</li>
|
Due to the issues above I do not recommend using Homematic
|
||||||
|
encryption at all.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -8175,6 +8177,11 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
|
|
||||||
Universal commands (available to most hm devices):
|
Universal commands (available to most hm devices):
|
||||||
<ul>
|
<ul>
|
||||||
|
<li><B>assignHmKey</B><a name="CUL_HMassignHmKey"></a><br>
|
||||||
|
Initiates a key-exchange with the device, exchanging the old AES-key of the device with the key with the highest
|
||||||
|
index defined by the attribute hmKey* in the HMLAN or VCCU. The old key is determined by the reading aesKeyNbr,
|
||||||
|
which specifies the index of the old key when the reading is divided by 2.
|
||||||
|
</li>
|
||||||
<li><B>clear <[rssi|readings|register|msgEvents|attack|all]></B><a name="CUL_HMclear"></a><br>
|
<li><B>clear <[rssi|readings|register|msgEvents|attack|all]></B><a name="CUL_HMclear"></a><br>
|
||||||
A set of variables can be removed.<br>
|
A set of variables can be removed.<br>
|
||||||
<ul>
|
<ul>
|
||||||
@ -8350,8 +8357,8 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
<li><B>sign [on|off]</B><a name="CUL_HMsign"></a><br>
|
<li><B>sign [on|off]</B><a name="CUL_HMsign"></a><br>
|
||||||
Activate or deactivate signing (also called AES encryption, see the <a
|
Activate or deactivate signing (also called AES encryption, see the <a
|
||||||
href="#HMAES">note</a> above). Warning: if the device is attached via
|
href="#HMAES">note</a> above). Warning: if the device is attached via
|
||||||
a CUL, you won't be able to switch it (or deactivate signing) from
|
a CUL, you need to install the perl-module Crypt::Rijndael to be
|
||||||
fhem before you reset the device directly.
|
able to switch it (or deactivate signing) from fhem.
|
||||||
</li>
|
</li>
|
||||||
<li><B>statusRequest</B><a name="CUL_HMstatusRequest"></a><br>
|
<li><B>statusRequest</B><a name="CUL_HMstatusRequest"></a><br>
|
||||||
Update device status. For multichannel devices it should be issued on
|
Update device status. For multichannel devices it should be issued on
|
||||||
@ -8817,10 +8824,10 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
</ul><br>
|
</ul><br>
|
||||||
</li>
|
</li>
|
||||||
<li>keyMatic<br><br>
|
<li>keyMatic<br><br>
|
||||||
<ul>The Keymatic uses the AES signed communication. Therefore the control
|
<ul>The Keymatic uses the AES signed communication. Control
|
||||||
of the Keymatic is only together with the HM-LAN adapter possible. But
|
of the Keymatic is possible with the HM-LAN adapter and the CUL.
|
||||||
the CUL can read and react on the status information of the
|
To control the KeyMatic with a CUL, the perl-module Crypt::Rijndael
|
||||||
Keymatic.</ul><br>
|
needs to be installed.</ul><br>
|
||||||
<ul>
|
<ul>
|
||||||
<li><B>lock</B><br>
|
<li><B>lock</B><br>
|
||||||
The lock bolt moves to the locking position<br></li>
|
The lock bolt moves to the locking position<br></li>
|
||||||
@ -9497,9 +9504,9 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
<li>Der <a href="#HMLAN">HMLAN</a> Konfigurator beantwortet Signaturanforderungen selbstständig,
|
<li>Der <a href="#HMLAN">HMLAN</a> Konfigurator beantwortet Signaturanforderungen selbstständig,
|
||||||
ist dabei die 3-Byte-Adresse einer anderen CCU eingestellt welche noch immer das Standardpasswort hat,
|
ist dabei die 3-Byte-Adresse einer anderen CCU eingestellt welche noch immer das Standardpasswort hat,
|
||||||
kann dieser Signaturanfragen korrekt beantworten.</li>
|
kann dieser Signaturanfragen korrekt beantworten.</li>
|
||||||
<li>AES-Verschlüsselung kann nicht bei einem CUL als Interface eingesetzt werden, wird allerdings
|
<li>AES-Verschlüsselung wird durch HMLAN und CUL unterstützt. Bei Einsatz eines CUL
|
||||||
durch HMLAN unterstützt. Aufgrund dieser Einschränkungen ist der Einsatz der Homematic-Verschlüsselung
|
ist das Perl-Modul Crypt::Rijndael notwendig. Aufgrund dieser Einschränkungen ist der
|
||||||
nicht zu empfehlen!</li>
|
Einsatz der Homematic-Verschlüsselung nicht zu empfehlen!</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
@ -9677,8 +9684,8 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
</li>
|
</li>
|
||||||
<li><B>sign [on|off]</B><a name="CUL_HMsign"></a><br>
|
<li><B>sign [on|off]</B><a name="CUL_HMsign"></a><br>
|
||||||
Ein- oder ausschalten der Signierung (auch "AES-Verschlüsselung" genannt, siehe <a
|
Ein- oder ausschalten der Signierung (auch "AES-Verschlüsselung" genannt, siehe <a
|
||||||
href="#HMAES">note</a>). Achtung: Wird das Gerät über einen CUL eingebunden ist schalten (oder
|
href="#HMAES">note</a>). Achtung: Wird das Gerät über einen CUL eingebunden, ist schalten (oder
|
||||||
deaktivieren der Signierung) nicht möglich, das Gerät muss direkt zurückgesetzt werden.
|
deaktivieren der Signierung) nur möglich, wenn das Perl-Modul Crypt::Rijndael installiert ist.
|
||||||
</li>
|
</li>
|
||||||
<li><B>statusRequest</B><a name="CUL_HMstatusRequest"></a><br>
|
<li><B>statusRequest</B><a name="CUL_HMstatusRequest"></a><br>
|
||||||
Aktualisieren des Gerätestatus. Für mehrkanalige Geräte sollte dies kanalbasiert
|
Aktualisieren des Gerätestatus. Für mehrkanalige Geräte sollte dies kanalbasiert
|
||||||
@ -10108,10 +10115,10 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
|
|||||||
</ul><br>
|
</ul><br>
|
||||||
</li>
|
</li>
|
||||||
<li>keyMatic<br><br>
|
<li>keyMatic<br><br>
|
||||||
<ul>Keymatic verwendet eine AES-signierte Kommunikation. Deshalb ist die Steuerung von Keymatic
|
<ul>Keymatic verwendet eine AES-signierte Kommunikation. Die Steuerung von KeyMatic
|
||||||
nur mit dem HM-LAN möglich. But
|
ist mit HMLAN und mit CUL möglich.
|
||||||
Ein CUL kann aber Statusnachrichten von Keymatic mitlesen und darauf
|
Um die Keymatic mit einem CUL zu steuern, muss das Perl-Modul Crypt::Rijndael
|
||||||
reagieren.</ul><br>
|
installiert sein.</ul><br>
|
||||||
<ul>
|
<ul>
|
||||||
<li><B>lock</B><br>
|
<li><B>lock</B><br>
|
||||||
Schließbolzen fährt in Zu-Position<br></li>
|
Schließbolzen fährt in Zu-Position<br></li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user