mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 14:04:15 +00:00
30_HUEBridge.pm: added eventstreamTimeout attribute. see forum: https://forum.fhem.de/index.php/topic,122075.msg1203980.html
git-svn-id: https://svn.fhem.de/fhem/trunk@25575 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0e8476579c
commit
8b67e9c63b
@ -47,7 +47,7 @@ sub HUEBridge_Initialize($)
|
||||
$hash->{GetFn} = "HUEBridge_Get";
|
||||
$hash->{AttrFn} = "HUEBridge_Attr";
|
||||
$hash->{UndefFn} = "HUEBridge_Undefine";
|
||||
$hash->{AttrList} = "key disable:1 disabledForIntervals createEventTimestampReading:1,0 createGroupReadings:1,0 httpUtils:1,0 noshutdown:1,0 pollDevices:1,2,0 queryAfterSet:1,0 $readingFnAttributes";
|
||||
$hash->{AttrList} = "key disable:1 disabledForIntervals createEventTimestampReading:1,0 eventstreamTimeout createGroupReadings:1,0 httpUtils:1,0 noshutdown:1,0 pollDevices:1,2,0 queryAfterSet:1,0 $readingFnAttributes";
|
||||
|
||||
#$hash->{isDiscoverable} = { ssdp => {'hue-bridgeid' => '/.*/'}, upnp => {} };
|
||||
|
||||
@ -461,7 +461,7 @@ HUEBridge_openEventStream($)
|
||||
url => "https://$hash->{host}/eventstream/clip/v2",
|
||||
httpversion => '1.1',
|
||||
method => 'GET',
|
||||
timeout => 60*60,
|
||||
timeout => AttrVal($name, 'eventstreamTimeout', 60*60),
|
||||
incrementalTimeout => 1,
|
||||
noshutdown => 1,
|
||||
keepalive => 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user