{
    "id": 130,
    "date": "2026-09-13T22:46:58",
    "date_gmt": "2026-09-13T19:46:58",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/tema-46\/"
    },
    "modified": "2026-11-23T18:28:57",
    "modified_gmt": "2026-11-23T16:28:57",
    "slug": "rezhim-kucheto-e-vkashti-osvetlenie-i-avtomatizatsii-za-domashnia-lyubimets",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/rezhim-kucheto-e-vkashti-osvetlenie-i-avtomatizatsii-za-domashnia-lyubimets\/",
    "title": {
        "rendered": "\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">Our French bulldog Archi doesn&#8217;t like being alone: as soon as we all go out, he starts making puddles all around the house. That is why at our place the room doors are closed and Archi spends the day in the hallway. Over time this hallway became a smart place: the light, the climate and the fans look after him without anyone having to touch them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will get<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A mode that switches on by itself when all the room doors are closed and switches off as soon as one opens. While it is on, the hallway lights up dimly, the other lamps in the house go out, and your phones get a notification. The automation only watches the doors: it doesn&#8217;t track Archi and doesn&#8217;t send photos.<\/p>\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\/smart-door-and-window-sensor-sonoff-snzb-04pr1-zigbee-3-0-protocol-cr2477-battery-powered-real-time-opening-alerts-ewelink-home-assistant\/\">Sonoff SNZB-04PR1<\/a>: a Zigbee door sensor, one for each door you close. At our place there are three doors (living room, children&#8217;s room, bedroom), so three sensors. Ours are from the previous model SNZB-04P; SNZB-04PR1 is its successor.<\/li><li>Lighting in the hallway that Home Assistant controls.<\/li><li>A helper <code>input_boolean<\/code>that switches the hallway&#8217;s automatic lighting on and off.<\/li><li>The Home Assistant mobile app for the notifications.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">You need a Zigbee hub or Home Assistant with a Zigbee adapter.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Optional: a temperature and humidity sensor in the hallway and a fan that Home Assistant can start. They are not needed for the basic mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Setup time: about an hour, plus a few days to see how the mode behaves in your usual leaving routine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>You close the last door \u2192 Home Assistant sends a notification: &#8220;the mode starts in 5 minutes&#8221;.<\/li><li>During those five minutes it watches whether any door opens. If one does, the mode is cancelled and you get a new notification.<\/li><li>If the doors stay closed, the hallway&#8217;s automatic lighting switches off, all the other lamps go out, and the hallway lights up at 35% and after a second at 55% at 4308 K: bright enough not to be in the dark, and soft enough for napping.<\/li><li>When a door opens, a second automation restores the automatic lighting and the normal light in the hallway.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The five minutes leave time for a door that closes for a moment and opens again. That way the mode doesn&#8217;t switch on at every closing.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What else we have<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The mode is not only light. At our place several things are tied together and work in concert:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Notifications.<\/strong> Both our phones get a warning when the mode is about to start, and a separate message when it has started. It comes at random from a list of playful texts, for example &#8220;King of the castle&#8221; or &#8220;The house is in good paws&#8221;.<\/li><li><strong>Light.<\/strong> The dim light leaves the hallway bright enough for Archi, without disturbing his nap.<\/li><li><strong>Climate.<\/strong> Temperature and humidity are tied to the hallway, and the bathroom and wardrobe fans are started when needed, with the doors of those rooms open. The bathroom fan works by humidity: it starts on a fast rise and stops when the humidity drops.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">All this happens while the doors of the living room, the children&#8217;s room and the bedroom are closed and Archi is in the hallway.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Review the door sensors. A closed door should be <code>off<\/code>, an open one: <code>on<\/code>.<\/li><li>Make <code>input_boolean<\/code>, for example <code>input_boolean.hallway_auto_lights<\/code>, and switch it on.<\/li><li>Create the first automation from the example. Replace the entity names, the area and the notification services with your own.<\/li><li>Create the second automation, which restores the helper and the normal lighting when a door opens.<\/li><li>Close all the doors and wait. The notification should come immediately, and the change in the lighting after five minutes.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">All the entity names below are examples. You paste each automation as a new one, through the three-dots menu and &#8220;Edit in YAML&#8221;.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Mode \"Dog at home\" (example)\nmode: single\ntriggers:\n  - trigger: state\n    entity_id:\n      - binary_sensor.bedroom_door_opening\n      - binary_sensor.kids_bedroom_door_opening\n      - binary_sensor.living_room_door_opening\n    to: \"off\"\nconditions:\n  - condition: state\n    entity_id: binary_sensor.bedroom_door_opening\n    state: \"off\"\n  - condition: state\n    entity_id: binary_sensor.kids_bedroom_door_opening\n    state: \"off\"\n  - condition: state\n    entity_id: binary_sensor.living_room_door_opening\n    state: \"off\"\nactions:\n  - action: notify.mobile_app_telefon  # replace with your phone\n    data:\n      title: The dog mode starts soon\n      message: All the doors are closed. If they stay closed, the mode switches on in 5 minutes.\n  - wait_for_trigger:\n      - trigger: state\n        entity_id:\n          - binary_sensor.bedroom_door_opening\n          - binary_sensor.kids_bedroom_door_opening\n          - binary_sensor.living_room_door_opening\n        to: \"on\"\n    timeout: \"00:05:00\"\n    continue_on_timeout: true\n  - if:\n      - condition: template\n        value_template: \"{{ wait.trigger is not none }}\"\n    then:\n      - stop: The mode is cancelled because a door has opened.\n  - action: input_boolean.turn_off\n    target:\n      entity_id: input_boolean.hallway_auto_lights\n  - action: light.turn_off\n    target:\n      entity_id: &gt;-\n        {{ states.light | map(attribute='entity_id')\n           | reject('in', area_entities('hallway')) | list }}\n  - action: light.turn_on\n    target:\n      area_id: hallway\n    data:\n      brightness_pct: 35\n      transition: 0.3\n  - delay: \"00:00:01\"\n  - action: light.turn_on\n    target:\n      area_id: hallway\n    data:\n      brightness_pct: 55\n      color_temp_kelvin: 4308<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The conditions guarantee that all three doors are closed. If any sensor is <code>unavailable<\/code>, the mode doesn&#8217;t start.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Mode \"Dog at home\" - switch off (example)\nmode: single\ntriggers:\n  - trigger: state\n    entity_id:\n      - binary_sensor.bedroom_door_opening\n      - binary_sensor.kids_bedroom_door_opening\n      - binary_sensor.living_room_door_opening\n    to: \"on\"\nconditions:\n  - condition: state\n    entity_id: input_boolean.hallway_auto_lights\n    state: \"off\"\nactions:\n  - action: input_boolean.turn_on\n    target:\n      entity_id: input_boolean.hallway_auto_lights\n  - action: script.hallway_lights_normal_on  # your script for the normal light<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The second condition makes the automation work only when the mode has been on.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Checking the result<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Normal run: you close the last door and the notification comes immediately. After five minutes the hallway lights up dimly and the other lamps go out.<\/li><li>Edge case: you open a door during the five minutes. The mode is cancelled and a cancellation notification comes.<\/li><li>Restoring: you open a door when the mode is on. The hallway&#8217;s automatic lighting returns and the light becomes normal.<\/li><li>Missing data: if a sensor&#8217;s battery runs down, it becomes <code>unavailable<\/code> and the mode simply doesn&#8217;t start until you bring it back.<\/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 mode doesn&#8217;t start \u2192 some door is <code>unavailable<\/code> \u2192 check the sensor&#8217;s battery and connection.<\/li><li>Lamps don&#8217;t go out \u2192 the template for &#8220;all lamps except the hallway&#8221; caught only some of them \u2192 check which lamps are in the hallway&#8217;s area.<\/li><li>The second automation doesn&#8217;t restore the light \u2192 <code>input_boolean.hallway_auto_lights<\/code> is already on \u2192 check its state.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to stop it<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Switch off the two automations from Settings \u2192 Automations &amp; scenes. The hallway lighting is controlled as before, and the switches and the apps keep working.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sources and verification status<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The door and lighting automations were read in Marto&#8217;s Home Assistant on 23.11.2026 (read-only): doors, notifications, the five-minute wait and the hallway lighting. The examples are simplified and use example entity names.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/docs\/automation\/trigger\/\">Home Assistant: Automation triggers<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/scripts\/\">Home Assistant: Scripts, wait_for_trigger<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/input_boolean\/\">Home Assistant: Input boolean<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/zha\/\">Home Assistant: Zigbee Home Automation<\/a><\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>When all the room doors are closed, Home Assistant sends a notification, waits five minutes and starts the dog mode: it turns off the lamps, leaves a dim light in the hallway and runs the fans when needed.<\/p>",
        "protected": false
    },
    "author": 1,
    "featured_media": 3628,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        251,
        64
    ],
    "class_list": [
        "post-130",
        "diy_project",
        "type-diy_project",
        "status-publish",
        "has-post-thumbnail",
        "hentry",
        "diy_project_category-63",
        "diy_project_tag-home-assistant",
        "diy_project_tag-domashen-lyubimets",
        "diy_project_tag-64"
    ],
    "acf": {
        "_diysmart_difficulty": "intermediate",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 60,
        "_diysmart_build_duration_max": 120,
        "_diysmart_build_duration_unit": "minutes",
        "_diysmart_home_assistant": "required",
        "_diysmart_works_offline": "",
        "_diysmart_electrician": "no",
        "_diysmart_reading_time_override": "",
        "_diysmart_required_tools_rows": [
            {
                "label": "Sonoff SNZB-04PR1",
                "note": "Zigbee door sensor, one per door; we have three"
            },
            {
                "label": "Hallway lighting",
                "note": "which Home Assistant controls"
            },
            {
                "label": "input_boolean helper",
                "note": "for switching the automatic lighting on and off"
            },
            {
                "label": "Zigbee hub or Home Assistant with a Zigbee adapter",
                "note": ""
            },
            {
                "label": "Home Assistant mobile app",
                "note": "for the notifications"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "To detect \"all doors are closed\""
            },
            {
                "outcome": "To give five minutes for cancelling before the mode starts"
            },
            {
                "outcome": "To restore the normal lighting as soon as a door opens"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "To edit an automation with wait_for_trigger in YAML",
                "note": ""
            },
            {
                "requirement": "To use an input_boolean as a switch",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "Marto",
            "since": "",
            "story": "Our French bulldog Archi makes puddles when he is left alone, so when we leave we close the doors of the living room, the children's room and the bedroom, and Archi spends the day in the hallway. Three doors with Sonoff SNZB-04P sensors track when all are closed: Home Assistant sends a notification to both phones, waits five minutes, turns off the remaining lamps and leaves the hallway at 35%, then at 55% at 4308 K. When a door opens, everything is restored.",
            "image": "",
            "caption": ""
        },
        "_diysmart_linked_product_id": 3627,
        "_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>\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away - Real Home Automations<\/title>\n<meta name=\"description\" content=\"When all the room doors are closed, Home Assistant sends a notification, waits five minutes and starts the dog mode: it turns off the lamps, leaves a dim light in the hallway and runs the fans when needed.\" \/>\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\/130\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"When all the room doors are closed, Home Assistant sends a notification, waits five minutes and starts the dog mode: it turns off the lamps, leaves a dim light in the hallway and runs the fans when needed.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/130\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T16:28:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/\"},\"author\":{\"name\":\"Real Home Automations\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\"},\"headline\":\"\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:28:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/\"},\"wordCount\":925,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/\",\"name\":\"\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:28:57+00:00\",\"description\":\"When all the room doors are closed, Home Assistant sends a notification, waits five minutes and starts the dog mode: it turns off the lamps, leaves a dim light in the hallway and runs the fans when needed.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/rezhim-kucheto-e-vkashti-osvetlenie-i-avtomatizatsii-za-domashnia-lyubimets\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"width\":1280,\"height\":1280,\"caption\":\"Smart Door and Window Sensor Sonoff SNZB-04PR1 \u2013 Zigbee 3.0 Protocol, CR2477 Battery Powered, Real-Time Opening Alerts, eWeLink & Home Assistant\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/dog-at-home-mode\\\/#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\":\"\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away\"}]},{\"@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": "\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away - Real Home Automations",
        "description": "When all the room doors are closed, Home Assistant sends a notification, waits five minutes and starts the dog mode: it turns off the lamps, leaves a dim light in the hallway and runs the fans when needed.",
        "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\/130",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away - Real Home Automations",
        "og_description": "When all the room doors are closed, Home Assistant sends a notification, waits five minutes and starts the dog mode: it turns off the lamps, leaves a dim light in the hallway and runs the fans when needed.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/130",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-23T16:28:57+00:00",
        "og_image": [
            {
                "width": 1280,
                "height": 1280,
                "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp",
                "type": "image\/jpeg"
            }
        ],
        "twitter_card": "summary_large_image",
        "twitter_misc": {
            "Est. reading time": "6 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/"
                    },
                    "author": {
                        "name": "Real Home Automations",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2"
                    },
                    "headline": "\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away",
                    "datePublished": "2026-09-13T19:46:58+00:00",
                    "dateModified": "2026-11-23T16:28:57+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/"
                    },
                    "wordCount": 925,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp",
                    "inLanguage": "en-US"
                },
                {
                    "@type": "WebPage",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/",
                    "name": "\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp",
                    "datePublished": "2026-09-13T19:46:58+00:00",
                    "dateModified": "2026-11-23T16:28:57+00:00",
                    "description": "When all the room doors are closed, Home Assistant sends a notification, waits five minutes and starts the dog mode: it turns off the lamps, leaves a dim light in the hallway and runs the fans when needed.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/rezhim-kucheto-e-vkashti-osvetlenie-i-avtomatizatsii-za-domashnia-lyubimets\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/#primaryimage",
                    "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp",
                    "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp",
                    "width": 1280,
                    "height": 1280,
                    "caption": "Smart Door and Window Sensor Sonoff SNZB-04PR1 \u2013 Zigbee 3.0 Protocol, CR2477 Battery Powered, Real-Time Opening Alerts, eWeLink & Home Assistant"
                },
                {
                    "@type": "BreadcrumbList",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/dog-at-home-mode\/#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": "\u201cDog at home\u201d mode: the hallway that looks after Archi while we\u2019re away"
                        }
                    ]
                },
                {
                    "@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\/130",
                "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": 6,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/130\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4488,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/130\/revisions\/4488"
            }
        ],
        "acf:post": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/product\/3627"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media\/3628"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media?parent=130"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=130"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=130"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}