Interfacing an existing doorbell to Domoticz is really simple, in both hardware and software.
The schematic above uses an optoisolated input of the DomBus23 module, connected to the door chime: of course any module with an opto input can be used as well.
When the door chime is supplied (doorbell button pushed), Domoticz will execute a script that grab a snapshot from the IPcam and send it by Telegram to a group of channel within the family members.
This is the configuration of the doorbell device in the Switches panel:
As shown in the picture, when doorbell is activated the sendsnapshot.sh script is called, which grabs the picture and sends it by Telegram using the sendTelegramText.sh script.
The first script can grab directly a snapshot if the IPCam supports this feature; for bad chinese low-cost cams that do not support this feature, it grabs a snapshot from the RTSP media stream: this operation is not immediate, but takes 3-4 seconds to get the snapshot from IPCam. From the snapshot, then it's extracted an area of your need, to get the best picture with best zoom.
The result is a picture like this, with information about the date/time the doorbell has rang.
Scripts and more info are available at https://www.creasol.it/smart_doorbell
Smart DOORBELL, sending picture to smartphones by Telegram
Moderator: leecollings
- psubiaco
- Posts: 245
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Smart DOORBELL, sending picture to smartphones by Telegram
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
- psubiaco
- Posts: 245
- Joined: Monday 20 August 2018 9:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Italy
- Contact:
Re: Smart DOORBELL, sending picture to smartphones by Telegram
With the schema below it's also possible to open the gate, if you want that your Amazon driver delivers a parcel to you on Sunday when you're away for a vacation!
Paolo
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel
--
I use DomBus modules to charge EV car, get a full alarm system, control heat pump, fire alarm detection, lights and much more. Video
Facebook page - Youtube channel