{"id":3913,"date":"2026-03-31T01:57:24","date_gmt":"2026-03-31T05:57:24","guid":{"rendered":"https:\/\/pirhome.com\/?p=3911"},"modified":"2026-03-31T01:57:24","modified_gmt":"2026-03-31T05:57:24","slug":"pir-garage-door-vehicle-detection","status":"publish","type":"post","link":"https:\/\/www.pirhome.com\/?p=3913","title":{"rendered":"PIR Sensor for Garage Door Automation: Vehicle Detection"},"content":{"rendered":"<h2>Project Overview<\/h2>\n<p>This project creates a hands-free garage door opener that detects when your car approaches and automatically opens the door. Using a PIR sensor mounted near the driveway, the system detects your vehicle&#8217;s heat signature and triggers a relay that simulates pressing the garage door opener button.<\/p>\n<p><strong>Difficulty:<\/strong> Intermediate<br \/>\n<strong>Estimated time:<\/strong> 2-3 hours<br \/>\n<strong>Estimated cost:<\/strong> $25-35<\/p>\n<h2>How It Works<\/h2>\n<p>A PIR sensor placed at the driveway entrance detects the heat signature of your approaching car. When a vehicle is detected (and after a short delay to ensure it&#8217;s your car approaching, not a person walking), the system activates a relay that connects across the garage door opener&#8217;s wall button terminals, simulating a button press. The door opens automatically as you approach.<\/p>\n<p>An optional reed switch on the garage door can detect whether the door is already open, preventing unnecessary triggering.<\/p>\n<h2>Materials Needed<\/h2>\n<ul>\n<li><strong>ESP32<\/strong> or <strong>Arduino Uno<\/strong> (1)<\/li>\n<li><strong>HC-SR501 PIR sensor<\/strong> (1) \u2013 or <strong>AM312<\/strong> for lower power<\/li>\n<li><strong>Relay module<\/strong> (5V, single channel)<\/li>\n<li><strong>Reed switch<\/strong> (normally open) for door position detection (optional)<\/li>\n<li><strong>Magnet<\/strong> (for reed switch)<\/li>\n<li><strong>12V to 5V converter<\/strong> (if using 12V garage door supply)<\/li>\n<li><strong>Jumper wires<\/strong><\/li>\n<li><strong>Waterproof enclosure<\/strong> (for outdoor PIR sensor)<\/li>\n<li><strong>Wire strippers and soldering equipment<\/strong><\/li>\n<\/ul>\n<h2>Understanding Your Garage Door Opener<\/h2>\n<p>Most garage door openers have a wall button that simply shorts two wires together to trigger the door. You can connect a relay across these terminals to simulate a button press. The wires are low voltage (usually 12-24V DC), so it&#8217;s safe to interface with.<\/p>\n<p><strong>Important:<\/strong> Identify the correct wires before connecting. Use a multimeter to find the pair that shows continuity when the wall button is pressed.<\/p>\n<h2>Circuit Diagram<\/h2>\n<h3>Connection Table<\/h3>\n<table border=\"1\">\n<thead>\n<th>Component<\/th>\n<th>Pin<\/th>\n<th>ESP32 Pin<\/th>\n<\/thead>\n<tbody>\n<th>PIR Sensor<\/th>\n<td>VCC<\/th>\n<td>3.3V or VIN<\/td>\n<\/tr>\n<th>PIR Sensor<\/th>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<th>PIR Sensor<\/th>\n<td>OUT<\/td>\n<td>GPIO 4<\/td>\n<\/tr>\n<th>Relay Module<\/th>\n<td>VCC<\/td>\n<td>5V (if available) or VIN<\/td>\n<\/tr>\n<th>Relay Module<\/th>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<th>Relay Module<\/th>\n<td>IN<\/td>\n<td>GPIO 5<\/td>\n<\/tr>\n<th>Reed Switch<\/th>\n<td>One side<\/td>\n<td>GPIO 12 (with 10k pull-up)<\/td>\n<\/tr>\n<th>Reed Switch<\/th>\n<td>Other side<\/td>\n<td>GND<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Garage Door Opener Connection<\/h3>\n<p>Connect the relay COM and NO terminals across the garage door opener&#8217;s wall button terminals. When the relay activates, it shorts these wires, triggering the door.<\/p>\n<h2>Arduino Code<\/h2>\n<pre><code>\/\/ Automatic Garage Door Opener with PIR\n\/\/ Opens garage door when vehicle approaches\n\n#include &lt;WiFi.h&gt;\n#include &lt;ESPmDNS.h&gt;\n#include &lt;WebServer.h&gt;\n\n\/\/ Pin definitions\nconst int pirPin = 4;\nconst int relayPin = 5;\nconst int doorSensorPin = 12;\n\n\/\/ Configuration\nconst char* ssid = \"YourWiFiSSID\";\nconst char* password = \"YourWiFiPassword\";\nWebServer server(80);\n\n\/\/ Timing\nunsigned long lastTriggerTime = 0;\nconst unsigned long triggerDelay = 1000;      \/\/ 1 second after detection\nconst unsigned long relayDuration = 500;       \/\/ Hold relay for 0.5 seconds\nconst unsigned long cooldownPeriod = 30000;    \/\/ 30 seconds between triggers\n\nbool motionDetected = false;\nbool doorOpen = false;\nunsigned long motionStartTime = 0;\n\nvoid setup() {\n  Serial.begin(115200);\n  \n  pinMode(pirPin, INPUT);\n  pinMode(relayPin, OUTPUT);\n  pinMode(doorSensorPin, INPUT_PULLUP);\n  \n  digitalWrite(relayPin, LOW);\n  \n  \/\/ Connect to WiFi\n  WiFi.begin(ssid, password);\n  while (WiFi.status() != WL_CONNECTED) {\n    delay(500);\n    Serial.print(\".\");\n  }\n  Serial.println(\"WiFi connected\");\n  Serial.print(\"IP address: \");\n  Serial.println(WiFi.localIP());\n  \n  \/\/ Setup web server for manual control\n  server.on(\"\/\", handleRoot);\n  server.on(\"\/open\", handleOpen);\n  server.on(\"\/close\", handleClose);\n  server.on(\"\/status\", handleStatus);\n  server.begin();\n  \n  \/\/ Read initial door state\n  doorOpen = digitalRead(doorSensorPin) == LOW;\n  \n  Serial.println(\"Garage Door Opener Ready\");\n  Serial.println(\"Waiting 60 seconds for PIR warm-up...\");\n  delay(60000);\n}\n\nvoid handleRoot() {\n  String html = \"&lt;html&gt;&lt;head&gt;&lt;title&gt;Garage Door Control&lt;\/title&gt;\";\n  html += \"&lt;meta name='viewport' content='width=device-width'&gt;&lt;\/head&gt;&lt;body&gt;\";\n  html += \"&lt;h1&gt;Garage Door Control&lt;\/h1&gt;\";\n  html += \"&lt;p&gt;Door status: \";\n  html += doorOpen ? \"OPEN\" : \"CLOSED\";\n  html += \"&lt;\/p&gt;\";\n  html += \"&lt;p&gt;&lt;a href='\/open'&gt;&lt;button&gt;Open Door&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;\";\n  html += \"&lt;p&gt;&lt;a href='\/close'&gt;&lt;button&gt;Close Door&lt;\/button&gt;&lt;\/a&gt;&lt;\/p&gt;\";\n  html += \"&lt;\/body&gt;&lt;\/html&gt;\";\n  server.send(200, \"text\/html\", html);\n}\n\nvoid handleOpen() {\n  if (!doorOpen) {\n    triggerDoor();\n  }\n  server.sendHeader(\"Location\", \"\/\");\n  server.send(303);\n}\n\nvoid handleClose() {\n  if (doorOpen) {\n    triggerDoor();\n  }\n  server.sendHeader(\"Location\", \"\/\");\n  server.send(303);\n}\n\nvoid handleStatus() {\n  String json = \"{\\\"door\\\":\" + String(doorOpen ? \"true\" : \"false\") + \"}\";\n  server.send(200, \"application\/json\", json);\n}\n\nvoid triggerDoor() {\n  Serial.println(\"Triggering garage door\");\n  digitalWrite(relayPin, HIGH);\n  delay(relayDuration);\n  digitalWrite(relayPin, LOW);\n  \n  \/\/ Wait for door to start moving before updating state\n  delay(2000);\n  doorOpen = digitalRead(doorSensorPin) == LOW;\n  lastTriggerTime = millis();\n}\n\nvoid checkVehicleApproach() {\n  bool pirState = digitalRead(pirPin) == HIGH;\n  \n  if (pirState && !motionDetected) {\n    \/\/ Motion detected - start timer\n    motionDetected = true;\n    motionStartTime = millis();\n    Serial.println(\"Motion detected - waiting for confirmation\");\n  }\n  \n  if (motionDetected && (millis() - motionStartTime > triggerDelay)) {\n    \/\/ Confirmed motion - trigger door\n    if (!doorOpen && (millis() - lastTriggerTime > cooldownPeriod)) {\n      Serial.println(\"Vehicle approaching - opening door\");\n      triggerDoor();\n    } else {\n      Serial.println(\"Door already open or cooldown active\");\n    }\n    motionDetected = false;\n  }\n  \n  \/\/ Reset if motion stops before confirmation\n  if (motionDetected && !pirState && (millis() - motionStartTime < triggerDelay)) {\n    motionDetected = false;\n    Serial.println(\"Motion cleared - no trigger\");\n  }\n}\n\nvoid loop() {\n  server.handleClient();\n  \n  \/\/ Update door state from reed switch\n  bool newDoorState = digitalRead(doorSensorPin) == LOW;\n  if (newDoorState != doorOpen) {\n    doorOpen = newDoorState;\n    Serial.print(\"Door state changed: \");\n    Serial.println(doorOpen ? \"OPEN\" : \"CLOSED\");\n  }\n  \n  checkVehicleApproach();\n  delay(100);\n}\n<\/code><\/pre>\n<h2>ESP32 Version with Deep Sleep (Battery-Powered)<\/h2>\n<p>For a battery-powered outdoor unit:<\/p>\n<pre><code>\/\/ Battery-Powered Version with Deep Sleep\n#include &lt;esp_sleep.h&gt;\n\nconst int pirPin = 4;\nconst int relayPin = 5;\n\nRTC_DATA_ATTR unsigned long lastTriggerTime = 0;\n\nvoid setup() {\n  Serial.begin(115200);\n  pinMode(pirPin, INPUT);\n  pinMode(relayPin, OUTPUT);\n  digitalWrite(relayPin, LOW);\n  \n  esp_sleep_enable_ext0_wakeup((gpio_num_t)pirPin, 1);\n  \n  \/\/ Check if woken by PIR\n  if (esp_sleep_get_wakeup_cause() == ESP_SLEEP_WAKEUP_EXT0) {\n    if (millis() - lastTriggerTime > 30000) {\n      digitalWrite(relayPin, HIGH);\n      delay(500);\n      digitalWrite(relayPin, LOW);\n      lastTriggerTime = millis();\n    }\n  }\n  \n  esp_deep_sleep_start();\n}\n\nvoid loop() {}\n<\/code><\/pre>\n<h2>Installation Steps<\/h2>\n<ol>\n<li><strong>Test garage door wiring:<\/strong> Identify the wall button terminals on your garage door opener. Measure voltage and confirm which wires are shorted when the button is pressed.<\/li>\n<li><strong>Connect relay:<\/strong> Wire the relay COM and NO terminals across the wall button terminals. Test with a multimeter to ensure it shorts correctly.<\/li>\n<li><strong>Mount PIR sensor:<\/strong> Place sensor at driveway entrance, 1.5-2m high, angled to detect vehicle approach. Ensure it doesn't detect passing pedestrians.<\/li>\n<li><strong>Position reed switch:<\/strong> Mount reed switch on door frame and magnet on door to detect open\/closed state.<\/li>\n<li><strong>Enclose electronics:<\/strong> Place ESP32 and relay in waterproof enclosure near the garage door opener.<\/li>\n<li><strong>Power:<\/strong> Use 12V-5V converter if powering from garage door opener supply, or use separate power adapter.<\/li>\n<li><strong>Test:<\/strong> Drive vehicle toward garage and verify door opens automatically.<\/li>\n<\/ol>\n<h2>Adjusting Sensitivity<\/h2>\n<ul>\n<li>Adjust PIR sensitivity potentiometer to avoid detecting people walking by.<\/li>\n<li>Point sensor downward to focus on vehicle height.<\/li>\n<li>Add a shield to limit field of view to the driveway only.<\/li>\n<li>Adjust <code>triggerDelay<\/code> to require longer detection before triggering.<\/li>\n<\/ul>\n<h2>Project Extensions<\/h2>\n<ul>\n<li><strong>Wi-Fi dashboard:<\/strong> Add web interface to monitor door status and manually control.<\/li>\n<li><strong>Smart home integration:<\/strong> Use ESPHome to integrate with Home Assistant.<\/li>\n<li><strong>Camera integration:<\/strong> Add ESP32-CAM to capture images when door opens.<\/li>\n<li><strong>Multiple vehicles:<\/strong> Add RFID or license plate recognition for vehicle-specific control.<\/li>\n<li><strong>Timer close:<\/strong> Automatically close door after set time if left open.<\/li>\n<li><strong>Light control:<\/strong> Turn on garage lights when motion detected.<\/li>\n<\/ul>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>Door not opening:<\/strong> Check relay wiring. Use multimeter to verify relay contacts close when triggered.<\/li>\n<li><strong>False triggers:<\/strong> Adjust PIR sensitivity or reposition to avoid pedestrians and street traffic.<\/li>\n<li><strong>Door opens too late:<\/strong> Reduce <code>triggerDelay<\/code>.<\/li>\n<li><strong>Door opens when already open:<\/strong> Add door position sensor and check logic.<\/li>\n<li><strong>Wi-Fi connection issues:<\/strong> Ensure ESP32 is within range of router.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>This automatic garage door opener adds convenience and a modern touch to your home. With proper installation, it will reliably open your garage door as you arrive, eliminating the need to fumble for a remote control.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project Overview This project creates a hands-free garage door opener that detects when your car approaches and automatically opens the door. Using a PIR sensor mounted near the driveway, the system detects your vehicle&#8217;s heat signature and triggers a relay that simulates pressing the garage door opener button. Difficulty: Intermediate Estimated time: 2-3 hours Estimated [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-3913","post","type-post","status-publish","format-standard","hentry","category-projects"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\r\n<title>PIR Sensor for Garage Door Automation: Vehicle Detection - PIRHOME<\/title>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"http:\/\/www.pirhome.com\/?p=3913\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"PIR Sensor for Garage Door Automation: Vehicle Detection - PIRHOME\" \/>\r\n<meta property=\"og:description\" content=\"Project Overview This project creates a hands-free garage door opener that detects when your car approaches and automatically opens the door. Using a PIR sensor mounted near the driveway, the system detects your vehicle&#8217;s heat signature and triggers a relay that simulates pressing the garage door opener button. Difficulty: Intermediate Estimated time: 2-3 hours Estimated [&hellip;]\" \/>\r\n<meta property=\"og:url\" content=\"http:\/\/www.pirhome.com\/?p=3913\" \/>\r\n<meta property=\"og:site_name\" content=\"PIRHOME\" \/>\r\n<meta property=\"article:published_time\" content=\"2026-03-31T05:57:24+00:00\" \/>\r\n<meta name=\"author\" content=\"nic@nicsky.com\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"nic@nicsky.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3913#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3913\"},\"author\":{\"name\":\"nic@nicsky.com\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/person\\\/41049b5236f9c77c9314997d070db3e3\"},\"headline\":\"PIR Sensor for Garage Door Automation: Vehicle Detection\",\"datePublished\":\"2026-03-31T05:57:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3913\"},\"wordCount\":703,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#organization\"},\"articleSection\":[\"Projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/www.pirhome.com\\\/?p=3913#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3913\",\"url\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3913\",\"name\":\"PIR Sensor for Garage Door Automation: Vehicle Detection - PIRHOME\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#website\"},\"datePublished\":\"2026-03-31T05:57:24+00:00\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3913#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.pirhome.com\\\/?p=3913\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3913#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.pirhome.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PIR Sensor for Garage Door Automation: Vehicle Detection\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#website\",\"url\":\"http:\\\/\\\/www.pirhome.com\\\/\",\"name\":\"PIRHOME\",\"description\":\"PIR &amp; Motion Sensor\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/www.pirhome.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#organization\",\"name\":\"PIRHOME\",\"url\":\"http:\\\/\\\/www.pirhome.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.pirhome.com\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/cropped-\u5fae\u4fe1\u56fe\u7247_2026-02-19_222409_472.jpg\",\"contentUrl\":\"https:\\\/\\\/www.pirhome.com\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/cropped-\u5fae\u4fe1\u56fe\u7247_2026-02-19_222409_472.jpg\",\"width\":512,\"height\":512,\"caption\":\"PIRHOME\"},\"image\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/person\\\/41049b5236f9c77c9314997d070db3e3\",\"name\":\"nic@nicsky.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/271d4eaab48e299e4fce771a8c43c537be3ac77a3115cc7de802a6c8b692d971?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/271d4eaab48e299e4fce771a8c43c537be3ac77a3115cc7de802a6c8b692d971?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/271d4eaab48e299e4fce771a8c43c537be3ac77a3115cc7de802a6c8b692d971?s=96&d=mm&r=g\",\"caption\":\"nic@nicsky.com\"},\"sameAs\":[\"http:\\\/\\\/www.pirhome.com\"],\"url\":\"https:\\\/\\\/www.pirhome.com\\\/?author=1\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PIR Sensor for Garage Door Automation: Vehicle Detection - PIRHOME","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.pirhome.com\/?p=3913","og_locale":"en_US","og_type":"article","og_title":"PIR Sensor for Garage Door Automation: Vehicle Detection - PIRHOME","og_description":"Project Overview This project creates a hands-free garage door opener that detects when your car approaches and automatically opens the door. Using a PIR sensor mounted near the driveway, the system detects your vehicle&#8217;s heat signature and triggers a relay that simulates pressing the garage door opener button. Difficulty: Intermediate Estimated time: 2-3 hours Estimated [&hellip;]","og_url":"http:\/\/www.pirhome.com\/?p=3913","og_site_name":"PIRHOME","article_published_time":"2026-03-31T05:57:24+00:00","author":"nic@nicsky.com","twitter_card":"summary_large_image","twitter_misc":{"Written by":"nic@nicsky.com","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.pirhome.com\/?p=3913#article","isPartOf":{"@id":"http:\/\/www.pirhome.com\/?p=3913"},"author":{"name":"nic@nicsky.com","@id":"http:\/\/www.pirhome.com\/#\/schema\/person\/41049b5236f9c77c9314997d070db3e3"},"headline":"PIR Sensor for Garage Door Automation: Vehicle Detection","datePublished":"2026-03-31T05:57:24+00:00","mainEntityOfPage":{"@id":"http:\/\/www.pirhome.com\/?p=3913"},"wordCount":703,"commentCount":0,"publisher":{"@id":"http:\/\/www.pirhome.com\/#organization"},"articleSection":["Projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.pirhome.com\/?p=3913#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.pirhome.com\/?p=3913","url":"http:\/\/www.pirhome.com\/?p=3913","name":"PIR Sensor for Garage Door Automation: Vehicle Detection - PIRHOME","isPartOf":{"@id":"http:\/\/www.pirhome.com\/#website"},"datePublished":"2026-03-31T05:57:24+00:00","breadcrumb":{"@id":"http:\/\/www.pirhome.com\/?p=3913#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.pirhome.com\/?p=3913"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.pirhome.com\/?p=3913#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.pirhome.com\/"},{"@type":"ListItem","position":2,"name":"PIR Sensor for Garage Door Automation: Vehicle Detection"}]},{"@type":"WebSite","@id":"http:\/\/www.pirhome.com\/#website","url":"http:\/\/www.pirhome.com\/","name":"PIRHOME","description":"PIR &amp; Motion Sensor","publisher":{"@id":"http:\/\/www.pirhome.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.pirhome.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/www.pirhome.com\/#organization","name":"PIRHOME","url":"http:\/\/www.pirhome.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.pirhome.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.pirhome.com\/wp-content\/uploads\/2026\/02\/cropped-\u5fae\u4fe1\u56fe\u7247_2026-02-19_222409_472.jpg","contentUrl":"https:\/\/www.pirhome.com\/wp-content\/uploads\/2026\/02\/cropped-\u5fae\u4fe1\u56fe\u7247_2026-02-19_222409_472.jpg","width":512,"height":512,"caption":"PIRHOME"},"image":{"@id":"http:\/\/www.pirhome.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"http:\/\/www.pirhome.com\/#\/schema\/person\/41049b5236f9c77c9314997d070db3e3","name":"nic@nicsky.com","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/271d4eaab48e299e4fce771a8c43c537be3ac77a3115cc7de802a6c8b692d971?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/271d4eaab48e299e4fce771a8c43c537be3ac77a3115cc7de802a6c8b692d971?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/271d4eaab48e299e4fce771a8c43c537be3ac77a3115cc7de802a6c8b692d971?s=96&d=mm&r=g","caption":"nic@nicsky.com"},"sameAs":["http:\/\/www.pirhome.com"],"url":"https:\/\/www.pirhome.com\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3913"}],"version-history":[{"count":1,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3913\/revisions"}],"predecessor-version":[{"id":4042,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3913\/revisions\/4042"}],"wp:attachment":[{"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}