Skip to content

read_attribute Websocket command example #965

Closed Answered by lboue
lboue asked this question in Q&A
Discussion options

You must be logged in to vote

I managed to find the answer:

read_attribute request

{
   "message_id": "2",
   "command":"read_attribute",
   "args":{
      "node_id":5,
      "attribute_path":"27/8/0"
   }
}

read_attribute response

{
  "message_id": "2",
  "result": {
    "27/8/0": 128
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lboue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant