Hello all,
I have confgured my mysql database as databse for logging.
here is my configuration for the device attribute logging:
"deviceAttributeLogging": [
{
"deviceId": "*",
"attributeName": "*",
"type": "*",
"interval": "0",
"expire": "7d"
},
{
"deviceId": "*",
"attributeName": "*",
"type": "continuous",
"interval": "5min",
"expire": "7d"
},
{
"deviceId": "*",
"attributeName": "temperature",
"type": "number",
"expire": "1y"
},
{
"deviceId": "*",
"attributeName": "humidity",
"type": "number",
"expire": "1y"
}
],
"messageLogging": [
{
"level": "*",
"tags": [],
"expire": "7d"
},
{
"level": "debug",
"tags": [],
"expire": "0"
}
]
},
in the database the temperature of my weatherstation is logged but not every 5 minutes as i expected. In the pages overview yo can see the graph of the temperature but if you click on it nothing happens (no data is loaded)the data of the pi sensor (load and temperature of the pi) is logged evry 5 min as expected. But also the graph in the graph window shows some strange behaviour it displays the data from the time you click on the graph even then when you have selected 24hours overview?!