diff --git a/fhem/FHEM/00_HMLAN.pm b/fhem/FHEM/00_HMLAN.pm index abc0c101e..e61c99fd3 100755 --- a/fhem/FHEM/00_HMLAN.pm +++ b/fhem/FHEM/00_HMLAN.pm @@ -31,6 +31,7 @@ sub HMLAN_getVerbLvl ($$$$); my %sets = ( "open" => "" ,"close" => "" ,"reopen" => "" + ,"restart" => "" ,"hmPairForSec" => "HomeMatic" ,"hmPairSerial" => "HomeMatic" ,"reassignIDs" => "" @@ -436,6 +437,10 @@ sub HMLAN_Set($@) {############################################################ HMLAN_condUpdate($hash,253);#set disconnected DevIo_OpenDev($hash, 0, "HMLAN_DoInit"); } + elsif($cmd eq "restart") { ################################# + HMLAN_SimpleWrite($hash, "Y05,"); + HMLAN_condUpdate($hash,253);#set disconnected + } elsif($cmd eq "close") { ################################# DevIo_CloseDev($hash); HMLAN_condUpdate($hash,253);#set disconnected @@ -1168,8 +1173,14 @@ sub HMLAN_getVerbLvl ($$$$){#get verboseLevel for message