Playing a bit with Homey Cloud. Wanted to make some flows triggering when my washing machine is finished. Using a smart plug, when the power consumption is below a certain point for a certain amount of time (e.g. 1 minute), it would mean that my washing machine is finished. Very simple.
I read about the Chronograph app for Homey Pro, in which you could set a timer when the power drops below the threshold and delete the timer if it goes back up again. Unfortunately, this app is not available for Homey Cloud and as I understood all apps under the âtoolsâ section will probably never be.
Is there another way to achieve this? If not, will the functionality Iâm trying to achieve ever be possible with Homey Cloud?
Flow 1
IF power is above X watt THEN set Logic variable powerplug to TRUE
Flow 2
IF power went below X watt AND variable powerplug is TRUE THEN washing machine is finished AND set variable powerplug to FALSE
But then youâll just have to figure out which watt values are useful, like you stated most of the machines have a lot of idle moments so perhaps youâll have to add more logic variables and more flows to compare them between each other⌠I.e. in flow 2 you could add Start Flow 3 after 1 second, Start Flow 4 after 10 seconds, ⌠with each flow writing the value of the power plug to a variable and make 1 flow to compare all these values.
Not easy, but doable
If it is that simple, you could place a card to trigger something with a delay from the homey card. If you want to cancel the delayed card that is another matter. That will take tricks with variables as described in the above post.
Soooo, because tools are âcomplexâ your flows will not get any simpler
I must be mistaking, as I was always under the impression that people created tools to make hard stuff simpler.
I suppose that Athom will build this into the homey service, probably most of the homey pro functionality will be available in homey cloud over the years. they just need to keep the homey pro owner calm for a whileâŚ
In case it helps someone else, I need to do the same and thought of a way to do itâŚ
IF⌠this flow is started
THEN⌠temporarily send a notification
Save the flow, then modify it
IF⌠this flow is started
THEN⌠do your action (I am starting another flow just to keep things neat
THEN⌠start THIS FLOW again (you can now select it because you saved it), after a delay of whatever you need.
Then manually start the fllow. It will run in a loop forever, kicking itself off every Xmin. I tested it by sending a notification to myself every minute. I assume homey have something in place to prevent blowing up a data center somewhere, if you forgot to add the delay
They have. When flows are triggered too often in a timeframe, the flow gets disabled.
Of course you can add a âenable flow [this flow] after 2minutesâ, but if your flow gets disabled, you know why.
If I remember well, disabled flows by Homey are reported per timeline msg.