This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed
Flows triggering twice
MartijnDeRhoter
Member
Has anyone seen a single flow trigger twice? I have a very simple flow that flips a boolean value upon a button press, and since 0.8.24 I can confirm this flow gets triggered twice when the button is pressed once (both IR and a Kaku button since 0.8.27 broke the Kaku remote).
To test, I've added a number increment to the boolean flip. When the boolean is set to true and the number value is 0, a single button press causes the boolean to be true (again) and the value to jump to 2.
No other flow touches these two variables, so I can rule out a single button triggering two flows by accident.
How can I troubleshoot this?
Edit: added a test flow with a fresh boolean and number, these flip and increment as expected. Now the other flow also behaves, let's see if it stays like this, it was intermittent previously as well. Some sort of debug window would be so very very helpful.
To test, I've added a number increment to the boolean flip. When the boolean is set to true and the number value is 0, a single button press causes the boolean to be true (again) and the value to jump to 2.
No other flow touches these two variables, so I can rule out a single button triggering two flows by accident.
How can I troubleshoot this?
Edit: added a test flow with a fresh boolean and number, these flip and increment as expected. Now the other flow also behaves, let's see if it stays like this, it was intermittent previously as well. Some sort of debug window would be so very very helpful.
This discussion has been closed.
Comments
Receivers normally ignore repeating signals, with except to keys that have to repeat like volume up/down.
Have seen it here also that a KAKU triggers twice.
I just tested it using my in .27 only working APIR-2150 Motion Sensor because your msg here. In learning mode.
every appoximatley 3 or 4 switches to ON triggers a counter twice where we expect to run it once.
I've seen this in 0.8.24 as well. Maybe I should go back to separate on/off flows instead of flipping booleans. If only the UI supported those extra flows nicely!