[vz-users] vzlogger startet nicht
    Ulrich Leichtle 
    uleichtle at gmx.de
       
    Mon Jan 27 19:39:10 CET 2014
    
    
  
Hallo zusammen,
 
ich habe mir den Raspberry mit dem Volkszähler image besorgt und
installiert.
Mein Stromzähler den ich auslesen möchte ist ein EMH ehz H Zähler.
Ich habe mir einen USB IR Lesekopf von UDO besorgt der auch beim ansprechen
Daten bringt:
 
root at raspberrypi:/home/pi# xxd </dev/ttyUSB0
0000000: 7001 7707 0100 0108 00ff 6301 8201 621e  p.w.......c...b.
0000010: 52ff 5600 025d cd3a 0177 0701 0001 0801  R.V..].:.w......
0000020: ff01 0162 1e52 ff56 0002 5dcd 3a01 7707  ...b.R.V..].:.w.
0000030: 0100 0108 02ff 0101 621e 52ff 5600 0000  ........b.R.V...
0000040: 0000 0177 0701 000f 0700 ff01 0162 1b52  ...w.........b.R
0000050: ff55 0000 1036 0177 0781 81c7 8205 ff01  .U...6.w........
0000060: 0101 0183 02e2 d403 e10c ecb4 1a20 02ca  ............. ..
0000070: 1e8e 8513 c47f 985a 5f84 1cfe 20c3 b5b0  .......Z_... ...
0000080: f7bc 46df 327d f4be ca78 2a07 4cb9 7d7b  ..F.2}...x*.L.}{
0000090: 02d1 89f5 5b01 0101 6380 2c00 7607 0018  ....[...c.,.v...
00000a0: 006c 961f 6200 6200 7263 0201 7101 6311  .l..b.b.rc..q.c.
00000b0: d100 001b 1b1b 1b1a 0177 e41b 1b1b 1b01  .........w......
 
Sobald ich aber den vzlogger mit vzlogger starten möchte kommt nur:
 
root at raspberrypi:/home/pi# vzlogger
[Jan 26 19:59:12][]     parse configuration failed due to:
[Jan 26 19:59:12]       Failed to parse configuration due to: Not a valid
Type
root at raspberrypi:/home/pi#
 
bei der Kontrolle des VZ logger kommt: 
 
root at raspberrypi:/home/pi# ps aux | grep vzlogger
root     14926  0.0  0.1   3588   852 pts/0    S+   20:01   0:00 grep
vzlogger
root at raspberrypi:/home/pi#
 
 
Hier meine vzlogger 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" : true,          /* dont run in background (prevents forking)
*/
"verbosity" : 15,               /* between 0 and 15 */
"log" : "/var/log/vzlogger.log",/* path to logfile, optional */
 
"local" : {
        "enabled" : false,      /* should we start the local HTTPd for
serving live readings? */
        "port" : 80,            /* 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`fol list of available
protocols*/
        "device" : "/dev/ttyUSB0 9600 8N1",
        "channel" :[
{
                "uuid" : "917269b0-7edd-11e3-a920-457fe3b6cd75",
                "middleware" : "http://localhost/middleware.php",
        "identifier" : "1-0:15.7.0" /* aktueller Stromverbrauch */
        },
{
                "uuid" : "917269b0-7edd-11e3-a920-457fe3b6cd75",
                "middleware" : "http://localhost/middleware.php",
                "identifier" : "1-0:1.8.0" /* Zaehlerstand Gesamt */
        }
]}
]}
 
Für eure Hilfe wäre ich sehr dankbar!
 
Mfg Ulrich Leichtle
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20140127/f36635a5/attachment.html>
    
    
More information about the volkszaehler-users
mailing list