{"id":2557,"date":"2025-09-08T12:00:00","date_gmt":"2025-09-08T10:00:00","guid":{"rendered":"https:\/\/sascha-brockel.de\/?p=2557"},"modified":"2025-08-11T13:32:56","modified_gmt":"2025-08-11T11:32:56","slug":"use-zigbee-rain-sensor-rb-srain01-in-home-assistant","status":"publish","type":"post","link":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/","title":{"rendered":"Use Zigbee rain sensor RB-SRAIN01 in Home Assistant"},"content":{"rendered":"<p class=\"wp-block-yoast-seo-estimated-reading-time yoast-reading-time__wrapper\"><span class=\"yoast-reading-time__icon\"><svg aria-hidden=\"true\" focusable=\"false\" data-icon=\"clock\" width=\"20\" height=\"20\" fill=\"none\" stroke=\"currentColor\" style=\"display:inline-block;vertical-align:-0.1em\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z\"><\/path><\/svg><\/span><span class=\"yoast-reading-time__spacer\" style=\"display:inline-block;width:1em\"><\/span><span class=\"yoast-reading-time__descriptive-text\">Estimated reading time: <\/span><span class=\"yoast-reading-time__reading-time\">9<\/span><span class=\"yoast-reading-time__time-unit\"> minutes<\/span><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Want to know if it's raining before you leave the house with the window open or start the garden watering? Then the Tuya RB-SRAIN01 Zigbee rain sensor is just the right gadget for your smart home! The sensor is <strong>completely battery-free<\/strong> and is operated exclusively via an integrated <strong>Solar module operated<\/strong> - This makes it particularly low-maintenance and sustainable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For detailed instructions and explanations of all configuration options, I recommend watching the YouTube video linked below. This video goes into detail about each individual setting, providing you with comprehensive instructions on how to set everything up correctly. Any code from the video can be found in this article, so you can use it directly without having to type it out.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title ez-toc-toggle\" style=\"cursor:pointer\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" 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: #dd3333;color:#dd3333\" 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><\/span><\/a><\/span><\/div>\n<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:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Technische_Highlights_des_Tuya_RB-SRAIN01\" >Technical highlights of the Tuya RB-SRAIN01<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Wofur_ist_der_Sensor_nutzlich\" >What is the sensor useful for?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#%E2%98%80%EF%B8%8F_Vorteile_auf_einen_Blick\" >\u2600\ufe0f Advantages at a glance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Was_ist_Home_Assistant\" >What is Home Assistant?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#So_bindest_du_den_Regensensor_in_Zigbee2MQTT_und_Home_Assistant_ein_%F0%9F%94%8C%F0%9F%93%A1\" >How to integrate the rain sensor into Zigbee2MQTT and Home Assistant \ud83d\udd0c\ud83d\udce1<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#%E2%9C%85_Voraussetzungen\" >\u2705 Requirements<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#%F0%9F%94%A7_Schritt_1_Sensor_in_Pairing-Modus_versetzen\" >\ud83d\udd27 Step 1: Set the sensor to pairing mode<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#%F0%9F%A7%A9_Schritt_2_Gerat_in_Zigbee2MQTT_hinzufugen\" >\ud83e\udde9 Step 2: Add device in Zigbee2MQTT<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Schritt_3_Integration_in_Home_Assistant\" >Step 3: Integration in Home Assistant<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Automatisierungsideen_mit_Home_Assistant\" >Automation ideas with Home Assistant<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Konkretes_Beispiel_einer_Regenwarnung_bei_Verlassen_des_Hauses\" >Specific example of a rain warning when leaving the house<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Weitere_Automatisierungsideen\" >Further automation ideas<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Umsetzung_im_YouTube-Video\" >YouTube video implementation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#Fazit\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-technische-highlights-des-tuya-rb-srain01\"><span class=\"ez-toc-section\" id=\"Technische_Highlights_des_Tuya_RB-SRAIN01\"><\/span>Technical highlights of the Tuya RB-SRAIN01 <span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Communication:<\/strong> Zigbee 3.0 (compatible with Zigbee2MQTT)<\/li>\n\n\n\n<li><strong>Supply:<\/strong> Solar (you don't need any batteries!)<\/li>\n\n\n\n<li><strong>Housing:<\/strong> IPX3 - i.e. splash-proof<\/li>\n\n\n\n<li><strong>Measuring principle:<\/strong> Rain is detected via a conductor track field<\/li>\n\n\n\n<li><strong>Response time:<\/strong> Fast - within a few seconds of the rain starting<\/li>\n\n\n\n<li><strong>Entry status:<\/strong> <code>water: true\/false<\/code> (via MQTT)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It is available from AliExpress for around \u20ac10-15 and can be easily integrated into existing Zigbee setups.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49 <a class=\"\" href=\"https:\/\/www.zigbee2mqtt.io\/devices\/RB-SRAIN01.html\">Technical documentation on Zigbee2MQTT.io<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/RB-SRAIN01.avif\"><img data-dominant-color=\"9b7781\" data-has-transparency=\"false\" style=\"--dominant-color: #9b7781;\" fetchpriority=\"high\" decoding=\"async\" width=\"512\" height=\"512\" src=\"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/RB-SRAIN01.avif\" alt=\"\" class=\"wp-image-2559 not-transparent\" srcset=\"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/RB-SRAIN01.avif 512w, https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/RB-SRAIN01-300x300.avif 300w, https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/RB-SRAIN01-150x150.avif 150w, https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/RB-SRAIN01-12x12.avif 12w, https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/RB-SRAIN01-50x50.avif 50w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Wofur_ist_der_Sensor_nutzlich\"><\/span>What is the sensor useful for?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A rain sensor makes your smart home even smarter. You can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add real precipitation data to your weather station<\/li>\n\n\n\n<li>be warned in good time when it starts to rain<\/li>\n\n\n\n<li>Automatically close windows<\/li>\n\n\n\n<li>Retract awnings<\/li>\n\n\n\n<li>interrupt the watering of the garden<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E2%98%80%EF%B8%8F_Vorteile_auf_einen_Blick\"><\/span>\u2600\ufe0f Advantages at a glance<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 No battery change necessary<\/li>\n\n\n\n<li>Weatherproof and reliable<\/li>\n\n\n\n<li>\u2705 Simple integration via Zigbee2MQTT<\/li>\n\n\n\n<li>\u2705 Ideal for window, awning and irrigation automation systems<\/li>\n\n\n\n<li>\u2705 Available at low cost from AliExpress<\/li>\n<\/ul>\n\n\n\n<div class=\"atkp-container atkp-grid_3_columns-box  atkp-template-grid_3_columns\">\n            <div class=\"atkp-clearfix atkp-box-3-cols\">\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/31jard2pwPL._SL160_.jpg\"\n                                 alt=\"Haozee Tuya Zigbee rain sensor with light sensor, requires TUYA HUB, supports Zigbee2mqtt home assistant, IPX4 waterproof for outdoor use\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0FGJMJ66X?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">Haozee Tuya Zigbee rain sensor with light sensor, requires TUYA HUB, supports Zigbee2mqtt home assistant, IPX4 waterproof for outdoor use*<\/a>\n                                                <div class=\"atkp-author\">by Haozee<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 19.99\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0FGJMJ66X?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41sCPFzv-pL._SL160_.jpg\"\n                                 alt=\"SMZhomeone 2-in-1 rain and light sensor detector for Tuya for Zigbee 3.0, IPX4 waterproof wireless outdoor monitor with app control, real-time weather alerts and long battery life\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0FRL8WGTM?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">SMZhomeone 2-in-1 rain and light sensor detector for Tuya for Zigbee 3.0, IPX4 waterproof wireless outdoor monitor with app control, real-time weather alerts and long battery life*<\/a>\n                                                <div class=\"atkp-author\">by SMZhomeone<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 15.12\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0FRL8WGTM?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                            <div class=\"atkp-box atkp-smallbox atkp-box-3-cols-item atkp-clearfix\">\n                    <div class=\"atkp-thumb\">\n                                                    <img decoding=\"async\" class=\"atkp-image\" src=\"https:\/\/m.media-amazon.com\/images\/I\/41v92qJYaZL._SL160_.jpg\"\n                                 alt=\"Tiardey Intelligent wireless Zigbee light and rain sensor with built-in lithium battery\"\/>\n                                            <\/div>\n                    <div class=\"atkp-content\">\n                                                    <a class=\"atkp-title\" href=\"https:\/\/www.amazon.de\/dp\/B0DGG5FR3Q?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\">Tiardey Intelligent wireless Zigbee light and rain sensor with built-in lithium battery*<\/a>\n                                                <div class=\"atkp-author\">by Tiardey<\/div>\n                    <\/div>\n                    <div class=\"atkp-bottom\">\n                        <div class=\"atkp-ratingbar\">\n                                                            <div class=\"atkp-rating\"><span class=\"atkp-star atkp-star-0 atkp-star-00\" title=\"0.00 of 5 stars\"><\/span><\/div>\n                                                        <div class=\"atkp-primelogo\"><\/div>\n                            <div class=\"atkp-clearfix\"><\/div>\n                        <\/div>\n                                                    <span class=\"atkp-price atkp-saleprice\">\n                                Price: \u20ac 24.99\n                                                                    <span class=\"atkp_price atkp-baseprice\"><\/span>\n                                                            <\/span>\n                                                                            <a href=\"https:\/\/www.amazon.de\/dp\/B0DGG5FR3Q?tag=sasbro0a-21&linkCode=osi&th=1&psc=1\" rel=\"sponsored nofollow noopener\" target=\"_blank\"  title=\"Buy now at Amazon\" class=\"atkp-button\">Buy now on Amazon*<\/a>\n                        \n                        \n                                                    <span class=\"atkp-priceinfo\">Price incl. VAT, Excl. shipping<\/span>\n                                                                            <div class=\"atkp-shoplogo\">Amazon<\/div>\n                                            <\/div>\n                <\/div>\n                    <\/div>\n            <\/div>\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-was-ist-home-assistant\"><span class=\"ez-toc-section\" id=\"Was_ist_Home_Assistant\"><\/span>What is Home Assistant?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Home Assistant is an open-source platform for home automation that aims to connect all devices in the home and control them centrally. It was developed to provide a unified user interface and simple, flexible control for a wide range of smart home devices from different ecosystems. Here are some points in favor of Home Assistant:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Compatibility<\/strong>Home Assistant supports thousands of devices and services from various manufacturers, including lighting, air conditioning, heating, cameras, weather sensors, voice assistants and more.<\/li>\n\n\n\n<li><strong>Local control<\/strong>Unlike many commercial smart home platforms that rely on cloud services, Home Assistant runs locally on your network. This means increased privacy and reliability, as your smart home devices work even without an active internet connection.<\/li>\n\n\n\n<li><strong>Automation and scenes<\/strong>One of the main features of Home Assistant is the ability to create complex automations and scenarios. For example, you can have lights turn on automatically when it gets dark, or turn on the heating when the temperature drops below a certain level.<\/li>\n\n\n\n<li><strong>Simple user interface<\/strong>Home Assistant offers a user-friendly interface that makes it easy to monitor and control devices. This interface is fully customizable.<\/li>\n\n\n\n<li><strong>Integration with voice assistants<\/strong>Home Assistant can be integrated with voice assistants such as Amazon Alexa or Google Assistant to enable voice-controlled control of your smart home devices.<\/li>\n\n\n\n<li><strong>Open source and community-driven<\/strong>Since Home Assistant is open source, it is supported by an active community that is constantly developing new integrations and improving existing ones.<\/li>\n\n\n\n<li><strong>Data protection and security<\/strong>As a locally running platform, Home Assistant has the advantage that the data remains within its own network. This protects privacy and increases security compared to cloud-based solutions.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In summary, Home Assistant is a powerful and flexible solution for those who want to design their own smart home and control their devices centrally, regardless of the manufacturer or ecosystem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-so-bindest-du-den-regensensor-in-zigbee2mqtt-und-home-assistant-ein\"><span class=\"ez-toc-section\" id=\"So_bindest_du_den_Regensensor_in_Zigbee2MQTT_und_Home_Assistant_ein_%F0%9F%94%8C%F0%9F%93%A1\"><\/span>How to integrate the rain sensor into Zigbee2MQTT and Home Assistant \ud83d\udd0c\ud83d\udce1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I recommend the integration via <strong>Zigbee2MQTT<\/strong>as the sensor is directly supported there. Of course you can also use it with <strong>ZHA<\/strong> but sometimes less information is visible here.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E2%9C%85_Voraussetzungen\"><\/span>\u2705 Requirements<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before you get started, make sure that you have already set up the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A running <strong>Home Assistant<\/strong> (e.g. on a Raspberry Pi, Home Assistant OS, Docker or similar)<\/li>\n\n\n\n<li><strong>Zigbee2MQTT<\/strong> is installed and running (e.g. as an add-on or container)<\/li>\n\n\n\n<li>You have a <strong>Zigbee stick<\/strong>e.g. the <strong>Sonoff Zigbee 3.0 USB Dongle Plus<\/strong><\/li>\n\n\n\n<li>The <strong>MQTT broker (e.g. Mosquitto)<\/strong> is set up and connected to Zigbee2MQTT and Home Assistant<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%94%A7_Schritt_1_Sensor_in_Pairing-Modus_versetzen\"><\/span>\ud83d\udd27 Step 1: Set the sensor to pairing mode<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Press the small <strong>Button on the back for 5 seconds<\/strong>until the LED flashes.<br>\u2192 The sensor is now in the <strong>Pairing mode<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\ud83d\udccc <strong>Tip:<\/strong> Make sure that the sensor is close to your Zigbee stick during pairing (max. 3-4 m).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%F0%9F%A7%A9_Schritt_2_Gerat_in_Zigbee2MQTT_hinzufugen\"><\/span>\ud83e\udde9 Step 2: Add device in Zigbee2MQTT<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the web interface of <strong>Zigbee2MQTT<\/strong> (e.g. via <code>http:\/\/deine-ip:8080<\/code>).<\/li>\n\n\n\n<li>Click on the button at the top right <strong>\"Permit join (All)\"<\/strong> resp. <strong>\"Activate teach-in (all)\"<\/strong>to allow new devices to connect.<\/li>\n\n\n\n<li>The sensor should appear within a few seconds - usually with the name <code>TS0207<\/code> or a device identifier such as <code>0x123456789abcdef<\/code>.<\/li>\n\n\n\n<li>Click on the new device, optionally assign your own name (e.g. <code style=\"cursor: pointer; position: relative;\"><strong>Re<\/strong><\/code><code><strong>gas sensor<\/strong><\/code>) and save. You can also update the name in Home Assistant directly. The device will be added to Home Assistant immediately if you have already integrated Zigbee2MQTT.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Schritt_3_Integration_in_Home_Assistant\"><\/span> Step 3: Integration in Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">As soon as Zigbee2MQTT recognizes the device and your MQTT broker is correctly connected, Home Assistant recognizes <strong>automatically<\/strong> all available sensor values as entities.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How to find them:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Home Assistant, go to <strong>\"Settings \u2192 Devices &amp; services \u2192 MQTT \u2192 Devices\"<\/strong>.<\/li>\n\n\n\n<li>You will now see your new device there, e.g. <strong>\"<code><strong><code><strong>Rain sensor<\/strong><\/code><\/strong><\/code>\"<\/strong> with all entities.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">With these steps, the sensor is fully integrated and provides permanent measurement data that you can use for visualizations, notifications or automation - all locally, without the cloud, and reliably via Zigbee.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-automatisierungsideen-mit-home-assistant\"><span class=\"ez-toc-section\" id=\"Automatisierungsideen_mit_Home_Assistant\"><\/span>Automation ideas with Home Assistant<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Window warning:<\/strong><br>If the sensor reports \"Rain detected\" \u2192 send a notification to your smartphone: <em>\"Watch out, it's raining - close the windows!\"<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Automatically retract awning:<\/strong><br>Couple the sensor with your electric awning. As soon as rain is detected \u2192 retract automatically to prevent damage.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Stop watering the garden:<\/strong><br>When it starts to rain \u2192 deactivate your automatic watering for the next 3 hours.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Rain logging:<\/strong><br>Log rain events in an InfluxDB or Grafana - perfect for analyzing weather data over time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-konkretes-beispiel-einer-regenwarnung-bei-verlassen-des-hauses\"><span class=\"ez-toc-section\" id=\"Konkretes_Beispiel_einer_Regenwarnung_bei_Verlassen_des_Hauses\"><\/span>Specific example of a rain warning when leaving the house<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>alias: Rain sensor\ndescription: \"\"\ntriggers:\n  - trigger: state\n    entity_id:\n      - binary_sensor.turkontakt_wohnungstur_contact\n    to: \"on\"\nconditions:\n  - condition: state\n    entity_id: binary_sensor.window_contact_bedroom_contact\n    state: \"on\"\n  - condition: state\n    entity_id:\n      - binary_sensor.rain_sensor_rain\n    state: \"on\"\n  - condition: state\n    entity_id: alarm_control_panel.apartment\n    state:\n      - armed_vacation\n      - armed_night\n      - armed_home\n      - armed_away\n      - armed\n      - arming\nactions:\n  - action: notify.smartphones\n    metadata: {}\n    data:\n      message: Close the windows before you leave.\n      title: Rain warning\n      data:\n        notification_icon: mdi:weather-rainy\n        color: red\n        icon_url: \/local\/icons\/weather_icons.rainy-5.svg\nmode: single<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This home assistant automation warns you <strong>when leaving the apartment<\/strong>if it <strong>rains<\/strong> and <strong>one window open<\/strong> is. It helps you to avoid water damage and only works if your <strong>Alarm system active<\/strong> or is currently being armed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Automation is started as soon as the <strong>Apartment door opens<\/strong> - so typically on the way out.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In order for the notification to be sent <strong>all of the following conditions must be met<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>Bedroom window is open<\/strong><\/li>\n\n\n\n<li>It <strong>rains according to the rain sensor<\/strong><\/li>\n\n\n\n<li>The <strong>Alarm system is active or is currently being activated<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If all conditions are met, you will receive a <strong>Warning on your smartphone<\/strong> with the reference:<br><strong>\"Close the windows before you leave.\"<\/strong><br>Plus a rain symbol in red - ideal for reminding you in good time. Of course, it makes even more sense to have an Alexa or Google Home speak out loud.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-weitere-automatisierungsideen\"><span class=\"ez-toc-section\" id=\"Weitere_Automatisierungsideen\"><\/span>Further automation ideas<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\ud83c\udf24 Weather &amp; sun automations<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Sunscreen reminder for high UV\/brightness<\/strong>\n<ul class=\"wp-block-list\">\n<li>If, in the last 20 minutes, the brightness sensor data <strong>&gt; 5700 lux<\/strong> lie <strong>and<\/strong> it hasn't rained \u2192 notification on your cell phone or Alexa announcement: \"Don't forget to apply cream!\".<\/li>\n\n\n\n<li>Optional: Reminder only between 10 a.m. and 5 p.m. to avoid unnecessary notices.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Heat &amp; sun protection for plants<\/strong>\n<ul class=\"wp-block-list\">\n<li>If brightness &gt; 6000 lux <strong>and<\/strong> Temperature &gt; 28 \u00b0C <strong>and<\/strong> Rain = false \u2192 Extend awning or sunblind.<\/li>\n\n\n\n<li>Saves water and protects sensitive plants.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Pre-rain advice for laundry<\/strong>\n<ul class=\"wp-block-list\">\n<li>If rain is detected <strong>and<\/strong> the motion detector in the garden has had activity in the last 2 hours (e.g. laundry hung up) \u2192 push message: \"It's raining - bring in the laundry!\"<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\ud83d\udca1 Light &amp; comfort automations<\/strong><br>4. <strong>Light control according to outside darkness<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If brightness &lt; 200 lux outside <strong>and<\/strong> someone at home \u2192 switch on the living room light automatically.<\/li>\n\n\n\n<li>Even smarter: only switch on if there has been movement in the last 5 minutes (presence sensor).<\/li>\n<\/ul>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li><strong>Automatic night light in case of rain<\/strong>\n<ul class=\"wp-block-list\">\n<li>If rain = true <strong>and<\/strong> Brightness &lt; 150 lux <strong>and<\/strong> Motion detector triggered in the hallway \u2192 switch on warm LED night light so that nobody slips on wet tiles in the dark.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Twilight-dependent front door lighting<\/strong>\n<ul class=\"wp-block-list\">\n<li>If brightness &lt; 300 lux or rain = true <strong>and<\/strong> Doorbell activated \u2192 Switch on outside light for 5 minutes.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\ud83c\udfe1 Safety &amp; security automations<\/strong><br>7. <strong>Automatic window closing<\/strong> (if window drives are available)<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If rain is detected \u2192 close all open motorized windows.<\/li>\n\n\n\n<li>Extra condition: Temperature &lt; 30 \u00b0C to avoid unnecessary ventilation in midsummer.<\/li>\n<\/ul>\n\n\n\n<ol start=\"8\" class=\"wp-block-list\">\n<li><strong>Garage door warning in case of rain<\/strong>\n<ul class=\"wp-block-list\">\n<li>If rain = true <strong>and<\/strong> Garage door open for longer than 2 minutes \u2192 Notification + light signal in the garage.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Canopy lighting only when required<\/strong>\n<ul class=\"wp-block-list\">\n<li>If rain = true <strong>and<\/strong> Motion detector active at the entrance \u2192 Switch on LED strips under the canopy so that visitors can enter dry.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"youtube\"><span class=\"ez-toc-section\" id=\"Umsetzung_im_YouTube-Video\"><\/span>YouTube video implementation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Smart automations in the rain? Use solar Zigbee rain sensor RB-SRAIN01 with Home Assistant \ud83c\udf27\ufe0f\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/Gjh8UNQTKTc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n<p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-fazit\"><span class=\"ez-toc-section\" id=\"Fazit\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Tuya RB-SRAIN01<\/strong> is a real insider tip for your smart home. Thanks to the <strong>Completely self-sufficient solar operation<\/strong> you save on battery changes and still have a reliable rain detector.<br>In combination with Home Assistant, you have countless automation options - from alerts to irrigation control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Make your smart home weatherproof - without batteries!<\/p>\n\n\n\n<div id=\"jp-block-themeisle-blocks-font-awesome-icons-8c6d8bc1\" class=\"wp-block-themeisle-blocks-font-awesome-icons jp-block-themeisle-blocks-font-awesome-icons\"><span class=\"wp-block-themeisle-blocks-font-awesome-icons-container\"><a href=\"https:\/\/sascha-brockel.de\/en\/#contact\" target=\"_self\" rel=\"noopener noreferrer\"><i class=\"fas fa-business-time\"><\/i><\/a><\/span><\/div>\n\n\n\n<h4 id=\"jp-block-themeisle-blocks-advanced-heading-baa7fa4c\" class=\"wp-block-themeisle-blocks-advanced-heading jp-block-themeisle-blocks-advanced-heading-baa7fa4c jp-block-themeisle-blocks-advanced-heading ticss-116fe371\">Interested, but lack time or knowledge?<\/h4>\n\n\n\n<p id=\"jp-block-themeisle-blocks-advanced-heading-16f35f43\" class=\"wp-block-themeisle-blocks-advanced-heading jp-block-themeisle-blocks-advanced-heading-16f35f43 jp-block-themeisle-blocks-advanced-heading ticss-0e2b851d\">No problem. Contact me and we will discuss your requirements. No matter if business or private.<\/p>\n\n\n\n<div id=\"jp-block-themeisle-blocks-button-group-77e0455a\" class=\"wp-block-themeisle-blocks-button-group wp-block-buttons align-center jp-block-themeisle-blocks-button-group jp-block-buttons\">\n<div id=\"jp-block-themeisle-blocks-button-c6fb3687\" class=\"wp-block-themeisle-blocks-button wp-block-button jp-block-themeisle-blocks-button jp-block-button\"><a href=\"https:\/\/sascha-brockel.de\/en\/#contact\" target=\"_self\" rel=\"noopener noreferrer\" class=\"wp-block-button__link\"><i class=\"fas fa-fw fa-phone-volume margin-right\"><\/i><span>Contact<\/span><\/a><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Du m\u00f6chtest wissen, ob es regnet, bevor du das Haus mit offenem Fenster verl\u00e4sst oder die Gartenbew\u00e4sserung startest? Dann ist der Zigbee-Regensensor Tuya RB-SRAIN01 genau das richtige Gadget f\u00fcr dein Smart Home! Der Sensor ist komplett batterielos und wird ausschlie\u00dflich \u00fcber ein integriertes Solarmodul betrieben \u2013 das macht ihn besonders [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2558,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":false,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[32],"tags":[46,28,85,86],"class_list":["post-2557","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-smart-home","tag-home-assistant","tag-smart-home","tag-test","tag-zigbee"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.7 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen - Sascha Brockel<\/title>\n<meta name=\"description\" content=\"Der Zigbee-Regensensor RB-SRAIN01 meldet zuverl\u00e4ssig Regen in Home Assistant \u2013 ideal f\u00fcr Automatisierungen bei Wetterumschwung.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen\" \/>\n<meta property=\"og:description\" content=\"Der Zigbee-Regensensor RB-SRAIN01 meldet zuverl\u00e4ssig Regen in Home Assistant \u2013 ideal f\u00fcr Automatisierungen bei Wetterumschwung.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/\" \/>\n<meta property=\"og:site_name\" content=\"Sascha Brockel\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-08T10:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/pexels-photo-459451.avif\" \/>\n\t<meta property=\"og:image:width\" content=\"1880\" \/>\n\t<meta property=\"og:image:height\" content=\"1277\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sascha Brockel\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@saschabrockel\" \/>\n<meta name=\"twitter:site\" content=\"@saschabrockel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sascha Brockel\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/\"},\"author\":{\"name\":\"Sascha Brockel\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"headline\":\"Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen\",\"datePublished\":\"2025-09-08T10:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/\"},\"wordCount\":1122,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"image\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/pexels-photo-459451.avif\",\"keywords\":[\"Home Assistant\",\"Smart Home\",\"Test\",\"Zigbee\"],\"articleSection\":[\"Smart Home\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/\",\"url\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/\",\"name\":\"Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen - Sascha Brockel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/pexels-photo-459451.avif\",\"datePublished\":\"2025-09-08T10:00:00+00:00\",\"description\":\"Der Zigbee-Regensensor RB-SRAIN01 meldet zuverl\u00e4ssig Regen in Home Assistant \u2013 ideal f\u00fcr Automatisierungen bei Wetterumschwung.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/pexels-photo-459451.avif\",\"contentUrl\":\"https:\\\/\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/pexels-photo-459451.avif\",\"width\":1880,\"height\":1277,\"caption\":\"Photo by Pixabay on Pexels.com\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/en\\\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/sascha-brockel.de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#website\",\"url\":\"https:\\\/\\\/sascha-brockel.de\\\/\",\"name\":\"Sascha Brockel\",\"description\":\"Fortschritt kennt keine Grenzen\",\"publisher\":{\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/sascha-brockel.de\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/sascha-brockel.de\\\/#\\\/schema\\\/person\\\/3675ac2cf16fa04c60aca4dedca5c970\",\"name\":\"Sascha Brockel\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\",\"width\":709,\"height\":945,\"caption\":\"Sascha Brockel\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/sascha-brockel.de\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1\"},\"sameAs\":[\"https:\\\/\\\/sascha-brockel.de\\\/\",\"https:\\\/\\\/www.instagram.com\\\/saschabrockel\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sascha-brockel-b20725164\\\/\",\"https:\\\/\\\/x.com\\\/saschabrockel\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCogo25FboCahP7s8--HDuIQ\"]}]}<\/script>\n<meta property=\"og:video\" content=\"https:\/\/www.youtube.com\/embed\/Gjh8UNQTKTc\" \/>\n<meta property=\"og:video:type\" content=\"text\/html\" \/>\n<meta property=\"og:video:duration\" content=\"594\" \/>\n<meta property=\"og:video:width\" content=\"480\" \/>\n<meta property=\"og:video:height\" content=\"270\" \/>\n<meta property=\"ya:ovs:adult\" content=\"false\" \/>\n<meta property=\"ya:ovs:upload_date\" content=\"2025-09-08T10:00:00+00:00\" \/>\n<meta property=\"ya:ovs:allow_embed\" content=\"true\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Use Zigbee rain sensor RB-SRAIN01 in Home Assistant - Sascha Brockel","description":"The RB-SRAIN01 Zigbee rain sensor reliably reports rain in Home Assistant - ideal for automation when the weather changes.","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:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/","og_locale":"en_US","og_type":"article","og_title":"Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen","og_description":"Der Zigbee-Regensensor RB-SRAIN01 meldet zuverl\u00e4ssig Regen in Home Assistant \u2013 ideal f\u00fcr Automatisierungen bei Wetterumschwung.","og_url":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/","og_site_name":"Sascha Brockel","article_published_time":"2025-09-08T10:00:00+00:00","og_image":[{"width":1880,"height":1277,"url":"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/pexels-photo-459451.avif","type":"image\/jpeg"}],"author":"Sascha Brockel","twitter_card":"summary_large_image","twitter_creator":"@saschabrockel","twitter_site":"@saschabrockel","twitter_misc":{"Written by":"Sascha Brockel","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#article","isPartOf":{"@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/"},"author":{"name":"Sascha Brockel","@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"headline":"Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen","datePublished":"2025-09-08T10:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/"},"wordCount":1122,"commentCount":3,"publisher":{"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"image":{"@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/pexels-photo-459451.avif","keywords":["Home Assistant","Smart Home","Test","Zigbee"],"articleSection":["Smart Home"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/sascha-brockel.de\/en\/#organization"}},{"@type":"WebPage","@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/","url":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/","name":"Use Zigbee rain sensor RB-SRAIN01 in Home Assistant - Sascha Brockel","isPartOf":{"@id":"https:\/\/sascha-brockel.de\/#website"},"primaryImageOfPage":{"@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#primaryimage"},"image":{"@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#primaryimage"},"thumbnailUrl":"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/pexels-photo-459451.avif","datePublished":"2025-09-08T10:00:00+00:00","description":"The RB-SRAIN01 Zigbee rain sensor reliably reports rain in Home Assistant - ideal for automation when the weather changes.","breadcrumb":{"@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#primaryimage","url":"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/pexels-photo-459451.avif","contentUrl":"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/pexels-photo-459451.avif","width":1880,"height":1277,"caption":"Photo by Pixabay on Pexels.com"},{"@type":"BreadcrumbList","@id":"https:\/\/sascha-brockel.de\/en\/use-zigbee-rain-sensor-rb-srain01-in-home-assistant\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/sascha-brockel.de\/"},{"@type":"ListItem","position":2,"name":"Zigbee Regensensor RB-SRAIN01 in Home Assistant nutzen"}]},{"@type":"WebSite","@id":"https:\/\/sascha-brockel.de\/#website","url":"https:\/\/sascha-brockel.de\/","name":"Sascha Brockel","description":"Progress knows no boundaries","publisher":{"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/sascha-brockel.de\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/sascha-brockel.de\/#\/schema\/person\/3675ac2cf16fa04c60aca4dedca5c970","name":"Sascha Brockel","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","url":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","contentUrl":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1","width":709,"height":945,"caption":"Sascha Brockel"},"logo":{"@id":"https:\/\/i0.wp.com\/sascha-brockel.de\/wp-content\/uploads\/2023\/10\/Brockel_Sascha_3_3zu4-Grau.png?fit=709%2C945&ssl=1"},"sameAs":["https:\/\/sascha-brockel.de\/","https:\/\/www.instagram.com\/saschabrockel\/","https:\/\/www.linkedin.com\/in\/sascha-brockel-b20725164\/","https:\/\/x.com\/saschabrockel","https:\/\/www.youtube.com\/channel\/UCogo25FboCahP7s8--HDuIQ"]}]},"og_video":"https:\/\/www.youtube.com\/embed\/Gjh8UNQTKTc","og_video_type":"text\/html","og_video_duration":"594","og_video_width":"480","og_video_height":"270","ya_ovs_adult":"false","ya_ovs_upload_date":"2025-09-08T10:00:00+00:00","ya_ovs_allow_embed":"true"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/sascha-brockel.de\/wp-content\/uploads\/2025\/08\/pexels-photo-459451.avif","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/2557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/comments?post=2557"}],"version-history":[{"count":3,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/2557\/revisions"}],"predecessor-version":[{"id":2632,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/posts\/2557\/revisions\/2632"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/media\/2558"}],"wp:attachment":[{"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/media?parent=2557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/categories?post=2557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sascha-brockel.de\/en\/wp-json\/wp\/v2\/tags?post=2557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}