mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-04 05:16:45 +00:00
30_HUEBridge.pm: don't try to read /auth/v1 for deCONZ
git-svn-id: https://svn.fhem.de/fhem/trunk@25571 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a487152ee6
commit
ce49efae44
@ -573,6 +573,7 @@ HUEBridge_OpenDev($)
|
||||
|
||||
$hash->{mac} = $result->{mac};
|
||||
|
||||
if( !$hash->{is_deCONZ} ) {
|
||||
my $params = {
|
||||
url => "https://$hash->{host}/auth/v1",
|
||||
#httpversion => '1.1',
|
||||
@ -584,6 +585,7 @@ HUEBridge_OpenDev($)
|
||||
callback => \&HUEBridge_dispatch,
|
||||
};
|
||||
HttpUtils_NonblockingGet( $params );
|
||||
}
|
||||
|
||||
readingsSingleUpdate($hash, 'state', 'connected', 1 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user