Open thoughed project, video Doorbell project

Post Reply
hoeby
Posts: 43
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi
Domoticz version: V4.9700
Location: Echt, Netherlands
Contact:

Open thoughed project, video Doorbell project

Post by hoeby » Thursday 21 June 2018 19:35

Hi everybody,

For a few months i work whit domoticz.
The first days it needed a lot of time to get used whit it. But i like it more every day.
Not all wishes are made, but need to do it in steps, otherwise the money flies out the door.

Speaking about a door. One of my wishes is to have a doorbell with camera, to send notification.
Looking at the RING doorbell. Not cheap and untill now not connectable whit domoticz.
I ordered an CTVMAN CM50B01PE WIFI, but it was disappointed.
The CTVMAN is not waterproof. Camera is not protected, therefor the rain will fall on the lens.
Also the motion sensor is not waterproof. Rain will come in the doorbell and it needs just time, to stop working correctly.
An other thing i discovered, the camera stops streaming an image when the doorbell button is pushed. When the doorbell button is pushed the image starts to stream and after a few seconds the stream stops. Couldn't find it, but the RING doorbell connects to an external server. I think that the CTVMAN also connects to an external server. And at last, the doorbell is BIG. Of course it can take 2 batteries.

The CTVMAN Doorbell i am speaking about
Image

After looking around, searching for a doorbell whit the functions a wass looking for.
I stopped searching. I couldn't find it.
Therefor i wan't to design my own doorbell. But looking at this forum, it looks like more people are looking for a video doorbell which is not that expensive, but also can be made to your own wish.
But starting about that. I am not a person which can write big scripts. It will be build whit standard electronics. Lets look where how it will look like and where it will end (or maybe not will end).

What are my wishes, just to start with:
- Push button send to domoticz, for notification or ring chime
- Camera which is attachable whit domoticz
- A led coloured push button
- Optional, MP3-player to play doorbell sound or a recorded speech message when button is pushed
- Trying to get a smaller doorbell than most video doorbells which are on the marked.

How are my thougheds to achieve this:
I ordered a pi zero W. This will be used for a pi cam. This can be connected to domoticz.
I choose for the pi zero wifi version. I don't like to have a network cable to the front door, this because of safety reasons, that your home network isn't outside the door.
For the pi zero there a multiple camera's available. So everybody can choose a cam which fits to his wish.
The pi also can be used for inputs and outputs. The thoughed is that the push button is connected to an input and that triggers 2 outputs. One for a led signal that the button is pushed. The other for playing a MP3 file.
For connection the doorbell function to domoticz i want to use a fibary universal z-wave module.

Also these things i first want to mount in a 3d printed unit.
When the design is ready and usefull, i want to looked to make a metal version.
But also need to think about a waterproof version.

A lot to think about.
I hope a few people like to think about it. Not that those people need to build it. But just the thoughts i am happy whit.
I need to start easy. When everything works propperly then it can be extended.

What are you thinking about this?
Do i miss something? Or are there people that say, look at this or that?

User avatar
heggink
Posts: 539
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi
Domoticz version: V4.9999
Location: NL
Contact:

Re: Open thoughed project, video Doorbell project

Post by heggink » Thursday 21 June 2018 19:51

Did you look at vibell?
Pi3, latest beta
RFXCOM, z-wave (AEOTEC, switches, temhum, pir, contacts),
Plugwise2py, P1 'smart'meter & solar panel
Alexa, Wifi Cams motion detection
ESP: relays, PIR & Temp/TempHum
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest

dlefol
Posts: 47
Joined: Monday 21 December 2015 17:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Open thoughed project, video Doorbell project

Post by dlefol » Thursday 21 June 2018 21:43

I'm looking at the same kind of set up but didn't have the time to look at it in more details.
I didn't know vibell. Does it work with domoticz ?

User avatar
heggink
Posts: 539
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi
Domoticz version: V4.9999
Location: NL
Contact:

Re: Open thoughed project, video Doorbell project

Post by heggink » Thursday 21 June 2018 21:48

No idea but since it's open source based on raspberry pi then not too difficult to connect.

What integration would you like?
Pi3, latest beta
RFXCOM, z-wave (AEOTEC, switches, temhum, pir, contacts),
Plugwise2py, P1 'smart'meter & solar panel
Alexa, Wifi Cams motion detection
ESP: relays, PIR & Temp/TempHum
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest

