-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from bdraco/doorbell_image_updates_from_activity
Add ability to update doorbell images from activity
- Loading branch information
Showing
11 changed files
with
486 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"action" : "doorbell_motion_detected", | ||
"callingUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
}, | ||
"dateTime" : 1582220686158, | ||
"deviceID" : "K98GiDT45GUL", | ||
"deviceName" : "Front Door", | ||
"deviceType" : "doorbell", | ||
"entities" : { | ||
"activity" : "any", | ||
"callingUser" : "deleted", | ||
"device" : "K98GiDT45GUL", | ||
"house" : "any", | ||
"otherUser" : "deleted" | ||
}, | ||
"house" : { | ||
"houseID" : "any", | ||
"houseName" : "any" | ||
}, | ||
"info" : { | ||
"dvrID" : "any", | ||
"hasSubscription" : false, | ||
"image" : { | ||
"bytes" : 42865, | ||
"created_at" : "2020-02-20T17:44:45Z", | ||
"etag" : "andy", | ||
"format" : "jpg", | ||
"height" : 576, | ||
"original_filename" : "file", | ||
"placeholder" : false, | ||
"public_id" : "any", | ||
"resource_type" : "image", | ||
"secure_url" : "https://my.updated.image/image.jpg", | ||
"signature" : "abc", | ||
"tags" : [], | ||
"type" : "upload", | ||
"url" : "http://my.updated.image/image.jpg", | ||
"version" : 1582220685, | ||
"width" : 720 | ||
}, | ||
"videoAvailable" : true, | ||
"videoUploadProgress" : "complete" | ||
}, | ||
"otherUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"action" : "doorbell_motion_detected", | ||
"callingUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
}, | ||
"dateTime" : 1582220686158, | ||
"deviceID" : "K98GiDT45GUL", | ||
"deviceName" : "Front Door", | ||
"deviceType" : "doorbell", | ||
"entities" : { | ||
"activity" : "any", | ||
"callingUser" : "deleted", | ||
"device" : "K98GiDT45GUL", | ||
"house" : "any", | ||
"otherUser" : "deleted" | ||
}, | ||
"house" : { | ||
"houseID" : "any", | ||
"houseName" : "any" | ||
}, | ||
"info" : { | ||
"dvrID" : "any", | ||
"hasSubscription" : false, | ||
"videoAvailable" : true, | ||
"videoUploadProgress" : "complete" | ||
}, | ||
"otherUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"action" : "doorbell_motion_detected", | ||
"callingUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
}, | ||
"dateTime" : 1482220686158, | ||
"deviceID" : "K98GiDT45GUL", | ||
"deviceName" : "Front Door", | ||
"deviceType" : "doorbell", | ||
"entities" : { | ||
"activity" : "any", | ||
"callingUser" : "deleted", | ||
"device" : "K98GiDT45GUL", | ||
"house" : "any", | ||
"otherUser" : "deleted" | ||
}, | ||
"house" : { | ||
"houseID" : "any", | ||
"houseName" : "any" | ||
}, | ||
"info" : { | ||
"dvrID" : "any", | ||
"hasSubscription" : false, | ||
"image" : { | ||
"bytes" : 42865, | ||
"created_at" : "2020-02-20T17:44:45Z", | ||
"etag" : "andy", | ||
"format" : "jpg", | ||
"height" : 576, | ||
"original_filename" : "file", | ||
"placeholder" : false, | ||
"public_id" : "any", | ||
"resource_type" : "image", | ||
"secure_url" : "https://this.is.the.old.url/should_not_take.jpg", | ||
"signature" : "abc", | ||
"tags" : [], | ||
"type" : "upload", | ||
"url" : "http://this.is.the.old.url/should_not_take.jpg", | ||
"version" : 1482220685, | ||
"width" : 720 | ||
}, | ||
"videoAvailable" : true, | ||
"videoUploadProgress" : "complete" | ||
}, | ||
"otherUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"action" : "doorbell_motion_detected", | ||
"callingUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
}, | ||
"dateTime" : 1582220686158, | ||
"deviceID" : "thisisthewrongdeviceid", | ||
"deviceName" : "Front Door", | ||
"deviceType" : "doorbell", | ||
"entities" : { | ||
"activity" : "any", | ||
"callingUser" : "deleted", | ||
"device" : "thisisthewrongdeviceid", | ||
"house" : "any", | ||
"otherUser" : "deleted" | ||
}, | ||
"house" : { | ||
"houseID" : "any", | ||
"houseName" : "any" | ||
}, | ||
"info" : { | ||
"dvrID" : "any", | ||
"hasSubscription" : false, | ||
"image" : { | ||
"bytes" : 42865, | ||
"created_at" : "2020-02-20T17:44:45Z", | ||
"etag" : "andy", | ||
"format" : "jpg", | ||
"height" : 576, | ||
"original_filename" : "file", | ||
"placeholder" : false, | ||
"public_id" : "any", | ||
"resource_type" : "image", | ||
"secure_url" : "https://my.updated.image/image.jpg", | ||
"signature" : "abc", | ||
"tags" : [], | ||
"type" : "upload", | ||
"url" : "http://my.updated.image/image.jpg", | ||
"version" : 1582220685, | ||
"width" : 720 | ||
}, | ||
"videoAvailable" : true, | ||
"videoUploadProgress" : "complete" | ||
}, | ||
"otherUser" : { | ||
"FirstName" : "Unknown", | ||
"LastName" : "User", | ||
"PhoneNo" : "deleted", | ||
"UserID" : "deleted", | ||
"UserName" : "deleteduser" | ||
} | ||
} |
Oops, something went wrong.