rkokkelk / com.jreenen.homeyharmonyhub

Harmony hub support for Homey
GNU General Public License v2.0
8 stars 9 forks source link

«Activity starting” flow card triggers too many times #94

Closed aasmundbo closed 3 years ago

aasmundbo commented 3 years ago

Describe the bug Flows with Harmony Hub’s “activity starting” “when” flow card gets triggered so many times that the flow gets disabled immediately.

To Reproduce Steps to reproduce the behavior:

  1. Create a flow with “activity starting” card in the “when” section and e.g. a mobile notification in the “then” section. Save flow.
  2. Start an activity using the Harmony remote control.
  3. Observe 10 notifications on your mobile.
  4. In the Homey app’s activity log (assuming flow notifications are enabled), observe that flow got disabled for triggering too many times.

Expected behavior I’d expect the flow to trigger 1 time only when starting an activity with remote control.

Screenshots 42751E92-F8C9-4805-AC4A-3E4DFE3E5CE6 F831CA6E-7693-4CDC-B027-06AAF6AF63D5

Desktop (please complete the following information):

Additional context Update1: Same issue observed using the “activity started” flow card.

aasmundbo commented 3 years ago

I was able to resolve the issue by uninstalling and reinstalling the Harmony Hub app. After reinstall the flows are only triggered once.

PS. I think the issue arose because I recently modified/recreated one of the Harmony activities, causing the Homey integration to misbehave.