From e6810cce0d1c95d27103bbee604bac93390ca52f Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Thu, 21 Dec 2017 09:31:36 +0100 Subject: [PATCH] add dummy port in define for remoteServer = other --- 74_AMADDevice.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/74_AMADDevice.pm b/74_AMADDevice.pm index 966c258..1d593fc 100644 --- a/74_AMADDevice.pm +++ b/74_AMADDevice.pm @@ -58,7 +58,7 @@ eval "use Encode qw(encode encode_utf8);1" or $missingModul .= "Encode "; eval "use JSON;1" or $missingModul .= "JSON "; -my $modulversion = "4.1.99.23"; +my $modulversion = "4.1.99.25"; my $flowsetversion = "4.1.99.3"; @@ -154,6 +154,7 @@ sub AMADDevice_Define($$) { $hash->{PORT} = 8090 if($remoteServer eq 'Automagic'); $hash->{PORT} = 1817 if($remoteServer eq 'Autoremote'); $hash->{PORT} = 8765 if($remoteServer eq 'TNES'); + $hash->{PORT} = 1111 if($remoteServer eq 'other'); # Dummy Port for other $hash->{helper}{infoErrorCounter} = 0; $hash->{helper}{setCmdErrorCounter} = 0;