<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#333399" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><small>Thanks for your reply.<br>
<br>
<br>
I attached the perlscript which fuctions for my MT171 iskra
meters.( borrowed from <a
href="http://knx-user-forum.de/225383-post148.html">http://knx-user-forum.de/225383-post148.html</a>)<br>
read_char_time was the key for me.<br>
These meters (i have 2) will be replaced this month by probably
2 * Iskra Mt382, reason decimals , mt171 gives only integers and
provider will or can not change that.</small><br>
<br>
<small>I will try the alternatives you gave me and let you know.<br>
<br>
Questions:<br>
1)<br>
Do you know what the datamodel is (name of fields and format) ,
what schould I sent : timestamp, used KW, produced kw, PV
generated KW?</small><br>
<small>my output from the script before filtering is:</small><br>
-------------------------------------------------------------<br>
<small><small><font color="#ff0000">Values for ttyUSB1<br>
0-0:C.1.0*255(47231330)<br>
1-0:0.0.0*255(47231330)<br>
1-0:0.2.0*255(V1.0)<br>
1-0:1.8.0*255(006213 kWh)<br>
1-0:1.8.1*255(000000 kWh)<br>
1-0:1.8.2*255(006213 kWh)<br>
1-0:2.8.0*255(007874 kWh)<br>
1-0:2.8.1*255(000000 kWh)<br>
1-0:2.8.2*255(007874 kWh)<br>
FF(00000000)<br>
!<br>
<font color="#6666cc">------------------------------------------------------------------------------</font><br>
</font>2)<br>
</small>Where is the calculating taking place as I sent only
status values at that time (every 5 minutes)</small>?<br>
<br>
Henry<br>
<br>
<br>
Op 1/8/2013 8:41 AM, Thorben Thuermer schreef:<br>
</div>
<blockquote
cite="mid:20130108084126.7c64eea583e20a9dff837ef1@constancy.org"
type="cite">
<pre wrap="">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:
<a class="moz-txt-link-freetext" href="http://wiki.volkszaehler.org/development/api/reference">http://wiki.volkszaehler.org/development/api/reference</a>
(in german, if that's a problem, please complain!)
basically all you need is:
<a class="moz-txt-link-freetext" href="http://.../middleware.php/data/">http://.../middleware.php/data/</a><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 <a class="moz-txt-link-rfc2396E" href="mailto:henry.van.gestel@gmail.com"><henry.van.gestel@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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 .
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">
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
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>