Skip to content

Multiple Values in Message #577

Answered by HolgerAusB
thelosmos asked this question in Q&A
Discussion options

You must be logged in to vote

I can't test this but after reading other issues that contains "JSON" I think you could try to edit the config by hand and add an 'apply'-line

"topics": {
   "getOn": {
      "topic": "zwave/Front_Door_Light/37/0/currentValue",
      "apply": "return JSON.parse(message).value"
   },
...
}

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by thelosmos
Comment options

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

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