[vz-users] Probleme mit der Middleware anbindung an die Datenbank / Problem Middleware to DB

Tobias Baumann 017623705678 at o2online.de
Do Jun 17 23:00:16 CEST 2021


folgende Werte sind in der DB

Bezug -1,58KW 5,34KW 437W 100Wh

Leistung 0W 3,88W 1,39W 0,318Wh

Lieferung 0W 0W 0W 0W


folgende Werte sendet der Zähler

Bezug
[Jun 17 22:17:46][mtr0] Reading: 
id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=31755.90 
ts=1623961066194
Lieferung
[Jun 17 22:17:46][mtr0] Reading: 
id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=451.30 ts=1623961066194
Leistung
[Jun 17 22:17:46][mtr0] Reading: 
id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=0.00 ts=1623961066194



Am 17.06.2021 um 22:45 schrieb Tobias Baumann:
> heute die box komplett neu aufgesetzt
>
> nach dem einrichten immer noch das gleiche problem , heute eine 
> Neuerung die Middleware hat was in die DB geschrieben aber nur falsche 
> werte die nicht zu den Zählerwerten passen
>
>
> áuszug aus der vzlogger.log
>
>
> [Jun 17 22:31:38][chn1] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:38][chn1] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:38][chn1] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:38][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:38][chn1] CURL: Sent 41 bytes: '[ [ 1623961898177, 
> 451.30000000000001 ] ]'
> [Jun 17 22:31:38][chn1] CURL: upload completely sent off: 41 out of 41 
> bytes
> [Jun 17 22:31:38][chn1] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:38][chn1] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:38][chn2] JSON request body: [ [ 1623961898177, 0 ] ]
> [Jun 17 22:31:38][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:38][chn2] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:38][chn2] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:38][chn2] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:38][chn2] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:38][chn2] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:38][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:38][chn2] CURL: Sent 24 bytes: '[ [ 1623961898177, 0 ] ]'
> [Jun 17 22:31:38][chn2] CURL: upload completely sent off: 24 out of 24 
> bytes
> [Jun 17 22:31:38][chn1] CURL Request succeeded with code: 200
> [Jun 17 22:31:38][chn1] emptied all (1) values
> [Jun 17 22:31:38][chn2] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:38][chn2] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:38][chn2] CURL Request succeeded with code: 200
> [Jun 17 22:31:38][chn2] emptied all (1) values
> [Jun 17 22:31:39][mtr0] Got 3 new readings from meter:
> [Jun 17 22:31:39][mtr0] Reading: 
> id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=31756.00 
> ts=1623961899193
> [Jun 17 22:31:39][mtr0] Reading: 
> id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=451.30 
> ts=1623961899193
> [Jun 17 22:31:39][mtr0] Reading: 
> id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=0.00 
> ts=1623961899193
> [Jun 17 22:31:39][chn0] Adding reading to queue (value=31756.00 
> ts=1623961899193)
> [Jun 17 22:31:39][chn1] Adding reading to queue (value=451.30 
> ts=1623961899193)
> [Jun 17 22:31:39][chn2] Adding reading to queue (value=0.00 
> ts=1623961899193)
> [Jun 17 22:31:39][chn0] ==> number of tuples: 1
> [Jun 17 22:31:39][chn0] compare: 1623961898177 1623961899193
> [Jun 17 22:31:39][chn0] copied 1/1 values for middleware transmission
> [Jun 17 22:31:39][chn0] JSON request body: [ [ 1623961899193, 31756 ] ]
> [Jun 17 22:31:39][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:39][chn1] ==> number of tuples: 1
> [Jun 17 22:31:39][chn0] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:39][chn1] compare: 1623961898177 1623961899193
> [Jun 17 22:31:39][chn1] copied 1/1 values for middleware transmission
> [Jun 17 22:31:39][AVG]  [0] 0.000000 @ 1623961899193
> [Jun 17 22:31:39][AVG]  [1] RESULT 0.000000 @ 1623961899193
> [Jun 17 22:31:39][chn0] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:39][chn0] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:39][chn2] ==> number of tuples: 1
> [Jun 17 22:31:39][chn0] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:39][chn2] compare: 1623961898177 1623961899193
> [Jun 17 22:31:39][chn0] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:39][chn2] copied 1/1 values for middleware transmission
> [Jun 17 22:31:39][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:39][chn0] CURL: Sent 28 bytes: '[ [ 1623961899193, 31756 
> ] ]'
> [Jun 17 22:31:39][chn0] CURL: upload completely sent off: 28 out of 28 
> bytes
> [Jun 17 22:31:39][chn0] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:39][chn0] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:39][chn0] CURL Request succeeded with code: 200
> [Jun 17 22:31:39][chn1] JSON request body: [ [ 1623961899193, 
> 451.30000000000001 ] ]
> [Jun 17 22:31:39][chn0] emptied all (1) values
> [Jun 17 22:31:39][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:39][chn1] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:39][chn1] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:39][chn1] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:39][chn1] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:39][chn1] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:39][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:39][chn1] CURL: Sent 41 bytes: '[ [ 1623961899193, 
> 451.30000000000001 ] ]'
> [Jun 17 22:31:39][chn1] CURL: upload completely sent off: 41 out of 41 
> bytes
> [Jun 17 22:31:39][chn1] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:39][chn1] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:39][chn1] CURL Request succeeded with code: 200
> [Jun 17 22:31:39][chn1] emptied all (1) values
> [Jun 17 22:31:39][chn2] JSON request body: [ [ 1623961899193, 0 ] ]
> [Jun 17 22:31:39][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:39][chn2] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:39][chn2] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:39][chn2] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:39][chn2] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:39][chn2] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:39][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:39][chn2] CURL: Sent 24 bytes: '[ [ 1623961899193, 0 ] ]'
> [Jun 17 22:31:39][chn2] CURL: upload completely sent off: 24 out of 24 
> bytes
> [Jun 17 22:31:39][chn2] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:39][chn2] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:39][chn2] CURL Request succeeded with code: 200
> [Jun 17 22:31:39][chn2] emptied all (1) values
> [Jun 17 22:31:40][mtr0] Got 3 new readings from meter:
> [Jun 17 22:31:40][mtr0] Reading: 
> id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=31756.00 
> ts=1623961900158
> [Jun 17 22:31:40][mtr0] Reading: 
> id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=451.30 
> ts=1623961900158
> [Jun 17 22:31:40][mtr0] Reading: 
> id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=0.00 
> ts=1623961900158
> [Jun 17 22:31:40][chn0] Adding reading to queue (value=31756.00 
> ts=1623961900158)
> [Jun 17 22:31:40][chn1] Adding reading to queue (value=451.30 
> ts=1623961900158)
> [Jun 17 22:31:40][chn2] Adding reading to queue (value=0.00 
> ts=1623961900158)
> [Jun 17 22:31:40][AVG]  [0] 0.000000 @ 1623961900158
> [Jun 17 22:31:40][chn0] ==> number of tuples: 1
> [Jun 17 22:31:40][chn1] ==> number of tuples: 1
> [Jun 17 22:31:40][chn0] compare: 1623961899193 1623961900158
> [Jun 17 22:31:40][AVG]  [1] RESULT 0.000000 @ 1623961900158
> [Jun 17 22:31:40][chn1] compare: 1623961899193 1623961900158
> [Jun 17 22:31:40][chn0] copied 1/1 values for middleware transmission
> [Jun 17 22:31:40][chn2] ==> number of tuples: 1
> [Jun 17 22:31:40][chn1] copied 1/1 values for middleware transmission
> [Jun 17 22:31:40][chn0] JSON request body: [ [ 1623961900158, 31756 ] ]
> [Jun 17 22:31:40][chn2] compare: 1623961899193 1623961900158
> [Jun 17 22:31:40][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:40][chn2] copied 1/1 values for middleware transmission
> [Jun 17 22:31:40][chn0] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:40][chn0] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:40][chn0] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:40][chn0] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:40][chn0] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:40][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:40][chn0] CURL: Sent 28 bytes: '[ [ 1623961900158, 31756 
> ] ]'
> [Jun 17 22:31:40][chn0] CURL: upload completely sent off: 28 out of 28 
> bytes
> [Jun 17 22:31:40][chn0] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:40][chn0] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:40][chn0] CURL Request succeeded with code: 200
> [Jun 17 22:31:40][chn0] emptied all (1) values
> [Jun 17 22:31:40][chn1] JSON request body: [ [ 1623961900158, 
> 451.30000000000001 ] ]
> [Jun 17 22:31:40][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:40][chn1] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:40][chn1] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:40][chn1] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:40][chn1] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:40][chn1] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:40][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:40][chn1] CURL: Sent 41 bytes: '[ [ 1623961900158, 
> 451.30000000000001 ] ]'
> [Jun 17 22:31:40][chn1] CURL: upload completely sent off: 41 out of 41 
> bytes
> [Jun 17 22:31:40][chn1] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:40][chn1] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:40][chn1] CURL Request succeeded with code: 200
> [Jun 17 22:31:40][chn2] JSON request body: [ [ 1623961900158, 0 ] ]
> [Jun 17 22:31:40][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:40][chn2] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:40][chn2] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:40][chn2] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:40][chn2] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:40][chn2] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:40][chn1] emptied all (1) values
> [Jun 17 22:31:40][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:40][chn2] CURL: Sent 24 bytes: '[ [ 1623961900158, 0 ] ]'
> [Jun 17 22:31:40][chn2] CURL: upload completely sent off: 24 out of 24 
> bytes
> [Jun 17 22:31:40][chn2] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:40][chn2] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:40][chn2] CURL Request succeeded with code: 200
> [Jun 17 22:31:40][chn2] emptied all (1) values
> [Jun 17 22:31:41][mtr0] Got 3 new readings from meter:
> [Jun 17 22:31:41][mtr0] Reading: 
> id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=31756.00 
> ts=1623961901167
> [Jun 17 22:31:41][mtr0] Reading: 
> id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=451.30 
> ts=1623961901167
> [Jun 17 22:31:41][mtr0] Reading: 
> id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=0.00 
> ts=1623961901167
> [Jun 17 22:31:41][chn0] Adding reading to queue (value=31756.00 
> ts=1623961901167)
> [Jun 17 22:31:41][chn1] Adding reading to queue (value=451.30 
> ts=1623961901167)
> [Jun 17 22:31:41][chn2] Adding reading to queue (value=0.00 
> ts=1623961901167)
> [Jun 17 22:31:41][chn0] ==> number of tuples: 1
> [Jun 17 22:31:41][chn1] ==> number of tuples: 1
> [Jun 17 22:31:41][AVG]  [0] 0.000000 @ 1623961901167
> [Jun 17 22:31:41][chn0] compare: 1623961900158 1623961901167
> [Jun 17 22:31:41][chn1] compare: 1623961900158 1623961901167
> [Jun 17 22:31:41][chn0] copied 1/1 values for middleware transmission
> [Jun 17 22:31:41][chn1] copied 1/1 values for middleware transmission
> [Jun 17 22:31:41][chn0] JSON request body: [ [ 1623961901167, 31756 ] ]
> [Jun 17 22:31:41][AVG]  [1] RESULT 0.000000 @ 1623961901167
> [Jun 17 22:31:41][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:41][chn0] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:41][chn2] ==> number of tuples: 1
> [Jun 17 22:31:41][chn2] compare: 1623961900158 1623961901167
> [Jun 17 22:31:41][chn0] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:41][chn2] copied 1/1 values for middleware transmission
> [Jun 17 22:31:41][chn0] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:41][chn0] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:41][chn0] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:41][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:41][chn0] CURL: Sent 28 bytes: '[ [ 1623961901167, 31756 
> ] ]'
> [Jun 17 22:31:41][chn0] CURL: upload completely sent off: 28 out of 28 
> bytes
> [Jun 17 22:31:41][chn0] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:41][chn0] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:41][chn0] CURL Request succeeded with code: 200
> [Jun 17 22:31:41][chn0] emptied all (1) values
> [Jun 17 22:31:41][chn1] JSON request body: [ [ 1623961901167, 
> 451.30000000000001 ] ]
> [Jun 17 22:31:41][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:41][chn1] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:41][chn1] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:41][chn1] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:41][chn1] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:41][chn1] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:41][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:41][chn1] CURL: Sent 41 bytes: '[ [ 1623961901167, 
> 451.30000000000001 ] ]'
> [Jun 17 22:31:41][chn1] CURL: upload completely sent off: 41 out of 41 
> bytes
> [Jun 17 22:31:41][chn1] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:41][chn1] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:41][chn1] CURL Request succeeded with code: 200
> [Jun 17 22:31:41][chn2] JSON request body: [ [ 1623961901167, 0 ] ]
> [Jun 17 22:31:41][chn1] emptied all (1) values
> [Jun 17 22:31:41][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:41][chn2] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:41][chn2] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:41][chn2] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:41][chn2] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:41][chn2] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:41][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:41][chn2] CURL: Sent 24 bytes: '[ [ 1623961901167, 0 ] ]'
> [Jun 17 22:31:41][chn2] CURL: upload completely sent off: 24 out of 24 
> bytes
> [Jun 17 22:31:41][chn2] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:41][chn2] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:41][chn2] CURL Request succeeded with code: 200
> [Jun 17 22:31:41][chn2] emptied all (1) values
> [Jun 17 22:31:42][mtr0] Got 3 new readings from meter:
> [Jun 17 22:31:42][mtr0] Reading: 
> id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=31756.00 
> ts=1623961902187
> [Jun 17 22:31:42][mtr0] Reading: 
> id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=451.30 
> ts=1623961902187
> [Jun 17 22:31:42][mtr0] Reading: 
> id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=0.00 
> ts=1623961902187
> [Jun 17 22:31:42][chn0] Adding reading to queue (value=31756.00 
> ts=1623961902187)
> [Jun 17 22:31:42][chn1] Adding reading to queue (value=451.30 
> ts=1623961902187)
> [Jun 17 22:31:42][chn2] Adding reading to queue (value=0.00 
> ts=1623961902187)
> [Jun 17 22:31:42][AVG]  [0] 0.000000 @ 1623961902187
> [Jun 17 22:31:42][chn1] ==> number of tuples: 1
> [Jun 17 22:31:42][AVG]  [1] RESULT 0.000000 @ 1623961902187
> [Jun 17 22:31:42][chn0] ==> number of tuples: 1
> [Jun 17 22:31:42][chn2] ==> number of tuples: 1
> [Jun 17 22:31:42][chn1] compare: 1623961901167 1623961902187
> [Jun 17 22:31:42][chn0] compare: 1623961901167 1623961902187
> [Jun 17 22:31:42][chn2] compare: 1623961901167 1623961902187
> [Jun 17 22:31:42][chn1] copied 1/1 values for middleware transmission
> [Jun 17 22:31:42][chn0] copied 1/1 values for middleware transmission
> [Jun 17 22:31:42][chn2] copied 1/1 values for middleware transmission
> [Jun 17 22:31:42][chn1] JSON request body: [ [ 1623961902187, 
> 451.30000000000001 ] ]
> [Jun 17 22:31:42][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:42][chn1] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:42][chn1] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:42][chn1] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:42][chn1] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:42][chn1] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:42][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:42][chn1] CURL: Sent 41 bytes: '[ [ 1623961902187, 
> 451.30000000000001 ] ]'
> [Jun 17 22:31:42][chn1] CURL: upload completely sent off: 41 out of 41 
> bytes
> [Jun 17 22:31:42][chn1] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:42][chn1] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:42][chn1] CURL Request succeeded with code: 200
> [Jun 17 22:31:42][chn1] emptied all (1) values
> [Jun 17 22:31:42][chn0] JSON request body: [ [ 1623961902187, 31756 ] ]
> [Jun 17 22:31:42][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:42][chn0] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:42][chn0] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:42][chn0] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:42][chn0] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:42][chn0] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:42][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:42][chn0] CURL: Sent 28 bytes: '[ [ 1623961902187, 31756 
> ] ]'
> [Jun 17 22:31:42][chn0] CURL: upload completely sent off: 28 out of 28 
> bytes
> [Jun 17 22:31:42][chn0] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:42][chn0] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:42][chn0] CURL Request succeeded with code: 200
> [Jun 17 22:31:42][chn2] JSON request body: [ [ 1623961902187, 0 ] ]
> [Jun 17 22:31:42][chn0] emptied all (1) values
> [Jun 17 22:31:42][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:42][chn2] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:42][chn2] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:42][chn2] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:42][chn2] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:42][chn2] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:42][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:42][chn2] CURL: Sent 24 bytes: '[ [ 1623961902187, 0 ] ]'
> [Jun 17 22:31:42][chn2] CURL: upload completely sent off: 24 out of 24 
> bytes
> [Jun 17 22:31:42][chn2] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:42][chn2] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:42][chn2] CURL Request succeeded with code: 200
> [Jun 17 22:31:42][chn2] emptied all (1) values
> [Jun 17 22:31:43][mtr0] Got 3 new readings from meter:
> [Jun 17 22:31:43][mtr0] Reading: 
> id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=31756.00 
> ts=1623961903152
> [Jun 17 22:31:43][mtr0] Reading: 
> id=1-0:2.8.0*255/ObisIdentifier:1-0:2.8.0*255 value=451.30 
> ts=1623961903152
> [Jun 17 22:31:43][mtr0] Reading: 
> id=1-0:16.7.0*255/ObisIdentifier:1-0:16.7.0*255 value=0.00 
> ts=1623961903152
> [Jun 17 22:31:43][chn0] Adding reading to queue (value=31756.00 
> ts=1623961903152)
> [Jun 17 22:31:43][chn1] Adding reading to queue (value=451.30 
> ts=1623961903152)
> [Jun 17 22:31:43][chn2] Adding reading to queue (value=0.00 
> ts=1623961903152)
> [Jun 17 22:31:43][AVG]  [0] 0.000000 @ 1623961903152
> [Jun 17 22:31:43][chn0] ==> number of tuples: 1
> [Jun 17 22:31:43][AVG]  [1] RESULT 0.000000 @ 1623961903152
> [Jun 17 22:31:43][chn0] compare: 1623961902187 1623961903152
> [Jun 17 22:31:43][chn2] ==> number of tuples: 1
> [Jun 17 22:31:43][chn0] copied 1/1 values for middleware transmission
> [Jun 17 22:31:43][chn2] compare: 1623961902187 1623961903152
> [Jun 17 22:31:43][chn2] copied 1/1 values for middleware transmission
> [Jun 17 22:31:43][chn0] JSON request body: [ [ 1623961903152, 31756 ] ]
> [Jun 17 22:31:43][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:43][chn0] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:43][chn0] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:43][chn0] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:43][chn0] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:43][chn0] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:43][chn0] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:43][chn0] CURL: Sent 28 bytes: '[ [ 1623961903152, 31756 
> ] ]'
> [Jun 17 22:31:43][chn0] CURL: upload completely sent off: 28 out of 28 
> bytes
> [Jun 17 22:31:43][chn1] ==> number of tuples: 1
> [Jun 17 22:31:43][chn1] compare: 1623961902187 1623961903152
> [Jun 17 22:31:43][chn1] copied 1/1 values for middleware transmission
> [Jun 17 22:31:43][chn0] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:43][chn0] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:43][chn0] CURL Request succeeded with code: 200
> [Jun 17 22:31:43][chn2] JSON request body: [ [ 1623961903152, 0 ] ]
> [Jun 17 22:31:43][chn0] emptied all (1) values
> [Jun 17 22:31:43][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:43][chn2] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:43][chn2] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:43][chn2] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:43][chn2] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:43][chn2] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:43][chn2] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:43][chn2] CURL: Sent 24 bytes: '[ [ 1623961903152, 0 ] ]'
> [Jun 17 22:31:43][chn2] CURL: upload completely sent off: 24 out of 24 
> bytes
> [Jun 17 22:31:43][chn2] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:43][chn2] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:43][chn2] CURL Request succeeded with code: 200
> [Jun 17 22:31:43][chn1] JSON request body: [ [ 1623961903152, 
> 451.30000000000001 ] ]
> [Jun 17 22:31:43][chn2] emptied all (1) values
> [Jun 17 22:31:43][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:43][chn1] CURL: Expire in 30000 ms for 8 (transfer 
> 0xa3b00c98)
> [Jun 17 22:31:43][chn1] CURL: Found bundle for host localhost: 
> 0xa3e01ab8 [can pipeline]
> [Jun 17 22:31:43][chn1] CURL: Could pipeline, but not asked to!
> [Jun 17 22:31:43][chn1] CURL: Re-using existing connection! (#4) with 
> host localhost
> [Jun 17 22:31:43][chn1] CURL: Connected to localhost (::1) port 80 (#4)
> [Jun 17 22:31:43][chn1] CURL: Expire in 0 ms for 6 (transfer 0xa3b00c98)
> [Jun 17 22:31:43][chn1] CURL: Sent 41 bytes: '[ [ 1623961903152, 
> 451.30000000000001 ] ]'
> [Jun 17 22:31:43][chn1] CURL: upload completely sent off: 41 out of 41 
> bytes
> [Jun 17 22:31:43][chn1] CURL: Received 26 bytes: 
> '{"version":"0.3","rows":1}'
> [Jun 17 22:31:43][chn1] CURL: Connection #4 to host localhost left intact
> [Jun 17 22:31:43][chn1] CURL Request succeeded with code: 200
> [Jun 17 22:31:43][chn1] emptied all (1) values
> [Jun 17 22:31:43][]     main loop indicating all mappings to quit
> [Jun 17 22:31:43][mtr0] MeterMap::cancel entered...
> [Jun 17 22:31:43][mtr0] MeterMap::cancel wait for readingthread
> [Jun 17 22:31:43][mtr0] MeterMap::cancel wait for meter::close
> [Jun 17 22:31:43][mtr0] MeterMap::cancel finished.
> [Jun 17 22:31:43][]     Server stopped.
> [Jun 17 22:31:43][]     Trying to delete curlSessionProvider...
> [Jun 17 22:31:43][]     deleted curlSessionProvider
>
>
>
> dazu die config
>
> {
>   "retry": 0,
>   "verbosity": 15,
>   "log": "/var/log/vzlogger.log",
>   "push": [],
>   "local": {
>     "enabled": false,
>     "port": 8084,
>     "index": true,
>     "timeout": 0,
>     "buffer": 0
>   },
>   "meters": [
>     {
>       "enabled": true,
>       "allowskip": false,
>       "interval": -1,
>       "aggtime": -1,
>       "aggfixedinterval": false,
>       "channels": [
>         {
>           "api": "volkszaehler",
>           "uuid": "a56da840-cfa8-11eb-9a70-3d3983f91df3",
>           "identifier": "1-0:1.8.0",
>           "middleware": "http://localhost/middleware.php",
>           "aggmode": "none",
>           "duplicates": 0
>         },
>         {
>           "api": "volkszaehler",
>           "uuid": "b86fdd70-cfa8-11eb-8037-e5b5f986cc66",
>           "identifier": "1-0:2.8.0",
>           "middleware": "http://localhost/middleware.php",
>           "aggmode": "none",
>           "duplicates": 0
>         },
>         {
>           "api": "volkszaehler",
>           "uuid": "d52f7290-cfa8-11eb-b7a4-a5d28128f1d0",
>           "identifier": "1-0:16.7.0",
>           "middleware": "http://localhost/middleware.php",
>           "aggmode": "avg",
>           "duplicates": 0
>         }
>       ],
>       "protocol": "sml",
>       "device": "/dev/ttyUSB0",
>       "pullseq": "",
>       "baudrate": 9600,
>       "parity": "8n1",
>       "use_local_time": true
>     }
>   ]
> }
>
>
>
>
>
>
> Am 17.06.2021 um 06:42 schrieb Tobias Baumann:
>>
>> Grundsätzlich habe ich das Problem mit allen 4 Varianten , das ist ja 
>> das seltsame oder auch das Problem
>>
>>
>> jetzt im Moment nutze ich eine alte TV Box Rockchip 3229 16Gb rom 2gb 
>> ram / Armbian (debian) buster minimal Kernel 5.10  , usb ir adapter 
>> SML mit Elektrozähler
>>
>> nginx , mariadb und php3.4 -> jeweils aktuell (gemäß apt install von 
>> wiki)
>>
>> ich werde morgen einen Log kopieren von genau dieser Hardware
>>
>>
>>
>> Am 16.06.2021 um 21:57 schrieb Daniel Lauckner:
>>> Hallo,
>>>
>>>
>>> wir haben wieder genau das selbe Problem wie im git: Keine konkrete 
>>> Informationen.
>>> Z.B. fehlt mir direkt ein Logfile vom vzlogger. Das was im git 
>>> gepostet wurde ist ja nicht mehr aktuell, da gab es noch das Problem 
>>> mit dem Demoserver.
>>>
>>> Und es ist auch wieder nicht klar auf welche Hardware/Konfiguration 
>>> aktuell geändert wird. Du nennst zwar alle deine Versuche, aber 
>>> nicht welchen Versuch wir konkret Diagnostizieren.
>>>
>>>
>>> mfg Daniel (J-A-U)
>>>
>

-- 
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com



Mehr Informationen über die Mailingliste volkszaehler-users