{
    "id": 4227,
    "date": "2026-11-22T19:17:08",
    "date_gmt": "2026-11-22T17:17:08",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/naprechno-provetryavane-napomnyane-da-zatvorim-prozortsite\/"
    },
    "modified": "2026-11-25T17:20:22",
    "modified_gmt": "2026-11-25T15:20:22",
    "slug": "naprechno-provetryavane-napomnyane-da-zatvorim-prozortsite",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/naprechno-provetryavane-napomnyane-da-zatvorim-prozortsite\/",
    "title": {
        "rendered": "Cross ventilation: a reminder to close the windows once the air has changed"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">You open a window on one side of the apartment and another on the opposite side. The draught changes the air much faster than a single window. Then you forget to close them and the rooms get cold. Here we make a notification that reminds you when the two windows have been open together long enough.<\/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 notification on the phone when both windows stay open together for a set time. The time is an example (8 minutes in the code) and you choose it according to your rooms.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The window sensors don&#8217;t measure air. The automation <strong>does not know<\/strong>that the air has really changed. It counts the time during which both windows are open. If you want a real measurement, you need a CO\u2082 sensor, which is not part of this project.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you need<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>2 pcs<\/strong> <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 3.0 door and window sensor with a CR2477 battery. You put one on each of the two opposite windows.<\/li><li>A working Home Assistant and a phone with the Home Assistant app.<\/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\">The hub or adapter is not included in the product. Setup time: 30\u201360 minutes. Installation is sticking the two parts of the sensor on the sash and on the frame. No electrical installation is touched.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each sensor has two parts: a body with the electronics and a small magnet. When the magnet moves away, the sensor reports &#8220;open&#8221;. In Home Assistant this is <code>binary_sensor<\/code> with the state <code>on<\/code> when the window is open.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The automation uses a <strong>template trigger<\/strong>. It fires when the expression &#8220;both windows are open&#8221; becomes true and stays true <code>for<\/code> the set time. If one of the windows closes earlier, the counting is interrupted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simeon adds a second rule by humidity: when it is 65% or more and the outdoor dew point is at least 1 \u00b0C lower, the automation suggests 8 minutes of cross ventilation, and after those 8 minutes it reminds him to close the windows. A phone notification lists the open windows.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Pair the two sensors in Home Assistant. You expect two <code>binary_sensor<\/code> entities that change state when opened and closed.<\/li><li>Give them recognisable names, for example &#8220;North window&#8221; and &#8220;South window&#8221;. Write down the entity IDs of both.<\/li><li>In <strong>Settings \u2192 Automations &amp; scenes \u2192 Create automation<\/strong> create an empty automation and from the three-dots menu choose <strong>Edit in YAML<\/strong>.<\/li><li>Replace the entire content with the following <strong>example<\/strong> code. Change the two entity IDs, the time and the name of the notification (<code>notify.mobile_app_your_phone<\/code> is an example; the exact name is in Developer tools \u2192 Actions).<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Cross ventilation - reminder\ndescription: A notification when both windows have been open together for 8 minutes\nmode: single\ntriggers:\n  - trigger: template\n    value_template: &gt;\n      {{ is_state('binary_sensor.window_north', 'on')\n         and is_state('binary_sensor.window_south', 'on') }}\n    for: \"00:08:00\"\nactions:\n  - action: notify.mobile_app_your_phone\n    data:\n      title: Enough ventilation\n      message: Both windows have been open for 8 minutes. Time to close them.<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">You expect the automation to save without an error. Close the windows to return it to its initial state.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Checking the result<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Open only one window and wait more than 8 minutes: no notification comes.<\/li><li>Open both: the notification comes about 8 minutes after the second one is opened.<\/li><li>For a quick test temporarily change <code>for<\/code> to 20 seconds, check the notification and restore the value.<\/li><li>Restart Home Assistant with the windows open: after the restart the counting starts over. If a sensor is <code>unavailable<\/code>, the expression is not true and no notification comes.<\/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>No notification comes, and the sensors are open \u2192 the name of the <code>notify<\/code> action is wrong \u2192 send a test message from Developer tools.<\/li><li>The notification comes immediately \u2192 in <code>for<\/code> remained <code>00:00:00<\/code> or the trigger is another type \u2192 check the YAML.<\/li><li>A sensor shows the opposite state \u2192 the magnet is stuck on the wrong side \u2192 move it relative to the body.<\/li><li>A sensor often becomes <code>unavailable<\/code> \u2192 weak Zigbee signal or weak battery \u2192 check the connection and replace the battery.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations and switching off<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>The notification doesn&#8217;t close the windows and doesn&#8217;t know how much time is needed to change the air in your room. Choose the time by experience.<\/li><li>In winter cold or summer heat you may want a shorter time. This is a manual setting, not an automatic one.<\/li><li>The automation works only with a working Home Assistant and Zigbee network. The windows are closed by hand as usual.<\/li><li>To switch it off, disable the automation from its page.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Sources and verification status<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Checked against the documentation on 22.11.2026.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/docs\/automation\/trigger\/#template-trigger\">Home Assistant: Template trigger<\/a><\/li><li><a href=\"https:\/\/companion.home-assistant.io\/docs\/notifications\/notifications-basic\/\">Home Assistant: Mobile app notifications<\/a><\/li><li><a href=\"https:\/\/help.sonoff.tech\/docs\/snzb-04pr1\">Sonoff SNZB-04PR1: the manufacturer&#8217;s help<\/a><\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>Two sensors on opposite windows and one automation in Home Assistant remind you to close the windows after they have stood open together for a set time. The time is an example and you choose it.<\/p>",
        "protected": false
    },
    "author": 0,
    "featured_media": 3628,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        53,
        64,
        200
    ],
    "class_list": [
        "post-4227",
        "diy_project",
        "type-diy_project",
        "status-publish",
        "has-post-thumbnail",
        "hentry",
        "diy_project_category-63",
        "diy_project_tag-home-assistant",
        "diy_project_tag-zigbee",
        "diy_project_tag-64",
        "diy_project_tag-provetryavane"
    ],
    "acf": {
        "_diysmart_difficulty": "beginner",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 30,
        "_diysmart_build_duration_max": 60,
        "_diysmart_build_duration_unit": "minutes",
        "_diysmart_home_assistant": "yes",
        "_diysmart_works_offline": "",
        "_diysmart_electrician": "no",
        "_diysmart_reading_time_override": "",
        "_diysmart_required_tools_rows": [
            {
                "label": "Window sensor",
                "note": "Sonoff SNZB-04PR1, 2 pcs, one per window"
            },
            {
                "label": "Zigbee hub or adapter",
                "note": "or Home Assistant with a Zigbee adapter; not included in the product"
            },
            {
                "label": "Home Assistant",
                "note": "with the Zigbee integration (ZHA) or Zigbee2MQTT"
            },
            {
                "label": "Phone with the Home Assistant app",
                "note": "with notifications allowed"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "To add two window sensors and see when they are open"
            },
            {
                "outcome": "To make a notification that waits for both windows to be open together"
            },
            {
                "outcome": "To choose an example ventilation time for your room"
            },
            {
                "outcome": "To know what the automation doesn't measure: the air change itself"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "To add a Zigbee device in Home Assistant",
                "note": ""
            },
            {
                "requirement": "To paste YAML into the automation editor",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "",
            "since": "",
            "story": "",
            "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>Cross ventilation: a reminder to close the windows once the air has changed - Real Home Automations<\/title>\n<meta name=\"description\" content=\"Two sensors on opposite windows and one automation in Home Assistant remind you to close the windows after they have stood open together for a set time. The time is an example and you choose it.\" \/>\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\/4227\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cross ventilation: a reminder to close the windows once the air has changed - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"Two sensors on opposite windows and one automation in Home Assistant remind you to close the windows after they have stood open together for a set time. The time is an example and you choose it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4227\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T15:20:22+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=\"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\\\/cross-ventilation-close-windows-reminder\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"Cross ventilation: a reminder to close the windows once the air has changed\",\"datePublished\":\"2026-11-22T17:17:08+00:00\",\"dateModified\":\"2026-11-25T15:20:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/\"},\"wordCount\":721,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/#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\\\/cross-ventilation-close-windows-reminder\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/\",\"name\":\"Cross ventilation: a reminder to close the windows once the air has changed - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/#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-11-22T17:17:08+00:00\",\"dateModified\":\"2026-11-25T15:20:22+00:00\",\"description\":\"Two sensors on opposite windows and one automation in Home Assistant remind you to close the windows after they have stood open together for a set time. The time is an example and you choose it.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/naprechno-provetryavane-napomnyane-da-zatvorim-prozortsite\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/cross-ventilation-close-windows-reminder\\\/#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\\\/cross-ventilation-close-windows-reminder\\\/#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\":\"Cross ventilation: a reminder to close the windows once the air has changed\"}]},{\"@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\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->",
    "yoast_head_json": {
        "title": "Cross ventilation: a reminder to close the windows once the air has changed - Real Home Automations",
        "description": "Two sensors on opposite windows and one automation in Home Assistant remind you to close the windows after they have stood open together for a set time. The time is an example and you choose it.",
        "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\/4227",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "Cross ventilation: a reminder to close the windows once the air has changed - Real Home Automations",
        "og_description": "Two sensors on opposite windows and one automation in Home Assistant remind you to close the windows after they have stood open together for a set time. The time is an example and you choose it.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4227",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-25T15:20:22+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": "4 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/"
                    },
                    "author": {
                        "name": "",
                        "@id": ""
                    },
                    "headline": "Cross ventilation: a reminder to close the windows once the air has changed",
                    "datePublished": "2026-11-22T17:17:08+00:00",
                    "dateModified": "2026-11-25T15:20:22+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/"
                    },
                    "wordCount": 721,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/#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\/cross-ventilation-close-windows-reminder\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/",
                    "name": "Cross ventilation: a reminder to close the windows once the air has changed - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/#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-11-22T17:17:08+00:00",
                    "dateModified": "2026-11-25T15:20:22+00:00",
                    "description": "Two sensors on opposite windows and one automation in Home Assistant remind you to close the windows after they have stood open together for a set time. The time is an example and you choose it.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/naprechno-provetryavane-napomnyane-da-zatvorim-prozortsite\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/cross-ventilation-close-windows-reminder\/#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\/cross-ventilation-close-windows-reminder\/#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": "Cross ventilation: a reminder to close the windows once the air has changed"
                        }
                    ]
                },
                {
                    "@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\/"
                    }
                }
            ]
        }
    },
    "_links": {
        "self": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4227",
                "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"
            }
        ],
        "version-history": [
            {
                "count": 2,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4227\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4280,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4227\/revisions\/4280"
            }
        ],
        "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=4227"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=4227"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=4227"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}