I am new to Vera and currently working on a plugin that aggregates device states to produce graphs similar to the energy usage tab. Is there any data storage mechanism, other than flat files that can be used from a plugin to store data for use later?
Also, is there a way to query vera for historical events, such as device status change (0 to 1, 1 to 0, for example)?
With the dataMine plugin, I store the data on a USB stick. This is due to the fact that storing sensor data like this, and producing these sorts of graphs can end up with a lot of data being recorded. I don’t think it’s a good idea to write loads of data to the vera main memory since I think this has a limited number of write cycles.
Vera doesn’t have an historical record of data - you either need to use something like dataMine, or do something yourself.