{"id":122,"date":"2026-09-13T22:46:58","date_gmt":"2026-09-13T19:46:58","guid":{"rendered":"http:\/\/realhomeautomations.com\/bg\/projects\/tema-38\/"},"modified":"2026-11-23T18:24:03","modified_gmt":"2026-11-23T16:24:03","slug":"edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni","status":"publish","type":"diy_project","link":"https:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/","title":{"rendered":"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u0437\u0430 \u043f\u0435\u0440\u0434\u0435\u0442\u0430\u0442\u0430: \u043e\u0442\u0432\u0430\u0440\u044f\u043d\u0435, \u0441\u043f\u0438\u0440\u0430\u043d\u0435 \u0438 \u0437\u0430\u0442\u0432\u0430\u0440\u044f\u043d\u0435 \u0441 \u043a\u043b\u044e\u0447 \u0437\u0430 \u0441\u0446\u0435\u043d\u0438"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You have one button by the door and two curtains. You want one press to be enough: if the curtain is moving, stop it; if it is closed, open it; if it is open, close it. You don&#8217;t want three buttons.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you will get<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">One button with &#8220;smart&#8221; behavior depending on the state of the curtain. The same logic works for one curtain or for a group.<\/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 href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee\/\">Aqara Curtain Driver E1, track version<\/a> \u2014 one kit per curtain. For a rod see <a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/curtain-automation-kit-for-curtain-rods-aqara-curtain-driver-e1-rod-version-zigbee\/\">the rod version<\/a>;<\/li><li><a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/sonoff-snzb-01p-smart-wireless-button-zigbee-3-0-multi-action-control-and-compact-design\/\">Sonoff SNZB-01P<\/a> \u2014 one button;<\/li><li>Home Assistant with the motor&#8217;s cover entities.<\/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<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The automation reads the state and position of the curtain and chooses an action. The rules are in order:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>If the curtain is moving (<code>opening<\/code> or <code>closing<\/code>): stop.<\/li><li>If the position is below 5%: open.<\/li><li>If the position is above 95%: close.<\/li><li>If it is somewhere in the middle: above 50% close, otherwise open.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">These thresholds are in Marto&#8217;s automation. You can change them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How it is at our place<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In Marto&#8217;s kids&#8217; room the trigger is the event <code>zha_event<\/code> from a Zigbee switch, and the target is the group &#8220;Kids room blinds&#8221; with two curtains. The automation is in mode <code>parallel<\/code> with up to 10 simultaneous runs, so that the second press can stop the curtain while the first one is still going.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Pair the motors and the button in Home Assistant. If you have two curtains, make a group of type cover for them.<\/li><li>Listen for the events: <strong>Developer tools \u2192 Events \u2192 Listen to events<\/strong>, enter <code>zha_event<\/code> and press the button. Write down <code>device_ieee<\/code>, <code>cluster_id<\/code> and <code>command<\/code>.<\/li><li>Create an automation in YAML and put the recorded values in the trigger.<\/li><li>Save and press the button once with an open curtain, once with a closed one and once with a moving one.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: One button for the curtains (example)\nmode: parallel\nmax: 10\ntriggers:\n  - trigger: event\n    event_type: zha_event\n    event_data:\n      device_ieee: \"aa:bb:cc:dd:ee:ff:00:11\"  # replace with your own\n      endpoint_id: 1\n      cluster_id: 6\n      command: \"on\"                           # replace with the command from the event\nactions:\n  - choose:\n      - conditions:\n          - condition: state\n            entity_id: cover.kids_room_blinds\n            state: [opening, closing]\n        sequence:\n          - action: cover.stop_cover\n            target: {entity_id: cover.kids_room_blinds}\n      - conditions:\n          - condition: numeric_state\n            entity_id: cover.kids_room_blinds\n            attribute: current_position\n            below: 5\n        sequence:\n          - action: cover.open_cover\n            target: {entity_id: cover.kids_room_blinds}\n      - conditions:\n          - condition: numeric_state\n            entity_id: cover.kids_room_blinds\n            attribute: current_position\n            above: 95\n        sequence:\n          - action: cover.close_cover\n            target: {entity_id: cover.kids_room_blinds}\n    default:\n      - choose:\n          - conditions:\n              - condition: numeric_state\n                entity_id: cover.kids_room_blinds\n                attribute: current_position\n                above: 50\n            sequence:\n              - action: cover.close_cover\n                target: {entity_id: cover.kids_room_blinds}\n        default:\n          - action: cover.open_cover\n            target: {entity_id: cover.kids_room_blinds}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">All the identifiers in the code are examples. You paste it as a new automation through &#8220;Edit in YAML&#8221;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Checking the result<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Closed curtain: a press opens it;<\/li><li>Moving curtain: a press stops it halfway;<\/li><li>Open curtain: a press closes it.<\/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>Nothing happens \u2192 the trigger doesn&#8217;t match the event \u2192 copy the values exactly from Developer tools;<\/li><li>The button sends several events on one press \u2192 listen with a narrower condition \u2192 add <code>command<\/code> to the trigger;<\/li><li>The curtain doesn&#8217;t stop \u2192 the motor doesn&#8217;t respond to stop \u2192 check &#8220;Stop&#8221; manually from the device card.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Limitations<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>If the motor loses its position, the 5% and 95% thresholds can get confused: recalibrate the curtain according to Aqara;<\/li><li>Without Home Assistant and a Zigbee hub the button does nothing: the curtain is pulled by hand.<\/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&#8217;s Home Assistant (read-only), 22.11.2026. The model of Marto&#8217;s switch is not recorded.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.aqara.com\/en\/product\/curtain-driver-e1\/\">Aqara: Curtain Driver E1<\/a><\/li><li><a href=\"https:\/\/help.sonoff.tech\/docs\/snzb-01p\">SONOFF: SNZB-01P<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/zha\/\">Home Assistant: Zigbee Home Automation<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/cover\/\">Home Assistant: Cover<\/a><\/li><\/ul>\n\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u043f\u0440\u0430\u0432\u0438 \u0442\u0440\u0438 \u043d\u0435\u0449\u0430: \u0430\u043a\u043e \u0437\u0430\u0432\u0435\u0441\u0430\u0442\u0430 \u0441\u0435 \u0434\u0432\u0438\u0436\u0438, \u044f \u0441\u043f\u0438\u0440\u0430; \u0430\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u043e\u0442\u0432\u0430\u0440\u044f; \u0430\u043a\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u0437\u0430\u0442\u0432\u0430\u0440\u044f. \u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 Home Assistant \u043d\u0430 \u041c\u0430\u0440\u0442\u043e.<\/p>","protected":false},"author":1,"featured_media":1549,"template":"","diy_project_category":[63],"diy_project_tag":[59,53,155,158],"class_list":["post-122","diy_project","type-diy_project","status-publish","has-post-thumbnail","hentry","diy_project_category-63","diy_project_tag-aqara","diy_project_tag-zigbee","diy_project_tag-stseni","diy_project_tag-shtori"],"acf":{"_diysmart_difficulty":"intermediate","_diysmart_featured":false,"_diysmart_build_duration_min":45,"_diysmart_build_duration_max":90,"_diysmart_build_duration_unit":"minutes","_diysmart_home_assistant":"required","_diysmart_works_offline":"","_diysmart_electrician":"no","_diysmart_reading_time_override":"","_diysmart_required_tools_rows":[{"label":"Aqara Curtain Driver E1","note":"one motor per curtain; a version for a track or for a rod"},{"label":"Sonoff SNZB-01P","note":"a wireless button, Zigbee 3.0"},{"label":"Zigbee hub or Home Assistant with a Zigbee adapter","note":""}],"_diysmart_learning_outcomes_rows":[{"outcome":"Make one button for opening, stopping and closing"},{"outcome":"Use the position of the curtain as a condition"},{"outcome":"Stop the curtain halfway with a second press"}],"_diysmart_skill_requirements_rows":[{"requirement":"Add a Zigbee device to Home Assistant","note":""},{"requirement":"Edit an automation in YAML","note":""}],"_diysmart_at_home":{"who":"Marto","since":"","story":"In Marto's kids' room one switch controls two curtains. One press opens, closes or stops, depending on what the curtains are doing at the moment.","image":"","caption":""},"_diysmart_linked_product_id":1548,"_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>One button for the curtains: open, stop and close with a scene switch - Real Home Automations<\/title>\n<meta name=\"description\" content=\"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u043f\u0440\u0430\u0432\u0438 \u0442\u0440\u0438 \u043d\u0435\u0449\u0430: \u0430\u043a\u043e \u0437\u0430\u0432\u0435\u0441\u0430\u0442\u0430 \u0441\u0435 \u0434\u0432\u0438\u0436\u0438, \u044f \u0441\u043f\u0438\u0440\u0430; \u0430\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u043e\u0442\u0432\u0430\u0440\u044f; \u0430\u043a\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u0437\u0430\u0442\u0432\u0430\u0440\u044f. \u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 Home Assistant \u043d\u0430 \u041c\u0430\u0440\u0442\u043e.\" \/>\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\/bg\/wp-json\/wp\/v2\/diy_project\/122\" \/>\n<meta property=\"og:locale\" content=\"bg_BG\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"One button for the curtains: open, stop and close with a scene switch - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u043f\u0440\u0430\u0432\u0438 \u0442\u0440\u0438 \u043d\u0435\u0449\u0430: \u0430\u043a\u043e \u0437\u0430\u0432\u0435\u0441\u0430\u0442\u0430 \u0441\u0435 \u0434\u0432\u0438\u0436\u0438, \u044f \u0441\u043f\u0438\u0440\u0430; \u0430\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u043e\u0442\u0432\u0430\u0440\u044f; \u0430\u043a\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u0437\u0430\u0442\u0432\u0430\u0440\u044f. \u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 Home Assistant \u043d\u0430 \u041c\u0430\u0440\u0442\u043e.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/122\" \/>\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\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\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 \u043c\u0438\u043d\u0443\u0442\u0438\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/\"},\"author\":{\"name\":\"Real Home Automations\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\"},\"headline\":\"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u0437\u0430 \u043f\u0435\u0440\u0434\u0435\u0442\u0430\u0442\u0430: \u043e\u0442\u0432\u0430\u0440\u044f\u043d\u0435, \u0441\u043f\u0438\u0440\u0430\u043d\u0435 \u0438 \u0437\u0430\u0442\u0432\u0430\u0440\u044f\u043d\u0435 \u0441 \u043a\u043b\u044e\u0447 \u0437\u0430 \u0441\u0446\u0435\u043d\u0438\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/\"},\"wordCount\":495,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp\",\"inLanguage\":\"bg-BG\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/\",\"name\":\"One button for the curtains: open, stop and close with a scene switch - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"description\":\"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u043f\u0440\u0430\u0432\u0438 \u0442\u0440\u0438 \u043d\u0435\u0449\u0430: \u0430\u043a\u043e \u0437\u0430\u0432\u0435\u0441\u0430\u0442\u0430 \u0441\u0435 \u0434\u0432\u0438\u0436\u0438, \u044f \u0441\u043f\u0438\u0440\u0430; \u0430\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u043e\u0442\u0432\u0430\u0440\u044f; \u0430\u043a\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u0437\u0430\u0442\u0432\u0430\u0440\u044f. \u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 Home Assistant \u043d\u0430 \u041c\u0430\u0440\u0442\u043e.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/#breadcrumb\"},\"inLanguage\":\"bg-BG\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp\",\"width\":800,\"height\":800,\"caption\":\"Curtain automation kit for tracks Aqara E1 Track Version, Zigbee\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u041d\u0430\u0447\u0430\u043b\u043e\",\"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\":\"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u0437\u0430 \u043f\u0435\u0440\u0434\u0435\u0442\u0430\u0442\u0430: \u043e\u0442\u0432\u0430\u0440\u044f\u043d\u0435, \u0441\u043f\u0438\u0440\u0430\u043d\u0435 \u0438 \u0437\u0430\u0442\u0432\u0430\u0440\u044f\u043d\u0435 \u0441 \u043a\u043b\u044e\u0447 \u0437\u0430 \u0441\u0446\u0435\u043d\u0438\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#website\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/\",\"name\":\"Real Home Automations\",\"description\":\"Open smart-home products and complete DIY projects\",\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/realhomeautomations.com\\\/bg\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"bg-BG\"},{\"@type\":[\"Organization\",\"OnlineStore\"],\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#organization\",\"name\":\"Real Home Automations\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#\\\/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\\\/bg\\\/#\\\/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\\\/bg\\\/returns\\\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\",\"name\":\"Real Home Automations\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@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":"One button for the curtains: open, stop and close with a scene switch - Real Home Automations","description":"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u043f\u0440\u0430\u0432\u0438 \u0442\u0440\u0438 \u043d\u0435\u0449\u0430: \u0430\u043a\u043e \u0437\u0430\u0432\u0435\u0441\u0430\u0442\u0430 \u0441\u0435 \u0434\u0432\u0438\u0436\u0438, \u044f \u0441\u043f\u0438\u0440\u0430; \u0430\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u043e\u0442\u0432\u0430\u0440\u044f; \u0430\u043a\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u0437\u0430\u0442\u0432\u0430\u0440\u044f. \u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 Home Assistant \u043d\u0430 \u041c\u0430\u0440\u0442\u043e.","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\/bg\/wp-json\/wp\/v2\/diy_project\/122","og_locale":"bg_BG","og_type":"article","og_title":"One button for the curtains: open, stop and close with a scene switch - Real Home Automations","og_description":"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u043f\u0440\u0430\u0432\u0438 \u0442\u0440\u0438 \u043d\u0435\u0449\u0430: \u0430\u043a\u043e \u0437\u0430\u0432\u0435\u0441\u0430\u0442\u0430 \u0441\u0435 \u0434\u0432\u0438\u0436\u0438, \u044f \u0441\u043f\u0438\u0440\u0430; \u0430\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u043e\u0442\u0432\u0430\u0440\u044f; \u0430\u043a\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u0437\u0430\u0442\u0432\u0430\u0440\u044f. \u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 Home Assistant \u043d\u0430 \u041c\u0430\u0440\u0442\u043e.","og_url":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/122","og_site_name":"Real Home Automations","article_modified_time":"2026-11-23T16:24:03+00:00","og_image":[{"width":800,"height":800,"url":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 \u043c\u0438\u043d\u0443\u0442\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/#article","isPartOf":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/"},"author":{"name":"Real Home Automations","@id":"http:\/\/realhomeautomations.com\/bg\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2"},"headline":"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u0437\u0430 \u043f\u0435\u0440\u0434\u0435\u0442\u0430\u0442\u0430: \u043e\u0442\u0432\u0430\u0440\u044f\u043d\u0435, \u0441\u043f\u0438\u0440\u0430\u043d\u0435 \u0438 \u0437\u0430\u0442\u0432\u0430\u0440\u044f\u043d\u0435 \u0441 \u043a\u043b\u044e\u0447 \u0437\u0430 \u0441\u0446\u0435\u043d\u0438","datePublished":"2026-09-13T19:46:58+00:00","dateModified":"2026-11-23T16:24:03+00:00","mainEntityOfPage":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/"},"wordCount":495,"publisher":{"@id":"http:\/\/realhomeautomations.com\/bg\/#organization"},"image":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/#primaryimage"},"thumbnailUrl":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp","inLanguage":"bg-BG"},{"@type":"WebPage","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/","url":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/","name":"One button for the curtains: open, stop and close with a scene switch - Real Home Automations","isPartOf":{"@id":"http:\/\/realhomeautomations.com\/bg\/#website"},"primaryImageOfPage":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/#primaryimage"},"image":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/#primaryimage"},"thumbnailUrl":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp","datePublished":"2026-09-13T19:46:58+00:00","dateModified":"2026-11-23T16:24:03+00:00","description":"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u043f\u0440\u0430\u0432\u0438 \u0442\u0440\u0438 \u043d\u0435\u0449\u0430: \u0430\u043a\u043e \u0437\u0430\u0432\u0435\u0441\u0430\u0442\u0430 \u0441\u0435 \u0434\u0432\u0438\u0436\u0438, \u044f \u0441\u043f\u0438\u0440\u0430; \u0430\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u043e\u0442\u0432\u0430\u0440\u044f; \u0430\u043a\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u044f \u0437\u0430\u0442\u0432\u0430\u0440\u044f. \u041f\u043e\u043a\u0430\u0437\u0432\u0430\u043c\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f\u0442\u0430 \u043e\u0442 Home Assistant \u043d\u0430 \u041c\u0430\u0440\u0442\u043e.","breadcrumb":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/#breadcrumb"},"inLanguage":"bg-BG","potentialAction":[{"@type":"ReadAction","target":["http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/"]}]},{"@type":"ImageObject","inLanguage":"bg-BG","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/#primaryimage","url":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp","contentUrl":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/curtain-automation-kit-for-tracks-aqara-e1-track-version-zigbee.webp","width":800,"height":800,"caption":"Curtain automation kit for tracks Aqara E1 Track Version, Zigbee"},{"@type":"BreadcrumbList","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/edin-buton-za-perdetata-otvaryane-spirane-i-zatvaryane-s-klyuch-za-stseni\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u041d\u0430\u0447\u0430\u043b\u043e","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":"\u0415\u0434\u0438\u043d \u0431\u0443\u0442\u043e\u043d \u0437\u0430 \u043f\u0435\u0440\u0434\u0435\u0442\u0430\u0442\u0430: \u043e\u0442\u0432\u0430\u0440\u044f\u043d\u0435, \u0441\u043f\u0438\u0440\u0430\u043d\u0435 \u0438 \u0437\u0430\u0442\u0432\u0430\u0440\u044f\u043d\u0435 \u0441 \u043a\u043b\u044e\u0447 \u0437\u0430 \u0441\u0446\u0435\u043d\u0438"}]},{"@type":"WebSite","@id":"http:\/\/realhomeautomations.com\/bg\/#website","url":"http:\/\/realhomeautomations.com\/bg\/","name":"Real Home Automations","description":"Open smart-home products and complete DIY projects","publisher":{"@id":"http:\/\/realhomeautomations.com\/bg\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/realhomeautomations.com\/bg\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"bg-BG"},{"@type":["Organization","OnlineStore"],"@id":"http:\/\/realhomeautomations.com\/bg\/#organization","name":"Real Home Automations","url":"http:\/\/realhomeautomations.com\/bg\/","logo":{"@type":"ImageObject","inLanguage":"bg-BG","@id":"http:\/\/realhomeautomations.com\/bg\/#\/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\/bg\/#\/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\/bg\/returns\/"}},{"@type":"Person","@id":"http:\/\/realhomeautomations.com\/bg\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2","name":"Real Home Automations","image":{"@type":"ImageObject","inLanguage":"bg-BG","@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\/bg\/wp-json\/wp\/v2\/diy_project\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project"}],"about":[{"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/types\/diy_project"}],"author":[{"embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":4,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/122\/revisions"}],"predecessor-version":[{"id":4305,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/122\/revisions\/4305"}],"acf:post":[{"embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/product\/1548"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/media\/1549"}],"wp:attachment":[{"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/media?parent=122"}],"wp:term":[{"taxonomy":"diy_project_category","embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project_category?post=122"},{"taxonomy":"diy_project_tag","embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project_tag?post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}