<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hallo zusammen,</p>
<p>habe jetzt noch einiges probiert und das kam dabei heraus:</p>
<p><img src="cid:part1.9E571C16.EF6B6F9E@gmx.de" alt="" height="371"
width="747"></p>
<p>Die Kurve kam dadurch zu Stand, das ich den Eingang in
unregelmässiger Folge ein-und ausgeschalten habe.</p>
<p>Besten Dank schon mal und mfG - Torsten W.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 05.09.2016 um 23:11 schrieb Torsten:<br>
</div>
<blockquote cite="mid:1c71ad4d-cfd6-636a-348f-baf6389c68fc@gmx.de"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<p>Hallo Udo,</p>
<p>super, dass Du wieder aktiv dabei bist - trotzdem - mach
langsam und weiterhin gute Genesung!!!</p>
<p>Im Frondend ist jetzt der Ventil-Kanal schonmal zu sehen -
prima - allerdings außer zwei Peak´s ständig auf aus(0).</p>
<p><img src="cid:part2.7486998C.7EF202D0@gmx.de" alt=""
height="438" width="910"></p>
<p>Frage ist nun, ob die Eingangsbeschaltung des GPIO´s stimmt? <br>
</p>
<p>Habe mich mal daran orientiert:</p>
<p> <b><i><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://www.elektronik-kompendium.de/sites/raspberry-pi/2006051.htm">https://www.elektronik-kompendium.de/sites/raspberry-pi/2006051.htm</a></i></b></p>
<p>Der Widerstand wurde mit 47k ausgewählt.<br>
</p>
<p>Muss eventuell noch ein <i>GPIO.setup(20, GPIO.IN)</i> in die<i>
rc.local </i>eingetragen werden?</p>
<p>PS: Ich habe am Pi keine Erweiterung von Dir laufen - habe mich
also direkt auf den GPIO_20 geklemmt.</p>
<p>Besten Dank schonmal von Torsten W.<br>
</p>
<div class="moz-cite-prefix">Am 05.09.2016 um 21:39 schrieb Udo1:<br>
</div>
<blockquote
cite="mid:48d2808e-5d73-f4b3-8402-07884ba48be8@gmx.net"
type="cite">Am 05.09.2016 um 21:01 schrieb Torsten: <br>
<blockquote type="cite"> <br>
*/pi@raspberrypi:~ $ sudo vzlogger -V/*/ <br>
//0.5.1// <br>
// based on git version: heads/master-0-g7e79f4c700-dirty// <br>
// last commit date: Fri, 5 Feb 2016 18:03:28 +0100/ <br>
<br>
</blockquote>
Erst mal vzlogger updaten: <br>
<br>
sudo systemctl stop vzlogger <br>
cd vzlogger <br>
git pull <br>
cmake . <br>
make <br>
sudo make install <br>
cd ~ <br>
sudo systemctl start vzlogger <br>
<br>
Dann in der etc/vzlogger.conf die 'verbosity' auf '15' setzen. <br>
Wenn alles funktioniert, kann der Wert dann wieder auf '0'
gesetzt werden. <br>
<br>
vzlogger.conf: <br>
<br>
{ <br>
"retry": 0, <br>
"daemon": true, <br>
"verbosity": 15, <br>
"log": "/tmp/vzlogger.log", <br>
"local": { <br>
"enabled": false, <br>
"port": 8080, <br>
"index": true, <br>
"timeout": 0, <br>
"buffer": 0 <br>
}, <br>
"meters": [ <br>
{ <br>
"enabled": true, <br>
"allowskip": false, <br>
"interval": -1, <br>
"aggtime": -1, <br>
"aggfixedinterval": false, <br>
"channels": [ <br>
{ <br>
"uuid": "870ccaa0-72ad-11e6-838b-791f728f4ab1", <br>
"identifier": "Impulse", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://localhost/middleware.php">"http://localhost/middleware.php"</a>,
<br>
"aggmode": "none", <br>
"duplicates": 0 <br>
} <br>
], <br>
"protocol": "s0", <br>
"gpio": 20, <br>
"configureGPIO": true, <br>
"send_zero": true, <br>
"debounce_delay": 0 <br>
}, <br>
{ <br>
"enabled": true, <br>
"allowskip": true, <br>
"interval":120, <br>
"aggtime": 120, <br>
"aggfixedinterval": false, <br>
"channels": [ <br>
{ <br>
"uuid": "73b33eb0-0f0c-11e6-a8a6-93baa8c7d29b", <br>
"identifier": "10-000802e42bd7", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "61fe42e0-0ffa-11e6-a473-878517fa38be", <br>
"identifier": "10-000802e452de", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "fb732540-0ff6-11e6-be5e-5f40ce152c49", <br>
"identifier": "10-000802e4e69c", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "2644cee0-0ff7-11e6-a2cf-19a0a719dfef", <br>
"identifier": "10-000802e4647e", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "4c27cdc0-0ff7-11e6-a7ad-b9f46a4defc2", <br>
"identifier": "10-000802e4ea1e", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "77304740-0ff7-11e6-96bf-916568ba43e0", <br>
"identifier": "10-000802e4778a", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "a5f61e50-0ff7-11e6-87e5-7b39ff5b85ea", <br>
"identifier": "10-000802e478eb", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "c8c5c280-0ff7-11e6-89ed-6b04513ec74a", <br>
"identifier": "10-000802e42bd7", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "edb78660-0ff7-11e6-a891-fdec6c0ea54d", <br>
"identifier": "10-000802e488dd", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "0ed543b0-0ff8-11e6-9a8b-778604b2b126", <br>
"identifier": "10-000802e49487", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "43b7b450-0ff8-11e6-ada0-d14534b14003", <br>
"identifier": "10-000802e49f9c", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "6d0b6900-0ff8-11e6-a7e1-b96eeb9c27b7", <br>
"identifier": "10-000802e4a4e3", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "923a4170-0ff8-11e6-9fcb-2f9fb5ab3fcc", <br>
"identifier": "10-000802e4a913", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "affc9fe0-0ff8-11e6-bce3-754a145c2e30", <br>
"identifier": "10-000802e4b173", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "fd7a0e00-0ff8-11e6-bb93-6b394c5547ab", <br>
"identifier": "10-000802e4c622", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
}, <br>
{ <br>
"uuid": "826158f0-0ff9-11e6-b14f-5113db295838", <br>
"identifier": "10-000802f8dc02", <br>
"api": "volkszaehler", <br>
"middleware": <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="http://127.0.0.1/middleware.php">"http://127.0.0.1/middleware.php"</a>,
<br>
} <br>
], <br>
"protocol": "w1therm" <br>
} <br>
] <br>
} <br>
<br>
Wenn noch keine Funktion, vzlogger.log posten. <br>
<br>
Gruß <br>
Udo <br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>