[vz-users] [vz-dev] iskra mt171
Thorben Thuermer
r00t at constancy.org
Tue Jan 8 08:41:26 CET 2013
Hello,
so you want to use the middleware/frontend to store/visualize your data,
but can't use vzlogger to import it.
(the prefered fix would ofcourse be to fix vzlogger to work with your
meter! maybe if you give us the details of how you made it work,
i.e. which timings are critical etc., we can fix hat for you...)
but there are two alternatives:
- send the data to the middleware API from your script.
the api is quite simple, and documented:
http://wiki.volkszaehler.org/development/api/reference
(in german, if that's a problem, please complain!)
basically all you need is:
http://.../middleware.php/data/<uuid>.json?operation=add&value=<value>
- insert the data directly into the middleware's database,
no need to put it into an intermediate database first.
the format is relativey simple, just look at the database
after installing the middleware (and maybe loading the test data).
- T.
On Tue, 8 Jan 2013 00:35:41 +0100
Henry van Gestel <henry.van.gestel at gmail.com> wrote:
> Maybe somebody can help me.
> I am strugling now how to continue , I am be able to get the data from 2
> Iskra MT171 meters .
>
> > I also can put the data in a Mysql DB wondering what data model is used.
> > e.g timestamp, actual value used , actual generated , PV_collected.
>
> A) I wonder where various values like the avg, max , min is calculated?
>
> B) Maybe somebody can give me a hint or a detailed description of vzlogger
> where and what it is doing.
>
> Or
>
> How to let vzlogger get the data from sql stored data or a file.
>
> Configuration:
> I have 2 ir heads (from Udo) connected to Rpi, a perl script reads the 2
> heads every 5 minutes, puts data in a mysql dB e.g fields are (Timestamp,
> headnr, PV_produced, normal_tarrif_used, norma_tarrif_produced).
>
> Rgrds
More information about the volkszaehler-users
mailing list