The PiNG Video Doorbell is powered by a Raspberry Pi and uses Google Duo to video call you on your phone when a visitor presses the button.
1986 Raspberry Pi Video Doorbell
The PiNG Video Doorbell is powered by a Raspberry Pi and is retro-stylishly cased in a 1986 Intercom and an old Sony cassette player.
When the doorbell button is pressed the Pi makes a high-quality video call usingĀ Google Duo, which can be answered on a phone, tablet or computer, letting you see and speak to callers when youāre away from home (or at home but trapped under a cat). It works over WiFi and cellular, so you can even answer the door when youāre out pounding the streets.
It also sounds a standard wireless door chime inside the house as a fail-safe, in case the call canāt be taken.
The setup and code are very straightforward, read on and Iāll show how you can make your own video doorbell from scratch in just a couple of hours for well under Ā£50 (or for practically nothing if you already have a Pi and some components lying around!).
Thereās a full video showing the build and features on YouTube atĀ https://youtu.be/Bn1qj2Uvl0wĀ if you canāt see the embedded version.
Opportunity Knock Knocks
Iāve always fancied making a video doorbell using a Raspberry Pi, but until recently I couldnāt find an easy way to make video calls that would both work in a project and be straightforward for others to recreate. That all changed on 26th February however, when I readĀ reports that a browser-based version of Google Duo had been releasedĀ ā meaning that it would run without installing a dedicated app.
Having already researched the challenges of making Pi calls with Skype and WhatsApp I was on the point of installing Android to try and use Google Duo, but was put off by not being able to easily integrate the GPIO interface, so the web app news was really encouraging. After devouring the articles I first tested Duo on my windows laptop, and swiftly moved on to try it with Chromium on my workshop machine, a Pi 2. This didnāt go so well, the Duo site appeared and let me log in, but didnāt display my contacts list or any options to change settings. I decided to look into using other browsers (the write-up said it also worked on Firefox and Safari) and also test it on a more beefy Pi 3.
I hooked up a Logitech webcam to the Pi 3 then fired up Chromium, and to my amazement was able to video call my wife in the living room seconds later, after tweaking a few settings. The webcam I tested had a built-in microphone and even on the first thrown-together test call the quality was great. This was a very exciting moment, unlocking the potential of the video doorbell project as well as many other possibilities.
So video-calling with a keyboard, mouse and screen was a definite go ā but how to make this work with a headless Pi and buttons?
Appy Duo
Software setup video:Ā https://youtu.be/Bn1qj2Uvl0w?t=1029
Having Duo running in Chromium was great, and I assumed Iād just run it full-screen, but then (literally by accident) I realised it could run āout of browserā, in the same way you can āinstallā web apps on a Windows PC ā hereās how:
- Go to the Google Duo site in Chromium on the Pi (https://duo.google.com/)
- Log in with the Google account you want to use to make the doorbell calls
- Click on the three dots (hamburger) > Install Google Duo (If youāre not using the most recent Raspbian you may need to select More Tools > Add to Desktop
- Click āAddā in the dialogue box that appears
Source: 1986 PiNG Video Doorbell