I am having an issue with an on board rule.
Here is what I am trying to do: After a digital input is triggered, a delay starts and then some other rules execute.
These are the rules i have setup.
1. When the digital input is on it sets variable A to 1.
2. When the digital input is not on it sets variables A and D to 0.
3. When variable A is not 0 and D is 0, Pulse digital out for 10s and set D to 1
4. When variable D is 1 and digital out is OFF, Set variable D to 2.
5. The rest of the rules need D to be 2 to continue.
When the Trigger is held the digital out turns on for 10 s and D does get set to 1. When the digital out turns off, variable D never gets set to 2. I used another rule to light up LEDs to verify the variables.
In my testing, I think I have narowed the issue down to when the digital out goes off, the 204 doesn't see it. I does however see when the output turns on.
Is this a known issue? Am I doing something wrong?
Any help would be great.
Thanks