{"id":3128,"date":"2021-05-25T15:32:27","date_gmt":"2021-05-25T03:32:27","guid":{"rendered":"http:\/\/signsofsuccess.co.nz\/?p=3128"},"modified":"2026-05-10T03:50:34","modified_gmt":"2026-05-10T03:50:34","slug":"garage-automation-project-further-update","status":"publish","type":"post","link":"https:\/\/glover.gen.nz\/wordpress\/garage-automation-project-further-update\/","title":{"rendered":"Garage Automation Project &#8211; Further Update"},"content":{"rendered":"<p>As I said below in the last Raspberry Pi post, this project will never really be over.<\/p>\n<p>A while ago, the Logitech Web Cam attached to the PI Model B assigned to door opener duties (which gave images of the inside of the garage) failed. I used these cameras because I had one in stock, and bought the second one second hand, but they are much too expensive new to replace with a new one.<\/p>\n<p>I have been doing without this view for a while, and its a bit frustrating. So I looked around for cheap alternatives, but webcams are no longer cheap.<\/p>\n<p>But Raspberry Pi cameras are quite reasonable. There are 3 versions, the new 12megapixel with all its fancy lenses &#8211; not at all what I want, the 8MP version 2 camera, the current base model, which also comes in an infrared version, and the discontinued 5MP version 1. Looking around, I saw that Jaycar the local electronics supplier, was selling the discontinued V1 at clearance prices, just NZ$22 each. So I bought one.<\/p>\n<p>Installation was easy enough, I did some relocating of the Raspberry Pi so that it was very close to where I wanted the camera with its 150mm ribbon cable. Its now screwed to the ceiling of the garage, and the door opener wires and the power supply all travel along ducting, so its reasonably neat. I put the camera onto a metal bracket I had lying around, which provides a reasonable range of movement by bending and twisting!<\/p>\n<p>The PI booted up fine after it was installed, so I logged onto the Raspberry Pi, used the &#8220;sudo raspi-config&#8221; command, chose option 5, the Interfacing Options, and changed option p1 (enable\/disable the the connection to the Raspberry Pi camera) to yes. I also added the line &#8220;<code class=\"plain plain\">disable_camera_led=1<\/code>&#8221; to the boot\/confg.sys file (the camera has a very bright LED, and apparently draws a reasonable amount of power), and rebooted.<\/p>\n<p>A couple of minutes later, success! The camera worked with no further changes. A bit of adjusting of the camera angle, and it was all done. The software used to drive the webcams, namely Motion, picked up the new camera, and fed it in the normal way.<\/p>\n<figure id=\"attachment_3557\" aria-describedby=\"caption-attachment-3557\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3557\" src=\"https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" srcset=\"https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-300x225.jpg 300w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-1024x768.jpg 1024w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-768x576.jpg 768w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-1536x1152.jpg 1536w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-2048x1536.jpg 2048w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-100x75.jpg 100w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-150x113.jpg 150w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-200x150.jpg 200w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-450x338.jpg 450w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-600x450.jpg 600w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/IMG_20210525_151854-900x675.jpg 900w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3557\" class=\"wp-caption-text\">RPi with new Pi Camera<\/figcaption><\/figure>\n<figure id=\"attachment_3556\" aria-describedby=\"caption-attachment-3556\" style=\"width: 142px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3556\" src=\"https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-142x300.jpg\" alt=\"\" width=\"142\" height=\"300\" srcset=\"https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-142x300.jpg 142w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-485x1024.jpg 485w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-100x211.jpg 100w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-150x317.jpg 150w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-200x422.jpg 200w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-300x633.jpg 300w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-450x950.jpg 450w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1-600x1267.jpg 600w, https:\/\/glover.gen.nz\/wordpress\/wp-content\/uploads\/2021\/05\/Screenshot_20210525_152848_com.android.chrome-1.jpg 720w\" sizes=\"auto, (max-width: 142px) 100vw, 142px\" \/><\/a><figcaption id=\"caption-attachment-3556\" class=\"wp-caption-text\">Screenshot of image from camera<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>As I said below in the last Raspberry Pi post, this project will never really be over. A while ago, the Logitech Web Cam attached to the PI Model B assigned to door opener duties (which gave images of the &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/glover.gen.nz\/wordpress\/garage-automation-project-further-update\/\"> <span class=\"screen-reader-text\">Garage Automation Project &#8211; Further Update<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,27,9,10],"tags":[],"class_list":["post-3128","post","type-post","status-publish","format-standard","hentry","category-technical","category-garage-automation-project-gap","category-programming","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/posts\/3128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/comments?post=3128"}],"version-history":[{"count":2,"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/posts\/3128\/revisions"}],"predecessor-version":[{"id":3559,"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/posts\/3128\/revisions\/3559"}],"wp:attachment":[{"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/media?parent=3128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/categories?post=3128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glover.gen.nz\/wordpress\/wp-json\/wp\/v2\/tags?post=3128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}