Skip to content

Discussion about setting things up and learning the ropes #50

Answered by marcus-j-davies
crxporter asked this question in Q&A
Discussion options

You must be logged in to vote

@crxporter,

Been digging.

GetValue (Z-Wave JS -> getValue) actually returns the last know value (in 99.99999% of cases is current).
These values are actually stored in {Home ID}.values.jsonl - A Line-By-Line JSON Format

And upon the driver starting up, it restores these values. The values later, are of course updated when the Driver receives updates.
With this in mind, you could actually grab the values, without fear it is causing a Huge network spike.

The UI therefore is using the same cache - which again is 99.99999% current.

I could look to add methods to return this cache in a future version, but getValue is asynchronous, so I will need to do some work, to incorporate some waiting bef…

Replies: 15 comments 85 replies

Comment options

You must be logged in to vote
0 replies
Comment options

crxporter
May 1, 2021
Collaborator Author

You must be logged in to vote
1 reply
@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

Comment options

You must be logged in to vote
5 replies
@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

Comment options

You must be logged in to vote
1 reply
@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

Comment options

You must be logged in to vote
1 reply
@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

Comment options

You must be logged in to vote
2 replies
@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@marcus-j-davies
Comment options

Comment options

crxporter
May 1, 2021
Collaborator Author

You must be logged in to vote
1 reply
@marcus-j-davies
Comment options

Comment options

crxporter
May 1, 2021
Collaborator Author

You must be logged in to vote
24 replies
@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@marcus-j-davies
Comment options

@marcus-j-davies
Comment options

Comment options

crxporter
May 1, 2021
Collaborator Author

You must be logged in to vote
6 replies
@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@marcus-j-davies
Comment options

@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter May 1, 2021
Collaborator Author

@marcus-j-davies
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

crxporter
May 2, 2021
Collaborator Author

You must be logged in to vote
23 replies
@crxporter
Comment options

crxporter May 2, 2021
Collaborator Author

@marcus-j-davies
Comment options

@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter May 2, 2021
Collaborator Author

@marcus-j-davies
Comment options

Comment options

You must be logged in to vote
2 replies
@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter May 2, 2021
Collaborator Author

Answer selected by crxporter
Comment options

You must be logged in to vote
6 replies
@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter May 9, 2021
Collaborator Author

@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter May 9, 2021
Collaborator Author

@marcus-j-davies
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
13 replies
@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter Jun 16, 2021
Collaborator Author

@crxporter
Comment options

crxporter Jun 16, 2021
Collaborator Author

@marcus-j-davies
Comment options

@crxporter
Comment options

crxporter Jun 16, 2021
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants