[vz-users] Script für Direktverbrauch
    Heiko W. 
    luckyheiko at hotmail.com
       
    Sat Feb  9 11:55:06 CET 2013
    
    
  
Hallo 
bin mir leider nicht mehr sicher ob ich da schon mal eine Anfrage gestellt habe
würde das nur gerne auch noch zum laufen bekommen .. weil mir gerade der 'Direktverbrauch'
sehr am herzen liegt
im Anhang das Script das ich Nutze .. 
die UUID müssten passen ;) .. 
nur leider passt die Ausgabe nicht :( 
oder ist das Egal für die Werte ???
(PV (Erzeugung) läuft, bringt mehr als benötig, bedeutet keinen 'Bezug')
pi at raspberrypi ~ $
pi at raspberrypi ~ $ php /var/www/volkszaehler.org/htdocs/direktverbrauch.php
ddfea5f0-713c-11e2-8667-8d4b408bc4f7 / Bezug: 0
<br>Array
(
    [0] => 1360406934138
    [1] => 3562.005
    [2] => 1
)
f7998900-713c-11e2-ada2-795d327a9fd6 / Einspeisung: 3562.005
<br>Array
(
    [0] => 1360406937929
    [1] => 4183.007
    [2] => 1
)
0e2c3850-713d-11e2-a384-4bda743e342c / Erzeugung: 4183.007
<br>Gesamtverbrauch = Bezug + Erzeugung - Einspeisung: 621.002
<br>http://localhost/middleware.php/data/c28860c0-713c-11e2-b372-bb9dc25e9aa0on?operation=add&value=621.002&ts=1360406936034
<br>Direktverbrauch = Erzeugung - Einspeisung : 621.002
<br>http://localhost/middleware.php/data/b9a59860-713c-11e2-81af-7fa065fe71c7on?operation=add&value=621.002&ts=1360406936034
<br>ddfea5f0-713c-11e2-8667-8d4b408bc4f7 / Bezug: 0
<br>Array
(
    [0] => 1360406963905
    [1] => 3093.192
    [2] => 1
)
f7998900-713c-11e2-ada2-795d327a9fd6 / Einspeisung: 3093.192
<br>Array
(
    [0] => 1360406968715
    [1] => 3352.436
    [2] => 1
)
0e2c3850-713d-11e2-a384-4bda743e342c / Erzeugung: 3352.436
<br>Gesamtverbrauch = Bezug + Erzeugung - Einspeisung: 259.244
<br>http://localhost/middleware.php/data/c28860c0-713c-11e2-b372-bb9dc25e9aa0on?operation=add&value=259.244&ts=1360406966310
<br>Direktverbrauch = Erzeugung - Einspeisung : 259.244
<br>http://localhost/middleware.php/data/b9a59860-713c-11e2-81af-7fa065fe71c7on?operation=add&value=259.244&ts=1360406966310
<br>ddfea5f0-713c-11e2-8667-8d4b408bc4f7 / Bezug: 0
<br>Array
(
    [0] => 1360406995447
    [1] => 1841.432
    [2] => 1
)
f7998900-713c-11e2-ada2-795d327a9fd6 / Einspeisung: 1841.432
<br>Array
(
    [0] => 1360406995689
    [1] => 2429.15
    [2] => 1
)
0e2c3850-713d-11e2-a384-4bda743e342c / Erzeugung: 2429.15
<br>Gesamtverbrauch = Bezug + Erzeugung - Einspeisung: 587.718
<br>http://localhost/middleware.php/data/c28860c0-713c-11e2-b372-bb9dc25e9aa0on?operation=add&value=587.718&ts=1360406995617
<br>Direktverbrauch = Erzeugung - Einspeisung : 587.718
<br>http://localhost/middleware.php/data/b9a59860-713c-11e2-81af-7fa065fe71c7on?operation=add&value=587.718&ts=1360406995617
<br>ddfea5f0-713c-11e2-8667-8d4b408bc4f7 / Bezug: 0
<br>Array
(
    [0] => 1360407025056
    [1] => 1463.415
    [2] => 1
)
f7998900-713c-11e2-ada2-795d327a9fd6 / Einspeisung: 1463.415
<br>Array
(
    [0] => 1360407026073
    [1] => 2015.395
    [2] => 1
)
0e2c3850-713d-11e2-a384-4bda743e342c / Erzeugung: 2015.395
<br>Gesamtverbrauch = Bezug + Erzeugung - Einspeisung: 551.98
<br>http://localhost/middleware.php/data/c28860c0-713c-11e2-b372-bb9dc25e9aa0on?operation=add&value=551.98&ts=1360407025315
<br>Direktverbrauch = Erzeugung - Einspeisung : 551.98
<br>http://localhost/middleware.php/data/b9a59860-713c-11e2-81af-7fa065fe71c7on?operation=add&value=551.98&ts=1360407025315
pi at raspberrypi ~ $
wäre nett wenn das sich mal jemand anschauen könnte .. 
und das abändert damit es 'wieder' geht .. ( vorsicht soll auf nem Raspberry Pi laufen, falls das entscheident ist )
Mit freundlichen Grüßen
Heiko W.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://volkszaehler.org/pipermail/volkszaehler-users/attachments/20130209/e74ef2a8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: direktverbrauch.php
Type: application/octet-stream
Size: 2485 bytes
Desc: not available
URL: <http://volkszaehler.org/pipermail/volkszaehler-users/attachments/20130209/e74ef2a8/attachment-0001.obj>
    
    
More information about the volkszaehler-users
mailing list