mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
30_HUEBridge.pm: force reconnect of websocket and eventstream on set reconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@25512 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d900fa77e6
commit
fe0dab816c
@ -724,9 +724,11 @@ HUEBridge_Set($@)
|
||||
|
||||
# usage check
|
||||
if($cmd eq 'reconnect') {
|
||||
HUEBridge_closeWebsocket($hash);
|
||||
HUEBridge_closeEventStream($hash);
|
||||
|
||||
#HUEBridge_OpenDev( $hash );
|
||||
HUEBridge_openEventStream( $hash );
|
||||
HUEBridge_OpenDev( $hash );
|
||||
#HUEBridge_openEventStream( $hash );
|
||||
return undef;
|
||||
|
||||
} elsif($cmd eq 'statusRequest') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user