[vz-users] Keine Anzeige Frontend

Thomas Janz janz.thomas at gmail.com
Sun Mar 1 18:00:42 CET 2015


Hallo,

ich bin von einem altem Raspi Image (Rainer) auf die Version 0.4.0 
umgestiegen.
Image vom Udo     volkszaehler_2015_27_01.img

Leider bekomme ich meine Zähler:

Iskra MT681
EMH eHZ-H

nicht im Frontend anzeigt, bzw den Iskra nur mit Aussetzer oder nur mit 
falschen Werten.
Die Zähler wurden als Typ:El. Energie (Zählerstände) im Frontent angelegt.
Die Zählerstände vom EMH eHZ-H werden im Logfile angezeigt


hier die config

{
"retry" : 30,
"daemon": true,
"verbosity" : 15, "log" :
"/var/log/vzlogger.log",
"local" :
  {
"enabled" : false, /* 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 ed? */
"timeout" : 30, /* timeout for long polling comet requesmet, in seconds */
"buffer" : 600 /* how long to buffer readings for the loace, in seconds */
},

"meters" : [
         {
         "protocol" : "sml",
         "enabled" : true,
         "device" : "/dev/ttyUSB0",
         "aggtime" : 60,
         "channel" : {
                 "uuid" : "0d0e4f00-c02e-11e4-b938-49efba0512b2",
                  "middleware" : "http://localhost/middleware.php",
                 "api" : "volkszaehler",
                 "identifier" : "1.8.0", /* Bezug */
                 "aggmode" : "MAX", /* MIN oder AVG oder None */
                 "aggfixedinterval" : true,
                 }
         } // meter
         ,
         //
  {
     "protocol" : "sml",
         "enabled" : true,
         "device" : "/dev/ttyUSB0",
         "aggtime" : 60,
  "channel" : {
                 "uuid" : "0d0e4f00-c02e-11e4-b938-49efba0512b2",
                  "middleware" : "http://localhost/middleware.php",
                 "api" : "volkszaehler",
                 "identifier" : "1.8.0", /* Bezug */
                 "aggmode" : "MAX", /* MIN oder AVG oder None */
                 "aggfixedinterval" : true,
                 }
         } // meter
         ,
         //
  {
     "protocol" : "sml",
         "enabled" : true,
         "device" : "/dev/ttyUSB0",
         "aggtime" : 60,
         "channel" : {
                 "uuid" : "1ad19310-c02e-11e4-977b-895fa961c712",
                  "middleware" : "http://localhost/middleware.php",
                 "api" : "volkszaehler",
                 "identifier" : "2.8.0", /* Abgabe */
                 "aggmode" : "MAX", /* MIN oder AVG oder None */
                 "aggfixedinterval" : true,
                  } // channel
                 }
         ,
         {
         "protocol" : "sml",
         "enabled" : true,
         "device" : "/dev/ttyUSB1",
         "aggtime" : 60,
         "channel" : {
                 "uuid" : "0cf33b80-c029-11e4-8d59-cd8bd94ef7b9",
                 "middleware" : "http://localhost/middleware.php",
                  "identifier" : "1-0:2.8.0", /* Abgabe */
          "aggmode" : "MAX", /* MIN oder AVG oder None */
          "aggfixedinterval" : true,
                       } // channel
         } // meter
]} // end of config

Start vzlogger

pi at volkszaehler /etc $ sudo vzlogger -c vzlogger.conf
[Mar 01 17:43:20][mtr0] Creating new meter with protocol sml.
[Mar 01 17:43:20][mtr0] Meter configured, enabled.
[Mar 01 17:43:20]       New meter initialized (protocol=sml)
[Mar 01 17:43:20]       Configure channel.
[Mar 01 17:43:20][chn0] New channel initialized (uuid=...0512b2 
api=volkszaehler id=1.8.0)
[Mar 01 17:43:20][mtr1] Creating new meter with protocol sml.
[Mar 01 17:43:20][mtr1] Meter configured, enabled.
[Mar 01 17:43:20]       New meter initialized (protocol=sml)
[Mar 01 17:43:20]       Configure channel.
[Mar 01 17:43:20][chn1] New channel initialized (uuid=...61c712 
api=volkszaehler id=2.8.0)
[Mar 01 17:43:20][mtr2] Creating new meter with protocol sml.
[Mar 01 17:43:20][mtr2] Meter configured, enabled.
[Mar 01 17:43:20]       New meter initialized (protocol=sml)
[Mar 01 17:43:20]       Configure channel.
[Mar 01 17:43:20][chn2] New channel initialized (uuid=...4ef7b9 
api=volkszaehler id=1-0:2.8.0)
[Mar 01 17:43:20]       Have 3 meters.
[Mar 01 17:43:20][main] daemon=1, local=0
[Mar 01 17:43:20]       Daemonize process...


