It’s just over a year since I’ve had the earliest versions of [tt]DataYours[/tt] running (see [url=http://forum.micasaverde.com/index.php/topic,17232.msg154658.html#msg154658]http://forum.micasaverde.com/index.php/topic,17232.msg154658.html#msg154658[/url]) and well past time for an app store release. However, I’m glad for the delay since it has allowed me to make a UI7 compatible version.
There is some final fettling to do, including documentation, but the release version (which I’m calling version 7, partly to indicate UI7 compatibility and partly to distinguish it from earlier beta tests) has the following features:
[ul][li]The [tt]DataYours[/tt] plugin itself is really just a framework, library, and launcher for other plugin modules (to be installed separately from the App store) which add the real functionality. It creates a genuine Vera virtual device which acts as a parent for the other modules which appear as child devices of this one (and run in its address space.)[/li]
[li][tt]DataYours-Graphite[/tt] adds four modules ([tt]DataWatcher, DataCache, DataGraph, DataDash[/tt]) which provide Vera with a Lua implementation of the open-source Graphite system for storing and plotting time-based data. These will be familiar to users of the beta versions.[/li]
[li][tt]DataYours-DataMineServer[/tt] brings a graphical interface to [tt]dataMine[/tt] channels and graphs within the [tt]DataYours[/tt] environment.[/li][/ul]
Each child device presents a few simple configuration parameters which can be accessed through the Advanced tab on the Vera UI, and should make setting things up very easy. The overall architecture is very extensible and I can imagine additional modules (power monitoring, anyone?) coming along later. I have yet to document the API, but there’s no reason why others shouldn’t be able to write additional [tt]DataYours[/tt] plugins.
I hope to put the above three plugins into the App store within the the next week.
The App Store version will be compatible with the latest Beta 3 version posted here. You should be able to install from the store and just carry on running.
If you were running the Beta 2 version then there are a couple of files which need to be copied/ renamed:
[ul][li][tt]/www/DataWatcher2.conf[/tt] → [tt]/www/DataWatcher.conf[/tt][/li]
[li][tt]/www/DataDash2.conf[/tt] → [tt]/www/DataDash.conf[/tt][/li]
[li]the [tt]/www/carbon.conf[/tt] file is no longer used, since configuration is done through the child device variables[/li][/ul]
I think this is all that’s required. In fact, it’s possible to run multiple Veras on different versions, I have a mixture of Beta 2, Beta 3, and a pre-release of the App Store release 7 all playing together nicely on 3 VeraLites and one Edge.
[Edit: IMPORTANT you should also ensure that you remove any [tt]require[/tt] statements that refer to previous versions from your Lua Startup code]
NO, it’s quite independent when using the [tt]DataYours-Graphite[/tt] plugin. However, I would recommend that you run both in parallel as a sanity check to begin with (that is, if you are already running [tt]dataMine[/tt].) If you also install the [tt]DataYours-dataMineServer[/tt] you can use that from within [tt]DataYours[/tt] to plot channels and graphs recorded in [tt]dataMine[/tt].
I have not yet produced a migration tool to transfer data from one to the other, but that’s certainly do-able.
Fantastic turn-around from the folk at Vera: a ONE DAY turnaround on approving [tt]DataYours[/tt] in the App store.
So it’s there for the taking. I’m sure there will be questions…
PS: If you like it, and think I should have charged for it, just feel free to make a small (or large) donation to your favourite cancer charity. Thanks.
Step 2: I first changed the variable (took me a while to find it in UI7) to “Watcher”
but after a while I figured out I should’ve renamed it to “Watcher, Cache, Graph, Dash”
and then what? what needs to be restarted? the whole vera? just Luup? how do I do that?
anyway (because I needed to mount a usb) I’ve restarted the complete vera and the 4 other devices were installed.
step (and this is where I’m stuck) where is the LOCAL_DATA_DIR variable? My Cache Devices has no Variables whatsoever. (Is this because I installed DataYours without an USB stick?)
[quote=“dohmenict, post:12, topic:186018”]got some questions about the manual from 02-2015
I installed both the DataYours and the DataYours-graphite plugin. No icons were installed (url of the icon is http://192.168.2.4/cmh/skins/default/img/devices/device_states/DataDash.png, but there’s nothing there)[/quote]
Yes, I found the same thing - no icons. I could find no way to test the installation properly on UI7 without actually publishing it. Strangely, some icons on my other apps installed this way show up, some don’t. How did you get the URL of the icon?
2) Step 2: I first changed the variable (took me a while to find it in UI7) to "Watcher"
but after a while I figured out I should've renamed it to "Watcher, Cache, Graph, Dash"
Yes, the variables under the Advanced tab don't seem to show up until after several restarts of the engine. And yes, if you want the whole system installed then that's the string to use (sorry if this wasn't clear from the manual [i]- it is item #2 of the Quick Start section on page 3[/i].) The reason it's not simply there by default is that it will generate a startup error if you haven't install the [tt]DataYours-Graphite[/tt] components.
3) and then what? what needs to be restarted? the whole vera? just Luup? how do I do that?
anyway (because I needed to mount a usb) I've restarted the complete vera and the 4 other devices were installed.
Yes, always worth a restart (and sometime a refresh of your browser.) There are some actions which it performs only once at startup. Under UI7 the Restart button keeps moving, but under the latest firmware it's a button "Reload Engine" under the "Advanced > New service" tab of any device.
4) step (and this is where I'm stuck) where is the LOCAL_DATA_DIR variable? My Cache Devices has no Variables whatsoever.
This is the above “restart multiple times” problem. A few restarts, a browser refresh, and it will be there. Not my fault: UI7’s.
I’ve installed previously on VeraEdge the files you posted. After downloaded the plugin from store a new device Datayours and relative children were created.
I reconfigured the Datayours variables and deleted the old Datayours device.
It seems that only the graphs defined previously was cancelled. All other functions seems ok
[quote=“akbooer, post:13, topic:186018”][quote=“dohmenict, post:12, topic:186018”]got some questions about the manual from 02-2015
I installed both the DataYours and the DataYours-graphite plugin. No icons were installed (url of the icon is http://192.168.2.4/cmh/skins/default/img/devices/device_states/DataDash.png, but there’s nothing there)[/quote]
Yes, I found the same thing - no icons. I could find no way to test the installation properly on UI7 without actually publishing it. Strangely, some icons on my other apps installed this way show up, some don’t. How did you get the URL of the icon?[/quote]
right click and copy url on the missing icon-icon
2) Step 2: I first changed the variable (took me a while to find it in UI7) to "Watcher"
but after a while I figured out I should've renamed it to "Watcher, Cache, Graph, Dash"
Yes, the variables under the Advanced tab don't seem to show up until after several restarts of the engine. And yes, if you want the whole system installed then that's the string to use (sorry if this wasn't clear from the manual.) The reason it's not simply there by default is that it will generate a startup error if you haven't install the [tt]DataYours-Graphite[/tt] components.
3) and then what? what needs to be restarted? the whole vera? just Luup? how do I do that?
anyway (because I needed to mount a usb) I've restarted the complete vera and the 4 other devices were installed.
Yes, always worth a restart (and sometime a refresh of your browser.) There are some actions which it performs only once at startup. Under UI7 the Restart button keeps moving, but under the latest firmware it's a button "Reload Engine" under the "Advanced > New service" tab of any device.
4) step (and this is where I'm stuck) where is the LOCAL_DATA_DIR variable? My Cache Devices has no Variables whatsoever.
This is the above “restart multiple times” problem. A few restarts, a browser refresh, and it will be there. Not my fault: UI7’s.
I mounted my nas to /nas/. But when I try to create a watch I get:
Error creating: Vera-301xxxxxx.005.urn:micasaverde-com:serviceId:EnergyMetering1.KWH
Status messsage = [string “module (“L_DataWhisper7”, package.seeall)…”]:206: You must specify at least one archive configuration!
[quote=“dohmenict, post:17, topic:186018”]I mounted my nas to /nas/. But when I try to create a watch I get:
Error creating: Vera-301xxxxxx.005.urn:micasaverde-com:serviceId:EnergyMetering1.KWH
Status messsage = [string “module (“L_DataWhisper7”, package.seeall)…”]:206: You must specify at least one archive configuration![/quote]
I presume that you passed through the archive creation menu (page 9 of the User Guide) without selecting any archives for your data? No archives → no database file → no stored data!
EITHER: select some archives saying what sample rate and storage duration you want,
OR: install (and possibly modify) the storage and aggregation configuration files supplied as a ZIP file on post #1 of this thread into your target Whisper database directory.