{
    "id": 4249,
    "date": "2026-11-22T19:17:32",
    "date_gmt": "2026-11-22T17:17:32",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/nay-evtinata-polezna-avtomatizatsiya-datchik-za-tech\/"
    },
    "modified": "2026-11-25T17:20:34",
    "modified_gmt": "2026-11-25T15:20:34",
    "slug": "nay-evtinata-polezna-avtomatizatsiya-datchik-za-tech",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/nay-evtinata-polezna-avtomatizatsiya-datchik-za-tech\/",
    "title": {
        "rendered": "The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">A leak from a washing machine hose, from the water heater or under the sink starts with a few drops. A sensor on the floor catches the moisture at the first stage and writes to your phone. This is one of the most useful automations and among the cheapest.<\/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 when the sensor senses water. The sensor only <strong>notifies<\/strong>. It doesn&#8217;t stop the water and doesn&#8217;t dry the floor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What we need<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>1 pc <a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included\/\">Sonoff SNZB-05P<\/a>: a Zigbee 3.0 leak sensor, with the sensing cable included. For more places you need more sensors.<\/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: 20\u201345 minutes. 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\">When the sensor senses water, Home Assistant receives <code>binary_sensor<\/code> with the state <code>on<\/code> (class &#8220;moisture&#8221;). The automation sends a notification immediately. In the dry state the entity is <code>off<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simeon&#8217;s notification is critical, and when the sensor is dry again a second one says that everything is OK.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Where to put it<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>under the washing machine or the dishwasher, at the lowest point;<\/li><li>next to the water heater and under the sink;<\/li><li>behind the toilet and under a radiator with valves, if there is a risk;<\/li><li>in a place where the water will arrive first, before it spills elsewhere.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Leave the sensor on a level floor. The sensing cable goes where water collects.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Pair the sensor in Home Assistant. You expect <code>binary_sensor<\/code> for moisture.<\/li><li>Place it in the chosen spot.<\/li><li>Automation (the entity ID is an example):<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Leak - notification\nmode: single\ntriggers:\n  - trigger: state\n    entity_id: binary_sensor.leak_kitchen\n    to: \"on\"\nactions:\n  - action: notify.mobile_app_your_phone\n    data:\n      title: Leak!\n      message: The sensor by the sink has sensed water. Check immediately.\n      data:\n        ttl: 0\n        priority: high<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>Save and try it.<\/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>Lightly wet the cable or the sensor&#8217;s contacts with a damp cloth. Don&#8217;t immerse it. A notification should come.<\/li><li>Dry it and check that the entity returns to <code>off<\/code>.<\/li><li>Repeat the check every few months and replace the battery on time.<\/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 \u2192 the name of the <code>notify<\/code> is wrong or notifications are off \u2192 send a test one from Developer tools.<\/li><li>The sensor is <code>unavailable<\/code> \u2192 weak signal or battery \u2192 move the hub or replace the battery.<\/li><li>False alarms \u2192 condensation or a damp floor \u2192 move the sensor or dry it.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>The sensor catches water only where it is placed.<\/li><li>If you are not at home and the phone has no connection, a notification doesn&#8217;t help. Think of someone who can respond.<\/li><li>The automation doesn&#8217;t stop the water.<\/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\/integrations\/binary_sensor\/\">Home Assistant: Binary sensor (moisture)<\/a><\/li><li><a href=\"https:\/\/companion.home-assistant.io\/docs\/notifications\/notifications-basic\/\">Home Assistant Companion: notifications<\/a><\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>A Zigbee leak sensor on the floor under the washing machine, the water heater or the sink and a notification on the phone. A small price for something that warns you before the water has reached the neighbours.<\/p>",
        "protected": false
    },
    "author": 0,
    "featured_media": 1494,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        53,
        64,
        218
    ],
    "class_list": [
        "post-4249",
        "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-tech"
    ],
    "acf": {
        "_diysmart_difficulty": "beginner",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 20,
        "_diysmart_build_duration_max": 45,
        "_diysmart_build_duration_unit": "minutes",
        "_diysmart_home_assistant": "yes",
        "_diysmart_works_offline": "",
        "_diysmart_electrician": "no",
        "_diysmart_reading_time_override": "",
        "_diysmart_required_tools_rows": [
            {
                "label": "Leak sensor",
                "note": "Sonoff SNZB-05P with a sensing cable, 1 pc"
            },
            {
                "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": "for the notification"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "To choose where to put the sensor"
            },
            {
                "outcome": "To make a leak notification"
            },
            {
                "outcome": "To test the sensor safely"
            },
            {
                "outcome": "To know what it doesn't do: it doesn't stop the water"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "To add a Zigbee device in Home Assistant",
                "note": ""
            },
            {
                "requirement": "To paste YAML into an automation",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "",
            "since": "",
            "story": "",
            "image": "",
            "caption": ""
        },
        "_diysmart_linked_product_id": 1493,
        "_diysmart_youtube_url": "",
        "_diysmart_github_url": ""
    },
    "yoast_head": "<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands - Real Home Automations<\/title>\n<meta name=\"description\" content=\"A Zigbee leak sensor on the floor under the washing machine, the water heater or the sink and a notification on the phone. A small price for something that warns you before the water has reached the neighbours.\" \/>\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\/4249\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"A Zigbee leak sensor on the floor under the washing machine, the water heater or the sink and a notification on the phone. A small price for something that warns you before the water has reached the neighbours.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4249\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-25T15:20:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands\",\"datePublished\":\"2026-11-22T17:17:32+00:00\",\"dateModified\":\"2026-11-25T15:20:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/\"},\"wordCount\":456,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/\",\"name\":\"The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp\",\"datePublished\":\"2026-11-22T17:17:32+00:00\",\"dateModified\":\"2026-11-25T15:20:34+00:00\",\"description\":\"A Zigbee leak sensor on the floor under the washing machine, the water heater or the sink and a notification on the phone. A small price for something that warns you before the water has reached the neighbours.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/nay-evtinata-polezna-avtomatizatsiya-datchik-za-tech\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp\",\"width\":1000,\"height\":1000,\"caption\":\"Flood sensor Sonoff SNZB-05P, with flood detection cable included\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/leak-sensor-cheapest-useful-automation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041f\u0440\u043e\u0435\u043a\u0442\u0438\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands\"}]},{\"@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": "The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands - Real Home Automations",
        "description": "A Zigbee leak sensor on the floor under the washing machine, the water heater or the sink and a notification on the phone. A small price for something that warns you before the water has reached the neighbours.",
        "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\/4249",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands - Real Home Automations",
        "og_description": "A Zigbee leak sensor on the floor under the washing machine, the water heater or the sink and a notification on the phone. A small price for something that warns you before the water has reached the neighbours.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4249",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-25T15:20:34+00:00",
        "og_image": [
            {
                "width": 1000,
                "height": 1000,
                "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp",
                "type": "image\/jpeg"
            }
        ],
        "twitter_card": "summary_large_image",
        "twitter_misc": {
            "Est. reading time": "2 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/"
                    },
                    "author": {
                        "name": "",
                        "@id": ""
                    },
                    "headline": "The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands",
                    "datePublished": "2026-11-22T17:17:32+00:00",
                    "dateModified": "2026-11-25T15:20:34+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/"
                    },
                    "wordCount": 456,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp",
                    "inLanguage": "en-US"
                },
                {
                    "@type": "WebPage",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/",
                    "name": "The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp",
                    "datePublished": "2026-11-22T17:17:32+00:00",
                    "dateModified": "2026-11-25T15:20:34+00:00",
                    "description": "A Zigbee leak sensor on the floor under the washing machine, the water heater or the sink and a notification on the phone. A small price for something that warns you before the water has reached the neighbours.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/nay-evtinata-polezna-avtomatizatsiya-datchik-za-tech\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/#primaryimage",
                    "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp",
                    "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/flood-sensor-sonoff-snzb-05p-with-flood-detection-cable-included.webp",
                    "width": 1000,
                    "height": 1000,
                    "caption": "Flood sensor Sonoff SNZB-05P, with flood detection cable included"
                },
                {
                    "@type": "BreadcrumbList",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/leak-sensor-cheapest-useful-automation\/#breadcrumb",
                    "itemListElement": [
                        {
                            "@type": "ListItem",
                            "position": 1,
                            "name": "Home",
                            "item": "http:\/\/realhomeautomations.com\/bg\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 2,
                            "name": "\u041f\u0440\u043e\u0435\u043a\u0442\u0438",
                            "item": "http:\/\/realhomeautomations.com\/bg\/projects\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 3,
                            "name": "The cheapest useful automation: a leak sensor for under \u20ac20 against a flood costing thousands"
                        }
                    ]
                },
                {
                    "@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\/4249",
                "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\/4249\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4270,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/4249\/revisions\/4270"
            }
        ],
        "acf:post": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/product\/1493"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media\/1494"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media?parent=4249"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=4249"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=4249"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}