mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
00_CUL.pm: add WMBUS_C (Forum #88913)
git-svn-id: https://svn.fhem.de/fhem/trunk@16907 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
13c3ffd843
commit
fd5fe589e3
@ -148,7 +148,7 @@ CUL_Initialize($)
|
|||||||
hmId longids
|
hmId longids
|
||||||
hmProtocolEvents:0_off,1_dump,2_dumpFull,3_dumpTrigger
|
hmProtocolEvents:0_off,1_dump,2_dumpFull,3_dumpTrigger
|
||||||
model:CUL,CUN,CUNO,SCC,nanoCUL
|
model:CUL,CUN,CUNO,SCC,nanoCUL
|
||||||
rfmode:SlowRF,HomeMatic,MAX,WMBus_T,WMBus_S,KOPP_FC
|
rfmode:SlowRF,HomeMatic,MAX,WMBus_T,WMBus_S,WMBus_C,KOPP_FC
|
||||||
sendpool
|
sendpool
|
||||||
showtime:1,0
|
showtime:1,0
|
||||||
);
|
);
|
||||||
@ -1000,6 +1000,7 @@ CUL_Attr(@)
|
|||||||
&& $aVal ne "MAX"
|
&& $aVal ne "MAX"
|
||||||
&& $aVal ne "WMBus_T"
|
&& $aVal ne "WMBus_T"
|
||||||
&& $aVal ne "WMBus_S"
|
&& $aVal ne "WMBus_S"
|
||||||
|
&& $aVal ne "WMBus_C"
|
||||||
&& $aVal ne "KOPP_FC"));
|
&& $aVal ne "KOPP_FC"));
|
||||||
my $msg = $hash->{NAME} . ": Mode $aVal not supported";
|
my $msg = $hash->{NAME} . ": Mode $aVal not supported";
|
||||||
|
|
||||||
@ -1051,6 +1052,18 @@ CUL_Attr(@)
|
|||||||
$hash->{initString} = "X21\nbrt"; # Use T-Mode
|
$hash->{initString} = "X21\nbrt"; # Use T-Mode
|
||||||
CUL_WriteInit($hash);
|
CUL_WriteInit($hash);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
Log3 $name, 2, $msg;
|
||||||
|
return $msg;
|
||||||
|
}
|
||||||
|
} elsif($aVal eq "WMBus_C") {
|
||||||
|
return if($hash->{initString} =~ m/brt/);
|
||||||
|
if($hash->{CMDS} =~ m/b/ || IsDummy($hash->{NAME}) || !$hash->{FD}) {
|
||||||
|
$hash->{Clients} = $clientsWMBus;
|
||||||
|
$hash->{MatchList} = \%matchListWMBus;
|
||||||
|
$hash->{initString} = "X21\nbrc"; # Use C-Mode
|
||||||
|
CUL_WriteInit($hash);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
Log3 $name, 2, $msg;
|
Log3 $name, 2, $msg;
|
||||||
return $msg;
|
return $msg;
|
||||||
@ -1378,10 +1391,11 @@ CUL_prefix($$$)
|
|||||||
To communicate with MAX! type of devices @10 kHz datarate.</li>
|
To communicate with MAX! type of devices @10 kHz datarate.</li>
|
||||||
|
|
||||||
<li>WMBus_S</li>
|
<li>WMBus_S</li>
|
||||||
<li>WMBus_T<br>
|
<li>WMBus_T</li>
|
||||||
|
<li>WMBus_C<br>
|
||||||
To communicate with Wireless M-Bus devices like water, gas or
|
To communicate with Wireless M-Bus devices like water, gas or
|
||||||
electrical meters. Wireless M-Bus uses two different communication
|
electrical meters. Wireless M-Bus uses three different communication
|
||||||
modes, S-Mode and T-Mode. While in this mode, no reception of other
|
modes, S-Mode, T-Mode and C-Mode. While in this mode, no reception of other
|
||||||
protocols like SlowRF or HomeMatic is possible. See also the WMBUS
|
protocols like SlowRF or HomeMatic is possible. See also the WMBUS
|
||||||
FHEM Module.
|
FHEM Module.
|
||||||
</li>
|
</li>
|
||||||
@ -1683,10 +1697,11 @@ CUL_prefix($$$)
|
|||||||
Für die Kommunikation mit MAX! Geräten @10 kHz
|
Für die Kommunikation mit MAX! Geräten @10 kHz
|
||||||
Datenrate.</li>
|
Datenrate.</li>
|
||||||
<li>WMBus_S</li>
|
<li>WMBus_S</li>
|
||||||
<li>WMBus_T<br>
|
<li>WMBus_T</li>
|
||||||
|
<li>WMBus_C<br>
|
||||||
Für die Kommunikation mit Wireless M-Bus Geräten wie
|
Für die Kommunikation mit Wireless M-Bus Geräten wie
|
||||||
Wasser-, Gas- oder Elektrozählern. Wireless M-Bus verwendet
|
Wasser-, Gas- oder Elektrozählern. Wireless M-Bus verwendet
|
||||||
zwei unterschiedliche Kommunikationsarten, S-Mode und T-Mode. In
|
drei unterschiedliche Kommunikationsarten, S-Mode, T-Mode und C-Mode. In
|
||||||
diesem Modus ist der Empfang von anderen Protokollen wie SlowRF
|
diesem Modus ist der Empfang von anderen Protokollen wie SlowRF
|
||||||
oder HomeMatic nicht möglich.</li>
|
oder HomeMatic nicht möglich.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user