From 11cd4dd54695d9f046c73c66c91ce3535dae9fef Mon Sep 17 00:00:00 2001 From: mgehre Date: Sat, 12 Jan 2013 15:19:56 +0000 Subject: [PATCH] CUL_MAX: append Za.... to initString git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2492 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/14_CUL_MAX.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/FHEM/14_CUL_MAX.pm b/fhem/FHEM/14_CUL_MAX.pm index f46360aef..bba07a044 100644 --- a/fhem/FHEM/14_CUL_MAX.pm +++ b/fhem/FHEM/14_CUL_MAX.pm @@ -72,6 +72,8 @@ CUL_MAX_Define($$) if(CUL_MAX_Check($hash)) { #Doing this on older firmware disables MAX mode IOWrite($hash, "", "Za". $hash->{addr}); + #Append to initString, so this is resend if cul disappears and then reappears + $hash->{IODev}{initString} .= "\nZa". $hash->{addr}; } #This interface is shared with 00_MAXLAN.pm