When I test it before saving by pressing the blue start on the first card, it works flawlessly. I monitor it on my phone to see it happening in real time and also confirm within the web app.
However, when I save the flow is when it gets strange and stops working. There is also no other flows with this switch so nothing would be affecting it.
The flow shows it completed successfully, but the switch is hung at 1%.
This is what was suggested by multiple people to achieve a turn on without going straight to 100% and then to the desired dim %.
So when turned off â dim to % â then turn off
Turned off does not âturn it offâ, itâs the action of being turned off that is evoking something.
Since the dimmer switch defaults to itâs last dim % when flipped on again it would default to 1% and then ramp up to the desired dim % within another flow.
Test-state does not test the status to trigger it. It presumes it is true and I also do not know if it will start itself again in such a case. That you can test by adding as second step to post info in your timeline.
Thatâs not what I meant, and it causes a loop
When turned off â dim to % (this causes most lights to turn on with dimlevel %) â Then turn off
Now the flow starts again immediately, because:
When turned off â dim to % (this causes most lights to turn on with dimlevel %) â Then turn off
Now the flow starts again immediately, because:
When turned off â dim to % (this causes most lights to turn on with dimlevel %) â Then turn off
Now the flow starts again immediately, because âŚ
And so on and on.
I even showed it in the other topic, you added the trigger somehow
I did not say to trigger the flow with âWhen light X is turned offâ
I meant, or tried to explain, in all the flows where you use the action card âThen turn light X offâ you should use
ThenâŚ
-dim light X to 1%
-turn light X off after 1s
instead.
Now the light should have dimlevel 1% when you turn it on from anywhere.
Normally the flow should be something like this:
WHEN:the ZooZ dimmer switch is flipped
AND: the master closet is turned on
True THEN: dim master closet to 25% and turn off master closet
False THEN if time between 21:00 and 6:00
True THEN dim master closet to 25%
False THEN dim master closet to 100%
Yes I did not understand and I honestly still donât quite wrap my head around all this. However, I think I may have confused everyone thinking that I have both a smart switch and smart bulbs. The switch is the only thing that is smart. So, the switch is the only thing that controls the lights so I canât specify âWhen light x is turned offâ. Which is why my only option was to construct the flow the way I did based on your feedback. I truly appreciate everyoneâs help and patience with me.
I unfortunately donât have a WHEN for Zooz that is toggle of/on but just a Turned On, Turned Off, or Dim Level Changed. So the only way for me to copy your flow is to do the following. However, I am not sure this wonât cause the same loop I was dealing with before.
I think there is a language problem: âTurned offâ can mean âWhen the switch is toggled to offâ or it can mean âwhen the light is switched offâ.
I thought it means âwhen the switch is toggled to offâ.
By the way: if no flows are defined in Homey, nothing should happen when you toggle the switch. If the light goes on or off, the switch controls the lamp directly and that connection shall be destroyedâŚ
The lights turn on and off, or dim normally if no flows are defined in Homey as the switch controls the ceiling lights regardless of a hub (Homey) or not. The switch is wired directly to the lights.
I could just not be asking the right question and confusing everyone, which if the case I apologize.
To clarify:
The switch is wired directly to the lights. And the lights are not smart, just the switch is.
Would it be possible to use the zwave flow to send a raw command directly to the switch to set a custom dim %? This way the switch could already have the desired dim % before turning on?
That clarifies your problem. There must also be a setting to disconnect the input (your toggle switch) from the output (the connected lamp). So the lamp is controlled only by flows.
With the WHEN-Card âmastercloset-master bedroom is turned offâ
combined with the THEN-Card âTurn off master closet-master bedroomâ you create an infinite loop. Homey will not allow that. You need another trigger-card.
Can you do this test:
I am pretty sure that this flow will work as wanted if you replace WHEN-Card âmaster-closet-masterbedroom is turned offâ with the WHEN-Card âBrycenâs Cave is turned offâ.