[vz-users] vzlogger startet nicht

Ulrich Leichtle uleichtle at gmx.de
Mon Feb 3 20:03:50 CET 2014


Hallo Daniel,

 

erstmal vielen Dank für deine Hilfe.

 

Leider läuft der vzlogger immer noch nicht.

 

Wenn ich jetzt den  vzlogger starten möchte kommt wieder die Fehlermeldung:

 

pi at raspberrypi ~ $ stty -F /dev/ttyUSB0 9600 -parity -cstopb

pi at raspberrypi ~ $ sudo vzlogger

[Feb 03 19:59:57][]     parse configuration failed due to:

[Feb 03 19:59:57]       Failed to parse configuration due to: Not a valid
Type

pi at raspberrypi ~ $

 

hier nochmal meine aktueller vzlogger.conf:

 

/**

* 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",

        "parity" : "8N1",

        "baudrate" :9600,

        "channel" :[

{

                "uuid" : "f0680210-8cfa-11e3-a3bf-45e49fd01f8e",

                "middleware" : "http://localhost/middleware.php",

        "identifier" : "1-0:15.7.0" /* aktueller Stromverbrauch */

        },

{

                "uuid" : "955ca3e0-8cf9-11e3-b83f-4161bc6b036b",

                "middleware" : "http://localhost/middleware.php",

                "identifier" : "1-0:1.8.1" /* Zaehlerstand Gesamt*/

        }

]}

]}

 

 

 

Kann es sein das ich mit dem stty –F etwas falsch mache?

 

Danke!

 

Mfg

 

Ulrich

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


More information about the volkszaehler-users mailing list