{
    "id": 131,
    "date": "2026-09-13T22:46:58",
    "date_gmt": "2026-09-13T19:46:58",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/tema-47\/"
    },
    "modified": "2026-11-23T18:24:03",
    "modified_gmt": "2026-11-23T16:24:03",
    "slug": "robotat-chisti-po-tvoite-pravila-zadachi-po-stai-vid-nastilka-i-proverka",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/robotat-chisti-po-tvoite-pravila-zadachi-po-stai-vid-nastilka-i-proverka\/",
    "title": {
        "rendered": "The robot cleans by your rules: tasks by room, floor type and a door check"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">The robot cleans &#8220;everything&#8221;, but you want the kitchen right away and more thoroughly, and in the kids&#8217; room only dry. You also want it not to hit a closed door. A script in Home Assistant passes it these rules.<\/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 script that receives the rooms, the floor type (tiles or wood) and the level of dirt. From them it chooses the mode, suction power, water and number of passes. A second version of the script doesn&#8217;t start if the door of the room is closed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What we need<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>A robot vacuum that Home Assistant controls and that accepts a room-cleaning command. Marto uses the Eufy X10 Pro Omni. We don&#8217;t sell robots, so there is no product link;<\/li><li>Scripts and helpers in Home Assistant: <code>input_text<\/code> for the current and the last task and <code>counter<\/code> for the queue;<\/li><li>Optionally, door sensors for the rooms.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The script is in mode <code>queued<\/code>: the second task waits for the first. Before each task it waits for the robot to be on the base and for the previous task to have finished. Then it sends <code>room_clean<\/code> with parameters and follows the state to the end. At the end it records the result.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Marto&#8217;s rules<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Mode.<\/strong> Tiles: vacuum and wet cleaning for regular and deep cleaning, vacuum only for &#8220;dirty&#8221;. Wood: vacuum only, and for deep also wet;<\/li><li><strong>Passes.<\/strong> One for regular cleaning and for wood on deep, otherwise two;<\/li><li><strong>Suction.<\/strong> Standard for regular, Max otherwise;<\/li><li><strong>Water.<\/strong> Tiles: Medium for regular, High for deep; otherwise Low.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These values are from his home and his robot. They are an example, not a recommendation for your floor.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Door check<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The &#8220;door safe&#8221; script also gets a field for a door sensor. If the sensor is &#8220;on&#8221; (the door is open) or the field is empty, the robot goes. Otherwise the task doesn&#8217;t start, and &#8220;Blocked: door closed&#8221; is recorded in &#8220;last task&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Find the room numbers (<code>room_ids<\/code>) in the robot&#8217;s app or in its integration.<\/li><li>Make <code>input_text.robovac_current_job<\/code>, <code>input_text.robovac_last_completed_job<\/code> and <code>counter.robovac_queue<\/code>.<\/li><li>Create a script with fields for rooms, task name, floor type and level of dirt. Its mode is <code>queued<\/code>.<\/li><li>In the script, calculate the mode by your rules and call <code>vacuum.send_command<\/code> using <code>room_clean<\/code> for the robot.<\/li><li>Add a wait and a record of the result: success, error or timeout.<\/li><li>Make a second version with a field for a door sensor, if you need the check.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The parameters of <code>room_clean<\/code> depend on the integration and the model. Copy them from the documentation of your integration, not from this article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Checking the result<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Two tasks one after the other run one after the other;<\/li><li>A closed door doesn&#8217;t let the robot go and records the reason;<\/li><li>After a robot error &#8220;Failed&#8221; shows in &#8220;last task&#8221;.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">If it doesn&#8217;t work<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>The robot doesn&#8217;t go \u2192 it is not &#8220;docked&#8221; or &#8220;idle&#8221; \u2192 check its state;<\/li><li>The task hangs \u2192 the task state doesn&#8217;t reach &#8220;Completed&#8221; \u2192 check the status entity;<\/li><li>The queue grows \u2192 the counter doesn&#8217;t decrease on error \u2192 add a decrement in all branches.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>The robot can get stuck if there are cables, slippers or toys on the floor: tidy the floor before cleaning;<\/li><li>Wet cleaning of a wooden floor: follow the instructions of the floor manufacturer and of the robot;<\/li><li>The script doesn&#8217;t know whether there is a person or an animal in the robot&#8217;s way.<\/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 and Marto\u2019s Home Assistant (read-only), 22.11.2026. The commands and parameters of <code>room_clean<\/code> are specific to Marto\u2019s integration.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/vacuum\/\">Home Assistant: Vacuum<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/scripts\/\">Home Assistant: Scripts<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/counter\/\">Home Assistant: Counter<\/a><\/li><\/ul>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>A script in Home Assistant gives the robot rooms, floor type and level of dirt. If the door of the room is closed, the task doesn\u2019t start, and a queue keeps the tasks in order.<\/p>",
        "protected": false
    },
    "author": 1,
    "featured_media": 2751,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        155
    ],
    "class_list": [
        "post-131",
        "diy_project",
        "type-diy_project",
        "status-publish",
        "has-post-thumbnail",
        "hentry",
        "diy_project_category-63",
        "diy_project_tag-home-assistant",
        "diy_project_tag-stseni"
    ],
    "acf": {
        "_diysmart_difficulty": "advanced",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 90,
        "_diysmart_build_duration_max": 180,
        "_diysmart_build_duration_unit": "minutes",
        "_diysmart_home_assistant": "required",
        "_diysmart_works_offline": "",
        "_diysmart_electrician": "no",
        "_diysmart_reading_time_override": "",
        "_diysmart_required_tools_rows": [
            {
                "label": "A robot vacuum controlled by Home Assistant",
                "note": "with a room-cleaning command"
            },
            {
                "label": "Home Assistant",
                "note": "with scripts, helpers and a counter"
            },
            {
                "label": "Door open sensors",
                "note": "optional, for the check"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "Call room cleaning with a floor type and a level of dirt"
            },
            {
                "outcome": "Arrange the tasks in a queue so they don't overlap"
            },
            {
                "outcome": "Skip a room with a closed door and record the reason"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "Write scripts with fields and templates in Home Assistant",
                "note": ""
            },
            {
                "requirement": "Use input_text and counter",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "Marto",
            "since": "",
            "story": "In Marto\u2019s Home Assistant, two scripts make the Eufy X10 Pro Omni clean by room according to the floor and the dirt. The second waits for an open door.",
            "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>The robot cleans by your rules: tasks by room, floor type and a door check - Real Home Automations<\/title>\n<meta name=\"description\" content=\"A script in Home Assistant gives the robot rooms, floor type and level of dirt. If the door of the room is closed, the task doesn\u2019t start, and a queue keeps the tasks in order.\" \/>\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\/131\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The robot cleans by your rules: tasks by room, floor type and a door check - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"A script in Home Assistant gives the robot rooms, floor type and level of dirt. If the door of the room is closed, the task doesn\u2019t start, and a queue keeps the tasks in order.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/131\" \/>\n<meta property=\"og:site_name\" content=\"Real Home Automations\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-23T16:24:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"999\" \/>\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\\\/robot-vacuum-rules-by-room-and-floor\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/\"},\"author\":{\"name\":\"Real Home Automations\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\"},\"headline\":\"The robot cleans by your rules: tasks by room, floor type and a door check\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/\"},\"wordCount\":612,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/\",\"name\":\"The robot cleans by your rules: tasks by room, floor type and a door check - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"description\":\"A script in Home Assistant gives the robot rooms, floor type and level of dirt. If the door of the room is closed, the task doesn\u2019t start, and a queue keeps the tasks in order.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/robotat-chisti-po-tvoite-pravila-zadachi-po-stai-vid-nastilka-i-proverka\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp\",\"width\":1000,\"height\":999,\"caption\":\"Home Assistant Connect ZBT-2 \u2013 Universal Zigbee and Thread adapter for Home Assistant\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/robot-vacuum-rules-by-room-and-floor\\\/#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 robot cleans by your rules: tasks by room, floor type and a door check\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"name\":\"Real Home Automations\",\"description\":\"Open smart-home products and complete DIY projects\",\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Organization\",\"OnlineStore\"],\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\",\"name\":\"Real Home Automations\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Real Home Automations\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"legalName\":\"\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414\",\"vatID\":\"BG206246651\",\"taxID\":\"206246651\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1\",\"addressLocality\":\"\u0412\u0430\u0440\u043d\u0430\",\"postalCode\":\"9000\",\"addressCountry\":\"BG\"},\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"customer support\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"availableLanguage\":[\"bg\",\"en\"]},\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"applicableCountry\":\"BG\",\"returnPolicyCategory\":\"https:\\\/\\\/schema.org\\\/MerchantReturnFiniteReturnWindow\",\"merchantReturnDays\":14,\"returnMethod\":\"https:\\\/\\\/schema.org\\\/ReturnByMail\",\"returnFees\":\"https:\\\/\\\/schema.org\\\/ReturnFeesCustomerResponsibility\",\"merchantReturnLink\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/returns\\\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\",\"name\":\"Real Home Automations\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"caption\":\"Real Home Automations\"},\"sameAs\":[\"https:\\\/\\\/realhomeautomations.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->",
    "yoast_head_json": {
        "title": "The robot cleans by your rules: tasks by room, floor type and a door check - Real Home Automations",
        "description": "A script in Home Assistant gives the robot rooms, floor type and level of dirt. If the door of the room is closed, the task doesn\u2019t start, and a queue keeps the tasks in order.",
        "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\/131",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "The robot cleans by your rules: tasks by room, floor type and a door check - Real Home Automations",
        "og_description": "A script in Home Assistant gives the robot rooms, floor type and level of dirt. If the door of the room is closed, the task doesn\u2019t start, and a queue keeps the tasks in order.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/131",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-23T16:24:03+00:00",
        "og_image": [
            {
                "width": 1000,
                "height": 999,
                "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.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\/robot-vacuum-rules-by-room-and-floor\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/"
                    },
                    "author": {
                        "name": "Real Home Automations",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2"
                    },
                    "headline": "The robot cleans by your rules: tasks by room, floor type and a door check",
                    "datePublished": "2026-09-13T19:46:58+00:00",
                    "dateModified": "2026-11-23T16:24:03+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/"
                    },
                    "wordCount": 612,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp",
                    "inLanguage": "en-US"
                },
                {
                    "@type": "WebPage",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/",
                    "name": "The robot cleans by your rules: tasks by room, floor type and a door check - Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp",
                    "datePublished": "2026-09-13T19:46:58+00:00",
                    "dateModified": "2026-11-23T16:24:03+00:00",
                    "description": "A script in Home Assistant gives the robot rooms, floor type and level of dirt. If the door of the room is closed, the task doesn\u2019t start, and a queue keeps the tasks in order.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/robotat-chisti-po-tvoite-pravila-zadachi-po-stai-vid-nastilka-i-proverka\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/#primaryimage",
                    "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp",
                    "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/home-assistant-connect-zbt-2-E28093-universal-zigbee-and-thread-adapter-for.webp",
                    "width": 1000,
                    "height": 999,
                    "caption": "Home Assistant Connect ZBT-2 \u2013 Universal Zigbee and Thread adapter for Home Assistant"
                },
                {
                    "@type": "BreadcrumbList",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/robot-vacuum-rules-by-room-and-floor\/#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 robot cleans by your rules: tasks by room, floor type and a door check"
                        }
                    ]
                },
                {
                    "@type": "WebSite",
                    "@id": "http:\/\/realhomeautomations.com\/en\/#website",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "name": "Real Home Automations",
                    "description": "Open smart-home products and complete DIY projects",
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "potentialAction": [
                        {
                            "@type": "SearchAction",
                            "target": {
                                "@type": "EntryPoint",
                                "urlTemplate": "https:\/\/realhomeautomations.com\/en\/?s={search_term_string}"
                            },
                            "query-input": {
                                "@type": "PropertyValueSpecification",
                                "valueRequired": true,
                                "valueName": "search_term_string"
                            }
                        }
                    ],
                    "inLanguage": "en-US"
                },
                {
                    "@type": [
                        "Organization",
                        "OnlineStore"
                    ],
                    "@id": "http:\/\/realhomeautomations.com\/en\/#organization",
                    "name": "Real Home Automations",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "logo": {
                        "@type": "ImageObject",
                        "inLanguage": "en-US",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/",
                        "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "width": 512,
                        "height": 512,
                        "caption": "Real Home Automations"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/"
                    },
                    "legalName": "\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414",
                    "vatID": "BG206246651",
                    "taxID": "206246651",
                    "email": "office@realhomeautomations.com",
                    "telephone": "+359893232863",
                    "address": {
                        "@type": "PostalAddress",
                        "streetAddress": "\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1",
                        "addressLocality": "\u0412\u0430\u0440\u043d\u0430",
                        "postalCode": "9000",
                        "addressCountry": "BG"
                    },
                    "contactPoint": {
                        "@type": "ContactPoint",
                        "contactType": "customer support",
                        "email": "office@realhomeautomations.com",
                        "telephone": "+359893232863",
                        "availableLanguage": [
                            "bg",
                            "en"
                        ]
                    },
                    "hasMerchantReturnPolicy": {
                        "@type": "MerchantReturnPolicy",
                        "applicableCountry": "BG",
                        "returnPolicyCategory": "https:\/\/schema.org\/MerchantReturnFiniteReturnWindow",
                        "merchantReturnDays": 14,
                        "returnMethod": "https:\/\/schema.org\/ReturnByMail",
                        "returnFees": "https:\/\/schema.org\/ReturnFeesCustomerResponsibility",
                        "merchantReturnLink": "https:\/\/realhomeautomations.com\/en\/returns\/"
                    }
                },
                {
                    "@type": "Person",
                    "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2",
                    "name": "Real Home Automations",
                    "image": {
                        "@type": "ImageObject",
                        "inLanguage": "en-US",
                        "@id": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "url": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "contentUrl": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "caption": "Real Home Automations"
                    },
                    "sameAs": [
                        "https:\/\/realhomeautomations.com"
                    ]
                }
            ]
        }
    },
    "_links": {
        "self": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/131",
                "targetHints": {
                    "allow": [
                        "GET"
                    ]
                }
            }
        ],
        "collection": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project"
            }
        ],
        "about": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/types\/diy_project"
            }
        ],
        "author": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/users\/1"
            }
        ],
        "version-history": [
            {
                "count": 4,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/131\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4297,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/131\/revisions\/4297"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media\/2751"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media?parent=131"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=131"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=131"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}