First you have to know that the VD1 sends a GET request when the doorbell button is pressed. So I installed webhook (https://github.com/adnanh/webhook) and looked what happens here and saw how the data looks like in wireshark.
Thanks for the Answer @Jeff_Smart , Iām also just starting with the ipcamera plugin.
Good to hear that the doorbell is at least compatible with that.
If you (@FranzS ) want to use the recordingGif function you have to install FFmpeg (see IP Camera Binding). recordingMP4 does not work for me. The files are copied into the FFmpeg Output Folder (things settings).
Unfortunately I donāt have an idea how to display the created files (if there are several) one by one. There is the HABpanel widget Custom Widget: Camera History and Live Popup but I donāt want to use HABpanel.
i struggle with similar issues with my safety cam.
Iām currently thinking about to replace also my doorbell but for sure I want to make sure it works with OH. The Foscam is quite nice because itās not so super expensive then the doorbird.
FFMpeg installation worked mp4 recording sometimes.
Gif also sometimes. I also tried to use tmpfs to avoid writing aways to a Memroy Card or SSD.
But yes I guess we need something like a āhow Videos in a Folderā tool.
When pressing the VideoCall button I get the item DoorbellHttpListener_videocall set to ON via
HttpListener. This is my trigger for the rule which starts the recording. I record max 5 records the oldest is deleted.
configuration: {}
triggers:
- id: "3"
configuration:
itemName: DoorbellHttpListener_videocall
state: ON
previousState: OFF
type: core.ItemStateChangeTrigger
conditions: []
actions:
- inputs: {}
id: "1"
configuration:
type: application/javascript;version=ECMAScript-2021
script: >-
/*
* We use a function otherwise return is not working
*/
function mainCheck() {
// Reset trigger
items.getItem('DoorbellHttpListener_videocall').sendCommand('OFF');
// Clear history
if (items.getItem('DoorbellFoscam_GIFHistoryLength').state > 5) {
console.info("Clear GIF history");
items.getItem('DoorbellFoscam_GIFHistoryLength').sendCommand(0);
}
// Make a GIF record
if (items.getItem('DoorbellFoscam_GIFRecording').state == 0 || items.getItem('DoorbellFoscam_GIFRecording').state == 'NULL') {
for ( let i=5; i>=1; i-- ) {
let argSrc = '/tmpfs/doorbell/image' + i + '.gif'
let argDest = '/tmpfs/doorbell/image' + (i+1) + '.gif'
actions.Exec.executeCommandLine('cp', argSrc, argDest);
}
actions.Things.getActions('ipcamera', 'ipcamera:foscam:DoorbellFoscam').recordGIF('image1', 3);
console.info('Record taken');
}
}
// Call your main function from the script
mainCheck();
type: script.ScriptAction
The ClickableCameraImage widget I have changed as follows. Surely you can also include a loop here but I do not know how to do it.
Hi everyone, I am interested in this doorbell, but the negative amazon reviews leave me thinkingā¦
So what are your experiences after a few months with this bell?
Does it work reliably? Does it need an internet connection to work and store videos? (All my china cameras are in an isolated network without internet)
Sorry for hijacking this thread, but I think the main issue has been solved.