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

feat: add pollValue API to perform get request for a specific ValueID #1479

Merged
merged 27 commits into from
Jan 24, 2021

Conversation

AlCalzone
Copy link
Member

@AlCalzone AlCalzone commented Jan 23, 2021

This PR adds a pollValue method on the ZWaveNode class to perform GET requests for a specific value ID - similar to what setValue is for SET commands.

We still need to ensure that no redundant commands are queued, but that is something for another PR.

@AlCalzone AlCalzone self-assigned this Jan 23, 2021
@AlCalzone
Copy link
Member Author

@robertsLando Guess you'll need to expose this API too :)

@AlCalzone AlCalzone marked this pull request as ready for review January 23, 2021 22:46
@AlCalzone
Copy link
Member Author

@zwave-js-bot pack this

@zwave-js-bot
Copy link
Collaborator

👋 Hey @AlCalzone!
I've started to deploy this PR as a development build.
You can monitor the progress here.

@zwave-js-bot
Copy link
Collaborator

🎉 The packages have been published.
You can now install the test version with npm install zwave-js@6.0.2-0-pr-1479-0f30105.

@robertsLando
Copy link
Member

Sure! Thanks @AlCalzone ! 🎉

@LordMike
Copy link
Contributor

Did you manage to make it so that N consecutive calls for a sleeping device is just 1 request in the end? (deduplication w/ queue)

@AlCalzone
Copy link
Member Author

AlCalzone commented Jan 24, 2021

Not yet, that needs to be solved in general. I've raised #1482 to track that.

@AlCalzone
Copy link
Member Author

Verified myself :)

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

Successfully merging this pull request may close these issues.

None yet

4 participants