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

Instable delay of reaction either on the HUEMagic Nodes or within the HUE Android app #394

Open
adb336 opened this issue Aug 23, 2022 · 1 comment
Labels

Comments

@adb336
Copy link

adb336 commented Aug 23, 2022

Describe the bug
During my tests with HomeMatic CCU3, RedMatic, HUE Bridge, HUE App on Android I noticed that the response time when I changed either a white lamp from on to off and vv. is not stable enough.

Sometimes the flow immediatly shows on/off, sometimes it takes more then 10 seconds, I have noticed also no change at all.

In order to reproduce define the connection to the bridge with autodetection and generate the API key with the automated procedure of HUE Magic.

Then connect a dashboard node switch with one of the detected white lamps nodes of the HUE bridge.

Now switch the lamp on/off using the flow. You will notice

  • immediate reaction
  • delayed reaction
  • no reaction

Now use the HUE Android app to switch the lamp.

The flow will be

  • updated immediatly
  • the lamp node will tell " executing a command... "
  • will not do anything

This is not what this bundle of nodes urged to do.

Flow to Reproduce

[{"id":"8888888.eeeeee","type":"tab","label":"Example Flow"...}]

Expected behavior
My expactation is:

  • every flow should react within 1-2 seconds
  • changes coming from the flow or from the HUE app should be reflected within 1-2 seconds vice-versa

Screenshots
Will be uploaded if the above cannot be reproduced.

Please complete the following information:

  • REDMatic version: 7.2.1
  • NodeJS version: how to detect? REDMatic is running on CCU3.
  • Device running Node-RED: CCU3

Additional context
Add any other context about the problem here.

@adb336 adb336 added the bug label Aug 23, 2022
@FredBlo
Copy link
Contributor

FredBlo commented Oct 30, 2022

Fyi, I published a pull request #409 which improves the way the bridge overload is handled (following +/- recent changes made to the HUE bridge at this level, aka Error 429)...
I think this could solve your issue as well because some calls could be 'dropped' before, but not sure about it... Do not forget to limit your config to 1 worker anyway...
So if you want to give a try, you can using this one too (installable form FredBlo fork npm install git+https://github.com/fredblo/node-red-contrib-huemagic.git :-) )

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

No branches or pull requests

2 participants