I've been using dashboard's Text node to show msg.payload.time
in web-ui without any issues. However, I recently updated my dashboard to version 2.3.10 and now my Text node is not showing anything.
This is my data model:
{
"topic": "agent/last-download",
"payload": {
"time": "2017-05-15 16:48:43",
"name": "dummy name",
"path": "/mnt/externalDrive/dummyFolder"
},
"qos": 0,
"retain": true,
"_topic": "agent/last-download",
"_msgid": "1c476895.e3b897"
}
This is how I'm setting Value format:
When I output msg.payload.time
to debug node, it works fine. Or if I set msg.payload
to Text then it also works but dumps complete payload as text - which is not my requirement. I've also tested setting msg.topic
, msg._msgid
and etc. to Text and they all work fine.
Any idea why the behavior is changed? or Is there any other way to retrieve payload's sub values?
via waqaslam
No comments:
Post a Comment