hier ein Auszug aus dem Log File

[Mar 01 17:43:20]       Opened logfile /var/log/vzlogger.log
[Mar 01 17:43:20][]     ===> Start meters
[Mar 01 17:43:20][mtr0] Meter connection established
[Mar 01 17:43:20][mtr0] Meter thread started
[Mar 01 17:43:20][mtr0] Meter is opened. Starting channels.
[Mar 01 17:43:20][chn0] Logging thread started
[Mar 01 17:43:20][chn0] Start logging thread for volkszaehler-api. 
Running as daemon: yes
[Mar 01 17:43:20][mtr1] Meter connection established
[Mar 01 17:43:20][mtr1] Meter thread started
[Mar 01 17:43:20][mtr1] Meter is opened. Starting channels.
[Mar 01 17:43:20][chn1] Logging thread started
[Mar 01 17:43:20][mtr0] Number of readers: 32
[Mar 01 17:43:20][chn1] Start logging thread for volkszaehler-api. 
Running as daemon: yes
[Mar 01 17:43:20][mtr0] Config.daemon: 1
[Mar 01 17:43:20][mtr0] Config.local: 0
[Mar 01 17:43:20][mtr1] Number of readers: 32
[Mar 01 17:43:20][mtr1] Config.daemon: 1
[Mar 01 17:43:20][mtr1] Config.local: 0
[Mar 01 17:43:20][chn0] Using default volkszaehler api.
[Mar 01 17:43:20][chn1] Using default volkszaehler api.
[Mar 01 17:43:20][mtr2] Meter connection established
[Mar 01 17:43:20][mtr2] Meter thread started
[Mar 01 17:43:20][mtr2] Meter is opened. Starting channels.
[Mar 01 17:43:20][chn2] Logging thread started
[Mar 01 17:43:20][]     Startup done.
[Mar 01 17:43:20][chn2] Start logging thread for volkszaehler-api. 
Running as daemon: yes
[Mar 01 17:43:20][mtr2] Number of readers: 32
[Mar 01 17:43:20][mtr2] Config.daemon: 1
[Mar 01 17:43:20][mtr2] Config.local: 0
[Mar 01 17:43:20][chn2] Using default volkszaehler api.
[Mar 01 17:43:23][mtr2] Got 6 new readings from meter:
[Mar 01 17:43:23][mtr2] Reading: 
id=1-0:1.8.0*255/ObisItentifier:1-0:1.8.0*255 value=6081410.40 
ts=1425228203.246
[Mar 01 17:43:23][mtr2] Reading: 
id=1-0:2.8.0*255/ObisItentifier:1-0:2.8.0*255 value=6162245.40 
ts=1425228203.246
[Mar 01 17:43:23][mtr2] Reading: 
id=1-0:1.8.1*255/ObisItentifier:1-0:1.8.1*255 value=6081410.40 
ts=1425228203.246
[Mar 01 17:43:23][mtr2] Reading: 
id=1-0:2.8.1*255/ObisItentifier:1-0:2.8.1*255 value=6162245.40 
ts=1425228203.246
[Mar 01 17:43:23][mtr2] Reading: 
id=1-0:1.8.2*255/ObisItentifier:1-0:1.8.2*255 value=0.00 ts=1425228203.246
[Mar 01 17:43:23][mtr2] Reading: 
id=1-0:15.7.0*255/ObisItentifier:1-0:15.7.0*255 value=130.40 
ts=1425228203.246
[Mar 01 17:43:23][chn2] Adding reading to queue (value=6162245.40 
ts=1425228203.246)


Danke Thomas






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20150301/05c9dc02/attachment.html>


More information about the volkszaehler-users mailing list