[vz-users] s0-an-usb

Peter p_pienkny at web.de
Di Mär 8 15:15:27 CET 2022


Hallo

USB wird vom System erkannt.

Das Signal wechselt wie es soll.

[Mar 08 15:04:00][mtr1] MeterMap::cancel entered...
[Mar 08 15:04:00][mtr1] MeterMap::cancel wait for readingthread
[Mar 08 15:04:00][mtr1] MeterMap::cancel wait for meter::close
[Mar 08 15:04:01][push] waitAndSendOnceToAll empty dataMap (timeout?)
[Mar 08 15:04:01][push] Stopped push_data_thread
[Mar 08 15:04:01][s0]   Counter thread stopped with 0 imp
[Mar 08 15:04:01][mtr1] MeterMap::cancel finished.
[Mar 08 15:04:01][]     Server stopped.
[Mar 08 15:04:01][]     Waiting for pushdata_thread to stop...
[Mar 08 15:04:01][]     pushdata_thread stopped
[Mar 08 15:04:01][]     deleted pushdataList
[Mar 08 15:04:01][]     Trying to delete curlSessionProvider...
[Mar 08 15:04:01][]     deleted curlSessionProvider
[Mar 08 15:04:39][main] vzlogger v0.8.0 based on heads/master-0-g033de9dc7d
from Wed, 10 Feb 2021 14:44:17 +0100 started.
[Mar 08 15:04:39][mqtt] MqttClient::MqttClient called
[Mar 08 15:04:39][mqtt] using libmosquitto 1.5.7
[Mar 08 15:04:39][mqtt] ~MqttClient called
[Mar 08 15:04:39][mqtt] mqtt client not configured. stopped.
[Mar 08 15:04:39][mtr0] Creating new meter with protocol sml.
[Mar 08 15:04:39][mtr0] Meter configured, disabled.
[Mar 08 15:04:39]       New meter initialized (protocol=sml)
[Mar 08 15:04:39]       Configure channel.
[Mar 08 15:04:39][chn0] New channel initialized (uuid=...0ced10
api=volkszaehler id=power)
[Mar 08 15:04:39]       Configure channel.
[Mar 08 15:04:39][chn1] New channel initialized (uuid=...42a90c
api=volkszaehler id=counter)
[Mar 08 15:04:39]       Configure channel.
[Mar 08 15:04:39][chn2] New channel initialized (uuid=...104b48
api=volkszaehler id=1-0:1.8.0)
[Mar 08 15:04:39][mtr1] Creating new meter with protocol s0.
[Mar 08 15:04:39][mtr1] Meter configured, enabled.
[Mar 08 15:04:39]       New meter initialized (protocol=s0)
[Mar 08 15:04:39]       Configure channel.
[Mar 08 15:04:39][chn3] New channel initialized (uuid=...8c8d1c
api=volkszaehler id=Impulse)
[Mar 08 15:04:39][mtr2] Creating new meter with protocol d0.
[Mar 08 15:04:39][mtr2] Meter configured, disabled.
[Mar 08 15:04:39]       New meter initialized (protocol=d0)
[Mar 08 15:04:39]       Configure channel.
[Mar 08 15:04:39][chn4] New channel initialized (uuid=...ee api=volkszaehler
id=1-0:1.8.1)
[Mar 08 15:04:39][mtr3] Creating new meter with protocol random.
[Mar 08 15:04:39][mtr3] Meter configured, disabled.
[Mar 08 15:04:39]       New meter initialized (protocol=random)
[Mar 08 15:04:39]       Configure channel.
[Mar 08 15:04:39]       Identifier is not set. Set it to default value
'NilIdentifier'.
[Mar 08 15:04:39][chn5] New channel initialized (uuid=...1e5a66
api=volkszaehler id=NilIdentifier)
[Mar 08 15:04:39][mtr4] Creating new meter with protocol file.
[Mar 08 15:04:39][mtr4] Meter configured, disabled.
[Mar 08 15:04:39]       New meter initialized (protocol=file)
[Mar 08 15:04:39][mtr5] Creating new meter with protocol exec.
[Mar 08 15:04:39][mtr5] Meter configured, disabled.
[Mar 08 15:04:39]       New meter initialized (protocol=exec)
[Mar 08 15:04:39][mtr6] Creating new meter with protocol fluksov2.
[Mar 08 15:04:39][mtr6] Meter configured, disabled.
[Mar 08 15:04:39]       New meter initialized (protocol=fluksov2)
[Mar 08 15:04:39]       Configure channel.
[Mar 08 15:04:39][chn6] New channel initialized (uuid=...53edec
api=volkszaehler id=sensor0/power)
[Mar 08 15:04:39][mtr7] Creating new meter with protocol w1therm.
[Mar 08 15:04:39][mtr7] Meter configured, disabled.
[Mar 08 15:04:39]       New meter initialized (protocol=w1therm)
[Mar 08 15:04:39]       Have 8 meters.
[Mar 08 15:04:39][main] log level is 15
[Mar 08 15:04:39][main] daemon=0, local=0
[Mar 08 15:04:39]       Process not  daemonized...
[Mar 08 15:04:39]       Opened logfile /var/log/vzlogger.log
[Mar 08 15:04:39][push] pushdata_thread created.
[Mar 08 15:04:39][]     ===> Start meters
[Mar 08 15:04:39][mtr0] Meter for protocol 'sml' is disabled. Skipping.
[Mar 08 15:04:39][push] Start push_data_thread
[Mar 08 15:04:39][s0]   counter_thread created
[Mar 08 15:04:39][mtr1] Meter connection established
[Mar 08 15:04:39][mtr1] Meter thread started
[Mar 08 15:04:39][mtr1] Meter is opened. Starting channels.
[Mar 08 15:04:39][chn3] Logging thread started
[Mar 08 15:04:39][s0]   Counter thread started with blocking hwif
[Mar 08 15:04:39][mtr1] Number of readers: 4
[Mar 08 15:04:39][mtr1] Config.daemon: 0
[Mar 08 15:04:39][mtr1] Config.local: 0
[Mar 08 15:04:39][chn3] Start logging thread for volkszaehler-api. Running
as daemon: no
[Mar 08 15:04:39][mtr2] Meter for protocol 'd0' is disabled. Skipping.
[Mar 08 15:04:39][chn3] Using default volkszaehler api.
[Mar 08 15:04:39][mtr3] Meter for protocol 'random' is disabled. Skipping.
[Mar 08 15:04:39][mtr4] Meter for protocol 'file' is disabled. Skipping.
[Mar 08 15:04:39][mtr5] Meter for protocol 'exec' is disabled. Skipping.
[Mar 08 15:04:39][mtr6] Meter for protocol 'fluksov2' is disabled. Skipping.
[Mar 08 15:04:39][mtr7] Meter for protocol 'w1t' is disabled. Skipp

Ich hab mal die Log copiert, vielleicht kannst du da was sehen.

Mit freundlichen Grüssen

Peter 

-----Ursprüngliche Nachricht-----
Von: volkszaehler-users
[mailto:volkszaehler-users-bounces at demo.volkszaehler.org] Im Auftrag von
Daniel Lauckner
Gesendet: Dienstag, 8. März 2022 12:27
An: volkszaehler.org - users
Betreff: Re: [vz-users] s0-an-usb

Hallo,


am Dienstag, 8. März 2022 um 12:19 hat Peter geschrieben:
> Hat jemand von euch mit dem Ding Erfahrung, denn bei mir läuft er, trotz
> VZ-Neuinstallation und ändern der richtigen .conf nicht.

Die erste Frage die zu klären wäre ist ob der USB-Adapter vom System erkannt
wird.

> Schön wäre auch zu wissen, wie man das Ding testen kann.

Wenn der S0-Anschluss kurzgeschlossen ist muss in vzlogger.log bei "Poll" =1
raus kommen.
Hardwareseitig kann man auf dem Weg auch einfach messen ob das TTL-Signal
vor dem USB-Adapter korrekt wechselt.


mfg Daniel




Mehr Informationen über die Mailingliste volkszaehler-users