[vz-users] s0vz problem

Michael Wulz michael.wulz at gmail.com
Fri Nov 14 15:41:03 CET 2014


Hallo,

ich bin ratlos. Habe S0VZ installiert (eh schon vor längerer Zeit) nach
einem Reboot meines Raspis läuft dieser jetzt plötzlich nicht mehr.

Folgender Output beim Start des Daemons:
Nov 14 14:31:59 raspberrypi s0vz: S0/Impulse to Volkszaehler RaspberryPI
deamon 1.4.4
Nov 14 14:31:59 raspberrypi s0vz: VzServer:localhost
Nov 14 14:31:59 raspberrypi s0vz: VzPort:80
Nov 14 14:31:59 raspberrypi s0vz: VzPath:middleware.php
Nov 14 14:31:59 raspberrypi s0vz: GPIO0 =
f4530a70-34b9-11e4-8cf2-758c8ad40a00
Nov 14 14:31:59 raspberrypi s0vz: GPIO1 = eins
Nov 14 14:31:59 raspberrypi s0vz: GPIO2 = zwei
Nov 14 14:31:59 raspberrypi s0vz: GPIO3 = drei
Nov 14 14:31:59 raspberrypi s0vz: GPIO4 = vier
Nov 14 14:31:59 raspberrypi s0vz: GPIO5 = funf


Wenn ich an den S0 input Pins (von Udos s0 Erweiterung) mit der Hand
Kurzschlüsse mache passiert nichts.

meine S0vz.cfg Datei:
#################################################################################
#
# S0/Impulse to Volkszaehler 'RaspberryPI deamon'.
#
# https://github.com/w3llschmidt/s0vz.git
# https://github.com/volkszaehler/volkszaehler.org.git
#
# Henrik Wellschmidt <w3llschmidt at gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###############################################################################

/* Hostname, FQDN or IP of your VZ - normaly this should be 'localhost' */
vzserver = "localhost"

/* Path to the VZ middleware.php script, WITHOUT preposed and trailing
slash */
vzpath = "middleware.php"

/* HTTP Port of your VZ */
vzport = 80

/* Define S0 inputs here, use these types in volkszaehler frontend */
/* Channel type: Strom_messer for S0 PowerMeters */
/* Gas for Gas-Meters via reed sensor or direct (Style: steps) */
GPIO0 = "f4530a70-34b9-11e4-8cf2-758c8ad40a00";
GPIO1 = "eins"
GPIO2 = "zwei"
GPIO3 = "drei"
GPIO4 = "vier"
GPIO5 = "funf"


Installiert hab ich die letzte Version vom Git (hat sich eh schon länger
nicht verändert). Und ich kann leider beim s0vz daemon nix debuggen.
Achja beim Starten vom Raspi führe ich:
# Part of S0/Impulse to Volkszaehler 'RaspberryPI deamon'
echo 17 > /sys/class/gpio/export && echo "rising" >
/sys/class/gpio/gpio17/edge
echo 18 > /sys/class/gpio/export && echo "rising" >
/sys/class/gpio/gpio18/edge
echo 22 > /sys/class/gpio/export && echo "rising" >
/sys/class/gpio/gpio22/edge
echo 23 > /sys/class/gpio/export && echo "rising" >
/sys/class/gpio/gpio23/edge
echo 24 > /sys/class/gpio/export && echo "rising" >
/sys/class/gpio/gpio24/edge
echo 27 > /sys/class/gpio/export && echo "rising" >
/sys/class/gpio/gpio27/edge


aus.

lg
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20141114/fabc5f37/attachment.html>


More information about the volkszaehler-users mailing list