Skip to content
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

Push button rules only fire once #1458

Closed
nyergler opened this issue Oct 27, 2018 · 2 comments
Closed

Push button rules only fire once #1458

nyergler opened this issue Oct 27, 2018 · 2 comments

Comments

@nyergler
Copy link

I have a Samsung Smartthing Button ("Kitchen Switch") and an Aeotec Smart Switch ("Kitchen") added to my Things Gateway. My goal is to have the button control the switch. I have two rules defined:

  • If Kitchen Switch event "pressed" occurs, turn Kitchen on
  • If Kitchen Switch event "doublePressed" occurs, turn Kitchen off

After defining the rules, I can turn the switch on, and then off, once. After that the rule no longer fires (although I can see the press and double press events in the button's event log). Interestingly, if I go into the rule editor and then back out (presumably re-saving the rule?) the rule will fire again. This makes me wonder if it's something similar to #1247 (maybe the rule is storing state that's incorrect after the other rule fires?).

@hobinjk
Copy link
Contributor

hobinjk commented Oct 27, 2018

This is issue #1431 which will be fixed on Monday in the 0.6.1 release which your gateway will automatically update to as long as it has an internet connection. If you don't want to wait there's a prerelease image available on the release page

@hobinjk hobinjk closed this as completed Oct 27, 2018
@nyergler
Copy link
Author

Thanks, @hobinjk! I skimmed open issues but didn't think to look at closed ones.

Thanks again for the speedy reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants