-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two rules for same input cause wrong output ... #164
Comments
I think the problem is here: It's checking the row and not the input for that row. So, row 2 will always check input 2 It would be curious to see how it behaves with more than 6 rows. :) |
Can you post the program.txt & settings.txt files from your hauntbox? You can easily grab them at hauntbox.local/program.txt & .../settings.txt I'd love to try to re-create the bug. |
Sure thing: Settings: Program: (it's a modification of the default program) Are there any docs on these formats? |
Give me a few minutes to set up one just like this... |
Interesting. Something is locking up. When you set the output type as "while input is triggered" the issue goes away. |
I have reed switch on Input 1 (+5v & GND).
Configured to be "ON" when High, retrigger in 3s.
I have two outputs configured to fire when the Input in ON:
When IN1 is OFF wait 1 second then turn OUT1 on for 1 sec
When IN1 is ON wait 1 second then turn OUT2 on for 1 sec
I would expect Out1 OR Out 2 to repeat every 3 sec depending on the state of the input switch.
However, when the input is ON, I see output 2 coming on for 1s every 3s AND output 1 coming on for 1s.
Seems output rule 2 is triggering output rule 1.
I have a screen shot of the program if you need it.
(I'll start looking at the code to see if I can spot the offending line)
The text was updated successfully, but these errors were encountered: