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

Selection update retriggering the item update #96

Open
lolodomo opened this issue Nov 5, 2017 · 2 comments
Open

Selection update retriggering the item update #96

lolodomo opened this issue Nov 5, 2017 · 2 comments

Comments

@lolodomo
Copy link

lolodomo commented Nov 5, 2017

It looks like the update of a selection element is retriggering the item update.
Very annoying as it generates a kind of loop.

@NicoVermeir
Copy link
Contributor

Could you explain further? I don't see anything wrong on my setup

@w3b3rf
Copy link

w3b3rf commented Jan 14, 2019

I'm experiencing similar issues on my system:
The Windows 10 App seems to execute a sendCommand every time a selection item is changed:

  • Upon opening a sitemap / frame etc. a "received command" event is logged for every selection on the screen
  • I am using a rule set where the "activate rule" item is a string item. The scene (ie. "GoodNight" is selected using a selection element. The rule engine uses "received command" triggers. After scene execution, the rule engine resets the scene item by setting it to "" (empty string; using postUpdate). This works fine when selected in the iOS app or the web frontend because postUpdate does not trigger the rule. But if the Windows 10 App is started, the app produces a neverending loop alternating between "" and "GoodNight". According to the log file, this happens because the scene item received the two commands over an over.

Does this help?

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