I’m new to Homey and I’m still figuring out how to use flows in a good way. I have used ST for many years and have come accustomed to use the argument “is” or “is more/less”. For example I have a humidity sensor which I want to trigger a humidifier if the humidity is a certain value, or more or less than that value. I’m only seeing the “becomes” argument in Homey flows which is much less useful in my opinion since it requires a change for it to trigger rather than current state and/or change. For example if I want to keep the humidity in a certain room above 40% but the humidity sensor is showing 35% from before then “becomes less than 40%” does nothing whereas an argument like “is 40% or less would”. Any suggestions on how to solve my dilemma?
Thanks for your reply @Wilfred_Greven! When is “humidity has changed” now but I’m unsure on how to use log tags in the next step… Help is much appreciated.
Another thing, if this flow started to work, wouldn’t it then trigger everytime a change in humidity was registered? It would be quite natural that the humidity increases when the humidifier is turned on, I don’t want it to run more than once each session.
It triggers every time the humidity changes and the time is between 18.30 and 21.30 and humidity is below 40.
If you want that it only starts one time, you can add a card in the “and” with “purifier is not running (or started). It is purifier dependent if this is necessarily.
For stopping the purifier i would make a second flow.
When the purifier is off, gets Homey the humidity from the purifier?
I’d like to explain this card;
These type of cards work like a thermostat.
When
-value becomes less than 40%
Then
-turn device x on
When
-value becomes more than 40%
Then
-turn device x off
The “value becomes less than 40%” only triggers when the previous value was more than 40%.
It does not trigger again when the value is 39% and drops to 38%
That is why i tolled to do it with a logic card, then you can compare the humidity with the border you want (humidity is smaller then 40).
Lets say the border is 40 it triggers the flow also when humidity drops from 39 to 38.
You can try the logic card with the local tag humidity which comes available with the card (when section) purifier humidity changes.
There was a time that this not worked in Homey, so i take every time the tag from the sensor, plug or whatever.
Thanks, it was understood and the main reason why I created my post since I think that logic isn’t sufficient for a lot of use cases. Any device which isn’t running 24/7 might fall below or go above the threshold values and since it’s a fixed value the trigger might not get triggered again.