{"id":29825,"date":"2021-11-10T00:25:35","date_gmt":"2021-11-10T00:25:35","guid":{"rendered":"https:\/\/www.diaryofanadi.co.uk\/?p=29825"},"modified":"2023-06-10T13:33:45","modified_gmt":"2023-06-10T12:33:45","slug":"video-doorbell-project-overview","status":"publish","type":"post","link":"https:\/\/diaryofanadi.co.uk\/?p=29825","title":{"rendered":"Video Doorbell Project #1 &#8211; Overview"},"content":{"rendered":"\n<p><strong>Update: I&#8217;ve had a rethink on this and won&#8217;t be trying to build an entire system after all. After playing around with CCTV cameras I have realised they can do most of the work already.<\/strong><\/p>\n\n\n\n<p><strong>Update (2023): As a result of fairly frequent issues with the Ring not recording video, recording blank video, or dropping off the network altogether (requiring troubleshooting and rebooting) \u2013 which has caused me to miss several callers and deliveries \u2013 the final straw came with Ring\u2019s discontinuation of the desktop app.\u00a0<a href=\"https:\/\/diaryofanadi.co.uk\/?p=42054\" title=\"Reolink Video Doorbell And Chime \u2013 Part I\">I have switched to the Reolink PoE Doorbell as of mid-2023.<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" data-src=\"https:\/\/diaryofanadi.co.uk\/wp-content\/uploads\/2023\/06\/doorbell_schematic.jpg\" alt=\"\" class=\"wp-image-42297 lazyload\" width=\"698\" height=\"468\" data-srcset=\"https:\/\/diaryofanadi.co.uk\/wp-content\/uploads\/2023\/06\/doorbell_schematic.jpg 524w, https:\/\/diaryofanadi.co.uk\/wp-content\/uploads\/2023\/06\/doorbell_schematic-300x201.jpg 300w\" data-sizes=\"(max-width: 698px) 100vw, 698px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 698px; --smush-placeholder-aspect-ratio: 698\/468;\" \/><\/figure>\n\n\n\n<p>A few years ago I bought a Ring video doorbell. After a bit of fiddling setting it up, it has worked <strong>reasonably<\/strong> well, though it isn&#8217;t perfect.<\/p>\n\n\n\n<p>For a start off, it relies on Wi-Fi, which is a bloody nightmare at the best of times in the home environment. It is also totally dependant on Ring&#8217;s own cloud system (it isn\u2019t an ONVIF camera, which I will go into later). But my main niggle is that I have no control over my data &#8211; and Ring is trying to make access to it even more difficult, thus enhancing the imperfections.<\/p>\n\n\n\n<p>You see, the Ring system can currently be accessed via a desktop app, a smartphone app, or via a browser. I use the desktop app to monitor my system, because I can see absolutely no point in having a HD camera and only viewing it on a small smartphone screen. Furthermore, the smartphone app has a tendency to alert you up to a minute or more after an event has been triggered (I often get in my car and drive off from my house, only to have my phone vibrate when I get to the end of the road informing me I left a short while ago). And the browser interface has two-factor authentication and logs you out every five minutes, so if you get an alert, it can take some seconds to log in, by which time whoever was at the door has left. The desktop app is always connected (albeit with a tendency to decide not to give a live feed after it has been triggered). And another niggle is that the system only records several seconds of footage when an event occurs &#8211; it doesn\u2019t record continuously.<\/p>\n\n\n\n<p>But a couple of months ago, Ring unilaterally announced it was discontinuing the desktop app &#8211; initially, in mid-October, and currently (following uproar across the community), in December.<\/p>\n\n\n\n<p>As I said, the Ring doorbell and the Ring system <strong>are not<\/strong> perfect. It can be glitchy, and it could do things better (like record continuously). But it\u2019s a million times better than just \u2018ding-dong\u2019\u2019 when someone calls, especially when that someone knocks instead (which most seem to do). However, without the desktop app, the glitchiness factor increases in significance considerably &#8211; the variable time lags with the other two methods are simply not acceptable. And as the Ring is a subscription device, I was rather miffed at this drastic change.<\/p>\n\n\n\n<p>Running in parallel with all this is a very relevant separate story. During the summer <a title=\"BirdCamLive \u2013 First Visitor\" href=\"https:\/\/www.diaryofanadi.co.uk\/?p=29168\">I installed a birdbox with a camera in it<\/a> in my garden. Once I\u2019d assembled it and powered it up, it was immediately visible on my home network. That\u2019s because it is an IP camera, and it uses the ONVIF protocol (as I mentioned at the start, Ring doesn\u2019t do that, and forces you to use its own cloud service). <a title=\"BirdCam Live Page\" href=\"https:\/\/www.diaryofanadi.co.uk\/?p=28519\">Being ONVIF also means I can stream the camera feed live<\/a>. Admittedly, my birdbox camera is a Wi-Fi system in this case (it\u2019s at the end of the garden, after all), but ONVIF cameras can be wireless or wired &#8211; it doesn\u2019t matter, and they just have to be discoverable on your network, which the ONVIF protocol takes care of. Better still, <a title=\"Network Attached Storage (NAS)\" href=\"https:\/\/www.diaryofanadi.co.uk\/?p=27162\">with my NAS system &#8211; which has Surveillance Station software pre-installed<\/a> &#8211; I can continuously record the footage. Obviously, there\u2019s no point saving every minute of every day forever, so I have it set to automatically delete anything older than (in my case) two days. This gives me time to manually save any particular footage I want to keep. It has motion detection, and I can edit the zones I want to monitor (and edit detection sensitivity as necessary). And best of all, all the data belong to me, and they are free &#8211; no subscriptions of any kind.<\/p>\n\n\n\n<p>You can probably see where this is heading. On the one hand, you have the Ring doorbell &#8211; which taps into your network, but which has to communicate with Ring\u2019s own ring-fenced servers across the internet, and those have to communicate back across the internet (or by SMS) to send any messages. It doesn\u2019t record continuously, and no internet (or no Ring cloud) means no functioning doorbell. On the other hand, you have an ONVIF camera, which doesn\u2019t require an internet connection, just a local network, which records continuously, and which has virtually the same overall functionality as far as the camera is concerned (just not a bell push feature).<\/p>\n\n\n\n<p>I mean, come on! Is there a DIY project here or what?<\/p>\n\n\n\n<p>I discovered that you can build an ONVIF camera using the <a title=\"Raspberry Pi Foundation\" href=\"https:\/\/www.raspberrypi.org\/\" target=\"_blank\" rel=\"noopener\">Raspberry Pi<\/a>. You can get open source motion detection software specifically for the Pi (though my Surveillance Station software already has that). And you can include various event detection features &#8211; button presses, for example &#8211; in a multitude of different ways.<\/p>\n\n\n\n<p>The schematic diagram at the top of this article shows what I am planning right now. I will have a camera system based on a Raspberry Pi Zero with a bell-push button on the outside of my front door. This will connect to a hub, based on a Raspberry Pi 4, on the inside of the door (most likely, by a wired connection through the door jamb, but with Wi-Fi as a back up for the short distance of a couple of inches if necessary). The Pi 4 will be on the network, and almost certainly wired. Finally, I want two remote alarm units (one upstairs, and one downstairs), and I haven\u2019t decided yet whether these will be wired or wireless &#8211; a lot comes down to how prepared I am to lay network cables, and the routes I could take if I did. I also haven\u2019t decided whether to control them from the Pi4 or via the network. These remote alarms will be audio-visual &#8211; they will chime and flash.<\/p>\n\n\n\n<p>If anyone is thinking I will end up with something the size of a fridge on my front door, just bear in mind the Pi Zero is 30mm x 65mm x 13mm in size. Camera modules are smaller, though the lens adds height. What I have in mind will certainly look different to a Ring doorbell, but it will be of a similar overall size if I assemble it&nbsp; in an appropriate way. And a Pi 4 is only 57mm x 86mm x 11mm, so it will hardly be out of place if suitably enclosed behind the door.<\/p>\n\n\n\n<p>This will be fun. Watch this space&#8230;<\/p>\n\n\n <script data-jetpack-boost=\"ignore\" async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4532794719633406\"\r\n     crossorigin=\"anonymous\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>Update: I&#8217;ve had a rethink on this and won&#8217;t be trying to build an entire system after all. After playing around with CCTV cameras I have realised they can do most of the work already. Update (2023): As a result of fairly frequent issues with the Ring not recording video, recording blank video, or dropping [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[90,91],"tags":[],"class_list":["post-29825","post","type-post","status-publish","format-standard","hentry","category-computer-tech-related","category-diy-related"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/29825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=29825"}],"version-history":[{"count":0,"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/29825\/revisions"}],"wp:attachment":[{"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=29825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=29825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diaryofanadi.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=29825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}