{
    "id": 4239,
    "date": "2026-11-22T19:17:16",
    "date_gmt": "2026-11-22T17:17:16",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/kak-razbirame-che-datchik-e-umryal-predi-da-ni-podvede\/"
    },
    "modified": "2026-11-25T17:20:29",
    "modified_gmt": "2026-11-25T15:20:29",
    "slug": "kak-razbirame-che-datchik-e-umryal-predi-da-ni-podvede",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/kak-razbirame-che-datchik-e-umryal-predi-da-ni-podvede\/",
    "title": {
        "rendered": "How we notice a sensor has died before it misleads us"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">A leak sensor stays dry for months. It is &#8220;calm&#8221; while its battery has run out. Silence is not proof that everything is fine. You have to tell &#8220;no event&#8221; from &#8220;the sensor can&#8217;t be heard&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will learn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Three checks: the entity has become <code>unavailable<\/code>, the battery is low and (optionally) the sensor hasn&#8217;t reported for a long time. And how to gather them into one notification.<\/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 working Home Assistant with battery sensors.<\/li><li>For Zigbee: the ZHA or Zigbee2MQTT integration. Many devices show the battery level as a separate entity.<\/li><li>A phone with the Home Assistant app.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Time: 30\u201360 minutes for setup. The real result comes after weeks, when some battery runs down.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Two signals catch most problems.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>An unavailable entity.<\/strong> ZHA marks a battery device as <code>unavailable<\/code> after 24 hours of silence. An automation with the trigger &#8220;unavailable for more than 2 hours&#8221; notifies you.<\/li><li><strong>Low battery.<\/strong> Devices that report it have an entity with <code>device_class: battery<\/code>. The trigger is a numeric threshold.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Quiet sensors (a door that doesn&#8217;t open) are not proof of a problem. That is why we don&#8217;t look at how long ago the last event was, unless the integration shows &#8220;last seen&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simeon&#8217;s checks: a weekly report on Sunday at 10:00 lists the batteries below 20% and the devices unavailable for more than an hour; a low-battery check runs twice a day at below 25%; and a leak sensor that is silent for 30 minutes sends a notification.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>In <strong>Developer tools \u2192 States<\/strong> filter by <code>battery<\/code> and write down the entities. Also write down the entities of the sensors you want to monitor.<\/li><li>Create a low battery automation. The threshold and entities are <strong>examples<\/strong>:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Sensor low battery\nmode: parallel\ntriggers:\n  - trigger: numeric_state\n    entity_id:\n      - sensor.door_front_battery\n      - sensor.leak_kitchen_battery\n    below: 20\nactions:\n  - action: notify.mobile_app_your_phone\n    data:\n      title: Low battery\n      message: &gt;\n        {{ trigger.to_state.name }} is at {{ trigger.to_state.state }}%.<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>A second automation for unavailable entities:<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Sensor not reporting\nmode: parallel\ntriggers:\n  - trigger: state\n    entity_id:\n      - binary_sensor.door_front\n      - binary_sensor.leak_kitchen\n    to: unavailable\n    for: \"02:00:00\"\nactions:\n  - action: notify.mobile_app_your_phone\n    data:\n      title: Sensor not reporting\n      message: \"{{ trigger.to_state.name }} has been unavailable for 2 hours.\"<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>Replace the entities and the name of the notification. You expect both automations to save without an error.<\/li><li>If you have dozens of sensors, add a summary weekly check that lists all the <code>unavailable<\/code>, instead of a separate notification for each.<\/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>Temporarily raise the battery threshold above the current level: a notification should come.<\/li><li>Take the battery out of a secondary sensor: after the set time a notification comes.<\/li><li>Put the battery back and check that the entity returns to a normal state.<\/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>There is no notification \u2192 the entity doesn&#8217;t become <code>unavailable<\/code>, but stays at its last value \u2192 use &#8220;last seen&#8221; if the integration provides it.<\/li><li>Many notifications \u2192 the network has a problem and more devices drop at once \u2192 check the hub or adapter.<\/li><li>The battery isn&#8217;t reported \u2192 not every device shows it \u2192 the substitute is a replacement calendar.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><code>unavailable<\/code> shows that the connection has dropped. The cause may be a weak signal or the hub, not necessarily a battery.<\/li><li>A battery in percent is approximate. Some cells drop sharply at the end.<\/li><li>There is no notification if Home Assistant isn&#8217;t running.<\/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\/#state-trigger\">Home Assistant: State trigger<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/automation\/trigger\/#numeric-state-trigger\">Home Assistant: Numeric state trigger<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/zha\/\">Home Assistant: ZHA<\/a><\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>The battery runs out quietly and a door sensor simply stops saying \u201copen\u201d. An automation in Home Assistant notifies you when an entity is unavailable or the battery is low.<\/p>",
        "protected": false
    },
    "author": 0,
    "featured_media": 3628,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        53,
        209,
        64
    ],
    "class_list": [
        "post-4239",
        "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-baterii",
        "diy_project_tag-64"
    ],
    "acf": {
        "_diysmart_difficulty": "intermediate",
        "_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": "Home Assistant",
                "note": "with Zigbee or another sensor integration"
            },
            {
                "label": "Battery sensors",
                "note": "doors, temperature, leaks that you already have"
            },
            {
                "label": "Phone with the Home Assistant app",
                "note": "for the notifications"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "To tell \"no event\" from \"the sensor is dead\""
            },
            {
                "outcome": "To catch an entity that has become unavailable"
            },
            {
                "outcome": "To track a low battery in percent"
            },
            {
                "outcome": "To get one summary list instead of dozens of notifications"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "To find entities and attributes in Developer tools",
                "note": ""
            },
            {
                "requirement": "To paste YAML into an automation",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "",
            "since": "",
            "story": "",
            "image": "",
            "caption": ""
        },
        "_diysmart_linked_product_id": 0,
        "_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>How we notice a sensor has died before it misleads us - Real Home Automations<\/title>\n<meta name=\"description\" content=\"The battery runs out quietly and a door sensor simply stops saying \u201copen\u201d. An automation in Home Assistant notifies you when an entity is unavailable or the battery is low.\" \/>\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\/4239\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How we notice a sensor has died before it misleads us - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"The battery runs out quietly and a door sensor simply stops saying \u201copen\u201d. An automation in Home Assistant notifies you when an entity is unavailable or the battery is low.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4239\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T15:20:29+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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"How we notice a sensor has died before it misleads us\",\"datePublished\":\"2026-11-22T17:17:16+00:00\",\"dateModified\":\"2026-11-25T15:20:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/\"},\"wordCount\":511,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/#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\\\/detect-dead-sensors\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/\",\"name\":\"How we notice a sensor has died before it misleads us - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/#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:16+00:00\",\"dateModified\":\"2026-11-25T15:20:29+00:00\",\"description\":\"The battery runs out quietly and a door sensor simply stops saying \u201copen\u201d. An automation in Home Assistant notifies you when an entity is unavailable or the battery is low.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/kak-razbirame-che-datchik-e-umryal-predi-da-ni-podvede\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/detect-dead-sensors\\\/#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\\\/detect-dead-sensors\\\/#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\":\"How we notice a sensor has died before it misleads us\"}]},{\"@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": "How we notice a sensor has died before it misleads us - Real Home Automations",
        "description": "The battery runs out quietly and a door sensor simply stops saying \u201copen\u201d. An automation in Home Assistant notifies you when an entity is unavailable or the battery is low.",
        "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\/4239",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "How we notice a sensor has died before it misleads us - Real Home Automations",
        "og_description": "The battery runs out quietly and a door sensor simply stops saying \u201copen\u201d. An automation in Home Assistant notifies you when an entity is unavailable or the battery is low.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4239",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-25T15:20:29+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": "3 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/"
                    },
                    "author": {
                        "name": "",
                        "@id": ""
                    },
                    "headline": "How we notice a sensor has died before it misleads us",
                    "datePublished": "2026-11-22T17:17:16+00:00",
                    "dateModified": "2026-11-25T15:20:29+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/"
                    },
                    "wordCount": 511,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/#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\/detect-dead-sensors\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/",
                    "name": "How we notice a sensor has died before it misleads us - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/#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:16+00:00",
                    "dateModified": "2026-11-25T15:20:29+00:00",
                    "description": "The battery runs out quietly and a door sensor simply stops saying \u201copen\u201d. An automation in Home Assistant notifies you when an entity is unavailable or the battery is low.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/kak-razbirame-che-datchik-e-umryal-predi-da-ni-podvede\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/detect-dead-sensors\/#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\/detect-dead-sensors\/#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": "How we notice a sensor has died before it misleads us"
                        }
                    ]
                },
                {
                    "@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\/4239",
                "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\/4239\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4274,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4239\/revisions\/4274"
            }
        ],
        "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=4239"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=4239"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=4239"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}