{"id":4195,"date":"2026-11-22T19:15:26","date_gmt":"2026-11-22T17:15:26","guid":{"rendered":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/"},"modified":"2026-11-23T18:24:03","modified_gmt":"2026-11-23T16:24:03","slug":"alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira","status":"publish","type":"diy_project","link":"https:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/","title":{"rendered":"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u041d\u0430\u0442\u0438\u0441\u043a\u0430\u0448 \u201e\u0432\u044a\u043e\u0440\u044a\u0436\u0438\u201c \u0438 \u0438\u0437\u043b\u0438\u0437\u0430\u0448, \u0430 \u0432\u0435\u0447\u0435\u0440\u0442\u0430 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0448, \u0447\u0435 \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446\u044a\u0442 \u0432 \u0441\u043f\u0430\u043b\u043d\u044f\u0442\u0430 \u0435 \u0431\u0438\u043b \u043e\u0442\u0432\u043e\u0440\u0435\u043d. \u0415\u0442\u043e \u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0439\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435 \u0438 \u043a\u0430\u0437\u0432\u0430 \u043a\u043e\u0435 \u0433\u043e \u0441\u043f\u0438\u0440\u0430.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u0430\u043a\u0432\u043e \u0449\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0448<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0411\u0443\u0442\u043e\u043d \u201e\u0412\u044a\u043e\u0440\u044a\u0436\u0438, \u0430\u043a\u043e \u0432\u0441\u0438\u0447\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u043e\u201c. \u0410\u043a\u043e \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u0441\u0430 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0438, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430. \u0410\u043a\u043e \u043d\u044f\u043a\u043e\u0439 \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u0438\u043b\u0438 \u043d\u0435 \u043e\u0442\u0433\u043e\u0432\u0430\u0440\u044f, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0441 \u0438\u043c\u0435\u043d\u0430\u0442\u0430 \u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u0438\u0442\u0435 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u0440\u043e\u0435\u043a\u0442\u044a\u0442 \u0434\u043e\u043f\u044a\u043b\u0432\u0430 \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0442 <a href=\"https:\/\/realhomeautomations.com\/bg\/projects\/home-assistant-kato-ohranitelna-alarma-vaorazhavane-zabavyane-na-vhoda-i-izvestie-pri-srabotvane\/\">\u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0437\u0430 \u0430\u043b\u0430\u0440\u043c\u0430 \u0432 Home Assistant<\/a>. \u0420\u0430\u0431\u043e\u0442\u0438 \u0438 \u0441 \u0432\u0441\u0435\u043a\u0438 \u0434\u0440\u0443\u0433 <code>alarm_control_panel<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u0430\u043a\u0432\u043e \u043d\u0438 \u0442\u0440\u044f\u0431\u0432\u0430<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/smart-door-and-window-sensor-sonoff-snzb-04pr1-zigbee-3-0-protocol-cr2477-battery-powered-real-time-opening-alerts-ewelink-home-assistant\/\">\u0414\u0430\u0442\u0447\u0438\u043a \u0437\u0430 \u0432\u0440\u0430\u0442\u0430 Sonoff SNZB-04PR1<\/a>: \u043f\u043e \u0435\u0434\u0438\u043d \u043d\u0430 \u0432\u0441\u044f\u043a\u0430 \u0432\u0440\u0430\u0442\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446, \u043a\u043e\u0438\u0442\u043e \u0438\u0441\u043a\u0430\u0448 \u0434\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430\u0448. \u041a\u043e\u043b\u043a\u043e \u0441\u0430, \u0437\u0430\u0432\u0438\u0441\u0438 \u043e\u0442 \u0434\u043e\u043c\u0430 \u0442\u0438.<\/li><li>Home Assistant, \u0430\u043b\u0430\u0440\u043c\u0435\u043d \u043f\u0430\u043d\u0435\u043b (<code>alarm_control_panel<\/code>) \u0438 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u0442\u043e.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u041d\u0443\u0436\u0435\u043d \u0435 Zigbee \u0445\u044a\u0431 \u0438\u043b\u0438 Home Assistant \u0441\u044a\u0441 Zigbee \u0430\u0434\u0430\u043f\u0442\u0435\u0440.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u0412\u0440\u0435\u043c\u0435 \u0437\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430:<\/strong> \u043e\u043a\u043e\u043b\u043e 30\u201345 \u043c\u0438\u043d\u0443\u0442\u0438.<\/li><li><strong>\u0423\u043c\u0435\u043d\u0438\u044f:<\/strong> \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0430\u0448 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432 YAML \u0438 \u0434\u043e\u0431\u0430\u0432\u044f\u0448 \u043a\u0430\u0440\u0442\u0430 \u0432 \u0442\u0430\u0431\u043b\u043e\u0442\u043e.<\/li><li><strong>\u041c\u043e\u043d\u0442\u0430\u0436:<\/strong> \u0434\u0430\u0442\u0447\u0438\u0446\u0438\u0442\u0435 \u0441\u0435 \u043b\u0435\u043f\u044f\u0442, \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430 \u043a\u044a\u043c \u043c\u0440\u0435\u0436\u043e\u0432\u043e \u043d\u0430\u043f\u0440\u0435\u0436\u0435\u043d\u0438\u0435.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0438<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0421\u043a\u0440\u0438\u043f\u0442\u044a\u0442 \u043f\u0440\u0430\u0432\u0438 \u0441\u043f\u0438\u0441\u044a\u043a \u043e\u0442 \u0434\u0430\u0442\u0447\u0438\u0446\u0438\u0442\u0435, \u0447\u0438\u0435\u0442\u043e \u0441\u044a\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043d\u0435 \u0435 <code>off<\/code> (\u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u043e). \u0422\u043e\u0432\u0430 \u0432\u043a\u043b\u044e\u0447\u0432\u0430 <code>on<\/code> (\u043e\u0442\u0432\u043e\u0440\u0435\u043d) \u0438 <code>unavailable<\/code> \u0438\u043b\u0438 <code>unknown<\/code>: \u0434\u0430\u0442\u0447\u0438\u043a \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430 \u043d\u0435 \u0434\u043e\u043a\u0430\u0437\u0432\u0430, \u0447\u0435 \u0432\u0440\u0430\u0442\u0430\u0442\u0430 \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u0437\u0430\u0442\u043e\u0432\u0430 \u0441\u044a\u0449\u043e \u0441\u043f\u0438\u0440\u0430 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435\u0442\u043e.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0410\u043a\u043e \u0441\u043f\u0438\u0441\u044a\u043a\u044a\u0442 \u0435 \u043f\u0440\u0430\u0437\u0435\u043d, \u0441\u043a\u0440\u0438\u043f\u0442\u044a\u0442 \u0432\u0438\u043a\u0430 <code>alarm_control_panel.alarm_arm_away<\/code>. \u0418\u043d\u0430\u0447\u0435 \u043f\u0440\u0430\u0449\u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u0435 \u0441 \u0438\u043c\u0435\u043d\u0430\u0442\u0430 \u043e\u0442 \u0441\u043f\u0438\u0441\u044a\u043a\u0430. \u0418\u043c\u0435\u0442\u043e \u0435 \u0438\u043c\u0435\u0442\u043e \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u0442\u043e, \u0437\u0430\u0442\u043e\u0432\u0430 \u043d\u0430\u0438\u043c\u0435\u043d\u0443\u0432\u0430\u0439 \u0434\u0430\u0442\u0447\u0438\u0446\u0438\u0442\u0435 \u044f\u0441\u043d\u043e: \u201e\u0412\u0445\u043e\u0434\u043d\u0430 \u0432\u0440\u0430\u0442\u0430\u201c, \u201e\u041f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0441\u043f\u0430\u043b\u043d\u044f\u201c.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u0421\u0442\u044a\u043f\u043a\u0438<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u0414\u043e\u0431\u0430\u0432\u0438 \u0438 \u043d\u0430\u0438\u043c\u0435\u043d\u0443\u0432\u0430\u0439 \u0434\u0430\u0442\u0447\u0438\u0446\u0438\u0442\u0435.<\/strong> \u0421\u0434\u0432\u043e\u0438 \u0432\u0441\u0435\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u043a \u043f\u0440\u0435\u0437 ZHA \u0438\u043b\u0438 Zigbee2MQTT. \u0414\u0430\u0439 \u0438\u043c\u0435 \u043d\u0430 \u043c\u044f\u0441\u0442\u043e, \u043a\u044a\u0434\u0435\u0442\u043e \u0435 \u0437\u0430\u043b\u0435\u043f\u0435\u043d. \u0417\u0430\u043f\u0438\u0448\u0438 entity ID-\u0442\u0430\u0442\u0430 \u043d\u0430 <code>binary_sensor<\/code> \u0437\u0430 \u0432\u0440\u0430\u0442\u0438\u0442\u0435 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438\u0442\u0435.<\/li><li><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u0438 \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u044f\u0442\u0430.<\/strong> \u0412 Developer tools \u2192 Actions \u043f\u0440\u043e\u0431\u0432\u0430\u0439 <code>notify.mobile_app_\u2026<\/code> \u0437\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0441\u0438 \u0441 \u0442\u0435\u0441\u0442\u043e\u0432\u043e \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435.<\/li><li><strong>\u0421\u044a\u0437\u0434\u0430\u0439 \u0441\u043a\u0440\u0438\u043f\u0442\u0430.<\/strong> Settings \u2192 Automations &amp;amp; scenes \u2192 Scripts \u2192 Create script \u2192 \u0442\u0440\u0438 \u0442\u043e\u0447\u043a\u0438 \u2192 Edit in YAML. \u041f\u043e\u0441\u0442\u0430\u0432\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u0430. \u0412\u0441\u0438\u0447\u043a\u0438 entity ID-\u0442\u0430 \u0441\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u0438: \u0441\u043c\u0435\u043d\u0438 \u0433\u0438 \u0441\u044a\u0441 \u0441\u0432\u043e\u0438.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: \"\u0412\u044a\u043e\u0440\u044a\u0436\u0438, \u0430\u043a\u043e \u0432\u0441\u0438\u0447\u043a\u043e \u0435 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u043e\"\nmode: single\nvariables:\n  not_closed: &gt;\n    {{ expand('binary_sensor.front_door_contact',\n              'binary_sensor.bedroom_window_contact',\n              'binary_sensor.kitchen_window_contact')\n       | rejectattr('state', 'eq', 'off')\n       | map(attribute='name') | list }}\nsequence:\n  - if:\n      - condition: template\n        value_template: \"{{ not_closed | count == 0 }}\"\n    then:\n      - action: alarm_control_panel.alarm_arm_away\n        target:\n          entity_id: alarm_control_panel.home_alarm\n        data:\n          code: \"1234\"\n    else:\n      - action: notify.mobile_app_telefon\n        data:\n          title: \"\u0410\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043d\u0435 \u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0435\u043d\u0430\"\n          message: \"\u041e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430: {{ not_closed | join(', ') }}\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><code>code<\/code> \u0435 \u043d\u0443\u0436\u0435\u043d \u0441\u0430\u043c\u043e \u0430\u043a\u043e \u043f\u0430\u043d\u0435\u043b\u044a\u0442 \u0438\u043c\u0430 \u043a\u043e\u0434 \u0437\u0430 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0421\u043a\u0440\u0438\u043f\u0442\u044a\u0442 \u043d\u0435 \u0435 \u0433\u043b\u0430\u0432\u0435\u043d \u043a\u043b\u044e\u0447 \u0437\u0430 \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430: \u0441\u043c\u0435\u043d\u0438 \u043a\u043e\u0434\u0430 \u0441\u044a\u0441 \u0441\u0432\u043e\u044f \u0438 \u043d\u0435 \u0433\u043e \u043f\u0430\u0437\u0438 \u043d\u0430 \u043c\u044f\u0441\u0442\u043e, \u043a\u043e\u0435\u0442\u043e \u0432\u0438\u0436\u0434\u0430\u0442 \u0433\u043e\u0441\u0442\u0438.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u0421\u043b\u043e\u0436\u0438 \u0431\u0443\u0442\u043e\u043d \u0432 \u0442\u0430\u0431\u043b\u043e\u0442\u043e.<\/strong> \u0414\u043e\u0431\u0430\u0432\u0438 \u043a\u0430\u0440\u0442\u0430 Button \u0437\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438 \u043f\u043e\u043b\u0437\u0432\u0430\u0439 \u043d\u0435\u044f \u0432\u043c\u0435\u0441\u0442\u043e \u0434\u0438\u0440\u0435\u043a\u0442\u043d\u043e\u0442\u043e \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435 \u043d\u0430 \u043f\u0430\u043d\u0435\u043b\u0430.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u0442\u0430\u0442\u0430<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u0412\u0441\u0438\u0447\u043a\u043e \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u043e.<\/strong> \u0421\u043a\u0440\u0438\u043f\u0442\u044a\u0442 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430 \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430. \u041f\u0430\u043d\u0435\u043b\u044a\u0442 \u043c\u0438\u043d\u0430\u0432\u0430 \u0432 <code>arming<\/code>.<\/li><li><strong>\u041e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446.<\/strong> \u041e\u0442\u0432\u043e\u0440\u0438 \u0435\u0434\u0438\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438 \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439 \u0441\u043a\u0440\u0438\u043f\u0442\u0430: \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430, \u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u0438\u0435\u0442\u043e \u0441\u044a\u0434\u044a\u0440\u0436\u0430 \u0438\u043c\u0435\u0442\u043e \u043d\u0430 \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446\u0430.<\/li><li><strong>\u0414\u0432\u0430 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0438.<\/strong> \u0418 \u0434\u0432\u0435\u0442\u0435 \u0438\u043c\u0435\u043d\u0430 \u0441\u0430 \u0432 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435\u0442\u043e.<\/li><li><strong>\u0414\u0430\u0442\u0447\u0438\u043a \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430.<\/strong> \u0418\u0437\u0432\u0430\u0434\u0438 \u0431\u0430\u0442\u0435\u0440\u0438\u044f\u0442\u0430 \u043d\u0430 \u0435\u0434\u0438\u043d \u0434\u0430\u0442\u0447\u0438\u043a: \u0441\u043a\u0440\u0438\u043f\u0442\u044a\u0442 \u0433\u043e \u0431\u0440\u043e\u0438 \u043a\u0430\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0410\u043a\u043e \u043d\u0435 \u0441\u0435 \u043f\u043e\u043b\u0443\u0447\u0438<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u0412\u0438\u043d\u0430\u0433\u0438 \u043a\u0430\u0437\u0432\u0430 \u201e\u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e\u201c.<\/strong> \u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432 Developer tools \u2192 States: \u0441\u044a\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u0442\u043e \u0435 <code>off<\/code> \u043f\u0440\u0438 \u0437\u0430\u0442\u0432\u043e\u0440\u0435\u043d\u043e. \u0410\u043a\u043e \u0435 \u0434\u0440\u0443\u0433\u043e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <code>closed<\/code>, \u0441\u043c\u0435\u043d\u0438 <code>rejectattr('state','eq','off')<\/code>.<\/li><li><strong>\u0418\u043c\u0435\u043d\u0430\u0442\u0430 \u043d\u0435 \u0441\u0430 \u044f\u0441\u043d\u0438.<\/strong> \u041f\u0440\u0435\u0438\u043c\u0435\u043d\u0443\u0432\u0430\u0439 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0442\u0430 \u0432 Settings \u2192 Devices &amp;amp; services.<\/li><li><strong>\u0412\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430 \u0432\u044a\u043f\u0440\u0435\u043a\u0438 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0430 \u0432\u0440\u0430\u0442\u0430.<\/strong> \u0412\u044a\u043e\u0440\u044a\u0436\u0438\u043b \u0441\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043d\u043e \u043e\u0442 \u043f\u0430\u043d\u0435\u043b\u0430, \u0430 \u043d\u0435 \u043e\u0442 \u0431\u0443\u0442\u043e\u043d\u0430. \u0421\u043a\u0440\u0438\u043f\u0442\u044a\u0442 \u043d\u0435 \u0443\u0447\u0430\u0441\u0442\u0432\u0430.<\/li><li><strong>\u0413\u0440\u0435\u0448\u043a\u0430 \u0441 \u043a\u043e\u0434\u0430.<\/strong> \u041f\u0430\u043d\u0435\u043b\u044a\u0442 \u0438\u0437\u0438\u0441\u043a\u0432\u0430 \u043a\u043e\u0434: \u0434\u043e\u0431\u0430\u0432\u0438 <code>code<\/code> \u0438\u043b\u0438 \u0438\u0437\u043f\u043e\u043b\u0437\u0432\u0430\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0442\u0430 \u043d\u0430 \u043f\u0430\u043d\u0435\u043b\u0430.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0438 \u0438\u0437\u043a\u043b\u044e\u0447\u0432\u0430\u043d\u0435<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0421\u043a\u0440\u0438\u043f\u0442\u044a\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0441\u0430\u043c\u043e \u0434\u0430\u0442\u0447\u0438\u0446\u0438\u0442\u0435, \u043a\u043e\u0438\u0442\u043e \u0438\u0437\u0431\u0440\u043e\u0438\u0448. \u0412\u0440\u0430\u0442\u0430 \u0431\u0435\u0437 \u0434\u0430\u0442\u0447\u0438\u043a \u043d\u0435 \u0441\u0435 \u0441\u043b\u0435\u0434\u0438.<\/li><li>\u0414\u0438\u0440\u0435\u043a\u0442\u043d\u043e\u0442\u043e \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435 \u043e\u0442 \u043f\u0430\u043d\u0435\u043b\u0430 \u0437\u0430\u043e\u0431\u0438\u043a\u0430\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u0442\u0430. \u0421\u043a\u0440\u0438\u0439 \u0433\u043e \u043e\u0442 \u0442\u0430\u0431\u043b\u043e\u0442\u043e \u0438\u043b\u0438 \u043e\u0431\u044f\u0441\u043d\u0438 \u043d\u0430 \u0434\u043e\u043c\u0430\u043a\u0438\u043d\u0441\u0442\u0432\u043e\u0442\u043e \u0434\u0430 \u043f\u043e\u043b\u0437\u0432\u0430 \u0431\u0443\u0442\u043e\u043d\u0430.<\/li><li>\u041f\u0440\u0430\u0437\u0435\u043d \u0441\u043f\u0438\u0441\u044a\u043a <code>expand()<\/code> \u043e\u0437\u043d\u0430\u0447\u0430\u0432\u0430, \u0447\u0435 \u043d\u0438\u0449\u043e \u043d\u0435 \u0441\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430: \u0434\u043e\u0431\u0430\u0432\u0438 \u043f\u043e\u043d\u0435 \u0435\u0434\u0438\u043d \u0434\u0430\u0442\u0447\u0438\u043a.<\/li><li>\u0410\u043a\u043e Home Assistant \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0438, \u043d\u044f\u043c\u0430 \u043d\u0438\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430, \u043d\u0438\u0442\u043e \u0430\u043b\u0430\u0440\u043c\u0430.<\/li><li>\u0418\u0437\u043a\u043b\u044e\u0447\u0432\u0430\u043d\u0435: \u0438\u0437\u0442\u0440\u0438\u0439 \u0431\u0443\u0442\u043e\u043d\u0430 \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438\u043b\u0438 \u043f\u043e\u043b\u0437\u0432\u0430\u0439 \u043f\u0430\u043d\u0435\u043b\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043d\u043e.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u0418\u0437\u0442\u043e\u0447\u043d\u0438\u0446\u0438 \u0438 \u0441\u0442\u0430\u0442\u0443\u0441 \u043d\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430\u0442\u0430<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044a\u0442 \u0441\u043b\u0435\u0434\u0432\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0442\u0430 \u043d\u0430 Home Assistant, \u043f\u0440\u043e\u0447\u0435\u0442\u0435\u043d\u0430 \u043d\u0430 22.11.2026 \u0433. \u0422\u0435\u043c\u0430\u0442\u0430 \u0435 \u043e\u0442 \u0441\u043f\u0438\u0441\u044a\u043a\u0430 \u0441 \u0438\u0434\u0435\u0438 \u043d\u0430 \u0421\u0438\u043c\u0435\u043e\u043d.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/manual\/\">Home Assistant: Manual alarm control panel<\/a>, 22.11.2026<\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/scripts\/\">Home Assistant: \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432\u0435 \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f<\/a>, 22.11.2026<\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/configuration\/templating\/\">Home Assistant: \u0448\u0430\u0431\u043b\u043e\u043d\u0438 (<code>expand<\/code>, <code>selectattr<\/code>)<\/a>, 22.11.2026<\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/zha\/\">Home Assistant: Zigbee Home Automation<\/a>, 22.11.2026<\/li><li>\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u043d\u0430 Real Home Automations: Sonoff SNZB-04PR1, 22.11.2026<\/li><\/ul>","protected":false},"excerpt":{"rendered":"<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 Home Assistant \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u043d\u0430 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0410\u043a\u043e \u043d\u0435\u0449\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0435 \u044f \u0441\u043f\u0438\u0440\u0430.<\/p>","protected":false},"author":0,"featured_media":3628,"template":"","diy_project_category":[57],"diy_project_tag":[54,171,64,115],"class_list":["post-4195","diy_project","type-diy_project","status-publish","has-post-thumbnail","hentry","diy_project_category-security","diy_project_tag-home-assistant","diy_project_tag-alarma","diy_project_tag-64","diy_project_tag-115"],"acf":{"_diysmart_difficulty":"beginner","_diysmart_featured":false,"_diysmart_build_duration_min":30,"_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":"Home Assistant","note":""},{"label":"Door or window sensor","note":"Sonoff SNZB-04PR1, one per door or window"},{"label":"Alarm panel","note":"alarm_control_panel in Home Assistant"},{"label":"Zigbee hub or adapter","note":"or Home Assistant with a Zigbee adapter; not included in the product"},{"label":"Phone with the Home Assistant app","note":"with notifications allowed"}],"_diysmart_learning_outcomes_rows":[{"outcome":"Check all doors and windows with a script"},{"outcome":"Get the names of the open ones"},{"outcome":"Count a sensor with no connection as a problem"}],"_diysmart_skill_requirements_rows":[{"requirement":"Edit a script in YAML in Home Assistant","note":""},{"requirement":"Add a Button card to the dashboard","note":""}],"_diysmart_at_home":{"who":"","since":"","story":"","image":"","caption":""},"_diysmart_linked_product_id":3627,"_diysmart_youtube_url":"","_diysmart_github_url":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430 - Real Home Automations<\/title>\n<meta name=\"description\" content=\"\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 Home Assistant \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u043d\u0430 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0410\u043a\u043e \u043d\u0435\u0449\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0435 \u044f \u0441\u043f\u0438\u0440\u0430.\" \/>\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\/4195\" \/>\n<meta property=\"og:locale\" content=\"bg_BG\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430 - Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 Home Assistant \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u043d\u0430 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0410\u043a\u043e \u043d\u0435\u0449\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0435 \u044f \u0441\u043f\u0438\u0440\u0430.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/4195\" \/>\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\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"1280\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 \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\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430\",\"datePublished\":\"2026-11-22T17:15:26+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/\"},\"wordCount\":683,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"inLanguage\":\"bg-BG\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/\",\"name\":\"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430 - Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"datePublished\":\"2026-11-22T17:15:26+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"description\":\"\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 Home Assistant \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u043d\u0430 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0410\u043a\u043e \u043d\u0435\u0449\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0435 \u044f \u0441\u043f\u0438\u0440\u0430.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/#breadcrumb\"},\"inLanguage\":\"bg-BG\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"bg-BG\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp\",\"width\":1280,\"height\":1280,\"caption\":\"Smart Door and Window Sensor Sonoff SNZB-04PR1 \u2013 Zigbee 3.0 Protocol, CR2477 Battery Powered, Real-Time Opening Alerts, eWeLink & Home Assistant\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\\\/#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\":\"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430\"}]},{\"@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\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430 - Real Home Automations","description":"\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 Home Assistant \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u043d\u0430 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0410\u043a\u043e \u043d\u0435\u0449\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0435 \u044f \u0441\u043f\u0438\u0440\u0430.","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\/4195","og_locale":"bg_BG","og_type":"article","og_title":"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430 - Real Home Automations","og_description":"\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 Home Assistant \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u043d\u0430 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0410\u043a\u043e \u043d\u0435\u0449\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0435 \u044f \u0441\u043f\u0438\u0440\u0430.","og_url":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/4195","og_site_name":"Real Home Automations","article_modified_time":"2026-11-23T16:24:03+00:00","og_image":[{"width":1280,"height":1280,"url":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 \u043c\u0438\u043d\u0443\u0442\u0438"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/#article","isPartOf":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/"},"author":{"name":"","@id":""},"headline":"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430","datePublished":"2026-11-22T17:15:26+00:00","dateModified":"2026-11-23T16:24:03+00:00","mainEntityOfPage":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/"},"wordCount":683,"publisher":{"@id":"http:\/\/realhomeautomations.com\/bg\/#organization"},"image":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/#primaryimage"},"thumbnailUrl":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp","inLanguage":"bg-BG"},{"@type":"WebPage","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/","url":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/","name":"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430 - Real Home Automations","isPartOf":{"@id":"http:\/\/realhomeautomations.com\/bg\/#website"},"primaryImageOfPage":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/#primaryimage"},"image":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/#primaryimage"},"thumbnailUrl":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp","datePublished":"2026-11-22T17:15:26+00:00","dateModified":"2026-11-23T16:24:03+00:00","description":"\u0421\u043a\u0440\u0438\u043f\u0442 \u0432 Home Assistant \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0432\u0430 \u0432\u0441\u0438\u0447\u043a\u0438 \u0434\u0430\u0442\u0447\u0438\u0446\u0438 \u043d\u0430 \u0432\u0440\u0430\u0442\u0438 \u0438 \u043f\u0440\u043e\u0437\u043e\u0440\u0446\u0438 \u043f\u0440\u0435\u0434\u0438 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430\u043d\u0435. \u0410\u043a\u043e \u043d\u0435\u0449\u043e \u0435 \u043e\u0442\u0432\u043e\u0440\u0435\u043d\u043e \u0438\u043b\u0438 \u0431\u0435\u0437 \u0432\u0440\u044a\u0437\u043a\u0430, \u0430\u043b\u0430\u0440\u043c\u0430\u0442\u0430 \u043e\u0441\u0442\u0430\u0432\u0430 \u0438\u0437\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0432\u0430\u0448 \u0441\u044a\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0435 \u044f \u0441\u043f\u0438\u0440\u0430.","breadcrumb":{"@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/#breadcrumb"},"inLanguage":"bg-BG","potentialAction":[{"@type":"ReadAction","target":["http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/"]}]},{"@type":"ImageObject","inLanguage":"bg-BG","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/#primaryimage","url":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp","contentUrl":"https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-door-and-window-sensor-sonoff-snzb-04pr1-E28093-zigbee-3-0-protocol.webp","width":1280,"height":1280,"caption":"Smart Door and Window Sensor Sonoff SNZB-04PR1 \u2013 Zigbee 3.0 Protocol, CR2477 Battery Powered, Real-Time Opening Alerts, eWeLink & Home Assistant"},{"@type":"BreadcrumbList","@id":"http:\/\/realhomeautomations.com\/bg\/projects\/alarma-koyato-kazva-zashto-ne-se-vaorazhava-otvoren-prozorets-ili-vrata-ya-spira\/#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":"\u0410\u043b\u0430\u0440\u043c\u0430, \u043a\u043e\u044f\u0442\u043e \u043a\u0430\u0437\u0432\u0430 \u0437\u0430\u0449\u043e \u043d\u0435 \u0441\u0435 \u0432\u044a\u043e\u0440\u044a\u0436\u0430\u0432\u0430: \u043e\u0442\u0432\u043e\u0440\u0435\u043d \u043f\u0440\u043e\u0437\u043e\u0440\u0435\u0446 \u0438\u043b\u0438 \u0432\u0440\u0430\u0442\u0430 \u044f \u0441\u043f\u0438\u0440\u0430"}]},{"@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\/"}}]}},"_links":{"self":[{"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/4195","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"}],"version-history":[{"count":2,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/4195\/revisions"}],"predecessor-version":[{"id":4291,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project\/4195\/revisions\/4291"}],"acf:post":[{"embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/product\/3627"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/media\/3628"}],"wp:attachment":[{"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/media?parent=4195"}],"wp:term":[{"taxonomy":"diy_project_category","embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project_category?post=4195"},{"taxonomy":"diy_project_tag","embeddable":true,"href":"https:\/\/realhomeautomations.com\/bg\/wp-json\/wp\/v2\/diy_project_tag?post=4195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}