wo ist jetzt der curl error?
Stefan
wo ist jetzt der curl error?
Stefan
Sorry, falsches LOG
[Apr 06 18:35:24][main] vzlogger v0.8.0 based on heads/master-0-g8d06176360 from Sat, 18 Jan 2020 09:23:08 +0100 started.
[Apr 06 18:35:24][mqtt] MqttClient::MqttClient called
[Apr 06 18:35:24][mqtt] using libmosquitto 1.5.7
[Apr 06 18:35:24][mqtt] ~MqttClient called
[Apr 06 18:35:24][mqtt] mqtt client not configured. stopped.
[Apr 06 18:35:24][mtr0] Creating new meter with protocol sml.
[Apr 06 18:35:24][mtr0] Meter configured, enabled.
[Apr 06 18:35:24] New meter initialized (protocol=sml)
[Apr 06 18:35:24] Configure channel.
[Apr 06 18:35:24][chn0] New channel initialized (uuid=...0ced10 api=volkszaehler id=power)
[Apr 06 18:35:24] Configure channel.
[Apr 06 18:35:24][chn1] New channel initialized (uuid=...42a90c api=volkszaehler id=counter)
[Apr 06 18:35:24] Configure channel.
[Apr 06 18:35:24][chn2] New channel initialized (uuid=...104b48 api=volkszaehler id=1-0:1.8.0)
[Apr 06 18:35:24][mtr1] Creating new meter with protocol s0.
[Apr 06 18:35:24][mtr1] Meter configured, disabled.
[Apr 06 18:35:24] New meter initialized (protocol=s0)
[Apr 06 18:35:24] Configure channel.
[Apr 06 18:35:24][chn3] New channel initialized (uuid=...45c7b2 api=volkszaehler id=Impulse)
[Apr 06 18:35:24][mtr2] Meter configured, disabled.
[Apr 06 18:35:24] New meter initialized (protocol=sml)
[Apr 06 18:35:24] Configure channel.
[Apr 06 18:35:24][chn4] New channel initialized (uuid=...0ced10 api=volkszaehler id=1-0:1.8.0)
[Apr 06 18:35:24][mtr3] Creating new meter with protocol random.
[Apr 06 18:35:24][mtr3] Meter configured, disabled.
[Apr 06 18:35:24] New meter initialized (protocol=random)
[Apr 06 18:35:24] Configure channel.
[Apr 06 18:35:24] Identifier is not set. Set it to default value 'NilIdentifier'.
[Apr 06 18:35:24][chn5] New channel initialized (uuid=...1e5a66 api=volkszaehler id=NilIdentifier)
[Apr 06 18:35:24][mtr4] Creating new meter with protocol file.
[Apr 06 18:35:24][mtr4] Meter configured, disabled.
[Apr 06 18:35:24] New meter initialized (protocol=file)
[Apr 06 18:35:24][mtr5] Creating new meter with protocol exec.
[Apr 06 18:35:24][mtr5] Meter configured, disabled.
[Apr 06 18:35:24] New meter initialized (protocol=exec)
[Apr 06 18:35:24][mtr6] Creating new meter with protocol fluksov2.
[Apr 06 18:35:24][mtr6] Meter configured, disabled.
[Apr 06 18:35:24] New meter initialized (protocol=fluksov2)
[Apr 06 18:35:24][chn6] New channel initialized (uuid=...53edec api=volkszaehler id=sensor0/power)
[Apr 06 18:35:24][mtr7] Creating new meter with protocol w1therm.
[Apr 06 18:35:24][mtr7] Meter configured, disabled.
[Apr 06 18:35:24] New meter initialized (protocol=w1therm)
[Apr 06 18:35:24] Have 8 meters.
[Apr 06 18:35:24][main] log level is 15
[Apr 06 18:35:24][main] daemon=1, local=0
[Apr 06 18:35:24] Daemonize process...
[Apr 06 18:35:24] Opened logfile /var/log/vzlogger.log
[Apr 06 18:35:24][push] pushdata_thread created.
[Apr 06 18:35:24][push] Start push_data_thread
[Apr 06 18:35:24][] ===> Start meters
[Apr 06 18:35:24][mtr0] Meter connection established
[Apr 06 18:35:24][mtr0] Meter thread started
[Apr 06 18:35:24][mtr0] Meter is opened. Starting channels.
[Apr 06 18:35:24][mtr0] Number of readers: 32
[Apr 06 18:35:24][mtr0] Config.daemon: 1
[Apr 06 18:35:24][chn0] Logging thread started
[Apr 06 18:35:24][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes
[Apr 06 18:35:24][chn1] Logging thread started
[Apr 06 18:35:24][chn2] Logging thread started
[Apr 06 18:35:24][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes
[Apr 06 18:35:24][mtr1] Meter for protocol 's0' is disabled. Skipping.
[Apr 06 18:35:24][mtr2] Meter for protocol 'sml' is disabled. Skipping.
[Apr 06 18:35:24][mtr3] Meter for protocol 'random' is disabled. Skipping.
[Apr 06 18:35:24][chn1] Using default volkszaehler api.
[Apr 06 18:35:24][mtr4] Meter for protocol 'file' is disabled. Skipping.
[Apr 06 18:35:24][mtr5] Meter for protocol 'exec' is disabled. Skipping.
[Apr 06 18:35:24][mtr6] Meter for protocol 'fluksov2' is disabled. Skipping.
[Apr 06 18:35:24][mtr7] Meter for protocol 'w1t' is disabled. Skipping.
[Apr 06 18:35:24][] Startup done.
[Apr 06 18:35:24][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes
[Apr 06 18:35:24][chn0] Using default volkszaehler api.
[Apr 06 18:35:24][chn2] Using default volkszaehler api.
[Apr 06 18:35:25][mtr0] Got 1 new readings from meter:
[Apr 06 18:35:25][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=350000.00 ts=0
[Apr 06 18:35:25][chn2] Adding reading to queue (value=350000.00 ts=0)
[Apr 06 18:35:25][push] added to uuid d5c6db0f-533e-498d-a85a-be972c104b48
[Apr 06 18:35:27][push] push: { "data": [ { "uuid": "d5c6db0f-533e-498d-a85a-be972c104b48", "tuples": [ [ 0, 350000 ] ] } ] }
[Apr 06 18:35:27][push] CURL Error from url http://localhost:5582: 500 Error 500: Internal Server Error
[Apr 06 18:35:27][push] send nok to url http://localhost:5582
[Apr 06 18:35:28][mtr0] Got 1 new readings from meter:
[Apr 06 18:35:28][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=350000.00 ts=0
[Apr 06 18:35:28][chn2] Adding reading to queue (value=350000.00 ts=0)
[Apr 06 18:35:28][push] added to uuid d5c6db0f-533e-498d-a85a-be972c104b48
[Apr 06 18:35:28][push] push: { "data": [ { "uuid": "d5c6db0f-533e-498d-a85a-be972c104b48", "tuples": [ [ 0, 350000 ] ] } ] }
[Apr 06 18:35:28][push] CURL Error from url http://localhost:5582: 500 Error 500: Internal Server Error
[Apr 06 18:35:28][push] send nok to url http://localhost:5582
[Apr 06 18:35:29][mtr0] Got 1 new readings from meter:
[Apr 06 18:35:29][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=350000.00 ts=0
[Apr 06 18:35:29][chn2] Adding reading to queue (value=350000.00 ts=0)
[Apr 06 18:35:29][push] added to uuid d5c6db0f-533e-498d-a85a-be972c104b48
[Apr 06 18:35:29][push] push: { "data": [ { "uuid": "d5c6db0f-533e-498d-a85a-be972c104b48", "tuples": [ [ 0, 350000 ] ] } ] }
[Apr 06 18:35:29][push] CURL Error from url http://localhost:5582: 500 Error 500: Internal Server Error
[Apr 06 18:35:29][push] send nok to url http://localhost:5582
[Apr 06 18:35:30][mtr0] Got 1 new readings from meter:
[Apr 06 18:35:30][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=350000.00 ts=0
[Apr 06 18:35:30][chn2] Adding reading to queue (value=350000.00 ts=0)
[Apr 06 18:35:30][push] added to uuid d5c6db0f-533e-498d-a85a-be972c104b48
[Apr 06 18:35:30][push] push: { "data": [ { "uuid": "d5c6db0f-533e-498d-a85a-be972c104b48", "tuples": [ [ 0, 350000 ] ] } ] }
[Apr 06 18:35:30][push] CURL Error from url http://localhost:5582: 500 Error 500: Internal Server Error
[Apr 06 18:35:30][push] send nok to url http://localhost:5582
[Apr 06 18:35:31][mtr0] Got 1 new readings from meter:
[Apr 06 18:35:31][mtr0] Reading: id=1-0:1.8.0*255/ObisIdentifier:1-0:1.8.0*255 value=350000.00 ts=0
[Apr 06 18:35:34][chn2] Adding reading to queue (value=350000.00 ts=0)
[Apr 06 18:35:34][push] added to uuid d5c6db0f-533e-498d-a85a-be972c104b48
[Apr 06 18:35:34][push] push: { "data": [ { "uuid": "d5c6db0f-533e-498d-a85a-be972c104b48", "tuples": [ [ 0, 350000 ] ] } ] }
[Apr 06 18:35:34][chn0] ==> number of tuples: 0
[Apr 06 18:35:34][chn0] JSON request body is null. Nothing to send now.
[Apr 06 18:35:34][chn1] ==> number of tuples: 0
[Apr 06 18:35:34][chn2] ==> number of tuples: 10
[Apr 06 18:35:34][chn1] JSON request body is null. Nothing to send now.
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] compare: 0 0
[Apr 06 18:35:34][chn2] JSON request body is null. Nothing to send now.
Die curl-Meldung ist nur vom PUSH-Server, können wir erstmal ignorieren.
Du hast bei dem SML-meter auch aggtime 10 eingestellt. Ich sehe da noch keine Daten rausgehen, vermutlich weil der Zeitraum vom Log zu kurz ist.
Dein Zähler schickt aber auch ts=0 (Timestamp) raus. Da siehst du dann nix im Frontend weil die Daten 1970 zugeordnet werden. Verwende folgenden Schlüssel um das zu umgehen.
Details: https://wiki.volkszaehler.org/…logger_conf_parameter#sml
Und das nächste Mal bitte einen neuen Thread aufmachen. Jedes Problem sucht seine eigene Lösung. Und sieht mir bislang nicht so aus als gebe es irgendeinen Zusammenhang zum bestehenden Thread.
mfg JAU
Danke. Mach morgen früh einen neuen auf.
LG Rainer
Jetzt haben wir schon hier angefangen, dann können wir das auch bis zum Ende durchziehen.
mfg JAU
Auch dein Zähler erwartet sehr wahrscheinlich die Eingabe einer PIN (zu bekommen beim Netzbetreiber), damit er eine höhere Auflösung der Zählerstände und evtl. auch die Momentanleistung liefert.
Moin. Vorab erstmal schönen Dank für die Hilfe.
PIN hab ich und der Zähler wurde von mir auch auf inf=on umgestellt. "use_local_time" habe ich eingefügt und bekomme Daten. Den Rest...Logfile
Gruß Rainer
so, da sind wir schon mal weiter.
Frage: benötigst du denn Push-Server für was spezielles? Wenn ja, dann bitte richtig einrichten, wenn weiß nicht / nein, dann in Der Config abschalten/ deaktivieren.
im Log sieht man, dass es den Kanal mit der UUID:
Nicht gibt. Also bitte schauen, wie die UUID deiner Kanäle im Frontend lauten und korrigieren.
Stefan