mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
30_HUEBridge.pm: fixed websocket reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@23363 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f308260fad
commit
99c659a384
@ -416,7 +416,7 @@ sub HUEBridge_fillBridgeInfo($$)
|
|||||||
|
|
||||||
if( defined($config->{websocketport}) ) {
|
if( defined($config->{websocketport}) ) {
|
||||||
$hash->{websocketport} = $config->{websocketport};
|
$hash->{websocketport} = $config->{websocketport};
|
||||||
HUEBridge_openWebsocket($hash);
|
HUEBridge_openWebsocket($hash) if( !defined($hash->{CD}) );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( $hash->{apiversion} ) {
|
if( $hash->{apiversion} ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user