[quote=“Aaron, post:6, topic:175433”]Don’t want this…
{“description”:“CheckLogs: 5004”,“type”:7,“source”:0,“code”:“nm_logs”,“id”:1020654803,“timestamp”:1369347604,“value”:“”,“device”:0},
Want this…
{“description”:“Front Door Lock”,“type”:4,“source”:4,“code”:“DL_USERCOD”,“id”:1021655823,“timestamp”:1369364114,“value”:“UserID="3" UserName=”,“device”:4},[/quote]
I’m slightly confused - aren’t they the same? Or, do you mean you want to filter out the “useless” notifications like the checklogs you show above? This would probably be useful since I get these checklogs notifications every 45 minutes or so, so it really fills up the log. I could probably be tempted to remove them from the log, but the next thing is how to make this more generic so that other entries can also be removed…
[quote=“Aaron, post:6, topic:175433”]And want it to be more human readable like…
2013-05-24; Front Door Lock:Unlock; UserID:3
Chris, is this something you can add to DM - and make it exposed to the web front-end, directly accessible via a static[/quote]
The problem with this as a log format is it’s human readable, and therefore not flexible as a computer readable format. I chose the json format for this data so that it was extensible - CSV (or some other fixed format delimited file) isn’t as flexible if it was changed in future.
I’ve been thinking for a while of adding a notifications page in the dataMine GUI. This would allow you to forget about the file format, and just interface with the data - is this effectively what you’re looking for? Of course there is an interface like this in UI%, but like many parts of UI5, it’s very clunky!
Exposing it outside of the local Lan is a problem. You can always open up your firewall, but this really isn’t recommended. The best way to do this, and I think it would work (??) is to see if MCV would host a version of the DM GUI on their website in the same way as UI% is hosted. So, you’d go to cp.mios.com, and instead of hitting Dashboard, you’d hit dataMine. This would potentially work, and would be secure. However, it requires MCV to do something, and we can all guess how long that could take. This has come up before though and at the time I meant to email MCV but forgot - I’ll send them a mail now…
There is another option, and that is to locally host the GUI on a stick. This would also be mildly secure in that access to your Vera would still be through the MCV forward servers - the problem is you’d need to type your password into it, and this could be open to malware. However, it’s worth thinking about…
Cheers
Chris