[vz-users] vzlogger 0.4.2 liefert keine Daten vom USB IR Lesekopf vom Zähler ISKRA MT681

Udo1 udo1 at gmx.net
Thu Sep 24 15:20:48 CEST 2015


Am 24.09.2015 um 14:56 schrieb Johannes Maaßen:
> Am 24.09.2015 um 14:51 schrieb Udo1:
>> Was sagt denn jetzt 'sudo vzlogger -V'?
> 0.4.4
Ok.

Änder mal die rc.local in:

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
   printf "My IP address is %s\n" "$_IP"
fi

#vzlogger starten
sudo vzlogger -d

exit 0

und die vzlogger.conf in:

{
   "retry": 0,
   "daemon": true,
   "verbosity": 15,
   "log": "/var/log/vzlogger.log",
   "local": {
   "enabled": false,
   "port": 8080,
   "index": false,
   "timeout": 0,
   "buffer": 0
   },
   "meters": [
     {
       "enabled": true,
       "allowskip": false,
       "interval": -1,
       "aggtime": -1,
       "aggfixedinterval": false,
       "channels": [
         {
           "uuid": "XXXX-3b7",
           "identifier": "1-0:1.8.0",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "type": "device",
           "aggmode": "none",
           "duplicates": 0
         },
         {
           "uuid": "XXXX-2fb1",
           "identifier": "1-0:2.8.0",
           "api": "volkszaehler",
           "middleware": "http://127.0.0.1/middleware.php",
           "type": "device",
           "aggmode": "none",
           "duplicates": 0
         }
       ],
       "protocol": "sml",
       "device": "/dev/ttyUSB0",
       "baudrate": 9600,
       "parity": "8n1"
     }
   ]
}

und poste dann mal die vzlogger.log
Im Frontend müssen Kanäle vom Type: 'El. Energie (Zählerstände)' 
erstellt sein.

Gruß
Udo


More information about the volkszaehler-users mailing list