mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-02 19:15:31 +00:00
73_DoorBird: bugfix - incrementalTim[e]out
git-svn-id: https://svn.fhem.de/fhem/trunk@25107 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
78549adf0a
commit
3aeafa0e1a
@ -1637,17 +1637,17 @@ sub DoorBird_Read($) {
|
|||||||
|
|
||||||
### Define Parameter for Non-BlockingGet
|
### Define Parameter for Non-BlockingGet
|
||||||
my $param = {
|
my $param = {
|
||||||
url => $CommandURL,
|
url => $CommandURL,
|
||||||
timeout => $PollingTimeout,
|
timeout => $PollingTimeout,
|
||||||
user => $Username,
|
user => $Username,
|
||||||
pwd => $Password,
|
pwd => $Password,
|
||||||
hash => $hash,
|
hash => $hash,
|
||||||
method => $Method,
|
method => $Method,
|
||||||
header => $Header,
|
header => $Header,
|
||||||
timestamp => $TIMESTAMP,
|
timestamp => $TIMESTAMP,
|
||||||
event => "motionsensor",
|
event => "motionsensor",
|
||||||
incrementalTimout => 1,
|
incrementalTimeout => 1,
|
||||||
callback => \&DoorBird_LastEvent_Image
|
callback => \&DoorBird_LastEvent_Image
|
||||||
};
|
};
|
||||||
|
|
||||||
### Initiate Bulk Update
|
### Initiate Bulk Update
|
||||||
@ -1702,17 +1702,17 @@ sub DoorBird_Read($) {
|
|||||||
|
|
||||||
### Define Parameter for Non-BlockingGet
|
### Define Parameter for Non-BlockingGet
|
||||||
my $param = {
|
my $param = {
|
||||||
url => $CommandURL,
|
url => $CommandURL,
|
||||||
timeout => $PollingTimeout,
|
timeout => $PollingTimeout,
|
||||||
user => $Username,
|
user => $Username,
|
||||||
pwd => $Password,
|
pwd => $Password,
|
||||||
hash => $hash,
|
hash => $hash,
|
||||||
method => $Method,
|
method => $Method,
|
||||||
header => $Header,
|
header => $Header,
|
||||||
timestamp => $TIMESTAMP,
|
timestamp => $TIMESTAMP,
|
||||||
event => "keypad",
|
event => "keypad",
|
||||||
incrementalTimout => 1,
|
incrementalTimeout => 1,
|
||||||
callback => \&DoorBird_LastEvent_Image
|
callback => \&DoorBird_LastEvent_Image
|
||||||
};
|
};
|
||||||
|
|
||||||
### Initiate Bulk Update
|
### Initiate Bulk Update
|
||||||
@ -1767,18 +1767,18 @@ sub DoorBird_Read($) {
|
|||||||
|
|
||||||
### Define Parameter for Non-BlockingGet
|
### Define Parameter for Non-BlockingGet
|
||||||
my $param = {
|
my $param = {
|
||||||
url => $CommandURL,
|
url => $CommandURL,
|
||||||
timeout => $PollingTimeout,
|
timeout => $PollingTimeout,
|
||||||
user => $Username,
|
user => $Username,
|
||||||
pwd => $Password,
|
pwd => $Password,
|
||||||
hash => $hash,
|
hash => $hash,
|
||||||
method => $Method,
|
method => $Method,
|
||||||
header => $Header,
|
header => $Header,
|
||||||
timestamp => $TIMESTAMP,
|
timestamp => $TIMESTAMP,
|
||||||
event => "doorbell",
|
event => "doorbell",
|
||||||
doorbellNo => $EVENT,
|
doorbellNo => $EVENT,
|
||||||
incrementalTimout => 1,
|
incrementalTimeout => 1,
|
||||||
callback => \&DoorBird_LastEvent_Image
|
callback => \&DoorBird_LastEvent_Image
|
||||||
};
|
};
|
||||||
|
|
||||||
### Initiate Bulk Update
|
### Initiate Bulk Update
|
||||||
@ -3392,15 +3392,15 @@ sub DoorBird_History_Request($$) {
|
|||||||
|
|
||||||
### Define Parameter for Non-BlockingGet
|
### Define Parameter for Non-BlockingGet
|
||||||
my $param = {
|
my $param = {
|
||||||
url => $CommandURL,
|
url => $CommandURL,
|
||||||
timeout => $PollingTimeout,
|
timeout => $PollingTimeout,
|
||||||
user => $Username,
|
user => $Username,
|
||||||
pwd => $Password,
|
pwd => $Password,
|
||||||
hash => $hash,
|
hash => $hash,
|
||||||
method => $Method,
|
method => $Method,
|
||||||
header => $Header,
|
header => $Header,
|
||||||
incrementalTimout => 1,
|
incrementalTimeout => 1,
|
||||||
callback => \&DoorBird_History_Request_Parse
|
callback => \&DoorBird_History_Request_Parse
|
||||||
};
|
};
|
||||||
|
|
||||||
### Initiate communication and close
|
### Initiate communication and close
|
||||||
|
Loading…
x
Reference in New Issue
Block a user