hoeby
Posts: 43
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi
Domoticz version: V4.9700
Location: Echt, Netherlands
Contact:

Re: Open thoughed project, video Doorbell project

Post by hoeby » Thursday 21 June 2018 21:57

Thanks for the input.
I didn't look to vibell, until 5 minutes ago. Didn't known it exist, thoughted i googled enough to find the options.
But didn't found the vibell

But looking to the vibell. It is not exactly i am looking for.
Looking at the vibell video, it is only working on the pi, i am missing the options to connect it to domoticz.
Think about notification whit telegram (snapshot) or an other notification option i am missing. Or use sonos speaker as chime.
It is a separted app, i am looking for something to use in dashticz in the future.
But it cann be a nice point to start whit.

User avatar
heggink
Posts: 539
Joined: Tuesday 08 September 2015 21:44
Target OS: Raspberry Pi
Domoticz version: V4.9999
Location: NL
Contact:

Re: Open thoughed project, video Doorbell project

Post by heggink » Thursday 21 June 2018 22:07

As I said, being open source, it should not be too difficult to set it up as a webcam in domoticz. Also, the button should be able to trigger a script to activate a switch in domoticz so you see who pushed. Only tricky thing may be to integrate the audio/mic but probably that can be done thru dashticz...
Pi3, latest beta
RFXCOM, z-wave (AEOTEC, switches, temhum, pir, contacts),
Plugwise2py, P1 'smart'meter & solar panel
Alexa, Wifi Cams motion detection
ESP: relays, PIR & Temp/TempHum
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest

hoeby
Posts: 43
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi
Domoticz version: V4.9700
Location: Echt, Netherlands
Contact:

Re: Open thoughed project, video Doorbell project

Post by hoeby » Saturday 23 June 2018 14:27

I choose not to go for vibell.
Maybe it is usefull, but i looks like a complet setup with everything atached to it (hope you understand it what i mean).
I want to keep it modulair, and not 1 script for the doorbell. This hass it positiv site but also negativ. But i have to start somewhere, and my knowledge is not that big to modify a script like vibell uses.

For now i am looking to use the GPIO pins from the doorbell used PI, and send them by network to the domoticz PI.
I can find information about using the GPIO pins, but all the info i am finding is about the use of the pins, that are available on the pi where domoticz is installed. But until now i can't find a lot of info about using the pi zero GPIO pins and send the info by netwerk to domoticz.
Does somebody have a nice link, where i can information?

hoeby
Posts: 43
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi
Domoticz version: V4.9700
Location: Echt, Netherlands
Contact:

Re: Open thoughed project, video Doorbell project

Post by hoeby » Saturday 23 June 2018 22:47

Made a step forward (for me it is a step).

I found out a way to get the signal to domoticz.
I made a little script and when i run it manual from the pi zero i can change the status of a virtual switch in domoticz.

I am using this script. domoticz-IP needs to be replaced by your domoticz IP-address.
My virtual switch has IDX=117. This also needs to be changed when you will use this
http://domoticz-IP:8080/json.htm?type=c ... itchcmd=On

Of course i need also to switch it of. Otherwise your chime will be playing sounds.
This is the same script, but than "Off" at the end.

Now back to the pi zero. Going to search for information how to control the GPIO exactly.
Now i have the switch function in domoticz ready, the notifications or starting chime are not that dificult (can be blocky)

hoeby
Posts: 43
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi
Domoticz version: V4.9700
Location: Echt, Netherlands
Contact:

Re: Open thoughed project, video Doorbell project

Post by hoeby » Tuesday 03 July 2018 21:51

I think i have the scripting ready.
What works, when you push the doorbell button:
- A MP3 file will play. Do let play a DINGDONG file, or something else what you want (by scripting on Pi)
- LED will switch from alive LED tot push LED. (by scripting on Pi)
- Script will control virtual device in domoticz (by scripting on Pi)

What is done in domoticz:
- The virtual switch activates a script, to send telegram notification
- Sonos speakers play DINGDONG

What still to do:
- Just started whit dashticz. Want to connect the camera to dashticz, that there is a screen whit live image neer the door or in your room
- There is hardware neccesary. Want to try to design a PCB, which fits on the pi zero.
- Need to make a nice case around it. Ordered IP67 pushbuttons, i am waiting for those parts.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests