[vz-users] VZ auf RasPi mit Erweiterung von Udo + S0 + TTL IR Kopf

Peter Evertz leo2 at pec.homeip.net
Sun Aug 11 22:08:06 CEST 2013


Was für eine Zähler hast Du ? Wenn der SML ausspuckt brauchst Du kein s0vz.

Wenn Du nur s0 impulse hast brauchst du keine vzlogger.


Am 11.08.2013 16:34, schrieb Maximilian Nitzsche:
>
> **push**
>
> Braucht ihr mehr Infos oder so?
>
> Dann sagt nur welche.
>
> Ich bin noch nicht weiter gekommen.
>
> *Von:*volkszaehler-users-bounces at lists.volkszaehler.org 
> [mailto:volkszaehler-users-bounces at lists.volkszaehler.org] *Im Auftrag 
> von * Maximilian Nitzsche
> *Gesendet:* Montag, 5. August 2013 19:02
> *An:* volkszaehler-users at lists.volkszaehler.org
> *Betreff:* [vz-users] VZ auf RasPi mit Erweiterung von Udo + S0 + TTL 
> IR Kopf
>
> Hallo zusammen,
>
> ich habe die Erweiterung mit den Schaltausgängen von Udo erworben und 
> zusammengebaut sowie den TTL IR Schreiblesekopf.
>
> Leider bin ich bei der Einrichtung ziemlich überfordert und würde mich 
> über eure Hilfe freuen.
>
> Frage 1: Bei der Nutzung von s0vz, ist da ein Configuration in 
> vzlogger.conf notwendig? Wenn ja, welche?
>
> Frage 2: Welche Konfiguration in vzlogger.conf ist für den TTL IR Kopf 
> nötig?
>
> Ich habe diese angewendet:
>
> _______________________________________
>
>         {
>
>         "enabled" : true,
>
>         "protocol" : "sml",
>
>         "device" : "/dev/ttyAMA0",
>
>         "channel" : {
>
>                 "uuid" : "00bf6b40-fd0a-11e2-942a-cd4168f9d06c",
>
>  "middleware" : "http://localhost/middleware.php"
>
> "identifier" : "1-0:2.8.1" /* Gesamtstromverbrauch
>
>                 }
>
>         }
>
> _______________________________________
>
> Rest standard
>
> Als Log erhalte ich:
>
> pi at raspberrypi /var/log $ tail -f vzlogger.log
>
> [Aug 05 17:38:02][mtr1] meter is opened. Start channels.
>
> [Aug 05 17:38:02][chn1] Logging thread started
>
> [Aug 05 17:38:02][] Startup done.
>
> [Aug 05 17:38:02][chn1] Start logging thread for volkszaehler-api. 
> Running as daemon: yes
>
> [Aug 05 17:38:02][mtr1] Number of readers: 3
>
> [Aug 05 17:38:02][mtr1] Config.daemon: 1
>
> [Aug 05 17:38:02][mtr1] Config.local: 1
>
> [Aug 05 17:38:02][chn1] Using default api:
>
> [Aug 05 17:46:52]       terminating on signal 15.
>
> [Aug 05 17:46:52]       Closing connections to terminate
>
> Kann ich irgendwie anzeigen lassen was über den TTL IR Kopf rein kommt?
>
> So sieht s0vz aus:
>
> _____________________________________
>
> /* 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;
>
> /* S0 Inputs; VZ chanel type: Strom_messer_ / Gas (Steps/Stufen) */
>
> GPIO0 = "00bf6b40-fd0a-11e2-942a-cd4168f9d06c";
>
> GPIO1 = "00bf6b40-fd0a-11e2-942a-cd4168f9d06c";
>
> GPIO2 = "00bf6b40-fd0a-11e2-942a-cd4168f9d06c";
>
> GPIO3 = "00bf6b40-fd0a-11e2-942a-cd4168f9d06c";
>
> GPIO4 = "00bf6b40-fd0a-11e2-942a-cd4168f9d06c";
>
> GPIO5 = "00bf6b40-fd0a-11e2-942a-cd4168f9d06c";
>
> _______________________________________
>
> Und zuletzt user.log
>
> Aug  5 18:56:03 raspberrypi s0vz: VzServer:localhost
>
> Aug  5 18:56:03 raspberrypi s0vz: VzPort:80
>
> Aug  5 18:56:03 raspberrypi s0vz: VzPath:middleware.php
>
> Aug  5 18:56:03 raspberrypi s0vz: GPIO0 = 
> 00bf6b40-fd0a-11e2-942a-cd4168f9d06c
>
> Aug  5 18:56:03 raspberrypi s0vz: GPIO1 = 
> 00bf6b40-fd0a-11e2-942a-cd4168f9d06c
>
> Aug  5 18:56:03 raspberrypi s0vz: GPIO2 = 
> 00bf6b40-fd0a-11e2-942a-cd4168f9d06c
>
> Aug  5 18:56:03 raspberrypi s0vz: GPIO3 = 
> 00bf6b40-fd0a-11e2-942a-cd4168f9d06c
>
> Aug  5 18:56:03 raspberrypi s0vz: GPIO4 = 
> 00bf6b40-fd0a-11e2-942a-cd4168f9d06c
>
> Aug  5 18:56:03 raspberrypi s0vz: GPIO5 = 
> 00bf6b40-fd0a-11e2-942a-cd4168f9d06c
>
> Mein Problem bei s0:
>
> Es kommt nichts in der Middleware an.
>
> Danke und Grüße
>
> Maximilian
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20130811/6351192c/attachment-0001.html>


More information about the volkszaehler-users mailing list