Throttle-your-water-flow-tasmota-2024-06-08 by SirGoodenough
This sets the amount of water sent to your Humidifier. You provide a minimum time and maximum time you want the water to run and this will send a time to the tasmota device controlling the water flow proportional to the ratio of the current humidity VS the target humidity.
HA is using the Generic Hygrostat integration.
My hardware is a Tasmota Sonoff SV sending the 24v to my humidifier water valve.
Tasmota Rules:
rule1
on Time#Minute|2 do var1 %var2% endon
rule2
on system#boot do backlog power2 0; var2 20 endon on POWER2#state=0 do backlog power1 0; rule1 0 endon on POWER2#state=1 do rule1 1 endon
rule3
on var1#state>110 do backlog power1 on;delay 1200;power1 off break on var1#state>100 do backlog power1 on;delay 1100;power1 off break on var1#state>90 do backlog power1 on;delay 1000;power1 off break on var1#state>80 do backlog power1 on;delay 900;power1 off break on var1#state>70 do backlog power1 on;delay 800;power1 off break on var1#state>60 do backlog power1 on;delay 700;power1 off break on var1#state>50 do backlog power1 on;delay 600;power1 off break on var1#state>40 do backlog power1 on;delay 500;power1 off break on var1#state>30 do backlog power1 on;delay 400;power1 off break on var1#state>20 do backlog power1 on;delay 300;power1 off break on var1#state<=20 do backlog power1 on;delay 200;power1 off endon
Community link for this blueprint
๐ฟNotice๐ฎ๐ฟโโ๏ธ:
-
Copies of the original Blueprint that were converted via the 'Take Control' feature or other means are officially not supported by me.
-
I may or may not be able to support you when you have a problem after you make changes to my code, as some of the code is no longer mine.
-
I & my license also require attribution as a link back to the original should you use this code in your own creation.
-
Here is a link to my license & the original github post expected to be followed & referenced as attribution should you use this code elsewhere.
Import to Home Assistant
Click to import this blueprint directly into your Home Assistant instance.
Configuration
Requires 3 inputs to configure
Source Code
View on GitHubDetails
Related Blueprints
More device control automations you might like
Motion-activated Light
Example Automation Blueprint
On-Off schedule with state persistence
On-Off schedule with state persistence
A simple on-off schedule, with the addition of state persistence across disruptive events, making sure the target device is always in the expected state. ๐ Full documentation regarding this blueprint is available here. ๐ This blueprint is part of the Awesome HA Blueprints project. โน๏ธ Version 2021.10.26Simple Safe Scheduler
Simple Safe Scheduler
Scheduling a periodic action in Home Assistant might be trickier than what it looks at first glance. Not only the available automation triggers are limited to only time-based schedules (requiring the user to either use template triggers or install additional integrations for more complex scheduling options), but they also do not guarantee that the automation is executed at the provided time. As an example, let's assume automation A is scheduled to run at 12:00. If the Home Assistant server goes down at 11:59 due to a disruptive event (e.g. power outage, planned maintenance, hardware failure etc.) and comes back up at 12:01, the A automation run scheduled for 12:00 would simply be skipped, without any warning to the user. The Simple Safe Scheduler blueprint tries to mitigate scheduling limitations in Home Assistant by providing an easy interface to configure periodic actions, with built-in safety checks to ensure the action actually runs even in case of a disruptive event. The configured automation acts as a simple scheduler, allowing to flexibly program any kind of action based on the following parameters:- Time of the day (dynamically provided as an
input_datetimeentity); - Day of the week (multiple days can be selected);
- Week frequency (allowing to schedule the action to run i.e. every 2 weeks).