[vz-users] Probleme mit VZlogger / Frontend

Thorben Thuermer r00t at constancy.org
Tue Oct 8 17:00:35 CEST 2013


On Sun, 6 Oct 2013 15:48:22 +0200 luckyheiko at hotmail.com (Heiko W.) wrote:
> Hallo 
> 
> hab Probleme mit dem Frontend .. da kommen keine Daten an 
> ich denke aber das es irgendwie mit dem vzlogger zusammenh?ngt .. 

laut dem log liest vzlogger ja eindeutig daten vom zaehler.
was auffaellt ist, das scheinbar nie daten an die middleware uebermittelt
werden, und nur die puffer immer voller werden, die sollten normalerweise
recht klein bleiben.
(suche mal im log nach meldungen bzgl. CURL)

siehe auch hier:
http://wiki.volkszaehler.org/howto/debug
* vzlogger
 * werden die Werte zur middleware gesendet? („CURL: *“)

functionieren zugriffe auf die middleware ansonsten?
http://localhost/middleware.php
hast du die kanaele ueberhaupt angelegt?
siehe auch:
http://wiki.volkszaehler.org/software/middleware/einrichtung#testen


- Thorben


> mein system 
> ein rasppi mit https://www.energie-und-it.de/raspi/ vz04 image
> 
>
> mein Log
> 
> [Oct 06 15:36:29][mtr0] Updating interval to 1
> [Oct 06 15:36:29][chn0] Adding reading to queue (value=13407264.20
> ts=1381066589.635)
> [Oct 06 15:36:29][chn0] Buffer dump (size=105 keep=600):
> {13407222.6000,13407223.0000,13407223.4000,13407223.8000,13407224.2000,13407
> 224.6000,13407225.0000,13407225.4000,13407225.8000,13407226.2000,13407226.60
> 00,13407227.0000,13407227.4000,13407227.8000,13407228.2000,13407228.6000,134
> 07229.0000,13407229.4000,13407229.8000,13407230.2000,13407230.6000,13407231.
> 0000,13407231.4000,13407231.8000,13407232.2000,13407232.6000,13407233.0000,1
> 3407233.4000,13407233.8000,13407234.2000,13407234.6000,13407235.0000,1340723
> 5.4000,13407235.8000,13407236.2000,13407236.6000,13407237.0000,13407237.4000
> ,13407237.8000,13407238.2000,13407238.6000,13407239.0000,13407239.4000,13407
> 239.8000,13407240.2000,13407240.6000,13407241.0000,13407241.4000,13407241.80
> 00,13407242.2000,13407242.6000,13407243.0000,13407243.4000,13407243.8000,134
> 07244.2000,13407244.6000,13407245.0000,13407245.4000,13407245.8000,13407246.
> 2000,13407246.6000,13407247.0000,13407247.4000,13407247.8000,13407248.2000,1
> 3407248.6000,13407249.0000,13407249.4000,13407249.8000,13407250.2000,1340725
> 0.6000,13407251.0000,13407251.4000,13407251.8000,13407252.2000,13407252.6000
> ,13407253.0000,13407253.4000,13407253.8000,13407254.2000,13407254.6000,13407
> 255.0000,13407255.4000,13407255.8000,13407256.2000,13407256.6000,13407257.00
> 00,13407257.4000,13407257.8000,13407258.2000,13407258.6000,13407259.0000,134
> 07259.4000,13407259.8000,13407260.2000,13407260.6000,13407261.0000,13407261.
> 4000,13407261.8000,13407262.2000,13407262.6000,13407263.0000,13407263.4000,1
> 3407263.8000,13407264.2000,}
> [Oct 06 15:36:29][chn1] Buffer dump (size=0 keep=600): {}
> [Oct 06 15:36:29][chn2] Buffer dump (size=0 keep=600): {}
> [Oct 06 15:36:29][chn3] Adding reading to queue (value=-980.70
> ts=1381066589.635)
> [Oct 06 15:36:29][chn3] Buffer dump (size=105 keep=600):
> {-1029.1000,-1035.5000,-1032.1000,-1028.6000,-1033.0000,-1034.0000,-1027.000
> 0,-1028.2000,-1032.4000,-1037.3000,-1032.6000,-1030.5000,-1038.2000,-1024.60
> 00,-1030.0000,-1029.4000,-1024.6000,-1028.4000,-1028.9000,-1023.1000,-1025.9
> 000,-1027.9000,-1032.1000,-1019.5000,-1026.9000,-1018.8000,-1029.5000,-1024.
> 2000,-1022.0000,-1026.8000,-1024.1000,-1022.5000,-1027.7000,-1020.6000,-1022
> .1000,-1016.4000,-1019.6000,-1019.5000,-1012.3000,-1025.4000,-1020.0000,-101
> 5.2000,-1014.7000,-1024.8000,-1018.4000,-1016.6000,-1021.2000,-1011.3000,-10
> 16.0000,-1013.5000,-1021.8000,-1014.0000,-1013.9000,-1014.0000,-1005.2000,-1
> 010.5000,-1015.7000,-1011.4000,-1007.4000,-1008.3000,-1002.0000,-1006.3000,-
> 1005.4000,-997.6000,-1009.8000,-1002.0000,-994.6000,-994.7000,-998.0000,-100
> 0.5000,-998.1000,-998.1000,-997.7000,-992.2000,-1001.6000,-994.7000,-992.600
> 0,-988.9000,-995.3000,-986.2000,-993.6000,-992.4000,-986.5000,-991.4000,-988
> .4000,-993.3000,-988.5000,-987.6000,-982.7000,-979.8000,-983.7000,-983.2000,
> -988.5000,-978.4000,-982.7000,-980.7000,-985.0000,-980.3000,-979.6000,-979.2
> 000,-971.0000,-976.9000,-977.9000,-973.3000,-980.7000,}
> [Oct 06 15:36:30][mtr1] Got 11 new readings from meter:
> [Oct 06 15:36:30][mtr1] Reading:
> id=129-129:199.130.3*255/ObisItentifier:129-129:199.130.3*255 value=0.00
> ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:0.0.9*255/ObisItentifier:1-0:0.0.9*255 value=0.00 ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=3762843.80
> ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:2.8.0*255/ObisItentifier:1-0:2.8.0*255 value=11383295.00
> ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=1683962.50
> ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:2.8.1*255/ObisItentifier:1-0:2.8.1*255 value=11383295.00
> ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:1.8.2*255/ObisItentifier:1-0:1.8.2*255 value=2078881.30
> ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:2.8.2*255/ObisItentifier:1-0:2.8.2*255 value=0.00 ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=1-0:16.7.0*255/ObisItentifier:1-0:16.7.0*255 value=-349.20
> ts=1381066590.066
> [Oct 06 15:36:30][mtr1] Reading:
> id=129-129:199.130.5*255/ObisItentifier:129-129:199.130.5*255 value=0.00
> ts=30611961.000
> [Oct 06 15:36:30][mtr1] Reading: id=0-0:0.0.0*0/ObisItentifier:0-0:0.0.0*0
> value=0.00 ts=0.000
> [Oct 06 15:36:30][chn4] Adding reading to queue (value=-349.20
> ts=1381066590.066)
> [Oct 06 15:36:30][chn4] Buffer dump (size=64 keep=300):
> {-431.8000,-275.7000,-279.5000,-269.0000,-413.4000,-246.4000,-278.5000,-271.
> 3000,-303.6000,-311.9000,-312.1000,-313.3000,-339.2000,-355.0000,-332.6000,-
> 345.7000,-345.8000,-368.3000,-92.8000,185.4000,-167.2000,-165.6000,-179.0000
> ,-161.8000,-166.1000,-466.1000,-484.6000,-405.9000,-398.1000,-401.0000,-229.
> 7000,-286.2000,-252.2000,-249.6000,-244.6000,-284.2000,-283.0000,-315.7000,-
> 301.6000,-322.9000,-343.2000,-326.4000,-355.0000,-367.0000,-345.2000,-348.50
> 00,272.6000,581.7000,367.1000,-110.4000,-64.5000,-59.8000,-68.2000,-329.0000
> ,-318.6000,-344.4000,-339.9000,-315.6000,-215.6000,-235.0000,-364.2000,-277.
> 0000,-297.5000,-349.2000,}
> [Oct 06 15:36:30][chn5] Adding reading to queue (value=11383295.00
> ts=1381066590.066)
> [Oct 06 15:36:30][chn5] Buffer dump (size=64 keep=300):
> {11383284.6000,11383284.8000,11383285.0000,11383285.2000,11383285.4000,11383
> 285.5000,11383285.7000,11383285.9000,11383286.1000,11383286.3000,11383286.50
> 00,11383286.7000,11383286.9000,11383287.1000,11383287.3000,11383287.5000,113
> 83287.7000,11383287.9000,11383288.1000,11383288.1000,11383288.2000,11383288.
> 3000,11383288.4000,11383288.5000,11383288.6000,11383288.8000,11383289.0000,1
> 1383289.2000,11383289.4000,11383289.6000,11383289.8000,11383290.0000,1138329
> 0.1000,11383290.2000,11383290.3000,11383290.5000,11383290.7000,11383290.9000
> ,11383291.1000,11383291.3000,11383291.5000,11383291.7000,11383291.9000,11383
> 292.1000,11383292.3000,11383292.5000,11383292.6000,11383292.6000,11383292.60
> 00,11383292.6000,11383292.7000,11383292.8000,11383292.8000,11383293.1000,113
> 83293.3000,11383293.5000,11383293.7000,11383293.9000,11383294.1000,11383294.
> 2000,11383294.4000,11383294.6000,11383294.8000,11383295.0000,}
> [Oct 06 15:36:31][mtr0] Got 8 new readings from meter:
> [Oct 06 15:36:31][mtr0] Reading:
> id=129-129:199.130.3*255/ObisItentifier:129-129:199.130.3*255 value=0.00
> ts=1381066591.104
> [Oct 06 15:36:31][mtr0] Reading:
> id=1-0:0.0.9*255/ObisItentifier:1-0:0.0.9*255 value=0.00 ts=1381066591.104
> [Oct 06 15:36:31][mtr0] Reading:
> id=1-0:2.8.0*255/ObisItentifier:1-0:2.8.0*255 value=13407264.60
> ts=1381066591.104
> [Oct 06 15:36:31][mtr0] Reading:
> id=1-0:2.8.1*255/ObisItentifier:1-0:2.8.1*255 value=13407264.60
> ts=1381066591.104
> [Oct 06 15:36:31][mtr0] Reading:
> id=1-0:2.8.2*255/ObisItentifier:1-0:2.8.2*255 value=0.00 ts=1381066591.104
> [Oct 06 15:36:31][mtr0] Reading:
> id=1-0:16.7.0*255/ObisItentifier:1-0:16.7.0*255 value=-974.50
> ts=1381066591.104
> [Oct 06 15:36:31][mtr0] Reading:
> id=129-129:199.130.5*255/ObisItentifier:129-129:199.130.5*255 value=0.00
> ts=30611139.000
> [Oct 06 15:36:31][mtr0] Reading: id=0-0:0.0.0*0/ObisItentifier:0-0:0.0.0*0
> value=0.00 ts=-1230224824.798
> [Oct 06 15:36:31][mtr0] Updating interval to 2
> [Oct 06 15:36:31][chn0] Adding reading to queue (value=13407264.60
> ts=1381066591.104)
> [Oct 06 15:36:31][chn0] Buffer dump (size=106 keep=300):
> {13407222.6000,13407223.0000,13407223.4000,13407223.8000,13407224.2000,13407
> 224.6000,13407225.0000,13407225.4000,13407225.8000,13407226.2000,13407226.60
> 00,13407227.0000,13407227.4000,13407227.8000,13407228.2000,13407228.6000,134
> 07229.0000,13407229.4000,13407229.8000,13407230.2000,13407230.6000,13407231.
> 0000,13407231.4000,13407231.8000,13407232.2000,13407232.6000,13407233.0000,1
> 3407233.4000,13407233.8000,13407234.2000,13407234.6000,13407235.0000,1340723
> 5.4000,13407235.8000,13407236.2000,13407236.6000,13407237.0000,13407237.4000
> ,13407237.8000,13407238.2000,13407238.6000,13407239.0000,13407239.4000,13407
> 239.8000,13407240.2000,13407240.6000,13407241.0000,13407241.4000,13407241.80
> 00,13407242.2000,13407242.6000,13407243.0000,13407243.4000,13407243.8000,134
> 07244.2000,13407244.6000,13407245.0000,13407245.4000,13407245.8000,13407246.
> 2000,13407246.6000,13407247.0000,13407247.4000,13407247.8000,13407248.2000,1
> 3407248.6000,13407249.0000,13407249.4000,13407249.8000,13407250.2000,1340725
> 0.6000,13407251.0000,13407251.4000,13407251.8000,13407252.2000,13407252.6000
> ,13407253.0000,13407253.4000,13407253.8000,13407254.2000,13407254.6000,13407
> 255.0000,13407255.4000,13407255.8000,13407256.2000,13407256.6000,13407257.00
> 00,13407257.4000,13407257.8000,13407258.2000,13407258.6000,13407259.0000,134
> 07259.4000,13407259.8000,13407260.2000,13407260.6000,13407261.0000,13407261.
> 4000,13407261.8000,13407262.2000,13407262.6000,13407263.0000,13407263.4000,1
> 3407263.8000,13407264.2000,13407264.6000,}
> [Oct 06 15:36:31][chn1] Buffer dump (size=0 keep=300): {}
> [Oct 06 15:36:31][chn2] Buffer dump (size=0 keep=300): {}
> [Oct 06 15:36:31][chn3] Adding reading to queue (value=-974.50
> ts=1381066591.104)
> [Oct 06 15:36:31][chn3] Buffer dump (size=106 keep=300):
> {-1029.1000,-1035.5000,-1032.1000,-1028.6000,-1033.0000,-1034.0000,-1027.000
> 0,-1028.2000,-1032.4000,-1037.3000,-1032.6000,-1030.5000,-1038.2000,-1024.60
> 00,-1030.0000,-1029.4000,-1024.6000,-1028.4000,-1028.9000,-1023.1000,-1025.9
> 000,-1027.9000,-1032.1000,-1019.5000,-1026.9000,-1018.8000,-1029.5000,-1024.
> 2000,-1022.0000,-1026.8000,-1024.1000,-1022.5000,-1027.7000,-1020.6000,-1022
> .1000,-1016.4000,-1019.6000,-1019.5000,-1012.3000,-1025.4000,-1020.0000,-101
> 5.2000,-1014.7000,-1024.8000,-1018.4000,-1016.6000,-1021.2000,-1011.3000,-10
> 16.0000,-1013.5000,-1021.8000,-1014.0000,-1013.9000,-1014.0000,-1005.2000,-1
> 010.5000,-1015.7000,-1011.4000,-1007.4000,-1008.3000,-1002.0000,-1006.3000,-
> 1005.4000,-997.6000,-1009.8000,-1002.0000,-994.6000,-994.7000,-998.0000,-100
> 0.5000,-998.1000,-998.1000,-997.7000,-992.2000,-1001.6000,-994.7000,-992.600
> 0,-988.9000,-995.3000,-986.2000,-993.6000,-992.4000,-986.5000,-991.4000,-988
> .4000,-993.3000,-988.5000,-987.6000,-982.7000,-979.8000,-983.7000,-983.2000,
> -988.5000,-978.4000,-982.7000,-980.7000,-985.0000,-980.3000,-979.6000,-979.2
> 000,-971.0000,-976.9000,-977.9000,-973.3000,-980.7000,-974.5000,}
> 
> 
> meine Config
> 
> /**
> 
> * vzlogger configuration
> 
> *
> 
> * use proper encoded JSON with javascript comments
> 
> *
> 
> * take a look at the wiki for detailed information:
> 
> * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration
> 
> */
> 
> {
> 
> "retry" : 30,                 /* how long to sleep between failed requests,
> in seconds */
> 
> "daemon": true,               /* run periodically */
> 
> "foreground" : false,          /* dont run in background (prevents forking)
> */
> 
> "verbosity" : 15,              /* between 0 and 15 */
> 
> "log" : "/var/log/vzlogger.log",/* path to logfile, optional */
> 
> "local" : {
> 
>         "enabled" : true,      /* should we start the local HTTPd for
> serving live readings? */
> 
>         "port" : 8080,          /* the TCP port for the local HTTPd */
> 
>         "index" : true,         /* should we provide a index listing of
> available channels if no UUID was requested? */
> 
>         "timeout" : 30,         /* timeout for long polling comet requests,
> 0 disables comet, in seconds */
> 
>         "buffer" : 600          /* how long to buffer readings for the local
> interface, in seconds */
> 
> },
> 
> "meters" : [{
> 
>         "enabled" : true,       /* disabled meters will be ignored */
> 
>         "protocol" : "sml",     /* see 'vzlogger -h' for list of available
> protocols */
> 
>         "device" : "/dev/ttyUSB0",
> 
>         "channels": [{
> 
>                 "uuid" : "f171d720-2e7f-11e3-881a-614552696015",
> 
>                 "middleware" : "http://localhost/middleware.php",
> 
>                 "identifier" : "1-0:2.8.0" /* Gesamtstromverbrauch
> Hauszaehler */
> 
>                 }, {
> 
>               "uuid" : "d8435320-2e7f-11e3-85dd-cb09d0ba5edd",
> 
>               "middleware" : "http://localhost/middleware.php",
> 
>               "identifier" : "1-0:1.8.1", /* Tagesstromverbrauch Tarif 1 */
> 
>                 }, {
> 
>               "uuid" : "6be16fd0-2e81-11e3-be0d-6d8aa51b5d32",
> 
>               "middleware" : "http://localhost/middleware.php",
> 
>               "identifier" : "1-0:1.8.2", /* Nachtstromverbrauch Tarif 2 */
> 
>                 }, {
> 
>               "uuid" : "e3d135f0-2e7f-11e3-b6c4-f35eefe24724",
> 
>               "middleware" : "http://localhost/middleware.php",
> 
>               "identifier" : "1-0:16.7.0", /* Wirkleistung Total */
> 
>               }]
> 
>          }, {
> 
>         "enabled" : true,
> 
>        "protocol" : "sml",
> 
>        "device" : "/dev/ttyUSB1",
> 
>        "channels" :[{
> 
>               "uuid" : "fb989de0-2e7f-11e3-a1a3-492174b7f447",
> 
>               "middleware" : "http://localhost/middleware.php",
> 
>               "identifier" : "1-0:16.7.0", /* Wirkleistung Total PV-Anlage
> */
> 
>                 }, {
> 
>               "uuid" : "109cd1e0-2e80-11e3-b069-f18299a95279",
> 
>               "middleware" : "http://localhost/middleware.php",
> 
>               "identifier" : "1-0:2.8.0", /* Gesamtertrag PV Anlage */
> 
>               }]
> 
>         }
> 
> ]}
> 
> 
> w?rde mich Freuen wenn mir jemand nen Tippe/ Hilfe geben k?nnte 
> 
> was ich Falsch gemacht habe 
> 
> 
> Mit freundlichen Gr??en / Kind Regards
> 
> Heiko Wei?enberger
> 


More information about the volkszaehler-users mailing list