Hello
I ve seen that Sensor Values Logging App is creating files in /opt/z-way-server/automation/storage folder :
SensorValueLoggingZWayxxxxxxx-yyyyyyyy.json
format is :
{
"deviceId": "ZWayVDev_zway_Remote_23-0-0-B",
"deviceName": "Cuisine (23.0.0) Button",
"sensorData": [
{
"time": 1462603288140,
"value": "on"
},
{
"time": 1462603318711,
"value": "off"
},
{
"time": 1462604804287,
"value": "on"
},
{
"time": 1462604846005,
"value": "off"
},
}
These files have notifications events. All the ON, and OFF events.
But i can see that there is already a native file with all events named
notifications.json
format :
{
"id": 1462310213,
"timestamp": "2016-05-03T21:16:53.897Z",
"level": "device-info",
"message": {
"dev": "Cuisine General Purpose alarm Alarm (23.0.156.0)",
"l": "on"
},
"type": "device-OnOff",
"source": "ZWayVDev_zway_23-0-156-0-A",
"redeemed": false,
"h": 275457247
},
{
"id": 1462310213,
"timestamp": "2016-05-03T21:16:53.101Z",
"level": "device-info",
"message": {
"dev": "Cuisine General purpose (23.0.48.1)",
"l": "off"
},
"type": "device-OnOff",
"source": "ZWayVDev_zway_23-0-48-1",
"redeemed": false,
"h": 1030772274
},
so what is the purpose of enabling Sensor Value Logging whereas there is already "notifications.json" having the ON and OFF events (and more) ?
I ve seen also notifications2storage which just update every X minutes a file notifications-xxxxxxxxxx.json in the folder you want.
I'm a bit puzzled and wonder what's the purpose of these Apps when there is already the native "notifications.json" file.
thanks for your help.
Regards
Sensor Values Logging and notifications.json difference ?
-
- Posts: 10
- Joined: 03 May 2016 14:13