Hi
I am having troubles getting history enabled through the MQTT engine. I actually got it to work a while ago, and im not sure what i did to the code in the meanwhile.
I am currently sending the folloing metrics in the NBIRTH.
All the below properties are initialized in the MQTT engine, with the exception of historyProvider, and
historyEnabled. Any idea why?
var metrics= [
{
"name" : Equipment08/Temperature/value",
"value" : 0,
"type" : "float",
"properties" : {
"engUnit" : {
"value" : "mm",
"type" : "string"
},
"engHigh" : {
"value" : 1337,
"type" : "double"
},
"engLow" : {
"value" : 13,
"type" : "double"
},
"historyProvider" : {
"value" :"Dobot_DBUtility",
"type" :"string"
},
"historyEnabled" : {
"value" :true,
"type" : "Boolean"
}
}
}];
A previous version of the metric had the “missing” properties defined something like this.
"historyProvider" : {
"propertyValue" :"Dobot_DBUtility",
"type" :"string"
}
Attached is a screenshot of the tag browser just after birth