Skip to content

Checking sensor status #115

Discussion options

You must be logged in to vote

Hey!

There are 2 ways.

Store the value of when the door was last closed/opened (storing the event somewhere) - for later use

OR.

use the ValueAPI - to fetch the value from the z-wave value cache

let ValueID = {
    ....,
    ....
}
let Message = {
    payload: {
        mode: "ValueAPI",
        node: 2,
        method: "getValue",
        params: [ValueID]
    }
}
return Message

you can get the value ID, by double clicking the current value in the UI
remember this?
#110 (reply in thread)

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@lurendrejer
Comment options

@marcus-j-davies
Comment options

@marcus-j-davies
Comment options

Answer selected by lurendrejer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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