{
    "id": 125,
    "date": "2026-09-13T22:46:58",
    "date_gmt": "2026-09-13T19:46:58",
    "guid": {
        "rendered": "http:\/\/realhomeautomations.com\/bg\/projects\/tema-41\/"
    },
    "modified": "2026-11-23T18:24:03",
    "modified_gmt": "2026-11-23T16:24:03",
    "slug": "ventilatorat-v-banyata-se-vklyuchva-sam-pri-pokachvane-na-vlazhnostta",
    "status": "publish",
    "type": "diy_project",
    "link": "https:\/\/realhomeautomations.com\/en\/projects\/ventilatorat-v-banyata-se-vklyuchva-sam-pri-pokachvane-na-vlazhnostta\/",
    "title": {
        "rendered": "The bathroom fan turns on by itself when the humidity rises"
    },
    "content": {
        "rendered": "<p class=\"wp-block-paragraph\">After a shower the mirror fogs up, and the fan is either not on or is left on. A fixed threshold like &#8220;above 70% humidity&#8221; does not work: the bathroom is different in summer and in winter. It is more reliable to watch how fast the humidity rises, not what it is at the moment.<\/p>\n\n\n<h2 class=\"wp-block-heading\">How it works<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Home Assistant does not look at the humidity itself, but at its rate of change. A helper of type <strong>Derivative<\/strong> turns the sensor&#8217;s readings into percent humidity per minute (%\/min), averaged over 3 minutes. The ready-made blueprint &#8220;Bathroom Humidity Exhaust Fan&#8221; by Blackshome (version 2.6) works on this sensor:<\/p>\n\n\n<ol class=\"wp-block-list\"><li>When the rate goes above <strong>+0,9 %\/min<\/strong>, the fan turns on. This is the start of the shower.<\/li><li>When the rate falls below <strong>-0,8 %\/min<\/strong>, a countdown starts and after 10 minutes the fan turns off.<\/li><li>If the drop does not happen within 20 minutes, the maximum-time protection skips the wait and goes straight to the countdown.<\/li><li>Fallback threshold: if the humidity goes above <strong>80 %<\/strong>, the fan turns on even if the rate is small. This helps with a second shower right after the first, when the humidity has not dropped yet and the jump is small.<\/li><\/ol>\n\n\n<p class=\"wp-block-paragraph\">The numbers 0.9 and -0.8 are ours. The blueprint&#8217;s defaults are 1 and -1. The times (10 minutes of countdown and 20 minutes of protection) are the defaults at our place. Change them to suit your bathroom, sensor and fan.<\/p>\n\n\n<h2 class=\"wp-block-heading\">1. Check the humidity sensor<\/h2>\n\n\n<p class=\"wp-block-paragraph\">You need a sensor that Home Assistant sees as humidity in %. Place it out of the direct stream of water and away from the fan itself. At our place it is <a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/aqara-presence-multi-sensor-fp300-ps-s04d-ai-presence-sensor-dual-mmwave-pir-technology-thread-and-zigbee\/\">Aqara Presence Sensor FP300<\/a> through ZHA, but any sensor with humidity will do.<\/p>\n\n\n<p class=\"wp-block-paragraph\">Open <strong>Settings \u2192 Devices &amp; services \u2192 Entities<\/strong>, find the sensor and look at its graph while you take a shower. You should clearly see a rise and a slow decline.<\/p>\n\n\n<h2 class=\"wp-block-heading\">2. Make a Derivative sensor<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Open <strong>Settings \u2192 Devices &amp; services \u2192 Helpers \u2192 Create helper \u2192 Derivative sensor<\/strong> and fill in:<\/p>\n\n\n<ul class=\"wp-block-list\"><li><strong>Name:<\/strong> \u201eBathroom derivative humidity\u201c.<\/li><li><strong>Input sensor:<\/strong> the humidity sensor from the previous step.<\/li><li><strong>Precision:<\/strong> 2.<\/li><li><strong>Time unit:<\/strong> minutes.<\/li><li><strong>Time window:<\/strong> 3 minutes.<\/li><\/ul>\n\n\n<p class=\"wp-block-paragraph\">The time window averages the readings and smooths out noise. According to the Home Assistant documentation, without it the derivative is calculated between two consecutive readings. This way you get <code>sensor.bathroom_derivative_humidity<\/code> in %\/min. At rest the value is around 0, and during a shower it is positive.<\/p>\n\n\n<h2 class=\"wp-block-heading\">3. Connect a relay for the fan<\/h2>\n\n\n<p class=\"wp-block-paragraph\">At our place the fan is controlled by a Wi-Fi relay <a href=\"https:\/\/realhomeautomations.com\/bg\/produkt\/smart-wifi-relay-sonoff-minir4-10a-1-channel\/\">SONOFF MINIR4<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Install the relay, add it to Home Assistant and check from the interface that the fan turns on and off. You need an entity of type <code>switch<\/code>, <code>fan<\/code>, <code>script<\/code> or <code>input_boolean<\/code>. The blueprint explicitly does not accept a device, only an entity.<\/p>\n\n\n<h2 class=\"wp-block-heading\">4. Import the blueprint and set it up<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Open <strong>Settings \u2192 Automations &amp; scenes \u2192 Blueprints \u2192 Import Blueprint<\/strong> and paste the blueprint&#8217;s address: <code>https:\/\/gist.github.com\/Blackshome\/8e09a8213b834f1be4ab49ba880abed8<\/code>. Then choose <strong>Create automation<\/strong> from this blueprint and fill in the inputs:<\/p>\n\n\n<ul class=\"wp-block-list\"><li><strong>Trigger &#8211; Humidity Derivative Sensor:<\/strong> The Derivative sensor from step 2.<\/li><li><strong>Bathroom Humidity Sensor:<\/strong> the humidity sensor itself.<\/li><li><strong>Fan Switch:<\/strong> the relay&#8217;s entity.<\/li><li><strong>Rising Humidity Derivative:<\/strong> 0,9. <strong>Falling Humidity Derivative:<\/strong> -0,8.<\/li><li><strong>Use The Maximum Humidity Option:<\/strong> enabled, <strong>Maximum Humidity:<\/strong> 80.<\/li><\/ul>\n\n\n<p class=\"wp-block-paragraph\">You leave the rest as the default. Here is what our automation looks like with anonymised entity names (to paste it, use <strong>Edit in YAML<\/strong>):<\/p>\n\n\n<pre class=\"wp-block-code\"><code>alias: Bathroom exhaust trigger on humidity\ndescription: \"\"\nuse_blueprint:\n  path: Blackshome\/bathroom-humidity-exhaust-fan.yaml\n  input:\n    trigger: sensor.bathroom_derivative_humidity\n    bathroom_humidity_sensor: sensor.bathroom_humidity\n    fan_switch:\n      entity_id: switch.bathroom_fan\n    include_manual_fan_switch: disable_manual_fan_switch\n    include_max_humidity: maximum_humidity_enabled\n    max_humidity: 80\n    rising_humidity: 0.9\n    falling_humidity: -0.8\n<\/code><\/pre>\n\n\n<p class=\"wp-block-paragraph\">Result: in <strong>Settings \u2192 Automations &amp; scenes<\/strong> there is a new automation, enabled by default. Replace the three entities with your own. The value of <code>path<\/code> must match the path of the imported blueprint.<\/p>\n\n\n<h2 class=\"wp-block-heading\">5. Tune the thresholds to a real shower<\/h2>\n\n\n<p class=\"wp-block-paragraph\">Do not take our numbers as ready. Take two or three usual showers and look in the Derivative sensor&#8217;s history at the peak on the rise and the lowest point on the drop. Set <strong>Rising<\/strong> below the typical peak and <strong>Falling<\/strong> above the typical bottom. If needed, increase or decrease the sensor&#8217;s time window.<\/p>\n\n\n<h2 class=\"wp-block-heading\">Check<\/h2>\n\n\n<ul class=\"wp-block-list\"><li>Take a shower. The fan should turn on in the first minutes and turn off after the end of the shower plus the countdown time.<\/li><li>In <strong>Settings \u2192 Automations &amp; scenes<\/strong>, in the automation&#8217;s Traces, see which threshold triggered it: the Derivative sensor or the humidity above 80%.<\/li><li>Wash only your hands. The fan should not turn on.<\/li><li>A second shower right after the first. The humidity is still high and the fallback threshold should take over.<\/li><li>The blueprint also has a trigger on Home Assistant startup, and the author writes that its protections work after a restart too. Check it yourself by restarting while the fan is running.<\/li><\/ul>\n\n\n<h2 class=\"wp-block-heading\">If it does not work<\/h2>\n\n\n<ul class=\"wp-block-list\"><li><strong>The fan does not turn on.<\/strong> Look at the Derivative sensor&#8217;s graph during a shower. If it never passes the rise threshold, lower <strong>Rising<\/strong>. A sensor that updates rarely gives sharp jumps in the derivative; then increase the time window.<\/li><li><strong>It turns on for no reason.<\/strong> The threshold is too low or the sensor is noisy. Increase <strong>Rising<\/strong> or the time window.<\/li><li><strong>It keeps running all the time.<\/strong> If the humidity at the sensor&#8217;s location is above 80%, the fallback threshold starts it again and again. The author advises keeping this threshold as high as possible to avoid false triggers. Move the sensor or raise the value.<\/li><li><strong>It does not stop in time.<\/strong> The drop below <strong>Falling<\/strong> may not happen. Then the protection works: up to 20 minutes of waiting and another 10 minutes of countdown.<\/li><li><strong>An error in the log.<\/strong> If in <strong>Fan Switch<\/strong> a device is chosen instead of an entity, the blueprint gives an error. Choose the entity.<\/li><\/ul>\n\n\n<h2 class=\"wp-block-heading\">Limitations<\/h2>\n\n\n<ul class=\"wp-block-list\"><li>Humidity is not air quality. The automation does not sense smells, spray or the toilet.<\/li><li>The relay uses Wi-Fi, and the sensor uses the Zigbee coordinator. If either of them or Home Assistant itself is not working, the automation does not start the fan.<\/li><li>How to switch it off: stop the automation from <strong>Settings \u2192 Automations &amp; scenes<\/strong>. The fan goes back to manual control.<\/li><li>We have set up the same blueprint for a fan in a storeroom, but that automation is currently disabled and is not part of what is said here.<\/li><\/ul>\n\n\n<h2 class=\"wp-block-heading\">Sources<\/h2>\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/derivative\/\">Home Assistant: Derivative integration<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/docs\/blueprint\/\">Home Assistant: blueprints<\/a><\/li><li><a href=\"https:\/\/community.home-assistant.io\/t\/509992\">Blackshome: Bathroom Humidity Exhaust Fan, a thread in the Home Assistant forum<\/a><\/li><li><a href=\"https:\/\/gist.github.com\/Blackshome\/8e09a8213b834f1be4ab49ba880abed8\">Blackshome: the blueprint in a GitHub Gist<\/a><\/li><li><a href=\"https:\/\/www.home-assistant.io\/integrations\/zha\/\">Home Assistant: ZHA integration<\/a><\/li><li><a href=\"https:\/\/sonoff.tech\/product\/diy-smart-switches\/minir4\/\">SONOFF MINIR4<\/a><\/li><li><a href=\"https:\/\/www.aqara.com\/en\/product\/presence-multi-sensor-fp300\">Aqara Presence Multi-Sensor FP300<\/a><\/li><\/ul>\n\n\n<p class=\"wp-block-paragraph\">The automation from &#8220;How it is at our place&#8221; is enabled in Marto&#8217;s Home Assistant. The configuration, the helper, the traces and the device models were read on 19.10.2026.<\/p>",
        "protected": false
    },
    "excerpt": {
        "rendered": "<p>The fan turns on when the humidity in the bathroom starts to rise quickly, and stops after it drops, with no fixed threshold for the whole year. You use a humidity sensor, a Derivative helper and a ready-made blueprint.<\/p>",
        "protected": false
    },
    "author": 1,
    "featured_media": 816,
    "template": "",
    "diy_project_category": [
        63
    ],
    "diy_project_tag": [
        54,
        118,
        117,
        116
    ],
    "class_list": [
        "post-125",
        "diy_project",
        "type-diy_project",
        "status-publish",
        "has-post-thumbnail",
        "hentry",
        "diy_project_category-63",
        "diy_project_tag-home-assistant",
        "diy_project_tag-118",
        "diy_project_tag-117",
        "diy_project_tag-116"
    ],
    "acf": {
        "_diysmart_difficulty": "intermediate",
        "_diysmart_featured": false,
        "_diysmart_build_duration_min": 45,
        "_diysmart_build_duration_max": 90,
        "_diysmart_build_duration_unit": "minutes",
        "_diysmart_home_assistant": "yes",
        "_diysmart_works_offline": "",
        "_diysmart_electrician": "yes",
        "_diysmart_reading_time_override": "",
        "_diysmart_required_tools_rows": [
            {
                "label": "Home Assistant",
                "note": "With access to helpers, blueprints and automations"
            },
            {
                "label": "A humidity sensor in Home Assistant",
                "note": "We use the Aqara FP300 through ZHA; any sensor with humidity in % will do"
            }
        ],
        "_diysmart_learning_outcomes_rows": [
            {
                "outcome": "Turn humidity into a rate of change (%\/min) with a Derivative helper"
            },
            {
                "outcome": "Set up a fan blueprint that triggers on a rise, not on a fixed threshold"
            },
            {
                "outcome": "Set a switch-off time and a fallback threshold for back-to-back showers"
            },
            {
                "outcome": "Read the automation trace and tune the thresholds to a real shower"
            }
        ],
        "_diysmart_skill_requirements_rows": [
            {
                "requirement": "Adding a sensor and a relay in Home Assistant",
                "note": ""
            },
            {
                "requirement": "Importing a blueprint and filling in its inputs",
                "note": ""
            },
            {
                "requirement": "Reading a sensor graph in the history",
                "note": ""
            }
        ],
        "_diysmart_at_home": {
            "who": "Marto",
            "since": "2025-05",
            "story": "At our place the bathroom fan has worked this way since May 2025. The humidity is measured by the Aqara FP300 presence sensor, which is in the bathroom anyway, and the fan is on a SONOFF MINIR4 relay. Our thresholds are slightly more sensitive than the defaults: +0.9 and -0.8 %\/min, plus a fallback switch-on above 80% humidity. In one of the latest traces the fan was started by the 80% threshold and ran for about 21 minutes.",
            "image": null,
            "caption": ""
        },
        "_diysmart_linked_product_id": 815,
        "_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>Bathroom fan by humidity rise | Real Home Automations<\/title>\n<meta name=\"description\" content=\"Turn on the bathroom fan by the rate of humidity rise, not by a fixed threshold: a Derivative sensor, a blueprint and a real config.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/125\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bathroom fan by humidity rise | Real Home Automations\" \/>\n<meta property=\"og:description\" content=\"Turn on the bathroom fan by the rate of humidity rise, not by a fixed threshold: a Derivative sensor, a blueprint and a real config.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/125\" \/>\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-wifi-relay-sonoff-minir4-10a-1-channel.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"430\" \/>\n\t<meta property=\"og:image:height\" content=\"367\" \/>\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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/#article\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/\"},\"author\":{\"name\":\"Real Home Automations\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\"},\"headline\":\"The bathroom fan turns on by itself when the humidity rises\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/\"},\"wordCount\":1086,\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/\",\"name\":\"Bathroom fan by humidity rise | Real Home Automations\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/#primaryimage\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp\",\"datePublished\":\"2026-09-13T19:46:58+00:00\",\"dateModified\":\"2026-11-23T16:24:03+00:00\",\"description\":\"Turn on the bathroom fan by the rate of humidity rise, not by a fixed threshold: a Derivative sensor, a blueprint and a real config.\",\"breadcrumb\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/ventilatorat-v-banyata-se-vklyuchva-sam-pri-pokachvane-na-vlazhnostta\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/#primaryimage\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp\",\"width\":430,\"height\":367,\"caption\":\"Smart WiFi relay Sonoff MINIR4, 10A, 1 channel\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/projects\\\/bathroom-fan-turns-on-with-humidity\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u041f\u0440\u043e\u0435\u043a\u0442\u0438\",\"item\":\"http:\\\/\\\/realhomeautomations.com\\\/bg\\\/projects\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"The bathroom fan turns on by itself when the humidity rises\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#website\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"name\":\"Real Home Automations\",\"description\":\"Open smart-home products and complete DIY projects\",\"publisher\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Organization\",\"OnlineStore\"],\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#organization\",\"name\":\"Real Home Automations\",\"url\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"contentUrl\":\"https:\\\/\\\/realhomeautomations.com\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/favicon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Real Home Automations\"},\"image\":{\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"legalName\":\"\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414\",\"vatID\":\"BG206246651\",\"taxID\":\"206246651\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1\",\"addressLocality\":\"\u0412\u0430\u0440\u043d\u0430\",\"postalCode\":\"9000\",\"addressCountry\":\"BG\"},\"contactPoint\":{\"@type\":\"ContactPoint\",\"contactType\":\"customer support\",\"email\":\"office@realhomeautomations.com\",\"telephone\":\"+359893232863\",\"availableLanguage\":[\"bg\",\"en\"]},\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"applicableCountry\":\"BG\",\"returnPolicyCategory\":\"https:\\\/\\\/schema.org\\\/MerchantReturnFiniteReturnWindow\",\"merchantReturnDays\":14,\"returnMethod\":\"https:\\\/\\\/schema.org\\\/ReturnByMail\",\"returnFees\":\"https:\\\/\\\/schema.org\\\/ReturnFeesCustomerResponsibility\",\"merchantReturnLink\":\"https:\\\/\\\/realhomeautomations.com\\\/en\\\/returns\\\/\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/realhomeautomations.com\\\/en\\\/#\\\/schema\\\/person\\\/762335b7812ecb9e45d2ce88eefb48b2\",\"name\":\"Real Home Automations\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g\",\"caption\":\"Real Home Automations\"},\"sameAs\":[\"https:\\\/\\\/realhomeautomations.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->",
    "yoast_head_json": {
        "title": "Bathroom fan by humidity rise | Real Home Automations",
        "description": "Turn on the bathroom fan by the rate of humidity rise, not by a fixed threshold: a Derivative sensor, a blueprint and a real config.",
        "robots": {
            "index": "index",
            "follow": "follow",
            "max-snippet": "max-snippet:-1",
            "max-image-preview": "max-image-preview:large",
            "max-video-preview": "max-video-preview:-1"
        },
        "canonical": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/125",
        "og_locale": "en_US",
        "og_type": "article",
        "og_title": "Bathroom fan by humidity rise | Real Home Automations",
        "og_description": "Turn on the bathroom fan by the rate of humidity rise, not by a fixed threshold: a Derivative sensor, a blueprint and a real config.",
        "og_url": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/125",
        "og_site_name": "Real Home Automations",
        "article_modified_time": "2026-11-23T16:24:03+00:00",
        "og_image": [
            {
                "width": 430,
                "height": 367,
                "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp",
                "type": "image\/jpeg"
            }
        ],
        "twitter_card": "summary_large_image",
        "twitter_misc": {
            "Est. reading time": "6 minutes"
        },
        "schema": {
            "@context": "https:\/\/schema.org",
            "@graph": [
                {
                    "@type": "TechArticle",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/#article",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/"
                    },
                    "author": {
                        "name": "Real Home Automations",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2"
                    },
                    "headline": "The bathroom fan turns on by itself when the humidity rises",
                    "datePublished": "2026-09-13T19:46:58+00:00",
                    "dateModified": "2026-11-23T16:24:03+00:00",
                    "mainEntityOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/"
                    },
                    "wordCount": 1086,
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp",
                    "inLanguage": "en-US"
                },
                {
                    "@type": "WebPage",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/",
                    "url": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/",
                    "name": "Bathroom fan by humidity rise | Real Home Automations",
                    "isPartOf": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#website"
                    },
                    "primaryImageOfPage": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/#primaryimage"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/#primaryimage"
                    },
                    "thumbnailUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp",
                    "datePublished": "2026-09-13T19:46:58+00:00",
                    "dateModified": "2026-11-23T16:24:03+00:00",
                    "description": "Turn on the bathroom fan by the rate of humidity rise, not by a fixed threshold: a Derivative sensor, a blueprint and a real config.",
                    "breadcrumb": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/#breadcrumb"
                    },
                    "inLanguage": "en-US",
                    "potentialAction": [
                        {
                            "@type": "ReadAction",
                            "target": [
                                "http:\/\/realhomeautomations.com\/bg\/projects\/ventilatorat-v-banyata-se-vklyuchva-sam-pri-pokachvane-na-vlazhnostta\/"
                            ]
                        }
                    ]
                },
                {
                    "@type": "ImageObject",
                    "inLanguage": "en-US",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/#primaryimage",
                    "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp",
                    "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/smart-wifi-relay-sonoff-minir4-10a-1-channel.webp",
                    "width": 430,
                    "height": 367,
                    "caption": "Smart WiFi relay Sonoff MINIR4, 10A, 1 channel"
                },
                {
                    "@type": "BreadcrumbList",
                    "@id": "http:\/\/realhomeautomations.com\/en\/projects\/bathroom-fan-turns-on-with-humidity\/#breadcrumb",
                    "itemListElement": [
                        {
                            "@type": "ListItem",
                            "position": 1,
                            "name": "Home",
                            "item": "http:\/\/realhomeautomations.com\/bg\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 2,
                            "name": "\u041f\u0440\u043e\u0435\u043a\u0442\u0438",
                            "item": "http:\/\/realhomeautomations.com\/bg\/projects\/"
                        },
                        {
                            "@type": "ListItem",
                            "position": 3,
                            "name": "The bathroom fan turns on by itself when the humidity rises"
                        }
                    ]
                },
                {
                    "@type": "WebSite",
                    "@id": "http:\/\/realhomeautomations.com\/en\/#website",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "name": "Real Home Automations",
                    "description": "Open smart-home products and complete DIY projects",
                    "publisher": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#organization"
                    },
                    "potentialAction": [
                        {
                            "@type": "SearchAction",
                            "target": {
                                "@type": "EntryPoint",
                                "urlTemplate": "https:\/\/realhomeautomations.com\/en\/?s={search_term_string}"
                            },
                            "query-input": {
                                "@type": "PropertyValueSpecification",
                                "valueRequired": true,
                                "valueName": "search_term_string"
                            }
                        }
                    ],
                    "inLanguage": "en-US"
                },
                {
                    "@type": [
                        "Organization",
                        "OnlineStore"
                    ],
                    "@id": "http:\/\/realhomeautomations.com\/en\/#organization",
                    "name": "Real Home Automations",
                    "url": "http:\/\/realhomeautomations.com\/en\/",
                    "logo": {
                        "@type": "ImageObject",
                        "inLanguage": "en-US",
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/",
                        "url": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "contentUrl": "https:\/\/realhomeautomations.com\/wp-content\/uploads\/2026\/10\/favicon-512.png",
                        "width": 512,
                        "height": 512,
                        "caption": "Real Home Automations"
                    },
                    "image": {
                        "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/logo\/image\/"
                    },
                    "legalName": "\u201e\u0415\u0421 \u041a\u0415\u0419 \u0421\u041e\u0424\u0422\u0423\u0415\u0420\u201c \u0415\u041e\u041e\u0414",
                    "vatID": "BG206246651",
                    "taxID": "206246651",
                    "email": "office@realhomeautomations.com",
                    "telephone": "+359893232863",
                    "address": {
                        "@type": "PostalAddress",
                        "streetAddress": "\u0443\u043b. \u201e\u0420\u0430\u0434\u0435\u0446\u043a\u0438\u201c 13, \u0435\u0442. 2, \u0430\u043f. 1",
                        "addressLocality": "\u0412\u0430\u0440\u043d\u0430",
                        "postalCode": "9000",
                        "addressCountry": "BG"
                    },
                    "contactPoint": {
                        "@type": "ContactPoint",
                        "contactType": "customer support",
                        "email": "office@realhomeautomations.com",
                        "telephone": "+359893232863",
                        "availableLanguage": [
                            "bg",
                            "en"
                        ]
                    },
                    "hasMerchantReturnPolicy": {
                        "@type": "MerchantReturnPolicy",
                        "applicableCountry": "BG",
                        "returnPolicyCategory": "https:\/\/schema.org\/MerchantReturnFiniteReturnWindow",
                        "merchantReturnDays": 14,
                        "returnMethod": "https:\/\/schema.org\/ReturnByMail",
                        "returnFees": "https:\/\/schema.org\/ReturnFeesCustomerResponsibility",
                        "merchantReturnLink": "https:\/\/realhomeautomations.com\/en\/returns\/"
                    }
                },
                {
                    "@type": "Person",
                    "@id": "http:\/\/realhomeautomations.com\/en\/#\/schema\/person\/762335b7812ecb9e45d2ce88eefb48b2",
                    "name": "Real Home Automations",
                    "image": {
                        "@type": "ImageObject",
                        "inLanguage": "en-US",
                        "@id": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "url": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "contentUrl": "https:\/\/secure.gravatar.com\/avatar\/4442f1640dcd6bf401460fe3f2393f03c3c10ab1a2bce81a588e1379d7f8795b?s=96&d=mm&r=g",
                        "caption": "Real Home Automations"
                    },
                    "sameAs": [
                        "https:\/\/realhomeautomations.com"
                    ]
                }
            ]
        }
    },
    "_links": {
        "self": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/125",
                "targetHints": {
                    "allow": [
                        "GET"
                    ]
                }
            }
        ],
        "collection": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project"
            }
        ],
        "about": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/types\/diy_project"
            }
        ],
        "author": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/users\/1"
            }
        ],
        "version-history": [
            {
                "count": 5,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/125\/revisions"
            }
        ],
        "predecessor-version": [
            {
                "id": 4353,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project\/125\/revisions\/4353"
            }
        ],
        "acf:post": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/product\/815"
            }
        ],
        "wp:featuredmedia": [
            {
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media\/816"
            }
        ],
        "wp:attachment": [
            {
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/media?parent=125"
            }
        ],
        "wp:term": [
            {
                "taxonomy": "diy_project_category",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_category?post=125"
            },
            {
                "taxonomy": "diy_project_tag",
                "embeddable": true,
                "href": "https:\/\/realhomeautomations.com\/en\/wp-json\/wp\/v2\/diy_project_tag?post=125"
            }
        ],
        "curies": [
            {
                "name": "wp",
                "href": "https:\/\/api.w.org\/{rel}",
                "templated": true
            }
        ]
    }
}