[vz-users] volkszaehler-users Digest, Vol 14, Issue 3
Denny Rohland
rohland.denny at t-online.de
Sun Sep 9 12:30:17 CEST 2012
Am Samstag, den 08.09.2012, 21:18 +0200 schrieb
volkszaehler-users-request at lists.volkszaehler.org:
> Send volkszaehler-users mailing list submissions to
> volkszaehler-users at lists.volkszaehler.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://volkszaehler.org/mailman/listinfo/volkszaehler-users
> or, via email, send a message with subject or body 'help' to
> volkszaehler-users-request at lists.volkszaehler.org
>
> You can reach the person managing the list at
> volkszaehler-users-owner at lists.volkszaehler.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of volkszaehler-users digest..."
>
>
> Today's Topics:
>
> 1. Watchasync / Timestamp (W3ll Schmidt)
> 2. Fwd: vzlogger Easymeter Q3C (NetFritz)
> 3. ubuntu 12.04 / libsml-dev (Eugen Sartoris)
> 4. Re: c-kermit (re bi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 8 Sep 2012 13:27:12 +0200
> From: W3ll Schmidt <w3llschmidt at googlemail.com>
> To: "volkszaehler.org - users"
> <volkszaehler-users at lists.volkszaehler.org>
> Subject: [vz-users] Watchasync / Timestamp
> Message-ID:
> <CAKOLWjTpnQ4g594tFYKMGd5SQwMutmBhNyUecpaxv9r3QpkTkg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hallo Liste :-D
>
> mal na Frage zum Timestamp ...
>
> Ethersex liefert den TS nur 10stellig, die Middleware zeigt dann aber
> nichts an :-(
>
> | 53025 | 5 | 1347100390000 | 25.4 |
> | 53026 | 6 | 1347100392000 | 25.9 |
> | 53027 | 7 | 1347100394000 | 23.8 |
> | 53028 | 5 | 1347100454000 | 25.4 |
> | 53029 | 6 | 1347100456000 | 26 |
> | 53030 | 7 | 1347100458000 | 23.8 |
> | 53031 | 5 | 1347100518000 | 25.4 |
> | 53032 | 6 | 1347100520000 | 26 |
> | 53033 | 7 | 1347100522000 | 23.8 |
> | 53034 | 8 | 1347102462 | 1 |
> | 53035 | 8 | 1347102521 | 1 |
> | 53036 | 8 | 1347102581 | 1 |
> | 53037 | 8 | 1347102641 | 1 |
> | 53038 | 8 | 1347102701 | 1 |
> | 53039 | 8 | 1347102761 | 1 |
> | 53040 | 8 | 1347102821 | 1 |
> | 53041 | 8 | 1347102881 | 1 |
> | 53042 | 8 | 1347102941 | 1 |
> | 53043 | 8 | 1347103001 | 1 |
> | 53044 | 8 | 1347103061 | 1 |
> | 53045 | 8 | 1347103121 | 1 |
> +-------+------------+---------------+-------+
> 9580 rows in set (0.02 sec)
>
> F?r die 1820iger habe ich das so gel?sst (5,6,7) ->
>
> httplog("94b376b0-e9f5-11e1-a720-017e18dcf107.json?ts=%lu000&value=%s",
> clock_get_time()clock_get_time(), temp3_str);
>
> Funzt sauber!
>
> Aber Watchasync (8) gibt 10stellig aus, was ich nicht ?ndern kann :-/
>
> Ich w?rde clock_get_time() gerne generell 13stellig ausgeben oder die
> Middleware so umstricken das die auch 10stellig
> anzeigt ...
>
> Any ideas?!
>
> Sch?nes WE!
> Henrik W3llschmidt~
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 08 Sep 2012 14:03:14 +0200
> From: NetFritz <NetFritz at gmx.de>
> To: volkszaehler-users at lists.volkszaehler.org
> Subject: [vz-users] Fwd: vzlogger Easymeter Q3C
> Message-ID: <504B3402.7000802 at gmx.de>
> Content-Type: text/plain; charset=ISO-8859-15; format=flowed
>
>
> Hallo
> Ich lese meinen Eon-Avacon Z?hler schon mehre wochen mit dem vzlogger aus.
> Der Z?hler ist ein EMH ED300L, in der vzlogger.conf ist als Protokoll
> SML eingestellt.
>
> Nun m?chte ich meinen eigenen Z?hler auslesen.
> Es ist ein Easymeter Q3C.
> Der Q3C hat 2 D0 Schittstellen .
> Vorne die Bidirektionale Info-Schnittstelle.
>
> Oben drauf eine Bidirektionale Datenschnittstelle (D0) , MSB-DSS,
> SML-Protokoll.
> Ich benutze die Schnittstelle oben drauf.
> Ich habe von Udo einen Auslesekopf mit Adapterplatte.
>
> In der Linux-Konsole kann ich mit "od -x /dev/usbserial-AHVPKI8A" den
> Z?hler auslesen.
> Mit den vzlogger aber nicht.
> Hier mal meine vzlogger.conf.
>
> /**
> * 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": true, /* run periodically */
> //"foreground" : true, /* dont run in background (prevents
> forking) */
> "verbosity" : 15, /* 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, /* 7888 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" : 5 /* how long to buffer readings for the
> local interface, in seconds */
> },
> /* Eon-Avacon EMH ED300L Z?hler Schnittstelle ewtl. mit stty -F
> /dev/usbserial-FTGC6F43 9600 einstellen */
> "meters" : [{
> "protocol" : "sml", /* see 'vzlogger -h' for list of
> available protocols */
> "device" : "/dev/usbserial-FTGC6F43",
> "channels": [{
> "uuid" : "a8da012a-9eb4-49ed-b7f3-38c95142a90d",
> "middleware" : "http://localhost/leistung.php",
> "identifier" : "1-0:15.7.0", /* Leistung */
> },{
> "uuid" : "a8da012a-9eb4-49ed-b7f3-38c95142a90c",
> "middleware" : "http://localhost/bezug.php",
> "identifier" : "1-0:1.8.0", /* Wirk- Energie Total
> Bezug */
> },{
>
> "uuid" : "fde8f1d0-c5d0-11e0-856e-f9e4360ced10",
> "middleware" : "http://localhost/abgabe.php",
> "identifier" : "1-0:2.8.0" /* Wirk- Energie
> Total Lieferung*/
> }]
>
> /* Easymeter Q3C Zaehler */
> },{
> "protocol" : "sml",
> "device" : "/dev/usbserial-AHVPKI8A",
> "channels" :[{
> "uuid" : "a8da012a-9eb4-49ed-b7f3-38c95142a90e",
> "middleware" : "http://localhost/bezug_eigen.php",
> "identifier" : "1-0:1.8.1", /* Aktueller Z?hlerstand
> T1 + Bezug */
> }, {
> "uuid" : "a8da012a-9eb4-49ed-b7f3-38c95142a90f",
> "middleware" : "http://localhost/abgabe_eigen.php",
> "identifier" : "1-0:2.8.5", /* Aktueller Z?hlerstand T5 - Abgabe */
> }]
> }
> ]}
>
> wenn ich den vzlogger mit dieser conf starte bekomme ich folgende log
> [mtr1] will nicht.
> --------------------------------------------------------------------------------------------------------------
> [Sep 08 13:36:57] Opened logfile /var/log/vzlogger.log
> [Sep 08 13:36:57][mtr0] Meter connection established
> [Sep 08 13:36:57][mtr0] Meter thread started
> [Sep 08 13:36:57][ch0] Logging thread started
> [Sep 08 13:36:57][ch1] Logging thread started
> [Sep 08 13:36:57][ch2] Logging thread started
> [Sep 08 13:36:57][mtr1] Meter connection established
> [Sep 08 13:36:57][mtr1] Meter thread started
> [Sep 08 13:36:57][ch3] Logging thread started
> [Sep 08 13:36:57][ch4] Logging thread started
> [Sep 08 13:36:57][http] Starting local interface HTTPd on port 8080
> [Sep 08 13:36:59][mtr0] Got 1 new readings from meter:
> [Sep 08 13:36:59][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:36:59][mtr0] Updating interval to 2
> [Sep 08 13:36:59][ch0] Buffer dump (size=0 keep=2): {}
> [Sep 08 13:36:59][ch1] Buffer dump (size=0 keep=2): {}
> [Sep 08 13:36:59][ch2] Buffer dump (size=0 keep=2): {}
> [Sep 08 13:37:01][mtr1] Got 1 new readings from meter:
> [Sep 08 13:37:01][mtr1] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:01][mtr1] Updating interval to 4
> [Sep 08 13:37:01][ch3] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:01][ch4] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:02][mtr0] Got 10 new readings from meter:
> [Sep 08 13:37:02][mtr0] Reading: id=129-129:199.130.3*255 value=0.00
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=1-0:0.0.9*255 value=0.00
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=1-0:1.8.0*255 value=406441.30
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=1-0:2.8.0*255 value=733621.40
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=1-0:1.8.1*255 value=406441.30
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=1-0:2.8.1*255 value=733621.40
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=1-0:1.8.2*255 value=0.00
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=1-0:15.7.0*255 value=2546.10
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=129-129:199.130.5*255 value=0.00
> ts=1347104222.470
> [Sep 08 13:37:02][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:02][mtr0] Updating interval to 3
> [Sep 08 13:37:02][ch0] Adding reading to queue (value=733621.40
> ts=1347104222.470)
> [Sep 08 13:37:02][ch0] JSON request body: [ [ 1347104222470.138916,
> 733621.400000 ] ]
> [Sep 08 13:37:02][ch0] Buffer dump (size=1 keep=1): {733621.40!}
> [Sep 08 13:37:02][ch1] Adding reading to queue (value=406441.30
> ts=1347104222.470)
> [Sep 08 13:37:02][ch1] JSON request body: [ [ 1347104222470.135986,
> 406441.300000 ] ]
> [Sep 08 13:37:02][ch1] Buffer dump (size=1 keep=1): {406441.30!}
> [Sep 08 13:37:02][ch2] Adding reading to queue (value=2546.10
> ts=1347104222.470)
> [Sep 08 13:37:02][ch2] JSON request body: [ [ 1347104222470.148926,
> 2546.100000 ] ]
> [Sep 08 13:37:02][ch2] Buffer dump (size=1 keep=1): {2546.10!}
> [Sep 08 13:37:03][ch1] CURL: About to connect() to localhost port 80 (#0)
> [Sep 08 13:37:03][ch1] CURL: Trying 127.0.0.1...
> [Sep 08 13:37:03][ch1] CURL: connected
> [Sep 08 13:37:03][ch1] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:03][ch1] CURL: Sent 43 bytes..
> [Sep 08 13:37:03][ch2] CURL: About to connect() to localhost port 80 (#0)
> [Sep 08 13:37:03][ch2] CURL: Trying 127.0.0.1...
> [Sep 08 13:37:03][ch2] CURL: connected
> [Sep 08 13:37:03][ch2] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:03][ch2] CURL: Sent 41 bytes..
> [Sep 08 13:37:03][ch0] CURL: About to connect() to localhost port 80 (#0)
> [Sep 08 13:37:03][ch0] CURL: Trying 127.0.0.1...
> [Sep 08 13:37:03][ch0] CURL: connected
> [Sep 08 13:37:03][ch0] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:03][ch0] CURL: Sent 43 bytes..
> [Sep 08 13:37:03][ch1] CURL: Received 5 bytes
> [Sep 08 13:37:03][ch1] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:03][ch1] Request succeeded with code: 200
> [Sep 08 13:37:03][ch2] CURL: Received 5 bytes
> [Sep 08 13:37:03][ch2] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:03][ch2] Request succeeded with code: 200
> [Sep 08 13:37:04][ch0] CURL: Received 5 bytes
> [Sep 08 13:37:04][ch0] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:04][ch0] Request succeeded with code: 200
> [Sep 08 13:37:05][mtr1] Got 1 new readings from meter:
> [Sep 08 13:37:05][mtr1] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:05][ch3] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:05][ch4] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:05][mtr0] Got 10 new readings from meter:
> [Sep 08 13:37:05][mtr0] Reading: id=129-129:199.130.3*255 value=0.00
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=1-0:0.0.9*255 value=0.00
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=1-0:1.8.0*255 value=406441.30
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=1-0:2.8.0*255 value=733623.60
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=1-0:1.8.1*255 value=406441.30
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=1-0:2.8.1*255 value=733623.60
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=1-0:1.8.2*255 value=0.00
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=1-0:15.7.0*255 value=2614.80
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=129-129:199.130.5*255 value=0.00
> ts=1347104225.474
> [Sep 08 13:37:05][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:05][ch0] Adding reading to queue (value=733623.60
> ts=1347104225.474)
> [Sep 08 13:37:05][ch0] JSON request body: [ [ 1347104225474.124023,
> 733623.600000 ] ]
> [Sep 08 13:37:05][ch0] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:05][ch0] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:05][ch0] CURL: Sent 43 bytes..
> [Sep 08 13:37:05][ch0] Buffer dump (size=1 keep=1): {733623.60!}
> [Sep 08 13:37:05][ch1] Adding reading to queue (value=406441.30
> ts=1347104225.474)
> [Sep 08 13:37:05][ch1] JSON request body: [ [ 1347104225474.122070,
> 406441.300000 ] ]
> [Sep 08 13:37:05][ch1] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:05][ch1] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:05][ch1] CURL: Sent 43 bytes..
> [Sep 08 13:37:05][ch1] Buffer dump (size=1 keep=1): {406441.30!}
> [Sep 08 13:37:05][ch2] Adding reading to queue (value=2614.80
> ts=1347104225.474)
> [Sep 08 13:37:05][ch2] JSON request body: [ [ 1347104225474.134033,
> 2614.800000 ] ]
> [Sep 08 13:37:05][ch2] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:05][ch2] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:05][ch2] CURL: Sent 41 bytes..
> [Sep 08 13:37:05][ch2] Buffer dump (size=1 keep=1): {2614.80!}
> [Sep 08 13:37:06][ch0] CURL: Received 5 bytes
> [Sep 08 13:37:06][ch0] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:06][ch0] Request succeeded with code: 200
> [Sep 08 13:37:06][ch1] CURL: Received 5 bytes
> [Sep 08 13:37:06][ch1] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:06][ch1] Request succeeded with code: 200
> [Sep 08 13:37:06][ch2] CURL: Received 5 bytes
> [Sep 08 13:37:06][ch2] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:06][ch2] Request succeeded with code: 200
> [Sep 08 13:37:08][mtr0] Got 10 new readings from meter:
> [Sep 08 13:37:08][mtr0] Reading: id=129-129:199.130.3*255 value=0.00
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=1-0:0.0.9*255 value=0.00
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=1-0:1.8.0*255 value=406441.30
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=1-0:2.8.0*255 value=733625.80
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=1-0:1.8.1*255 value=406441.30
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=1-0:2.8.1*255 value=733625.80
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=1-0:1.8.2*255 value=0.00
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=1-0:15.7.0*255 value=2643.00
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=129-129:199.130.5*255 value=0.00
> ts=1347104228.446
> [Sep 08 13:37:08][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:08][ch0] Adding reading to queue (value=733625.80
> ts=1347104228.446)
> [Sep 08 13:37:08][ch0] JSON request body: [ [ 1347104228446.161133,
> 733625.800000 ] ]
> [Sep 08 13:37:08][ch0] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:08][ch0] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:08][ch0] CURL: Sent 43 bytes..
> [Sep 08 13:37:08][ch0] Buffer dump (size=1 keep=1): {733625.80!}
> [Sep 08 13:37:08][ch1] Adding reading to queue (value=406441.30
> ts=1347104228.446)
> [Sep 08 13:37:08][ch1] JSON request body: [ [ 1347104228446.157959,
> 406441.300000 ] ]
> [Sep 08 13:37:08][ch1] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:08][ch1] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:08][ch1] CURL: Sent 43 bytes..
> [Sep 08 13:37:08][ch1] Buffer dump (size=1 keep=1): {406441.30!}
> [Sep 08 13:37:08][ch2] Adding reading to queue (value=2643.00
> ts=1347104228.446)
> [Sep 08 13:37:08][ch2] JSON request body: [ [ 1347104228446.171143,
> 2643.000000 ] ]
> [Sep 08 13:37:08][ch2] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:08][ch2] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:08][ch2] CURL: Sent 41 bytes..
> [Sep 08 13:37:08][ch2] Buffer dump (size=1 keep=1): {2643.00!}
> [Sep 08 13:37:09][ch1] CURL: Received 5 bytes
> [Sep 08 13:37:09][ch1] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:09][ch1] Request succeeded with code: 200
> [Sep 08 13:37:09][mtr1] Got 1 new readings from meter:
> [Sep 08 13:37:09][mtr1] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:09][ch3] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:09][ch4] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:09][ch0] CURL: Received 5 bytes
> [Sep 08 13:37:09][ch0] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:09][ch0] Request succeeded with code: 200
> [Sep 08 13:37:09][ch2] CURL: Received 5 bytes
> [Sep 08 13:37:09][ch2] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:09][ch2] Request succeeded with code: 200
> [Sep 08 13:37:11][mtr0] Got 10 new readings from meter:
> [Sep 08 13:37:11][mtr0] Reading: id=129-129:199.130.3*255 value=0.00
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=1-0:0.0.9*255 value=0.00
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=1-0:1.8.0*255 value=406441.30
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=1-0:2.8.0*255 value=733628.00
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=1-0:1.8.1*255 value=406441.30
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=1-0:2.8.1*255 value=733628.00
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=1-0:1.8.2*255 value=0.00
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=1-0:15.7.0*255 value=2598.40
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=129-129:199.130.5*255 value=0.00
> ts=1347104231.450
> [Sep 08 13:37:11][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:11][ch0] Adding reading to queue (value=733628.00
> ts=1347104231.450)
> [Sep 08 13:37:11][ch0] JSON request body: [ [ 1347104231450.118164,
> 733628.000000 ] ]
> [Sep 08 13:37:11][ch0] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:11][ch0] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:11][ch0] CURL: Sent 43 bytes..
> [Sep 08 13:37:11][ch0] Buffer dump (size=1 keep=1): {733628.00!}
> [Sep 08 13:37:11][ch1] Adding reading to queue (value=406441.30
> ts=1347104231.450)
> [Sep 08 13:37:11][ch1] JSON request body: [ [ 1347104231450.115967,
> 406441.300000 ] ]
> [Sep 08 13:37:11][ch1] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:11][ch1] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:11][ch1] CURL: Sent 43 bytes..
> [Sep 08 13:37:11][ch1] Buffer dump (size=1 keep=1): {406441.30!}
> [Sep 08 13:37:11][ch2] Adding reading to queue (value=2598.40
> ts=1347104231.450)
> [Sep 08 13:37:11][ch2] JSON request body: [ [ 1347104231450.128174,
> 2598.400000 ] ]
> [Sep 08 13:37:11][ch2] CURL: Re-using existing connection! (#0) with
> host localhost
> [Sep 08 13:37:11][ch2] CURL: Connected to localhost (127.0.0.1) port 80
> (#0)
> [Sep 08 13:37:11][ch2] CURL: Sent 41 bytes..
> [Sep 08 13:37:11][ch2] Buffer dump (size=1 keep=1): {2598.40!}
> [Sep 08 13:37:12][ch0] CURL: Received 5 bytes
> [Sep 08 13:37:12][ch0] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:12][ch0] Request succeeded with code: 200
> [Sep 08 13:37:12][ch2] CURL: Received 5 bytes
> [Sep 08 13:37:12][ch2] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:12][ch2] Request succeeded with code: 200
> [Sep 08 13:37:12][ch1] CURL: Received 5 bytes
> [Sep 08 13:37:12][ch1] CURL: Connection #0 to host localhost left intact
> [Sep 08 13:37:12][ch1] Request succeeded with code: 200
> [Sep 08 13:37:13][mtr1] Got 1 new readings from meter:
> [Sep 08 13:37:13][mtr1] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> [Sep 08 13:37:13][ch3] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:13][ch4] Buffer dump (size=0 keep=1): {}
> [Sep 08 13:37:14][mtr0] Got 10 new readings from meter:
> [Sep 08 13:37:14][mtr0] Reading: id=129-129:199.130.3*255 value=0.00
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=1-0:0.0.9*255 value=0.00
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=1-0:1.8.0*255 value=406441.30
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=1-0:2.8.0*255 value=733629.90
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=1-0:1.8.1*255 value=406441.30
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=1-0:2.8.1*255 value=733629.90
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=1-0:1.8.2*255 value=0.00
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=1-0:15.7.0*255 value=2198.10
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=129-129:199.130.5*255 value=0.00
> ts=1347104234.470
> [Sep 08 13:37:14][mtr0] Reading: id=0-0:0.0.0*0 value=0.00 ts=0.000
> ------------------------------------------------------------------------------------------------------------------------------------------
> Was mache ich falsch?
> Wie kann ich das beheben?
> Gru? NetFritz
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 8 Sep 2012 18:06:17 +0200 (CEST)
> From: Eugen Sartoris <eugen at sartoris.de>
> To: "volkszaehler.org - users"
> <volkszaehler-users at lists.volkszaehler.org>
> Subject: [vz-users] ubuntu 12.04 / libsml-dev
> Message-ID:
> <1403847654.166105.1347120377339.JavaMail.open-xchange at com4.strato.de>
> Content-Type: text/plain; charset="utf-8"
>
> Hallo,
>
>
> ich versuche gearde mein System aufzubauen mit 3 IR Lesek?pfen.
> Hardware ist am Platz, Frontend l?uft.
>
> vzlogger
> Leider bekomme ich f?r Ubunut 12.04 keine libsml-dev ( ist nicht im repositry.
> Unter git hub habe ich ein libsml projekt gefunden.
> Nach einem make habe ich:
> -rw-r--r-- 1 root root 302858 Sep 8 17:39 libsml.a
> -rw-r--r-- 1 root root 228210 Sep 8 17:39 libsml.o
> -rwxr-xr-x 1 root root 144909 Sep 8 17:39 libsml.so.1
>
> Hat jeman eine Idee vo ichdie libsm-dev f?r Ubuntu 12.04 bekomme
> Oder gibt es eine Alternative (ev libsml)
Hallo Eugen,
mir geht es ähnlich.
Selbst bei dem Versuch die Rep. in Ubuntu aufzunehmen habe ich nach 6
Versuchen den Schlüssel zu importieren aufgehört.
Bin im Moment auf mein Debian umgestiegen.
Gruß
Denny
>
> Gruss
>
> Eugen
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://volkszaehler.org/pipermail/volkszaehler-users/attachments/20120908/52f1c85c/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 08 Sep 2012 21:18:44 +0200
> From: "re bi" <rb_volkszaehler at gmx.de>
> To: volkszaehler-users at lists.volkszaehler.org
> Subject: Re: [vz-users] c-kermit
> Message-ID: <20120908191844.61530 at gmx.net>
> Content-Type: text/plain; charset="utf-8"
>
> Hallo Rainer,
>
> also a) kann ich ausschliessen, da ich es derzeit noch manuell ausfuehre und zuerst nachsehe, ob das Device da ist und ich ja auch schon einen cat Command aufgerufen habe, welches mir zwar Daten liefert, aber leider nicht richtig.
>
> Bei b) bin ich mir schon nicht mehr so sicher. Ich habe eine auf meinem Netbook Ubuntu laufen, welches ich verwende fuer meine Tests (Spaeter soll es ein Raspberry Board sein, vielleicht klappt es ja dort besser).
> Aber dennoch sollte es erst mal verstaendlich auf dem Netbook laufen.
> Habe keine neuen Daemons installiert. Keinen Faxempfaenger.
>
> Laeuft das ganze bei dir als root?
> Muss das Device bereits geoeffnet sein, um es mit stty zu aendern?
>
> Siehst du vielleicht einen Fehler in dem von mir geschriebenen Script
> =====================================================================
> #!/bin/bash
> # lie?t genau einen Satz des Protokolls des EMH EHz
> # mu? mit 1B1B1B1B... beginnen, sonst einfach nochmal starten
> #set -x
>
> DEV_DEVICE=ttyUSB1
> LOG="./cat_$DEV_DEVICE.hex.log"
>
> STARTSEQUENZ="1B1B1B1B0101010176"
> STRING_STARTSEQUENZ=""
>
> while [ "$STRING_STARTSEQUENZ" != "$STARTSEQUENZ" ]
> do
> DATE=$(date '+%Y.%m.%d_%H:%M')
> TIMESTAMP=$(date +%s)
>
> #exec </dev/$DEV_DEVICE
> stty raw cs7 parenb -parodd -cstopb </dev/$DEV_DEVICE
> cat /dev/$DEV_DEVICE | xxd -p -u -l 360 | tee $LOG
> STRING=$(cat $LOG)
> #echo STRING=$STRING
>
> STRING_STARTSEQUENZ=$(echo "${STRING:0:18}")
> #echo STRING_STARTSEQUENZ=$STRING_STARTSEQUENZ
> if [ $STRING_STARTSEQUENZ != $STARTSEQUENZ ];
> then
> echo "falsche Startsequenz. Wiederholen !"
> #exit 1
> fi
> done
>
> # Bezogener Strom 1.8.0 (gekauft)
> WERT1_HEX=$(echo "${STRING:390:10}")
> echo WERT1_HEX=$WERT1_HEX
> WERT1_DEC=$(echo $((0x$WERT1_HEX)))
> echo WERT1_DEC=$WERT1_DEC
>
>
> # Eingespeister Strom 2.8.0 (verkauft)
> WERT2_HEX=$(echo "${STRING:347:10}")
> echo WERT2_HEX=$WERT2_HEX
> WERT2_DEC=$(echo $((0x$WERT2_HEX)))
> echo WERT2_DEC=$WERT2_DEC
>
> echo "$DATE $TIMESTAMP $WERT1_DEC $WERT2_DEC" >> ttyUSB1.log
> ==================================================
>
> Gruss
> Reiner
>
>
> ------------------------------
>
> _______________________________________________
> volkszaehler-users mailing list
> volkszaehler-users at lists.volkszaehler.org
> https://volkszaehler.org/mailman/listinfo/volkszaehler-users
>
>
> End of volkszaehler-users Digest, Vol 14, Issue 3
> *************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://volkszaehler.org/pipermail/volkszaehler-users/attachments/20120909/900d9b79/attachment-0001.html>
More information about the volkszaehler-users
mailing list