{"id":3921,"date":"2026-03-31T01:57:24","date_gmt":"2026-03-31T05:57:24","guid":{"rendered":"https:\/\/pirhome.com\/?p=3917"},"modified":"2026-03-31T01:57:24","modified_gmt":"2026-03-31T05:57:24","slug":"pir-gesture-light-switch","status":"publish","type":"post","link":"http:\/\/www.pirhome.com\/?p=3921","title":{"rendered":"PIR Sensor for Drawer\/Light Switch: Gesture-Controlled Lighting"},"content":{"rendered":"<h2>Project Overview<\/h2>\n<p>This project creates a gesture-controlled light switch that turns lights on and off with a simple hand wave. Using a PIR sensor, the system detects motion and toggles a relay that controls the light. A short wave turns the light on, and another wave turns it off. It&#8217;s perfect for situations where your hands are dirty or full.<\/p>\n<p><strong>Difficulty:<\/strong> Beginner<br \/>\n<strong>Estimated time:<\/strong> 1-2 hours<br \/>\n<strong>Estimated cost:<\/strong> $15-25<\/p>\n<h2>How It Works<\/h2>\n<p>A PIR sensor detects hand movement within a short range (10-30cm). Each time motion is detected, the Arduino toggles a relay that controls the light. The system includes a status LED to indicate the current state and a timeout to prevent rapid toggling (debounce).<\/p>\n<p>Unlike traditional motion-sensing lights that turn on and then off automatically, this system maintains the state until another gesture is detected, giving you full control.<\/p>\n<h2>Materials Needed<\/h2>\n<ul>\n<li><strong>Arduino Nano<\/strong> or <strong>Arduino Uno<\/strong> (1)<\/li>\n<li><strong>HC-SR501 PIR sensor<\/strong> (1) \u2013 with sensitivity set to minimum range<\/li>\n<li><strong>Relay module<\/strong> (5V, single channel)<\/li>\n<li><strong>LED<\/strong> (for status indication)<\/li>\n<li><strong>Resistor<\/strong> (220\u03a9 for LED)<\/li>\n<li><strong>Jumper wires<\/strong><\/li>\n<li><strong>Power supply<\/strong> (5V 1A)<\/li>\n<li><strong>Project enclosure<\/strong><\/li>\n<li><strong>Optional: AC power cord and outlet<\/strong> (for controlling a lamp)<\/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<\/th>\n<td>5V<\/th>\n<\/tr>\n<th>PIR Sensor<\/th>\n<td>GND<\/th>\n<td>GND<\/th>\n<\/tr>\n<th>PIR Sensor<\/th>\n<td>OUT<\/th>\n<td>Digital Pin 2<\/th>\n<\/tr>\n<th>Relay Module<\/th>\n<td>VCC<\/th>\n<td>5V<\/th>\n<\/tr>\n<th>Relay Module<\/th>\n<td>GND<\/th>\n<td>GND<\/th>\n<\/tr>\n<th>Relay Module<\/th>\n<td>IN<\/th>\n<td>Digital Pin 3<\/th>\n<\/tr>\n<th>Status LED<\/th>\n<td>Anode<\/th>\n<td>Digital Pin 13 (through 220\u03a9)<\/th>\n<\/tr>\n<th>Status LED<\/th>\n<td>Cathode<\/th>\n<td>GND<\/th>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>PIR Sensor Adjustment<\/h2>\n<p>For gesture control, you want very short range (10-30cm):<\/p>\n<ul>\n<li>Turn sensitivity potentiometer fully counter-clockwise (minimum range).<\/li>\n<li>Set time delay to minimum (fully counter-clockwise).<\/li>\n<li>Set jumper to non-repeatable mode (L) for single triggers.<\/li>\n<\/ul>\n<h2>Arduino Code<\/h2>\n<pre><code>\/\/ Gesture-Controlled Light Switch\n\/\/ Wave hand to toggle light on\/off\n\nconst int pirPin = 2;\nconst int relayPin = 3;\nconst int ledPin = 13;\n\nbool lightState = false;\nunsigned long lastTriggerTime = 0;\nconst unsigned long debounceDelay = 1000; \/\/ 1 second debounce\n\nvoid setup() {\n  Serial.begin(9600);\n  \n  pinMode(pirPin, INPUT);\n  pinMode(relayPin, OUTPUT);\n  pinMode(ledPin, OUTPUT);\n  \n  digitalWrite(relayPin, LOW);\n  digitalWrite(ledPin, LOW);\n  \n  Serial.println(\"Gesture Light Switch Ready\");\n  Serial.println(\"Wave hand to toggle light\");\n  delay(30000); \/\/ Short warm-up (30 seconds is enough for gesture use)\n}\n\nvoid toggleLight() {\n  lightState = !lightState;\n  digitalWrite(relayPin, lightState ? HIGH : LOW);\n  digitalWrite(ledPin, lightState ? HIGH : LOW);\n  \n  Serial.print(\"Light \");\n  Serial.println(lightState ? \"ON\" : \"OFF\");\n}\n\nvoid loop() {\n  bool motion = digitalRead(pirPin) == HIGH;\n  \n  if (motion && (millis() - lastTriggerTime > debounceDelay)) {\n    lastTriggerTime = millis();\n    toggleLight();\n  }\n  \n  delay(50);\n}\n<\/code><\/pre>\n<h2>Enhanced Version with LED Feedback<\/h2>\n<pre><code>\/\/ Enhanced version with LED fade effect\nconst int pirPin = 2;\nconst int relayPin = 3;\nconst int ledPin = 13;\n\nbool lightState = false;\nunsigned long lastTriggerTime = 0;\nconst unsigned long debounceDelay = 1000;\nunsigned long fadeStartTime = 0;\nbool fading = false;\n\nvoid fadeLED(int start, int end) {\n  int duration = 500; \/\/ 500ms fade\n  unsigned long startTime = millis();\n  while (millis() - startTime < duration) {\n    int brightness = map(millis() - startTime, 0, duration, start, end);\n    analogWrite(ledPin, brightness);\n    delay(5);\n  }\n  analogWrite(ledPin, end);\n}\n\nvoid toggleLight() {\n  lightState = !lightState;\n  digitalWrite(relayPin, lightState ? HIGH : LOW);\n  \n  if (lightState) {\n    fadeLED(0, 255);\n  } else {\n    fadeLED(255, 0);\n  }\n  \n  Serial.print(\"Light \");\n  Serial.println(lightState ? \"ON\" : \"OFF\");\n}\n\nvoid setup() {\n  Serial.begin(9600);\n  pinMode(pirPin, INPUT);\n  pinMode(relayPin, OUTPUT);\n  pinMode(ledPin, OUTPUT);\n  digitalWrite(relayPin, LOW);\n  digitalWrite(ledPin, LOW);\n  delay(30000);\n}\n\nvoid loop() {\n  bool motion = digitalRead(pirPin) == HIGH;\n  if (motion &#038;&#038; (millis() - lastTriggerTime > debounceDelay)) {\n    lastTriggerTime = millis();\n    toggleLight();\n  }\n  delay(50);\n}\n<\/code><\/pre>\n<h2>Mounting Options<\/h2>\n<h3>Drawer\/Cabinet Lighting<\/h3>\n<ol>\n<li>Mount PIR sensor inside the drawer or cabinet facing upward\/outward.<\/li>\n<li>Install LED strip inside the drawer\/cabinet.<\/li>\n<li>Connect LED strip to relay (use appropriate power supply for LED strip).<\/li>\n<li>Wave hand near the drawer to toggle lights on\/off.<\/li>\n<\/ol>\n<h3>Desk\/Workbench Lamp<\/h3>\n<ol>\n<li>Mount PIR sensor near the lamp base.<\/li>\n<li>Connect lamp plug to relay-controlled outlet.<\/li>\n<li>Wave hand near the lamp to toggle.<\/li>\n<\/ol>\n<h2>Installation Steps<\/h2>\n<ol>\n<li><strong>Adjust PIR sensor:<\/strong> Set sensitivity to minimum range.<\/li>\n<li><strong>Assemble circuit:<\/strong> Build on breadboard and test.<\/li>\n<li><strong>Upload code:<\/strong> Test gesture detection (wave hand within 10-20cm).<\/li>\n<li><strong>Mount sensor:<\/strong> Position sensor in desired location.<\/li>\n<li><strong>Connect light:<\/strong> Wire the lamp or LED strip to the relay.<\/li>\n<li><strong>Enclose electronics:<\/strong> Place Arduino and relay in a safe enclosure.<\/li>\n<li><strong>Final test:<\/strong> Wave hand to turn light on\/off.<\/li>\n<\/ol>\n<h2>Project Extensions<\/h2>\n<ul>\n<li><strong>Dimmer function:<\/strong> Add a second PIR sensor for dimming control (wave left to dim, right to brighten).<\/li>\n<li><strong>Color control:<\/strong> Use RGB LED strip and cycle colors with multiple gestures.<\/li>\n<li><strong>Multiple zones:<\/strong> Add multiple PIR sensors to control different lights.<\/li>\n<li><strong>Smart home integration:<\/strong> Add ESP32 to send state to Home Assistant.<\/li>\n<li><strong>Battery backup:<\/strong> Add rechargeable battery for portable use.<\/li>\n<\/ul>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>Light toggles randomly:<\/strong> Reduce sensitivity further. Add physical shield to limit detection area.<\/li>\n<li><strong>No detection:<\/strong> Adjust sensitivity upward slightly. Ensure hand is within detection zone.<\/li>\n<li><strong>Multiple toggles per gesture:<\/strong> Increase <code>debounceDelay<\/code>.<\/li>\n<li><strong>Relay not switching:<\/strong> Check relay wiring. Test with LED first.<\/li>\n<\/ul>\n<h2>Safety Notes<\/h2>\n<ul>\n<li>If controlling AC-powered lights, ensure relay is rated for the load.<\/li>\n<li>Keep all wiring away from water.<\/li>\n<li>Use a proper enclosure to prevent electrical shock.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>This gesture-controlled light switch adds a touch of magic to any room. It&#8217;s perfect for kitchens (hands full of dishes), workshops (hands covered in paint), or simply for the novelty of waving to control lights.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project Overview This project creates a gesture-controlled light switch that turns lights on and off with a simple hand wave. Using a PIR sensor, the system detects motion and toggles a relay that controls the light. A short wave turns the light on, and another wave turns it off. It&#8217;s perfect for situations where your [&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-3921","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 Drawer\/Light Switch: Gesture-Controlled Lighting - 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=3921\" \/>\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 Drawer\/Light Switch: Gesture-Controlled Lighting - PIRHOME\" \/>\r\n<meta property=\"og:description\" content=\"Project Overview This project creates a gesture-controlled light switch that turns lights on and off with a simple hand wave. Using a PIR sensor, the system detects motion and toggles a relay that controls the light. A short wave turns the light on, and another wave turns it off. It&#8217;s perfect for situations where your [&hellip;]\" \/>\r\n<meta property=\"og:url\" content=\"http:\/\/www.pirhome.com\/?p=3921\" \/>\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=\"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=3921#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3921\"},\"author\":{\"name\":\"nic@nicsky.com\",\"@id\":\"https:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/person\\\/41049b5236f9c77c9314997d070db3e3\"},\"headline\":\"PIR Sensor for Drawer\\\/Light Switch: Gesture-Controlled Lighting\",\"datePublished\":\"2026-03-31T05:57:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3921\"},\"wordCount\":579,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pirhome.com\\\/#organization\"},\"articleSection\":[\"Projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\\\/\\\/www.pirhome.com\\\/?p=3921#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3921\",\"url\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3921\",\"name\":\"PIR Sensor for Drawer\\\/Light Switch: Gesture-Controlled Lighting - PIRHOME\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pirhome.com\\\/#website\"},\"datePublished\":\"2026-03-31T05:57:24+00:00\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3921#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/www.pirhome.com\\\/?p=3921\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.pirhome.com\\\/?p=3921#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pirhome.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PIR Sensor for Drawer\\\/Light Switch: Gesture-Controlled Lighting\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pirhome.com\\\/#website\",\"url\":\"https:\\\/\\\/www.pirhome.com\\\/\",\"name\":\"PIRHOME\",\"description\":\"PIR &amp; Motion Sensor\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pirhome.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pirhome.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.pirhome.com\\\/#organization\",\"name\":\"PIRHOME\",\"url\":\"https:\\\/\\\/www.pirhome.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"http:\\\/\\\/www.pirhome.com\\\/wp-content\\\/uploads\\\/2026\\\/02\\\/cropped-\u5fae\u4fe1\u56fe\u7247_2026-02-19_222409_472.jpg\",\"contentUrl\":\"http:\\\/\\\/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\":\"https:\\\/\\\/www.pirhome.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/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\":\"http:\\\/\\\/www.pirhome.com\\\/?author=1\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PIR Sensor for Drawer\/Light Switch: Gesture-Controlled Lighting - 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=3921","og_locale":"en_US","og_type":"article","og_title":"PIR Sensor for Drawer\/Light Switch: Gesture-Controlled Lighting - PIRHOME","og_description":"Project Overview This project creates a gesture-controlled light switch that turns lights on and off with a simple hand wave. Using a PIR sensor, the system detects motion and toggles a relay that controls the light. A short wave turns the light on, and another wave turns it off. It&#8217;s perfect for situations where your [&hellip;]","og_url":"http:\/\/www.pirhome.com\/?p=3921","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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.pirhome.com\/?p=3921#article","isPartOf":{"@id":"http:\/\/www.pirhome.com\/?p=3921"},"author":{"name":"nic@nicsky.com","@id":"https:\/\/www.pirhome.com\/#\/schema\/person\/41049b5236f9c77c9314997d070db3e3"},"headline":"PIR Sensor for Drawer\/Light Switch: Gesture-Controlled Lighting","datePublished":"2026-03-31T05:57:24+00:00","mainEntityOfPage":{"@id":"http:\/\/www.pirhome.com\/?p=3921"},"wordCount":579,"commentCount":0,"publisher":{"@id":"https:\/\/www.pirhome.com\/#organization"},"articleSection":["Projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/www.pirhome.com\/?p=3921#respond"]}]},{"@type":"WebPage","@id":"http:\/\/www.pirhome.com\/?p=3921","url":"http:\/\/www.pirhome.com\/?p=3921","name":"PIR Sensor for Drawer\/Light Switch: Gesture-Controlled Lighting - PIRHOME","isPartOf":{"@id":"https:\/\/www.pirhome.com\/#website"},"datePublished":"2026-03-31T05:57:24+00:00","breadcrumb":{"@id":"http:\/\/www.pirhome.com\/?p=3921#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.pirhome.com\/?p=3921"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.pirhome.com\/?p=3921#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pirhome.com\/"},{"@type":"ListItem","position":2,"name":"PIR Sensor for Drawer\/Light Switch: Gesture-Controlled Lighting"}]},{"@type":"WebSite","@id":"https:\/\/www.pirhome.com\/#website","url":"https:\/\/www.pirhome.com\/","name":"PIRHOME","description":"PIR &amp; Motion Sensor","publisher":{"@id":"https:\/\/www.pirhome.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pirhome.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.pirhome.com\/#organization","name":"PIRHOME","url":"https:\/\/www.pirhome.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pirhome.com\/#\/schema\/logo\/image\/","url":"http:\/\/www.pirhome.com\/wp-content\/uploads\/2026\/02\/cropped-\u5fae\u4fe1\u56fe\u7247_2026-02-19_222409_472.jpg","contentUrl":"http:\/\/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":"https:\/\/www.pirhome.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/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":"http:\/\/www.pirhome.com\/?author=1"}]}},"_links":{"self":[{"href":"http:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3921"}],"version-history":[{"count":1,"href":"http:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3921\/revisions"}],"predecessor-version":[{"id":4036,"href":"http:\/\/www.pirhome.com\/index.php?rest_route=\/wp\/v2\/posts\/3921\/revisions\/4036"}],"wp:attachment":[{"href":"http:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3921"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.pirhome.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}