[vz-users] Erste Schritte

Julian Vollmer julianvollmer at gmail.com
Thu Nov 21 19:35:38 CET 2013


Hallo, 

wenn ich es richtig verstanden habe könnt ihr mir helfen indem ich meine Config posten.
Der Raspi hat eine öffentliche IP, d.h. ssh ist von überall mit Benutzername und PW möglich.
ssh-Daten auf anfrage.
Per HTML Request kann ich Daten in die DB schreiben so wie ich das sehe, via 
http://141.45.202.60/middleware.php/data/9d36e600-529c-11e3-8676-1d5fb23c4db0.json?operation=add&value=<1|3000>

Der Leser hängt an einem EDL21, hier ein Foto
http://julianvollmer.de/privat/Foto.JPG

DB empfängt nichts was ich nicht selber geschickt habe.
UUID’s der Kanäle habe ich in die vzlogger.conf
Pfade für den Raspi habe ich auch angepasst.
Frontend läuft auch.
Hier meine config.

/**
 * vzlogger configuration
 * 
 * use proper encoded JSON with javascript comments
 *
 * take a look at the wiki for detailed information:
 * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration
 */
 
{
"retry" : 30,			/* how long to sleep between failed requests, in seconds */
//"daemon": false,		/* run periodically */
//"foreground" : true,		/* dont run in background (prevents forking) */
//"verbosity" : 5,		/* between 0 and 15 */
//"log" : "/var/log/vzlogger.log",/* path to logfile, optional */
 
"local" : {
	"enabled" : true,	/* should we start the local HTTPd for serving live readings? */
	"port" : 8080,		/* the TCP port for the local HTTPd */
	"index" : true,		/* should we provide a index listing of available channels if no UUID was requested? */
	"timeout" : 30,		/* timeout for long polling comet requests, 0 disables comet, in seconds */
	"buffer" : 600		/* how long to buffer readings for the local interface, in seconds */
},
 
"meters" : [
				{
					"enabled" : true,	/* disabled meters will be ignored */
					"protocol" : "sml",	/* see 'vzlogger -h' for list of available protocols */
					"host" : "141.45.202.60:7331",
					"channels": [{
						"uuid" : "9d36e600-529c-11e3-8676-1d5fb23c4db0",
						"middleware" : "http://141.45.202.60/middleware.php",
						"identifier" : "power" /* an OBIS alias, see 'vzlogger -h' for list of available aliases */
				}, 
				{
						"uuid" : "5248ccc0-5226-11e3-b19d-db6ca49f8dcb",
						"middleware" : "http://141.45.202.60/middleware.php",
						"identifier" : "power" /* an OBIS alias, see 'vzlogger -h' for list of available aliases */
				}
		]
	}
]}

Viele Grüße

Julian

Am 21.11.2013 um 19:06 schrieb Andreas Götz <cpuidle at gmail.com>:

> Vmtl Config vom Logger falsch -> auf der Liste mit Deiner Conf nachfragen. 
> 
> Viele Grüße,
> Andreas
> 
> Am 21.11.2013 um 18:57 schrieb Julian Vollmer <julianvollmer at gmail.com>:
> 
>> Hallo,
>> 
>> Am 21.11.2013 um 15:53 schrieb Andreas Goetz <cpuidle at gmail.com>:
>> 
>>> Hallo Julian,
>>> 
>>> Du wirst Dir erstmal die Mühe machen müssen meine Frage zu beantworten... wenns nicht am Frontend/MW liegt kann ich Dir ohnehin nicht helfen...
>>> 
>>> vg
>>> Andreas
>>> 
>>>> 
>>>>> Hast Du verifiziert ob überhaupt Daten in der DB sind?
>> Ja, dort sind keine
>>>>> Kanäle angelegt?
>> Ja habe ich.
>>>>> vzlogger eingerichtet?
>> UUID habe ich eingetragen. Der vzlogger startet m.E. nach auch. 
>> 
>> Danke
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20131121/867a7650/attachment-0001.html>


More information about the volkszaehler-users mailing list