{
    "id": 103,
    "date": "2026-09-13T22:46:57",
    "date_gmt": "2026-09-13T19:46:57",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/tema-18\/"
    },
    "modified": "2026-11-23T18:24:04",
    "modified_gmt": "2026-11-23T16:24:04",
    "slug": "lampata-gasne-dokato-sedish-na-divana-datchik-za-dvizhenie-ili",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/lampata-gasne-dokato-sedish-na-divana-datchik-za-dvizhenie-ili\/",
    "title": {
        "rendered": "The lamp goes off while you sit on the sofa: motion sensor or presence sensor?"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">You sit on the sofa with your phone or a book. After a few minutes the lamp quietly goes off, because you haven&#8217;t moved enough. You get up, wave your hand and the light comes back. That is what makes motion lighting annoying.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will get<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Clarity on when a motion sensor is enough and when you need a presence sensor.<\/li><li>An automation for a lamp in a room where you sit still: it comes on when you walk in and goes off when you&#8217;ve left.<\/li><li>Manual control that still works, and safe behaviour when the connection is lost.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What you need<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/sonoff-snzb-06p-zigbee-presence-sensor\/\">Sonoff SNZB-06P<\/a>: a Zigbee presence sensor. You need 1 piece per room.<\/li><li>You need a Zigbee hub or Home Assistant with a Zigbee adapter.<\/li><li>A lamp that Home Assistant already controls: a smart bulb or a lamp behind a relay.<\/li><li>A free spot for the sensor with a view of where you sit.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The time is about an hour for setup and two to three days of observation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A motion sensor<\/strong> (PIR) reacts to change: a warm object that moves. If you sit still, after a while it &#8220;sees&#8221; an empty room.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>A presence sensor<\/strong> is designed to detect a person even when they aren&#8217;t moving much. The manufacturer describes it as a presence sensor, not just a motion one. The specific range and sensitivity are in its documentation and are set during installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The automation is the same: sensor \u2192 the lamp comes on \u2192 when there has been no presence for a set time, the lamp goes off.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How it is at our place<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In Marto&#8217;s Home Assistant, the kitchen uses a presence sensor and the \u201cSensor light\u201d blueprint (by Blackshome), with the delay set to 5 and no colour control. The bathroom has a separate presence sensor with an automation for the lamp, and the wardrobe uses a motion sensor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Place the sensor so that it sees where you sit and doesn&#8217;t face a window or a fan. Follow the manufacturer&#8217;s guide.<\/li><li>Pair it in Home Assistant. You should see an entity <code>binary_sensor<\/code> for presence.<\/li><li>Sit still and watch its state in Developer tools \u2192 States. That is how you make sure it sees you.<\/li><li>Create an automation. An example with sample names:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Living room \u2013 light by presence\ntriggers:\n  - trigger: state\n    entity_id: binary_sensor.hol_prisastvie\n    to: \"on\"\n    id: vlizam\n  - trigger: state\n    entity_id: binary_sensor.hol_prisastvie\n    to: \"off\"\n    for: \"00:05:00\"\n    id: izlizam\nactions:\n  - choose:\n      - conditions: \"{{ trigger.id == 'vlizam' }}\"\n        sequence:\n          - action: light.turn_on\n            target: {entity_id: light.hol}\n      - conditions: \"{{ trigger.id == 'izlizam' }}\"\n        sequence:\n          - action: light.turn_off\n            target: {entity_id: light.hol}\nmode: restart<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>Set the delay to your taste. Five minutes is an example; start with a longer one and shorten it.<\/li><li>Add a darkness condition if the room is bright during the day. That way the light doesn&#8217;t switch on needlessly.<\/li><li>Keep the wall switch or button working.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Checking the result<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Walk in and see whether the lamp comes on.<\/li><li>Sit still for longer than the delay. The lamp should not go off.<\/li><li>Walk out and wait for the delay. The lamp should go off.<\/li><li>Take the sensor&#8217;s battery out. Automatic switch-off stops, so check that manual control of the lamp works.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">If it doesn&#8217;t work<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>The lamp goes off while you sit: the sensor doesn&#8217;t see you. Move it or change the angle.<\/li><li>It comes on for no reason: it faces a window, a fan or a pet. Lower the sensitivity.<\/li><li>It doesn&#8217;t go off: there is permanent presence. Look at the sensor&#8217;s history.<\/li><li>No response: weak Zigbee connection. Move the sensor closer or add a mains-powered device between it and the adapter.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Range and blind spots depend on the installation. If there are people lying in bed or a child lying down in the room, the sensor may not detect them accurately. With Home Assistant off, the lamp is controlled manually.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sources and verification status<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/zha\/\">ZHA<\/a>, checked on 22.11.2026.<\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/blueprint\/\">Blueprints<\/a>, checked on 22.11.2026.<\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/automation\/\">Automations<\/a>, checked on 22.11.2026.<\/li><li>The Sonoff SNZB-06P product page in the shop and the manufacturer&#8217;s documentation.<\/li><li>Marto&#8217;s automations were read in read-only mode in his Home Assistant on 22.11.2026.<\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>An ordinary motion sensor turns the lamp off when you sit still. A presence sensor is made for exactly that. How they differ and how to make lighting that doesn\u2019t leave you in the dark.<\/p>",
        "protected": false
    },
    "author": 1,
    "featured_media": 44,
    "template": "",
    "diy_project_category": [
        52
    ],
    "diy_project_tag": [
        53,
        156,
        162,
        178
    ],
    "class_list": [
        "post-103",
        "diy_project",
        "type-diy_project",
        "status-publish",
        "has-post-thumbnail",
        "hentry",
        "diy_project_category-lighting",
        "diy_project_tag-zigbee",
        "diy_project_tag-dvizhenie",
        "diy_project_tag-osvetlenie",
        "diy_project_tag-prisastvie"
    ],
    "acf": {
        "_diysmart_difficulty": "intermediate",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 30,
        "_diysmart_build_duration_max": 90,
        "_diysmart_build_duration_unit": "minutes",
        "_diysmart_home_assistant": "yes",
        "_diysmart_works_offline": "",
        "_diysmart_electrician": "no",
        "_diysmart_reading_time_override": "",
        "_diysmart_required_tools_rows": [
            {
                "label": "Sonoff SNZB-06P",
                "note": "Zigbee presence sensor; one piece"
            },
            {
                "label": "Zigbee hub or Home Assistant with a Zigbee adapter",
                "note": ""
            },
            {
                "label": "A lamp controlled by Home Assistant",
                "note": "one you already have"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "Understand why a motion sensor turns the lamp off"
            },
            {
                "outcome": "Tell motion from presence"
            },
            {
                "outcome": "Build presence-based lighting with an off delay"
            },
            {
                "outcome": "Keep manual control"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "Pair a Zigbee device to Home Assistant",
                "note": ""
            },
            {
                "requirement": "Build an automation with a trigger and a delay",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "Marto",
            "since": "",
            "story": "In Marto's Home Assistant, the kitchen uses a presence sensor connected to the \u201cSensor light\u201d blueprint for the kitchen strip, with a delay set to 5. The bathroom has a presence sensor, and the wardrobe has a motion sensor.",
            "image": "",
            "caption": ""
        },
        "_diysmart_linked_product_id": 43,
        "_diysmart_youtube_url": "",
        "_diysmart_github_url": ""
    },
    "yoast_head": "<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The lamp goes off while you sit on the sofa: motion sensor or presence sensor? - Real Home Automations<\/title>\n<meta name=\"description\" content=\"An ordinary motion sensor turns the lamp off when you sit still. A presence sensor is made for exactly that. How they differ and how to make lighting that doesn\u2019t leave you in the dark.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/103\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The lamp goes off while you sit on the sofa: motion sensor or presence sensor? - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"An ordinary motion sensor turns the lamp off when you sit still. A presence sensor is made for exactly that. How they differ and how to make lighting that doesn\u2019t leave you in the dark.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/103\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T16:24:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-snzb-06p.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"1200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/\"},\"author\":{\"name\":\"Real Home Automations\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\"},\"headline\":\"The lamp goes off while you sit on the sofa: motion sensor or presence sensor?\",\"datePublished\":\"2026-09-13T19:46:57+00:00\",\"dateModified\":\"2026-11-23T16:24:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/\"},\"wordCount\":657,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-snzb-06p.webp\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/\",\"name\":\"The lamp goes off while you sit on the sofa: motion sensor or presence sensor? - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-snzb-06p.webp\",\"datePublished\":\"2026-09-13T19:46:57+00:00\",\"dateModified\":\"2026-11-23T16:24:04+00:00\",\"description\":\"An ordinary motion sensor turns the lamp off when you sit still. A presence sensor is made for exactly that. How they differ and how to make lighting that doesn\u2019t leave you in the dark.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/lampata-gasne-dokato-sedish-na-divana-datchik-za-dvizhenie-ili\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-snzb-06p.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/wifishop-sonoff-snzb-06p.webp\",\"width\":900,\"height\":1200,\"caption\":\"Sonoff SNZB-06P Zigbee Presence Sensor\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/motion-sensor-or-presence-sensor-lamp-goes-off\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041f\u0440\u043e\u0435\u043a\u0442\u0438\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"The lamp goes off while you sit on the sofa: motion sensor or presence sensor?\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"name\":\"Real Home Automations\",\"description\":\"Open smart-home products and complete DIY projects\",\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Organization\",\"OnlineStore\"],\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\",\"name\":\"Real Home Automations\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Real Home Automations\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"legalName\":\"\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414\",\"vatID\":\"BG206246651\",\"taxID\":\"206246651\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1\",\"addressLocality\":\"\u0412\u0430\u0440\u043d\u0430\",\"postalCode\":\"9000\",\"addressCountry\":\"BG\"},\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"customer support\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"availableLanguage\":[\"bg\",\"en\"]},\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"applicableCountry\":\"BG\",\"returnPolicyCategory\":\"https:\\\/\\\/schema.org\\\/MerchantReturnFiniteReturnWindow\",\"merchantReturnDays\":14,\"returnMethod\":\"https:\\\/\\\/schema.org\\\/ReturnByMail\",\"returnFees\":\"https:\\\/\\\/schema.org\\\/ReturnFeesCustomerResponsibility\",\"merchantReturnLink\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/returns\\\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\",\"name\":\"Real Home Automations\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"caption\":\"Real Home Automations\"},\"sameAs\":[\"https:\\\/\\\/realhomeautomations.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->",
    "yoast_head_json": {
        "title": "The lamp goes off while you sit on the sofa: motion sensor or presence sensor? - Real Home Automations",
        "description": "An ordinary motion sensor turns the lamp off when you sit still. A presence sensor is made for exactly that. How they differ and how to make lighting that doesn\u2019t leave you in the dark.",
        "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": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/103",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "The lamp goes off while you sit on the sofa: motion sensor or presence sensor? - Real Home Automations",
        "og_description": "An ordinary motion sensor turns the lamp off when you sit still. A presence sensor is made for exactly that. How they differ and how to make lighting that doesn\u2019t leave you in the dark.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/103",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-23T16:24:04+00:00",
        "og_image": [
            {
                "width": 900,
                "height": 1200,
                "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-snzb-06p.webp",
                "type": "image\/jpeg"
            }
        ],
        "twitter_card": "summary_large_image",
        "twitter_misc": {
            "Est. reading time": "4 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/"
                    },
                    "author": {
                        "name": "Real Home Automations",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2"
                    },
                    "headline": "The lamp goes off while you sit on the sofa: motion sensor or presence sensor?",
                    "datePublished": "2026-09-13T19:46:57+00:00",
                    "dateModified": "2026-11-23T16:24:04+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/"
                    },
                    "wordCount": 657,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-snzb-06p.webp",
                    "inLanguage": "en-US"
                },
                {
                    "@type": "WebPage",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/",
                    "name": "The lamp goes off while you sit on the sofa: motion sensor or presence sensor? - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-snzb-06p.webp",
                    "datePublished": "2026-09-13T19:46:57+00:00",
                    "dateModified": "2026-11-23T16:24:04+00:00",
                    "description": "An ordinary motion sensor turns the lamp off when you sit still. A presence sensor is made for exactly that. How they differ and how to make lighting that doesn\u2019t leave you in the dark.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/lampata-gasne-dokato-sedish-na-divana-datchik-za-dvizhenie-ili\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/#primaryimage",
                    "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-snzb-06p.webp",
                    "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/wifishop-sonoff-snzb-06p.webp",
                    "width": 900,
                    "height": 1200,
                    "caption": "Sonoff SNZB-06P Zigbee Presence Sensor"
                },
                {
                    "@type": "BreadcrumbList",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/motion-sensor-or-presence-sensor-lamp-goes-off\/#breadcrumb",
                    "itemListElement": [
                        {
                            "@type": "ListItem",
                            "position": 1,
                            "name": "Home",
                            "item": "http:\/\/realhomeautomations.com\/bg\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 2,
                            "name": "\u041f\u0440\u043e\u0435\u043a\u0442\u0438",
                            "item": "http:\/\/realhomeautomations.com\/bg\/projects\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 3,
                            "name": "The lamp goes off while you sit on the sofa: motion sensor or presence sensor?"
                        }
                    ]
                },
                {
                    "@type": "WebSite",
                    "@id": "http:\/\/realhomeautomations.com\/en\/#website",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "name": "Real Home Automations",
                    "description": "Open smart-home products and complete DIY projects",
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "potentialAction": [
                        {
                            "@type": "SearchAction",
                            "target": {
                                "@type": "EntryPoint",
                                "urlTemplate": "https:\/\/realhomeautomations.com\/en\/?s={search_term_string}"
                            },
                            "query-input": {
                                "@type": "PropertyValueSpecification",
                                "valueRequired": true,
                                "valueName": "search_term_string"
                            }
                        }
                    ],
                    "inLanguage": "en-US"
                },
                {
                    "@type": [
                        "Organization",
                        "OnlineStore"
                    ],
                    "@id": "http:\/\/realhomeautomations.com\/en\/#organization",
                    "name": "Real Home Automations",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "logo": {
                        "@type": "ImageObject",
                        "inLanguage": "en-US",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/",
                        "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "width": 512,
                        "height": 512,
                        "caption": "Real Home Automations"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/"
                    },
                    "legalName": "\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414",
                    "vatID": "BG206246651",
                    "taxID": "206246651",
                    "email": "office@realhomeautomations.com",
                    "telephone": "+359893232863",
                    "address": {
                        "@type": "PostalAddress",
                        "streetAddress": "\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1",
                        "addressLocality": "\u0412\u0430\u0440\u043d\u0430",
                        "postalCode": "9000",
                        "addressCountry": "BG"
                    },
                    "contactPoint": {
                        "@type": "ContactPoint",
                        "contactType": "customer support",
                        "email": "office@realhomeautomations.com",
                        "telephone": "+359893232863",
                        "availableLanguage": [
                            "bg",
                            "en"
                        ]
                    },
                    "hasMerchantReturnPolicy": {
                        "@type": "MerchantReturnPolicy",
                        "applicableCountry": "BG",
                        "returnPolicyCategory": "https:\/\/schema.org\/MerchantReturnFiniteReturnWindow",
                        "merchantReturnDays": 14,
                        "returnMethod": "https:\/\/schema.org\/ReturnByMail",
                        "returnFees": "https:\/\/schema.org\/ReturnFeesCustomerResponsibility",
                        "merchantReturnLink": "https:\/\/realhomeautomations.com\/en\/returns\/"
                    }
                },
                {
                    "@type": "Person",
                    "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2",
                    "name": "Real Home Automations",
                    "image": {
                        "@type": "ImageObject",
                        "inLanguage": "en-US",
                        "@id": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "url": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "contentUrl": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "caption": "Real Home Automations"
                    },
                    "sameAs": [
                        "https:\/\/realhomeautomations.com"
                    ]
                }
            ]
        }
    },
    "_links": {
        "self": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/103",
                "targetHints": {
                    "allow": [
                        "GET"
                    ]
                }
            }
        ],
        "collection": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project"
            }
        ],
        "about": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/types\/diy_project"
            }
        ],
        "author": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/users\/1"
            }
        ],
        "version-history": [
            {
                "count": 5,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/103\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4360,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/103\/revisions\/4360"
            }
        ],
        "acf:post": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/product\/43"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media\/44"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media?parent=103"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=103"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=103"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}