Author Topic: On-Board Rule based on digital out  (Read 626 times)

DPTelecom

  • Newbie
  • *
  • Posts: 9
On-Board Rule based on digital out
« on: December 03, 2009, 11:27:41 AM »
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

jason

  • Administrator
  • Hero Member
  • *****
  • Posts: 502
    • ioBridge.com
Re: On-Board Rule based on digital out
« Reply #1 on: December 03, 2009, 12:30:57 PM »
Yep, that is a problem!  Thanks for your detailed explanation, it made figuring out the issue very easy.  We've fixed the bug and released a firmware update.  You will need to "re-sync" your on-board rules as they get deleted during the update process. 

Let us know if you run into any other issues.
Jason Winters
ioBridge Developer

DPTelecom

  • Newbie
  • *
  • Posts: 9
Re: On-Board Rule based on digital out
« Reply #2 on: December 03, 2009, 12:53:22 PM »
Thanks a lot Jason.  I did the firmware update and it works great.