{"id":3910,"date":"2026-03-31T18:00:00","date_gmt":"2026-03-31T18:00:00","guid":{"rendered":"https:\/\/pirhome.com\/?p=3909"},"modified":"2026-03-31T18:00:00","modified_gmt":"2026-03-31T18:00:00","slug":"automatic-plant-watering-pir","status":"publish","type":"post","link":"https:\/\/www.pirhome.com\/?p=3910","title":{"rendered":"Automatic Plant Watering System with PIR Sensor"},"content":{"rendered":"<h2>Project Overview<\/h2>\n<p>This project creates a smart plant watering system that reminds you to water your plants when motion is detected nearby, or automatically waters based on soil moisture. It&#8217;s perfect for indoor plants that are easily forgotten.<\/p>\n<p><strong>Difficulty:<\/strong> Beginner\/Intermediate<br \/>\n<strong>Estimated time:<\/strong> 2-3 hours<br \/>\n<strong>Estimated cost:<\/strong> $20-30<\/p>\n<h2>How It Works<\/h2>\n<p>A PIR sensor detects when someone approaches the plant. When motion is detected, a soil moisture sensor checks if watering is needed. If the soil is dry, a water pump is activated for a set duration. An LCD or LED indicates the plant&#8217;s status. Optionally, the system can water automatically on a schedule regardless of motion.<\/p>\n<h2>Materials Needed<\/h2>\n<ul>\n<li><strong>Arduino Uno<\/strong> or <strong>ESP32<\/strong> (1)<\/li>\n<li><strong>HC-SR501 PIR sensor<\/strong> (1)<\/li>\n<li><strong>Soil moisture sensor<\/strong> (capacitive type recommended)<\/li>\n<li><strong>Submersible water pump<\/strong> (5V, small)<\/li>\n<li><strong>MOSFET or relay module<\/strong> (to control pump)<\/li>\n<li><strong>Water reservoir<\/strong> (container for water)<\/li>\n<li><strong>Plastic tubing<\/strong> (for water delivery)<\/li>\n<li><strong>LCD 16&#215;2 with I2C<\/strong> (optional)<\/li>\n<li><strong>Buzzer<\/strong> (for reminder alerts, optional)<\/li>\n<li><strong>LED<\/strong> (for status indication)<\/li>\n<li><strong>Resistors<\/strong> (220\u03a9, 10k)<\/li>\n<li><strong>Jumper wires<\/strong><\/li>\n<li><strong>Power supply<\/strong> (5V 2A)<\/li>\n<\/ul>\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>Arduino Pin<\/th>\n<\/thead>\n<tbody>\n<th>PIR Sensor<\/th>\n<td>VCC<\/td>\n<td>5V<\/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>Digital Pin 2<\/td>\n<\/tr>\n<th>Soil Moisture Sensor<\/th>\n<td>VCC<\/td>\n<td>5V<\/td>\n<\/tr>\n<th>Soil Moisture Sensor<\/th>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<th>Soil Moisture Sensor<\/th>\n<td>AO (analog)<\/td>\n<td>Analog Pin A0<\/td>\n<\/tr>\n<th>Relay Module<\/th>\n<td>VCC<\/td>\n<td>5V<\/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>Digital Pin 3<\/td>\n<\/tr>\n<th>LCD (I2C)<\/th>\n<td>VCC<\/td>\n<td>5V<\/td>\n<\/tr>\n<th>LCD (I2C)<\/th>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<th>LCD (I2C)<\/th>\n<td>SDA<\/td>\n<td>A4 (SDA)<\/td>\n<\/tr>\n<th>LCD (I2C)<\/th>\n<td>SCL<\/td>\n<td>A5 (SCL)<\/td>\n<\/tr>\n<th>Buzzer<\/th>\n<td>Positive<\/td>\n<td>Digital Pin 8<\/td>\n<\/tr>\n<th>Buzzer<\/th>\n<td>Negative<\/td>\n<td>GND<\/td>\n<\/tr>\n<th>Status LED<\/th>\n<td>Anode<\/td>\n<td>Digital Pin 13 (through 220\u03a9)<\/td>\n<\/tr>\n<th>Status LED<\/th>\n<td>Cathode<\/td>\n<td>GND<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Arduino Code<\/h2>\n<pre><code>\/\/ Automatic Plant Watering with PIR\n\/\/ Waters plants when motion detected and soil is dry\n\n#include &lt;Wire.h&gt;\n#include &lt;LiquidCrystal_I2C.h&gt;\n\nLiquidCrystal_I2C lcd(0x27, 16, 2);\n\nconst int pirPin = 2;\nconst int pumpPin = 3;\nconst int moisturePin = A0;\nconst int buzzerPin = 8;\nconst int ledPin = 13;\n\n\/\/ Thresholds\nconst int dryThreshold = 500;   \/\/ Soil dry below this value (adjust based on sensor)\nconst int wetThreshold = 800;    \/\/ Soil wet above this value\n\n\/\/ Timing\nunsigned long lastMotionTime = 0;\nconst unsigned long cooldownPeriod = 3600000; \/\/ 1 hour between waterings\nbool wateredRecently = false;\n\nvoid setup() {\n  Serial.begin(9600);\n  \n  pinMode(pirPin, INPUT);\n  pinMode(pumpPin, OUTPUT);\n  pinMode(buzzerPin, OUTPUT);\n  pinMode(ledPin, OUTPUT);\n  \n  digitalWrite(pumpPin, LOW);\n  digitalWrite(ledPin, LOW);\n  \n  lcd.init();\n  lcd.backlight();\n  lcd.setCursor(0, 0);\n  lcd.print(\"Plant Watering\");\n  lcd.setCursor(0, 1);\n  lcd.print(\"System Ready\");\n  \n  Serial.println(\"Plant Watering System Ready\");\n  delay(2000);\n  \n  Serial.println(\"Waiting 60 seconds for PIR warm-up...\");\n  lcd.clear();\n  lcd.setCursor(0, 0);\n  lcd.print(\"PIR warm-up...\");\n  lcd.setCursor(0, 1);\n  lcd.print(\"60 seconds\");\n  delay(60000);\n}\n\nint readMoisture() {\n  int value = analogRead(moisturePin);\n  Serial.print(\"Soil moisture: \");\n  Serial.println(value);\n  return value;\n}\n\nbool needsWater() {\n  int moisture = readMoisture();\n  return moisture < dryThreshold;\n}\n\nvoid waterPlant() {\n  Serial.println(\"Watering plant...\");\n  lcd.clear();\n  lcd.setCursor(0, 0);\n  lcd.print(\"Watering...\");\n  \n  \/\/ Beep before watering\n  digitalWrite(buzzerPin, HIGH);\n  delay(200);\n  digitalWrite(buzzerPin, LOW);\n  \n  \/\/ Turn on pump\n  digitalWrite(pumpPin, HIGH);\n  digitalWrite(ledPin, HIGH);\n  \n  \/\/ Water for 5 seconds (adjust based on your setup)\n  delay(5000);\n  \n  \/\/ Turn off pump\n  digitalWrite(pumpPin, LOW);\n  digitalWrite(ledPin, LOW);\n  \n  \/\/ Beep after watering\n  digitalWrite(buzzerPin, HIGH);\n  delay(200);\n  digitalWrite(buzzerPin, LOW);\n  delay(200);\n  digitalWrite(buzzerPin, HIGH);\n  delay(200);\n  digitalWrite(buzzerPin, LOW);\n  \n  wateredRecently = true;\n  lastMotionTime = millis();\n  \n  Serial.println(\"Watering complete\");\n}\n\nvoid checkAndWater() {\n  if (needsWater()) {\n    if (!wateredRecently || (millis() - lastMotionTime > cooldownPeriod)) {\n      waterPlant();\n    } else {\n      Serial.println(\"Plant needs water but cooldown active\");\n      lcd.clear();\n      lcd.setCursor(0, 0);\n      lcd.print(\"Needs water!\");\n      lcd.setCursor(0, 1);\n      lcd.print(\"Cooldown active\");\n      \/\/ Brief beep as reminder\n      digitalWrite(buzzerPin, HIGH);\n      delay(100);\n      digitalWrite(buzzerPin, LOW);\n      delay(100);\n    }\n  } else {\n    Serial.println(\"Soil moisture OK\");\n    lcd.clear();\n    lcd.setCursor(0, 0);\n    lcd.print(\"Soil Moisture OK\");\n    lcd.setCursor(0, 1);\n    lcd.print(\"Plant is happy!\");\n  }\n}\n\nvoid displayStatus() {\n  int moisture = readMoisture();\n  lcd.clear();\n  lcd.setCursor(0, 0);\n  lcd.print(\"Moisture: \");\n  lcd.print(moisture);\n  lcd.setCursor(0, 1);\n  if (moisture < dryThreshold) {\n    lcd.print(\"DRY - Water soon!\");\n  } else if (moisture < wetThreshold) {\n    lcd.print(\"OK\");\n  } else {\n    lcd.print(\"WET\");\n  }\n}\n\nvoid loop() {\n  bool motionDetected = digitalRead(pirPin) == HIGH;\n  \n  if (motionDetected) {\n    Serial.println(\"Motion detected\");\n    digitalWrite(ledPin, HIGH);\n    delay(500);\n    digitalWrite(ledPin, LOW);\n    \n    checkAndWater();\n  } else {\n    \/\/ Optional: display status periodically even without motion\n    static unsigned long lastDisplay = 0;\n    if (millis() - lastDisplay > 10000) { \/\/ Every 10 seconds\n      displayStatus();\n      lastDisplay = millis();\n    }\n  }\n  \n  delay(100);\n}\n<\/code><\/pre>\n<h2>Soil Moisture Sensor Calibration<\/h2>\n<ol>\n<li>Insert sensor into dry soil and note the analog reading (usually 300-500).<\/li>\n<li>Water the plant thoroughly and note reading when soil is fully saturated (usually 800-1000).<\/li>\n<li>Set <code>dryThreshold<\/code> to about 100-200 points above the dry reading (e.g., if dry reading is 300, set threshold to 500).<\/li>\n<li>Set <code>wetThreshold<\/code> to the saturated reading minus 100-200.<\/li>\n<\/ol>\n<h2>Water Pump Assembly<\/h2>\n<ol>\n<li>Place the submersible pump in the water reservoir.<\/li>\n<li>Connect tubing from pump outlet to plant soil.<\/li>\n<li>Secure tubing near plant base.<\/li>\n<li>Ensure reservoir has enough water for multiple watering cycles.<\/li>\n<li>Consider adding a water level sensor to detect when reservoir is empty.<\/li>\n<\/ol>\n<h2>Installation Steps<\/h2>\n<ol>\n<li><strong>Assemble electronics:<\/strong> Build circuit on breadboard and test.<\/li>\n<li><strong>Calibrate soil sensor:<\/strong> Test in dry and wet soil to set thresholds.<\/li>\n<li><strong>Test pump:<\/strong> Verify pump moves water properly.<\/li>\n<li><strong>Place sensors:<\/strong> Insert soil moisture sensor into plant pot, mount PIR sensor to detect approach.<\/li>\n<li><strong>Mount Arduino:<\/strong> Place Arduino and power supply in safe location away from water.<\/li>\n<li><strong>Final test:<\/strong> Trigger PIR and verify watering occurs when soil is dry.<\/li>\n<\/ol>\n<h2>Project Extensions<\/h2>\n<ul>\n<li><strong>Water level sensor:<\/strong> Add float switch or ultrasonic sensor to detect when reservoir is low and alert you.<\/li>\n<li><strong>Multiple plants:<\/strong> Add additional soil sensors and solenoid valves for multi-plant watering.<\/li>\n<li><strong>Wi-Fi monitoring:<\/strong> Use ESP32 to send soil moisture data to phone.<\/li>\n<li><strong>Rain sensor:<\/strong> Add rain sensor for outdoor plants to prevent watering in rain.<\/li>\n<li><strong>Temperature sensor:<\/strong> Adjust watering schedule based on temperature.<\/li>\n<li><strong>Fertilizer dosing:<\/strong> Add second pump for liquid fertilizer.<\/li>\n<\/ul>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>Pump not running:<\/strong> Check relay wiring. Ensure power supply can handle pump current (pumps can draw 200-500mA).<\/li>\n<li><strong>Inaccurate soil readings:<\/strong> Capacitive sensors are more reliable than resistive types (resistive sensors corrode over time).<\/li>\n<li><strong>PIR false triggers:<\/strong> Adjust sensitivity or position away from windows and heat sources.<\/li>\n<li><strong>Water not reaching plant:<\/strong> Check tubing for kinks. Ensure pump is fully submerged.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>This smart plant watering system takes the guesswork out of plant care. It reminds you to water when you&#8217;re near the plant and only waters when needed, preventing both under-watering and over-watering.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project Overview This project creates a smart plant watering system that reminds you to water your plants when motion is detected nearby, or automatically waters based on soil moisture. It&#8217;s perfect for indoor plants that are easily forgotten. Difficulty: Beginner\/Intermediate Estimated time: 2-3 hours Estimated cost: $20-30 How It Works A PIR sensor detects when [&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-3910","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>Automatic Plant Watering System with PIR Sensor - 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=3910\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Automatic Plant Watering System with PIR Sensor - PIRHOME\" \/>\r\n<meta property=\"og:description\" content=\"Project Overview This project creates a smart plant watering system that reminds you to water your plants when motion is detected nearby, or automatically waters based on soil moisture. It&#8217;s perfect for indoor plants that are easily forgotten. Difficulty: Beginner\/Intermediate Estimated time: 2-3 hours Estimated cost: $20-30 How It Works A PIR sensor detects when [&hellip;]\" \/>\r\n<meta property=\"og:url\" content=\"http:\/\/www.pirhome.com\/?p=3910\" \/>\r\n<meta property=\"og:site_name\" content=\"PIRHOME\" \/>\r\n<meta property=\"article:published_time\" content=\"2026-03-31T18:00:00+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=\"5 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=3910#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3910\"},\"author\":{\"name\":\"nic@nicsky.com\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/person\\\/41049b5236f9c77c9314997d070db3e3\"},\"headline\":\"Automatic Plant Watering System with PIR Sensor\",\"datePublished\":\"2026-03-31T18:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3910\"},\"wordCount\":602,\"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=3910#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3910\",\"url\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3910\",\"name\":\"Automatic Plant Watering System with PIR Sensor - PIRHOME\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#website\"},\"datePublished\":\"2026-03-31T18:00:00+00:00\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3910#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.pirhome.com\\\/?p=3910\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3910#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.pirhome.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Automatic Plant Watering System with PIR Sensor\"}]},{\"@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":"Automatic Plant Watering System with PIR Sensor - 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=3910","og_locale":"en_US","og_type":"article","og_title":"Automatic Plant Watering System with PIR Sensor - PIRHOME","og_description":"Project Overview This project creates a smart plant watering system that reminds you to water your plants when motion is detected nearby, or automatically waters based on soil moisture. It&#8217;s perfect for indoor plants that are easily forgotten. Difficulty: Beginner\/Intermediate Estimated time: 2-3 hours Estimated cost: $20-30 How It Works A PIR sensor detects when [&hellip;]","og_url":"http:\/\/www.pirhome.com\/?p=3910","og_site_name":"PIRHOME","article_published_time":"2026-03-31T18:00:00+00:00","author":"nic@nicsky.com","twitter_card":"summary_large_image","twitter_misc":{"Written by":"nic@nicsky.com","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.pirhome.com\/?p=3910#article","isPartOf":{"@id":"http:\/\/www.pirhome.com\/?p=3910"},"author":{"name":"nic@nicsky.com","@id":"http:\/\/www.pirhome.com\/#\/schema\/person\/41049b5236f9c77c9314997d070db3e3"},"headline":"Automatic Plant Watering System with PIR Sensor","datePublished":"2026-03-31T18:00:00+00:00","mainEntityOfPage":{"@id":"http:\/\/www.pirhome.com\/?p=3910"},"wordCount":602,"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=3910#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.pirhome.com\/?p=3910","url":"http:\/\/www.pirhome.com\/?p=3910","name":"Automatic Plant Watering System with PIR Sensor - PIRHOME","isPartOf":{"@id":"http:\/\/www.pirhome.com\/#website"},"datePublished":"2026-03-31T18:00:00+00:00","breadcrumb":{"@id":"http:\/\/www.pirhome.com\/?p=3910#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.pirhome.com\/?p=3910"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.pirhome.com\/?p=3910#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.pirhome.com\/"},{"@type":"ListItem","position":2,"name":"Automatic Plant Watering System with PIR Sensor"}]},{"@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\/3910","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=3910"}],"version-history":[{"count":1,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3910\/revisions"}],"predecessor-version":[{"id":4070,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3910\/revisions\/4070"}],"wp:attachment":[{"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}