<!DOCTYPE html>
<html><head>
    <meta charset="UTF-8">
</head><body><p>Hallo zusammen!<br></p><p>Wenn ich folgenden Impuszähler auf "enabled : true" stelle, bekomme ich diese Fehlermeldung: "Startup failed: export failed"<br>Hat jemand eine Idee, woran das liegt?<br></p><p>sudo vzlogger -V sagt:<br>0.6.1<br> based on git version: heads/master-0-g46da3cb2eb<br> last commit date: Thu, 19 Jan 2017 17:32:28 +0100<br></p><p><br></p><p>VZlogger.conf:<br></p><p><span style="font-family: courier new,courier,monospace;">{ //#########################################################</span><br><span style="font-family: courier new,courier,monospace;">      //############## Impulszähler Test #########################</span><br><span style="font-family: courier new,courier,monospace;">      //#########################################################</span><br><span style="font-family: courier new,courier,monospace;">      "enabled": false,</span><br><span style="font-family: courier new,courier,monospace;">      "allowskip": false,</span><br><span style="font-family: courier new,courier,monospace;">      //"interval": 300,</span><br><span style="font-family: courier new,courier,monospace;">      "aggtime": -1,</span><br><span style="font-family: courier new,courier,monospace;">      "aggfixedinterval": false,</span><br><span style="font-family: courier new,courier,monospace;">      "channels": [</span><br><span style="font-family: courier new,courier,monospace;">        {</span><br><span style="font-family: courier new,courier,monospace;">          "uuid": "9dd04be0-18a4-11e7-928e-09706f2e243d",</span><br><span style="font-family: courier new,courier,monospace;">          "identifier": "Impulse",</span><br><span style="font-family: courier new,courier,monospace;">          "api": "volkszaehler",</span><br><span style="font-family: courier new,courier,monospace;">          "middleware": "http://127.0.0.1/middleware.php",</span><br><span style="font-family: courier new,courier,monospace;">          "aggmode": "none",</span><br><span style="font-family: courier new,courier,monospace;">          "duplicates": 0</span><br><span style="font-family: courier new,courier,monospace;">        }</span><br><span style="font-family: courier new,courier,monospace;">      ],</span><br><span style="font-family: courier new,courier,monospace;">      "protocol": "s0",</span><br><span style="font-family: courier new,courier,monospace;">      "gpio": 4, // Entspricht S0-0</span><br><span style="font-family: courier new,courier,monospace;">      "resolution": 1000,</span><br><span style="font-family: courier new,courier,monospace;">      "configureGPIO": true,</span><br><span style="font-family: courier new,courier,monospace;">      "debounce_delay": 1000</span><br><span style="font-family: courier new,courier,monospace;">    },</span></p><p><br></p><p>RC.local:<br></p><p><span style="font-family: courier new,courier,monospace;">#!/bin/sh -e</span><br><span style="font-family: courier new,courier,monospace;">#</span><br><span style="font-family: courier new,courier,monospace;"># rc.local</span><br><span style="font-family: courier new,courier,monospace;">#</span><br><span style="font-family: courier new,courier,monospace;"># This script is executed at the end of each multiuser runlevel.</span><br><span style="font-family: courier new,courier,monospace;"># Make sure that the script will "exit 0" on success or any other</span><br><span style="font-family: courier new,courier,monospace;"># value on error.</span><br><span style="font-family: courier new,courier,monospace;">#</span><br><span style="font-family: courier new,courier,monospace;"># In order to enable or disable this script just change the execution</span><br><span style="font-family: courier new,courier,monospace;"># bits.</span><br><span style="font-family: courier new,courier,monospace;">#</span><br><span style="font-family: courier new,courier,monospace;"># By default this script does nothing.</span><br><br><span style="font-family: courier new,courier,monospace;"># Print the IP address</span><br><span style="font-family: courier new,courier,monospace;">_IP=$(hostname -I) || true</span><br><span style="font-family: courier new,courier,monospace;">if [ "$_IP" ]; then</span><br><span style="font-family: courier new,courier,monospace;">  printf "My IP address is %s\n" "$_IP"</span><br><span style="font-family: courier new,courier,monospace;">fi</span><br><br><span style="font-family: courier new,courier,monospace;"># Part of DS2482 I2C 1-Wire Master to Volkszaehler 'RaspberryPI deamon'.</span><br><br><span style="font-family: courier new,courier,monospace;">echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device</span><br><br><span style="font-family: courier new,courier,monospace;"># Register I2C RTC bei grosser neuer Erweiterung</span><br><span style="font-family: courier new,courier,monospace;">#echo ds1307 0x68 > /sys/bus/i2c/devices/i2c-1/new_device</span><br><br><span style="font-family: courier new,courier,monospace;"># GPIOs exportieren und Datenrichtung einstellen, 'Schaltausgang_new'</span><br><span style="font-family: courier new,courier,monospace;">#echo 24 > /sys/class/gpio/export</span><br><span style="font-family: courier new,courier,monospace;">#echo 25 > /sys/class/gpio/export</span><br><span style="font-family: courier new,courier,monospace;">#echo out > /sys/class/gpio/gpio24/direction</span><br><span style="font-family: courier new,courier,monospace;">#echo out > /sys/class/gpio/gpio25/direction</span><br><br><span style="font-family: courier new,courier,monospace;">echo 4 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio4/edge</span><br><span style="font-family: courier new,courier,monospace;">echo 18 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio18/edge</span><br><span style="font-family: courier new,courier,monospace;">echo 17 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio17/edge</span><br><span style="font-family: courier new,courier,monospace;">echo 23 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio23/edge</span><br><span style="font-family: courier new,courier,monospace;">#echo 27 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio27/edge</span><br><span style="font-family: courier new,courier,monospace;">#echo 22 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio22/edge</span><br><br><span style="font-family: courier new,courier,monospace;"># hwclock -s</span><br><br><span style="font-family: courier new,courier,monospace;">exit 0</span></p><p><span style="font-family: courier new,courier,monospace;"><br></span></p><p><span style="font-family: arial,helvetica,sans-serif;">Vielen Dank und Grüße!<br></span></p><p><span style="font-family: arial,helvetica,sans-serif;">Karl<br></span></p></body></html>