50_HP1000: set closeConn when generating FHEMWEB instance for webname weatherstation

(Forum topic,44022.msg618531.html#msg618531)

git-svn-id: https://svn.fhem.de/fhem/trunk@13959 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2017-04-10 10:38:00 +00:00
parent fdaf99900e
commit 083a465b7f

View File

@@ -259,6 +259,7 @@ sub HP1000_Define($$$) {
. " with webname 'weatherstation'"; . " with webname 'weatherstation'";
fhem "define " . $hash->{FW} . " FHEMWEB $port global"; fhem "define " . $hash->{FW} . " FHEMWEB $port global";
fhem "attr " . $hash->{FW} . " closeConn 1";
fhem "attr " . $hash->{FW} . " webname weatherstation"; fhem "attr " . $hash->{FW} . " webname weatherstation";
} }
} }