<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hallo Udo,</div>
<div> </div>
<div>ich habe an der Erweiterung 2 1Wire-Tempeatursensoren angeschlossen die auch problemlos funkionieren, desweiteren habe ich einen Zähler per S0 angeschlossen (Finder 7E.46), dieser hängt an S0/0.</div>
<div>Am USB-Port des Raspberry hängt noch ein USB-IR Lesekopf dran. Ich habe jetzt ein Labornetzteil an die Klemmen der Erweiterung (Klemme 1 und 2) angeschlossen und die uUSB-Spannungsversrogung des Raspberry abgeklemmt.</div>
<div>Leider weiterhin ohne Erfolg.</div>
<div> </div>
<div>Hier meine /etc/rc.local:</div>
<div>
<div>
<div>#!/bin/sh -e<br/>
#<br/>
# rc.local<br/>
#<br/>
# This script is executed at the end of each multiuser runlevel.<br/>
# Make sure that the script will "exit 0" on success or any other<br/>
# value on error.<br/>
#<br/>
# In order to enable or disable this script just change the execution<br/>
# bits.<br/>
#<br/>
# By default this script does nothing.</div>
<div># Print the IP address<br/>
_IP=$(hostname -I) || true<br/>
if [ "$_IP" ]; then<br/>
printf "My IP address is %s\n" "$_IP"<br/>
fi</div>
<div># Part of DS2482 I2C 1-Wire Master to Volkszaehler 'RaspberryPI deamon'.<br/>
echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device<br/>
# echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-1/new_device<br/>
# echo ds2482 0x1a > /sys/bus/i2c/devices/i2c-1/new_device</div>
<div># Register I2C RTC<br/>
# echo ds1307 0x68 > /sys/bus/i2c/devices/i2c-1/new_device</div>
<div># Part of S0/Impulse to Volkszaehler 'RaspberryPI deamon','s0vz'<br/>
echo 17 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio17/edge<br/>
echo 18 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio18/edge<br/>
echo 23 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio23/edge<br/>
echo 22 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio22/edge<br/>
echo 24 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio24/edge<br/>
echo 10 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio10/edge</div>
<div># Part of S0/Impulse to Volkszaehler 'RaspberryPI deamon','s0vz_new'<br/>
#echo 4 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio4/edge<br/>
#echo 18 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio18/edge<br/>
#echo 17 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio17/edge<br/>
#echo 23 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio23/edge<br/>
#echo 27 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio27/edge<br/>
#echo 22 > /sys/class/gpio/export && echo "rising" > /sys/class/gpio/gpio22/edge</div>
<div># GPIOs exportieren und Datenrichtung einstellen, 'Schaltausgang_new'<br/>
#echo 24 > /sys/class/gpio/export<br/>
#echo 25 > /sys/class/gpio/export<br/>
#echo out > /sys/class/gpio/gpio24/direction<br/>
#echo out > /sys/class/gpio/gpio25/direction</div>
<div># GPIOs exportieren und Datenrichtung einstellen, 'Schaltausgang'<br/>
echo 9 > /sys/class/gpio/export<br/>
echo 11 > /sys/class/gpio/export<br/>
echo out > /sys/class/gpio/gpio9/direction<br/>
echo out > /sys/class/gpio/gpio11/direction</div>
<div>#---------------------<br/>
# Starte 1wirevz<br/>
#---------------------<br/>
sudo 1wirevz</div>
<div>#--------------------<br/>
# Starte s0vz</div>
<div>
<div>#--------------------<br/>
sudo s0vz</div>
<div>#sudo s0vz_new</div>
<div>#--------------------<br/>
# Starte vzlogger<br/>
#--------------------</div>
<div>stty -F /dev/ttyUSB0 9600 -parity -cstopb<br/>
sudo vzlogger -d</div>
<div>exit 0</div>
<div> </div>
<div>Und der Vollständigkeithalber noch meine</div>
<div>/etc/s0vz.cfg</div>
<div> </div>
<div>
<div>#################################################################################<br/>
#<br/>
# S0/Impulse to Volkszaehler 'RaspberryPI deamon'.<br/>
#<br/>
# https://github.com/w3llschmidt/s0vz.git<br/>
# https://github.com/volkszaehler/volkszaehler.org.git<br/>
#<br/>
# Henrik Wellschmidt <w3llschmidt@gmail.com><br/>
#<br/>
# This program is free software: you can redistribute it and/or modify<br/>
# it under the terms of the GNU General Public License as published by<br/>
# the Free Software Foundation, either version 3 of the License, or<br/>
# (at your option) any later version.<br/>
#<br/>
# This program is distributed in the hope that it will be useful,<br/>
# but WITHOUT ANY WARRANTY; without even the implied warranty of<br/>
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br/>
# GNU General Public License for more details.<br/>
#<br/>
# You should have received a copy of the GNU General Public License<br/>
# along with this program. If not, see <http://www.gnu.org/licenses/>.<br/>
#<br/>
###############################################################################</div>
<div>/* Hostname, FQDN or IP of your VZ - normaly this should be 'localhost' */<br/>
vzserver = "localhost" /* vzserver = "127.0.1.1" */</div>
<div>/* Path to the VZ middleware.php script, WITHOUT preposed and trailing slash */<br/>
vzpath = "middleware.php"</div>
<div>/* HTTP Port of your VZ */<br/>
vzport = 8080</div>
<div>/* Define S0 inputs here, use these types in volkszaehler frontend */<br/>
/* Channel type: Strom_messer for S0 PowerMeters */<br/>
/* Gas for Gas-Meters via reed sensor or direct (Style: steps) */<br/>
/* GPIO0 = "423d6bc0-78c2-11e4-8f47-e5c6f7c8b003"; */<br/>
/* GPIO1 = "58ad59b0-78c2-11e4-924b-27e23614c112"; */<br/>
/* GPIO2 = "655f0eb0-78c2-11e4-9fe8-d91069c36a52"; */<br/>
/* GPIO3 = "775e6cb0-78c2-11e4-9094-bd95e29b6ac6"; */<br/>
/* GPIO4 = "85c864e0-78c2-11e4-ad9f-f5dda3e2b737"; */<br/>
/* GPIO5 = "94a31960-78c2-11e4-91ad-1f45cfca195d"; */<br/>
GPIO0 = "27f857a0-91db-11e4-80df-25a2e984a639";</div>
<div> </div>
<div>Viele Grüße</div>
<div> </div>
<div>Thomas</div>
</div>
</div>
<div> </div>
</div>
</div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 02. Januar 2015 um 15:22 Uhr<br/>
<b>Von:</b> Udo1 <udo1@gmx.net><br/>
<b>An:</b> volkszaehler-users@demo.volkszaehler.org<br/>
<b>Betreff:</b> Re: [vz-users] Konfiguration S0-Impulse an Raspberry Pi B+ Erweiterung klein</div>
<div name="quoted-content">Hallo Thomas,<br/>
<br/>
Am 02.01.2015 um 14:24 schrieb Thomas Schweikert:<br/>
> Genügt es nun den Raspberry per USB-Anschluß mit einem Netzteil das<br/>
> mind. 1,5A liefert zu versorgen, oder muss die Erweiterungsplatine<br/>
> zusätzlich noch angeschlossen werden?<br/>
Besser ist es die Erweiterung und damit auch den RPi, über die<br/>
Anschlussklemmen der Erweiterung zu versorgen.<br/>
<br/>
Was tut es denn noch nicht?<br/>
Zeig mal deine komplette /etc/rc.local<br/>
<br/>
Gruß<br/>
Udo</div>
</div>
</div>
</div></div></body></html>