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

updateValue calls #1078

Open
yardengp opened this issue Dec 4, 2024 · 1 comment
Open

updateValue calls #1078

yardengp opened this issue Dec 4, 2024 · 1 comment
Labels

Comments

@yardengp
Copy link

yardengp commented Dec 4, 2024

Current Situation

Is it okay to call updateValue repeatedly for all kind of charectaristics or should the accessory plug in check for changes before calling this function on the charectaristic?

Will it emit the change event when not updated to home iOS devices or does it manage some cache?

Thank you. For your response

Logs

No logs available

Configuration

No configuration available

Environment

  • OS:
  • Software:
  • Node:
  • npm:

Process Supervisor

hb-service

Additional Context

No response

@NorthernMan54
Copy link
Contributor

If you enable the DEBUG with HAP-NodeJS:* you can see the communications between the Home App and Homebridge. Turn this on, and try what you're asking. I believe the code base does cache, and only updates on a change in value.

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