{"id":8981,"date":"2025-08-31T15:29:34","date_gmt":"2025-08-31T13:29:34","guid":{"rendered":"https:\/\/www.sigalou-domotique.fr\/?p=8981"},"modified":"2026-01-10T23:51:55","modified_gmt":"2026-01-10T21:51:55","slug":"je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p","title":{"rendered":"I test the sensor opening Door\/Window Sonoff SNZB-04P"},"content":{"rendered":"<p class=\"wp-block-paragraph\">The Zigbee Sonoff aperture sensor <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/\" target=\"_blank\" rel=\"noopener\">SNZB-04P<\/a> offers reliable detection for doors, windows and shutters. This detailed test covers unpacking, physical and software installation with Zigbee2MQTT and Home Assistant, possible automation and long-term monitoring. Find out why this economic model under 15 \u20ac excels in home automation Zigbee 3.0.<!--more--><\/p>\r\n\r\n\r\n\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_89 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6ae4fa9a969b5\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6ae4fa9a969b5\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%94%8D_Mon_deballage_du_Sonoff_SNZB-04P\" >\ud83d\udd0d My unpacking of the Sonoff SNZB-04P<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#Ou_acheter_cet_equipement\" >Where to buy this equipment?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%8F%A1_Mon_installation_sur_un_volet\" >\ud83c\udfe1 My installation on a shutter<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#Conseils_pour_installer_correctement\" >Tips for Installing Properly<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%94%97_Jintegre_dans_Zigbee2MQTT\" >\ud83d\udd17 I integrate into Zigbee2MQTT<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%8F%A0_Jajoute_a_Home_Assistant\" >\ud83c\udfe0 I add to Home Assistant<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%E2%9A%99%EF%B8%8F_Mes_automatismes_avec_le_capteur\" >\u2699  My automatisms with the sensor<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%92%A1_Astuces_et_resolutions_problemes\" >\ud83d\udca1 Tips and Problem Solving<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%92%AC_Mon_verdict_sur_le_SNZB-04P\" >\ud83d\udcac My verdict on SNZB-04P<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%93%91_Mon_manuel_detaille\" >\ud83d\udcd1 My detailed manual<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/#%F0%9F%93%85_Suivi_pile_en_production\" >\ud83d\udcc5 Tracking stack in production<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%94%8D_Mon_deballage_du_Sonoff_SNZB-04P\"><\/span>\ud83d\udd0d My unpacking of the Sonoff SNZB-04P<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The sensor comes in an orange packaging characteristic of the Zigbee Sonoff range. The model <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/\" target=\"_blank\" rel=\"noopener\">SNZB-04P<\/a> is well marked on the box. At the opening, I discovered compact equipment with precise dimensions: 50.5 x 32 x 21.9 mm sensor and 27 x 12 x 12.4 mm magnet, weighing only 33 g in total.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Here are the strengths noted from the first start:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>A large pairing button on top, practical without fine tool like a trombone.<\/li>\r\n<li>An anti-snap button to detect any sabotage attempt.<\/li>\r\n<li>A built-in CR2477 3V 1000 mAh battery, with a safety tab to be removed to activate it. This lithium battery offers up to 5 years of battery life depending on the manufacturer, depending on the frequency of use.<\/li>\r\n<li>Pre-glued 3M double-sided adhesives for immediate and resistant fastening.<\/li>\r\n<li>Careful white PC manufacturing quality, suitable for indoor use from -10\u00b0C to 60\u00b0C.<\/li>\r\n<\/ul>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8988\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152249-scaled.jpg\" alt=\"Sonoff sensor packaging SNZB-04P\" width=\"300\" height=\"400\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152249-scaled.jpg 1920w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152249-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152249-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152249-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152249-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152249-1536x2048.jpg 1536w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Here are the details in close-up images:<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8989\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152352-225x300.jpg\" alt=\"Sonoff SNZB-04P sensor pull-out button\" width=\"225\" height=\"300\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152352-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152352-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152352-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152352-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152352-1536x2048.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152352-scaled.jpg 1920w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/figure>\r\n<\/div>\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8990\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152358-225x300.jpg\" alt=\"Built-in battery with safety tab\" width=\"225\" height=\"300\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152358-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152358-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152358-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152358-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152358-1536x2048.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152358-scaled.jpg 1920w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/figure>\r\n<\/div>\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8991\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152411-225x300.jpg\" alt=\"Pre-glued double-sided adhesives\" width=\"225\" height=\"300\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152411-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152411-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152411-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152411-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152411-1536x2048.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_152411-scaled.jpg 1920w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/figure>\r\n<\/div>\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8992\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154118-300x282.jpg\" alt=\"Sonoff SNZB-04P Sensor CR2477 3V Battery\" width=\"300\" height=\"282\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154118-300x282.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154118-600x565.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154118-1024x963.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154118-768x723.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154118-1536x1445.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154118.jpg 1624w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Ou_acheter_cet_equipement\"><\/span>Where to buy this equipment?<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>Here is the link to the page dedicated to <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/product\/sonoff-capteur-de-porte-ou-fenetre-snzb-04p\/\" target=\"_blank\" rel=\"noopener\">SNZB-04P<\/a>. I referenced the sellers and prices.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%8F%A1_Mon_installation_sur_un_volet\"><\/span>\ud83c\udfe1 My installation on a shutter<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">I install the sensor on an existing flap with support. I place the magnet underneath rather than opposite to respect the mechanics. The sensor uses a Hall effect to detect the magnetic field: recommended maximum distance of 20 mm (improved vs previous models), but I aim less than 1 cm for optimal reliability.<\/p>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8993\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154949-225x300.jpg\" alt=\"Installing the sensor on the shutter\" width=\"225\" height=\"300\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154949-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154949-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154949-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154949-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154949-1536x2048.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154949-scaled.jpg 1920w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/figure>\r\n<\/div>\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8994\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154946-225x300.jpg\" alt=\"Positioning of the magnet\" width=\"225\" height=\"300\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154946-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154946-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154946-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154946-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154946-1536x2048.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_154946-scaled.jpg 1920w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/figure>\r\n<\/div>\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-medium is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8995\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_155000-225x300.jpg\" alt=\"Sensor and magnet in place\" width=\"225\" height=\"300\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_155000-225x300.jpg 225w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_155000-scaled-600x800.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_155000-768x1024.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_155000-1152x1536.jpg 1152w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_155000-1536x2048.jpg 1536w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/20250831_155000-scaled.jpg 1920w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conseils_pour_installer_correctement\"><\/span>Tips for Installing Properly<span class=\"ez-toc-section-end\"><\/span><\/h3>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">For detection without false positives, follow these precise steps:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Attach the sensor to the fixed part (frame or frame).<\/li>\r\n<li>Glue the magnet onto the movable part (battant or leaf).<\/li>\r\n<li>Keep less than 20 mm apart, ideally 1 cm maximum.<\/li>\r\n<li>Degrease surfaces with alcohol before gluing.<\/li>\r\n<li>Test 20 openings\/closures to validate.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Tip: Avoid ferrous metals near the sensor, they interfere with the Zigbee signal (indoor range 30 m).<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%94%97_Jintegre_dans_Zigbee2MQTT\"><\/span>\ud83d\udd17 I integrate into Zigbee2MQTT<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">I enable pairing mode in Zigbee2MQTT (180 seconds). I remove the tab: Red LED flashes. Otherwise, I press the big button for a long time. The Zigbee 3.0 protocol (MCU EFR32MG22) ensures compatibility with Sonoff or third-party hubs.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Immediate recognition. Entities detected:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Opening\/closing without latency (binary contact state).<\/li>\r\n<li>Detector tearing off (tamper: \"Normal\" or \"Altered\").<\/li>\r\n<li>Battery visible after 24h (actual voltage to monitor, not always accurate).<\/li>\r\n<\/ul>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"699\" class=\"wp-image-8984\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p.png\" alt=\"Sensor integration in Zigbee2MQTT\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p.png 714w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-600x587.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-300x294.png 300w\" sizes=\"auto, (max-width: 714px) 100vw, 714px\" \/><\/figure>\r\n<\/div>\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"412\" height=\"536\" class=\"wp-image-8985\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-2.png\" alt=\"Pushing Detection in Zigbee2MQTT\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-2.png 412w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-2-231x300.png 231w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p class=\"wp-block-paragraph\">I am renaming the \u2018Country shutter\u2019 device for rapid identification in the case of multi-sensors.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%8F%A0_Jajoute_a_Home_Assistant\"><\/span>\ud83c\udfe0 I add to Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Automatic appearance via Zigbee2MQTT. Available entities:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Open\/closed state (on\/off in backend).<\/li>\r\n<li>Battery level (initially overrated, check voltage).<\/li>\r\n<li>Handling\/tampering (disable if double-sided too thick).<\/li>\r\n<\/ul>\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"696\" class=\"wp-image-8986\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-3.png\" alt=\"Sensor display in Home Assistant\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-3.png 649w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-3-600x643.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb-04p-3-280x300.png 280w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n<p class=\"wp-block-paragraph\">In my setup, the tamper generates false positives with the adhesive thickness. I disable it via the HA interface.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E2%9A%99%EF%B8%8F_Mes_automatismes_avec_le_capteur\"><\/span>\u2699  My automatisms with the sensor<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">In Home Assistant, I configure without code via the automation editor:<\/p>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Alert if open &gt;10 min: persistent push notification.<\/li>\r\n<li>Siren if opening in alarm mode armed.<\/li>\r\n<li>Counter openings: entity history_stats for daily\/hebdo stats.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">These rules run locally, without cloud.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%92%A1_Astuces_et_resolutions_problemes\"><\/span>\ud83d\udca1 Tips and Problem Solving<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<ul class=\"wp-block-list\">\r\n<li>Fixed battery 100% : Normal 24-48h, then stabilizes. Replace CR2477 if &lt;2,7V.<\/li>\r\n<li>Failed pairing: Pile out 30s, reinsert, get closer to the coordinator.<\/li>\r\n<li>Erratic detection: Check &lt;20mm magnet gap, relocate out of metal.<\/li>\r\n<li>Low reach: Add Zigbee routers (Sonoff sockets) between sensor and dongle.<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%92%AC_Mon_verdict_sur_le_SNZB-04P\"><\/span>\ud83d\udcac My verdict on SNZB-04P<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">This Sonoff Sensor <a href=\"https:\/\/www.sigalou-domotique.fr\/en\/je-teste-le-capteur-ouverture-porte-fenetre-sonoff-snzb-04p\/\" target=\"_blank\" rel=\"noopener\">SNZB-04P<\/a> exceeds expectations at this price: Precise detection, useful tamper, Zigbee2MQTT\/HA fluid integration. The CR2477 battery promises 5 years. All that remains is to allow it to run for a while to check for false positives or missed detections.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%93%91_Mon_manuel_detaille\"><\/span>\ud83d\udcd1 My detailed manual<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Check out this <a href=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2025\/08\/snzb04p.pdf\" target=\"_blank\" rel=\"noopener\">user manual<\/a> enriched for more technical details.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%93%85_Suivi_pile_en_production\"><\/span>\ud83d\udcc5 Tracking stack in production<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Installation of kitchen shutter on 31\/08\/2025 with original battery CR2477. No replacement required to date. I monitor voltage via HA to anticipate.<\/p>\r\n\r\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Complete sensor test Zigbee Sonoff SNZB-04P: unpacking, installation Zigbee2MQTT and Home Assistant, battery tips 5 years, automations. Reliable door\/window detection for 15\u20ac max.<\/p>","protected":false},"author":1,"featured_media":8987,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,53,108,68],"tags":[75],"class_list":["post-8981","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-domotique","category-home-assistant","category-test-produit","category-zigbee-materiels","tag-thermometre"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/8981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=8981"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/8981\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media\/8987"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=8981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=8981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=8981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}