[vz-dev] IR-Datenkopf und vzlogger anschließen

Udo1 udo1 at gmx.net
Wed Dec 21 19:29:21 CET 2011


Am 21.12.2011 15:15, schrieb Martin Werthmoeller:
> "meters" : [{
>      "protocol" : "s0",
>      "device" : "/dev/ttyUSB0",
>      "resolution" : 1000,
>      "interval" : 2,
>      "channel" : {
>          "uuid" : "4bc73d30-26ee-11e1-b3b9-5b31e8473936",
>          "middleware" :"http://volkszaehler/middleware.php",
>          }
>      },
In deinem Fall sollte die config eher so aussehen:

"meters" : [{
     "enabled" : false,    /* disabled meters will be ignored */
     "protocol" : "sml",    /* see 'vzlogger -h' for list of available 
protocols */
     "host" : "meinzaehler.dyndns.info:7331",
     "channels": [{
         "uuid" : "fde8f1d0-c5d0-11e0-856e-f9e4360ced10",
         "middleware" : "http://localhost/volkszaehler/middleware.php",
         "identifier" : "power" /* an OBIS alias, see 'vzlogger -h' for 
list of available aliases */
         }, {
         "uuid" : "a8da012a-9eb4-49ed-b7f3-38c95142a90c",
         "middleware" : "http://localhost/volkszaehler/middleware.php",
         "identifier" : "counter",
         "counter" : true /* send only delta between to values (simluate 
impulses) */
         }, {
         "uuid" : "d5c6db0f-533e-498d-a85a-be972c104b48",
         "middleware" : "http://localhost/volkszaehler/middleware.php",
         "identifier" : "1-0:1.8.0" /* use 'vzlogger -v20' to see all 
available identifiers/OBIS ids */
         }]


More information about the volkszaehler-dev mailing list