{"id":3929,"date":"2026-03-31T01:57:23","date_gmt":"2026-03-31T05:57:23","guid":{"rendered":"https:\/\/pirhome.com\/?p=3925"},"modified":"2026-03-31T01:57:23","modified_gmt":"2026-03-31T05:57:23","slug":"pir-shed-security-email-alerts","status":"publish","type":"post","link":"https:\/\/www.pirhome.com\/?p=3929","title":{"rendered":"PIR Sensor for Shed Security with Email Alerts"},"content":{"rendered":"<h2>Project Overview<\/h2>\n<p>This project creates a simple but effective security system for your shed, garage, or workshop. When motion is detected, the system sends an email alert to your phone or computer. It can also trigger a siren or flash lights as a deterrent.<\/p>\n<p><strong>Difficulty:<\/strong> Intermediate<br \/>\n<strong>Estimated time:<\/strong> 2 hours<br \/>\n<strong>Estimated cost:<\/strong> $25-35<\/p>\n<h2>How It Works<\/h2>\n<p>A PIR sensor monitors the shed interior. When motion is detected, the ESP32 sends an email via SMTP to your email address. An optional siren and strobe light can also be activated. The system includes a cooldown timer to prevent multiple emails for the same event.<\/p>\n<h2>Materials Needed<\/h2>\n<ul>\n<li><strong>ESP32<\/strong> (1)<\/li>\n<li><strong>HC-SR501 PIR sensor<\/strong> (1)<\/li>\n<li><strong>Buzzer or siren<\/strong> (optional)<\/li>\n<li><strong>LED or strobe light<\/strong> (optional)<\/li>\n<li><strong>Relay module<\/strong> (for siren\/light)<\/li>\n<li><strong>Power supply<\/strong> (5V 2A) or battery with solar charger<\/li>\n<li><strong>Weatherproof enclosure<\/strong><\/li>\n<li><strong>Jumper wires<\/strong><\/li>\n<\/ul>\n<h2>Email Setup (Gmail)<\/h2>\n<p>For Gmail, you need an App Password (regular password won&#8217;t work):<\/p>\n<ol>\n<li>Enable 2-factor authentication on your Google account.<\/li>\n<li>Go to Security \u2192 App Passwords.<\/li>\n<li>Select &#8220;Mail&#8221; and &#8220;Other&#8221; (name it &#8220;ESP32 Security&#8221;).<\/li>\n<li>Copy the 16-character password.<\/li>\n<\/ol>\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<\/th>\n<th>PIR Sensor<\/th>\n<td>GND<\/th>\n<td>GND<\/th>\n<th>PIR Sensor<\/th>\n<td>OUT<\/th>\n<td>GPIO 4<\/th>\n<th>Relay (Siren)<\/th>\n<td>IN<\/th>\n<td>GPIO 5<\/th>\n<th>Status LED<\/th>\n<td>Anode<\/th>\n<td>GPIO 2<\/th>\n<\/tbody>\n<p>\u8868<\/p>\n<h2>Arduino Code<\/h2>\n<pre><code>\/\/ Shed Security with Email Alerts\n#include &lt;WiFi.h&gt;\n#include &lt;ESP_Mail_Client.h&gt;\n\n\/\/ Wi-Fi credentials\nconst char* ssid = \"YourWiFiSSID\";\nconst char* password = \"YourWiFiPassword\";\n\n\/\/ Email credentials\nconst char* smtp_server = \"smtp.gmail.com\";\nconst int smtp_port = 587;\nconst char* sender_email = \"your_email@gmail.com\";\nconst char* sender_password = \"your_app_password\";\nconst char* recipient_email = \"recipient@example.com\";\n\nconst int pirPin = 4;\nconst int sirenPin = 5;\nconst int ledPin = 2;\n\nunsigned long lastAlertTime = 0;\nconst unsigned long alertCooldown = 600000; \/\/ 10 minutes between emails\nbool alertActive = false;\n\nvoid setup() {\n  Serial.begin(115200);\n  \n  pinMode(pirPin, INPUT);\n  pinMode(sirenPin, OUTPUT);\n  pinMode(ledPin, OUTPUT);\n  \n  digitalWrite(sirenPin, LOW);\n  digitalWrite(ledPin, LOW);\n  \n  WiFi.begin(ssid, password);\n  while (WiFi.status() != WL_CONNECTED) {\n    delay(500);\n    Serial.print(\".\");\n  }\n  Serial.println(\"WiFi connected\");\n  \n  Serial.println(\"Shed Security Ready\");\n  delay(60000); \/\/ PIR warm-up\n}\n\nvoid sendEmailAlert() {\n  if (WiFi.status() != WL_CONNECTED) return;\n  \n  ESP_Mail_Session session;\n  session.server.host_name = smtp_server;\n  session.server.port = smtp_port;\n  session.login.email = sender_email;\n  session.login.password = sender_password;\n  session.login.user_domain = \"\";\n  \n  SMTP_Message message;\n  message.sender.name = \"Shed Security\";\n  message.sender.email = sender_email;\n  message.subject = \"SECURITY ALERT: Motion Detected in Shed\";\n  message.addRecipient(\"Recipient\", recipient_email);\n  \n  String textMsg = \"Motion was detected in your shed at \" + String(millis()) + \"ms.\\n\\n\";\n  textMsg += \"Please check the property immediately.\\n\";\n  textMsg += \"This alert was generated by your ESP32 security system.\";\n  message.text.content = textMsg.c_str();\n  message.text.charSet = \"us-ascii\";\n  message.text.transfer_encoding = Content_Transfer_Encoding::enc_7bit;\n  \n  if (!MailClient.sendMail(&session, &message)) {\n    Serial.println(\"Email send failed\");\n  } else {\n    Serial.println(\"Email alert sent\");\n  }\n}\n\nvoid activateAlarm() {\n  alertActive = true;\n  digitalWrite(ledPin, HIGH);\n  \n  \/\/ Sound siren for 5 seconds\n  digitalWrite(sirenPin, HIGH);\n  delay(5000);\n  digitalWrite(sirenPin, LOW);\n  \n  digitalWrite(ledPin, LOW);\n  alertActive = false;\n}\n\nvoid loop() {\n  bool motion = digitalRead(pirPin) == HIGH;\n  \n  if (motion && (millis() - lastAlertTime > alertCooldown)) {\n    lastAlertTime = millis();\n    Serial.println(\"Motion detected! Sending alert...\");\n    \n    \/\/ Send email\n    sendEmailAlert();\n    \n    \/\/ Activate local alarm\n    activateAlarm();\n    \n    delay(5000);\n  }\n  \n  delay(100);\n}\n<\/code><\/pre>\n<h2>Battery-Powered Version with Deep Sleep<\/h2>\n<pre><code>#include &lt;esp_sleep.h&gt;\n\nRTC_DATA_ATTR unsigned long lastAlertTime = 0;\n\nvoid setup() {\n  Serial.begin(115200);\n  pinMode(pirPin, INPUT);\n  pinMode(ledPin, OUTPUT);\n  \n  esp_sleep_enable_ext0_wakeup((gpio_num_t)pirPin, 1);\n  \n  if (esp_sleep_get_wakeup_cause() == ESP_SLEEP_WAKEUP_EXT0) {\n    if (millis() - lastAlertTime > alertCooldown) {\n      lastAlertTime = millis();\n      \n      \/\/ Connect to WiFi and send email\n      WiFi.begin(ssid, password);\n      int attempts = 0;\n      while (WiFi.status() != WL_CONNECTED && attempts < 20) {\n        delay(500);\n        attempts++;\n      }\n      if (WiFi.status() == WL_CONNECTED) {\n        sendEmailAlert();\n        WiFi.disconnect();\n      }\n      \n      \/\/ Flash LED\n      for (int i = 0; i < 10; i++) {\n        digitalWrite(ledPin, HIGH);\n        delay(200);\n        digitalWrite(ledPin, LOW);\n        delay(200);\n      }\n    }\n  }\n  \n  esp_deep_sleep_start();\n}\n<\/code><\/pre>\n<h2>Solar Power for Remote Shed<\/h2>\n<p>For sheds without power, add solar charging:<\/p>\n<ul>\n<li>5V solar panel (5-10W)<\/li>\n<li>TP4056 charging module<\/li>\n<li>18650 lithium battery (3000-5000mAh)<\/li>\n<li>Low-dropout regulator (MCP1700)<\/li>\n<\/ul>\n<h2>Installation Steps<\/h2>\n<ol>\n<li><strong>Assemble circuit:<\/strong> Test with USB power first.<\/li>\n<li><strong>Configure email:<\/strong> Set up Gmail App Password.<\/li>\n<li><strong>Update code:<\/strong> Enter Wi-Fi credentials and email info.<\/li>\n<li><strong>Upload to ESP32:<\/strong> Test with hand motion, verify email received.<\/li>\n<li><strong>Mount PIR sensor:<\/strong> Place in shed corner at 2m height, covering entrance.<\/li>\n<li><strong>Enclose electronics:<\/strong> Place ESP32 and relay in weatherproof box.<\/li>\n<li><strong>Power up:<\/strong> Connect to shed power or solar\/battery.<\/li>\n<li><strong>Final test:<\/strong> Enter shed and check email alert.<\/li>\n<\/ol>\n<h2>Project Extensions<\/h2>\n<ul>\n<li><strong>Camera capture:<\/strong> Add ESP32-CAM to capture and email images.<\/li>\n<li><strong>SMS alerts:<\/strong> Add GSM module for cellular alerts.<\/li>\n<li><strong>Multiple sensors:<\/strong> Add door\/window contact sensors.<\/li>\n<li><strong>Dashboard:<\/strong> Create simple web page to view alert history.<\/li>\n<li><strong>Home Assistant:<\/strong> Integrate via MQTT for central monitoring.<\/li>\n<\/ul>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>No email received:<\/strong> Check Gmail App Password. Ensure SMTP settings correct.<\/li>\n<li><strong>Wi-Fi not connecting:<\/strong> Check credentials. ESP32 may need external antenna for shed location.<\/li>\n<li><strong>False triggers:<\/strong> Adjust PIR sensitivity. Ensure sensor not facing window.<\/li>\n<li><strong>Battery drains quickly:<\/strong> Use deep sleep mode. Reduce Wi-Fi connection time.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>This shed security system provides peace of mind by alerting you immediately when someone enters. With email alerts, you can respond quickly even when away from home.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project Overview This project creates a simple but effective security system for your shed, garage, or workshop. When motion is detected, the system sends an email alert to your phone or computer. It can also trigger a siren or flash lights as a deterrent. Difficulty: Intermediate Estimated time: 2 hours Estimated cost: $25-35 How It [&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-3929","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 Shed Security with Email Alerts - 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=3929\" \/>\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 Shed Security with Email Alerts - PIRHOME\" \/>\r\n<meta property=\"og:description\" content=\"Project Overview This project creates a simple but effective security system for your shed, garage, or workshop. When motion is detected, the system sends an email alert to your phone or computer. It can also trigger a siren or flash lights as a deterrent. Difficulty: Intermediate Estimated time: 2 hours Estimated cost: $25-35 How It [&hellip;]\" \/>\r\n<meta property=\"og:url\" content=\"http:\/\/www.pirhome.com\/?p=3929\" \/>\r\n<meta property=\"og:site_name\" content=\"PIRHOME\" \/>\r\n<meta property=\"article:published_time\" content=\"2026-03-31T05:57:23+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=\"4 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=3929#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3929\"},\"author\":{\"name\":\"nic@nicsky.com\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/person\\\/41049b5236f9c77c9314997d070db3e3\"},\"headline\":\"PIR Sensor for Shed Security with Email Alerts\",\"datePublished\":\"2026-03-31T05:57:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3929\"},\"wordCount\":432,\"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=3929#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3929\",\"url\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3929\",\"name\":\"PIR Sensor for Shed Security with Email Alerts - PIRHOME\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/#website\"},\"datePublished\":\"2026-03-31T05:57:23+00:00\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3929#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.pirhome.com\\\/?p=3929\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3929#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.pirhome.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PIR Sensor for Shed Security with Email Alerts\"}]},{\"@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 Shed Security with Email Alerts - 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=3929","og_locale":"en_US","og_type":"article","og_title":"PIR Sensor for Shed Security with Email Alerts - PIRHOME","og_description":"Project Overview This project creates a simple but effective security system for your shed, garage, or workshop. When motion is detected, the system sends an email alert to your phone or computer. It can also trigger a siren or flash lights as a deterrent. Difficulty: Intermediate Estimated time: 2 hours Estimated cost: $25-35 How It [&hellip;]","og_url":"http:\/\/www.pirhome.com\/?p=3929","og_site_name":"PIRHOME","article_published_time":"2026-03-31T05:57:23+00:00","author":"nic@nicsky.com","twitter_card":"summary_large_image","twitter_misc":{"Written by":"nic@nicsky.com","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.pirhome.com\/?p=3929#article","isPartOf":{"@id":"http:\/\/www.pirhome.com\/?p=3929"},"author":{"name":"nic@nicsky.com","@id":"http:\/\/www.pirhome.com\/#\/schema\/person\/41049b5236f9c77c9314997d070db3e3"},"headline":"PIR Sensor for Shed Security with Email Alerts","datePublished":"2026-03-31T05:57:23+00:00","mainEntityOfPage":{"@id":"http:\/\/www.pirhome.com\/?p=3929"},"wordCount":432,"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=3929#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.pirhome.com\/?p=3929","url":"http:\/\/www.pirhome.com\/?p=3929","name":"PIR Sensor for Shed Security with Email Alerts - PIRHOME","isPartOf":{"@id":"http:\/\/www.pirhome.com\/#website"},"datePublished":"2026-03-31T05:57:23+00:00","breadcrumb":{"@id":"http:\/\/www.pirhome.com\/?p=3929#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.pirhome.com\/?p=3929"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.pirhome.com\/?p=3929#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.pirhome.com\/"},{"@type":"ListItem","position":2,"name":"PIR Sensor for Shed Security with Email Alerts"}]},{"@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\/3929","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=3929"}],"version-history":[{"count":1,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3929\/revisions"}],"predecessor-version":[{"id":4028,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3929\/revisions\/4028"}],"wp:attachment":[{"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}