Here is a new version of the DataYours data logging plugin. To avoid confusion, it’s called DataYours2.
The original prototype proved difficult to configure and although the underlying system of data acquisition and storage worked well, the dashboard interface proved unreliable on different Vera configurations and complex to configure Whisper database archives.
Significant changes to address these, and other, issues include:
[ul][li]A more complete reverse-engineering of the Graphite/Carbon system means that system configuration is now largely done through configuration files located on the target Veras and Whisper database (which may be on a remote NAS)
[li]Two Carbon configuration files [tt]storage-schemas.conf[/tt] and [tt]storage-aggregation.conf[/tt], placed in the Whisper database directory, work exactly as described in the Graphite documentation, defining default archive retentions and aggregation parameters for common Vera serviceIds and variables.
[li]Only those watched variables which do not have matching rules in the above files require manual configuration of Whisper archives.
[li]Static system configuration, including UDP port allocation, machine IP addresses, and logging options are now defined in the Graphite/Carbon standard file [tt]carbon.conf[/tt] located in Vera’s [tt]/www[/tt] directory.
[li]Only one critical parameter may need changing in the distributed configuration file, that is the location of the Whisper database on your system.
[li]The default UDP port allocation is different from that used in the previous version of DataYours and now conforms to the defaults used in Graphite.
[li]As a result of the above, the configuration page has been replaced by a read-only comprehensive diagnostic information page which will facilitate further debugging.
[li]The capability to plot dataMine and Whisper database channels simultaneously has been removed, since this is probably of minor interest to most future users.
There is a section in the documentation on migrating from DataYours (original version) to DataYours2.
If anyone is interest in trying it, I’d be pleased to get feedback. I’ve completely switched to this version so am fully committed to ensuring that it works.
Edit: Here are posts which update some of the contents of the original .zip files (so should be downloaded to replace originals)
Latest Lua files (except for whisper2): http://forum.micasaverde.com/index.php/topic,25800.msg184489.html#msg184489
Edit: All very out of date now, use the App Store version of DataYours and DataYours-Graphite