Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter WM-Bus / Kampstrup Multical 21

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

Adapter WM-Bus / Kampstrup Multical 21

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
153 Beiträge 12 Kommentatoren 22.3k Aufrufe 13 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • C Offline
    C Offline
    CBMOD
    schrieb am zuletzt editiert von
    #1

    Hallo,

    ich habe einen Wasserzähler Kampstrup Multical 21 Typ:02146C0K842 vom Wasserversorger bekommen.

    Nun wollte ich diesen die Nachrichten dieses Zählers mit dem wM-Bus auf den ioBroker bringen.

    Dazu habe ich einen iM871A-USB der am USB Port des RPi mit ioBroker isnstalliert ist.

    Der USB Stick wird erkannt, aber Daten vom Zähler empfange ich erst mal nicht, ok.

    Debug Modus zeigt zumindest keine "empfangene" Daten.

    Im Forum habe ich verschiedene Beiträge gelesen und verschiedene Einstellungen geprüft.

    Auch das WirelessStudio von wireless-solutions.de habe ich am WindowsPC installiert und getestet. Aber auch hier nichts.

    Leider weiss ich aber nicht so genau was ich im Studio Einstellen soll:

    Ctrl Field:

    Man ID:

    Device ID:

    Version:

    Device Typ:

    LinkMode: >> hie habe ich schon mal alle Varianten ausprobiert.

    5831_studio_deviceconf.png
    5831_studio_modulinfo.png

    Vielleicht mache ich ja eine Kleinigkeit falsch, und jemand kann einen Tipp geben.

    Und….

    wenn es verschluesselt ist - wo finde ich den erfordelichen AES Key (Seriennummer)?

    1 Antwort Letzte Antwort
    0
    • apollon77A Offline
      apollon77A Offline
      apollon77
      schrieb am zuletzt editiert von
      #2

      Hi,

      am besten kann vllt soef der Adapterentwickler helfen. Dafür am besten ein Issue bei Github auf machen.

      Achja: AES Key != Seriennummer! Den AES Key müsste Dir dein Versorger geben können

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      1 Antwort Letzte Antwort
      1
      • FlexerF Offline
        FlexerF Offline
        Flexer
        schrieb am zuletzt editiert von
        #3

        Hallo lieber Entwickler. Ich besitze auch einen Mutical 21 Wasserzähler. Bin gerade per Zufall hier auf den Adapter gestoßen. Wie bekomme ich denn eine Verbindung Hardwareseitig hin?

        Viele Grüsse

        Unterm Strich ist alles besser.


        Ja, voll geil hier!

        M 1 Antwort Letzte Antwort
        0
        • FlexerF Flexer

          Hallo lieber Entwickler. Ich besitze auch einen Mutical 21 Wasserzähler. Bin gerade per Zufall hier auf den Adapter gestoßen. Wie bekomme ich denn eine Verbindung Hardwareseitig hin?

          Viele Grüsse

          M Offline
          M Offline
          matze-dev
          schrieb am zuletzt editiert von matze-dev
          #4

          @Flexer Hallo an alle, läuft bei mir. Braucht es da noch weitere Infos?
          Meine Realisierung: Raspi 4 (4 GB) + IMST871A-USB siehe Bilder.Kamstrup-Multical21.jpg und 20201003_093811.jpg
          Doku - siehe ganz weit unten im Forum.

          G TbsJahT C 3 Antworten Letzte Antwort
          0
          • M matze-dev

            @Flexer Hallo an alle, läuft bei mir. Braucht es da noch weitere Infos?
            Meine Realisierung: Raspi 4 (4 GB) + IMST871A-USB siehe Bilder.Kamstrup-Multical21.jpg und 20201003_093811.jpg
            Doku - siehe ganz weit unten im Forum.

            G Offline
            G Offline
            grossek
            schrieb am zuletzt editiert von
            #5

            @matze-dev Hilfe wäre super

            ich bekomm den adapter einfach nicht zum laufen.

            Ich hab bei mir 3 Wärmemengenzähler und 2 Wasserzähler die über wmBus laufen , welche ich bisher aber leider nicht auslesen kann.

            1 Antwort Letzte Antwort
            0
            • M matze-dev

              @Flexer Hallo an alle, läuft bei mir. Braucht es da noch weitere Infos?
              Meine Realisierung: Raspi 4 (4 GB) + IMST871A-USB siehe Bilder.Kamstrup-Multical21.jpg und 20201003_093811.jpg
              Doku - siehe ganz weit unten im Forum.

              TbsJahT Offline
              TbsJahT Offline
              TbsJah
              schrieb am zuletzt editiert von
              #6

              @matze-dev welchen Adapter hast du im Einsatz und mit welcher Konstellation (npm, js etc)?

              1 Antwort Letzte Antwort
              0
              • M matze-dev

                @Flexer Hallo an alle, läuft bei mir. Braucht es da noch weitere Infos?
                Meine Realisierung: Raspi 4 (4 GB) + IMST871A-USB siehe Bilder.Kamstrup-Multical21.jpg und 20201003_093811.jpg
                Doku - siehe ganz weit unten im Forum.

                C Offline
                C Offline
                CBMOD
                schrieb am zuletzt editiert von CBMOD
                #7

                @matze-dev
                Hallo matze-dev,

                nachdem ich die Daten jetzt vom Versorger bekommen habe, starte ich auch durch.
                Wäre schön wenn Du von Deinen Adaptereinstellungen mal einen Screenshot machen könntest.
                Irgendwie bekomme ich nichts rein. WM-Bus Adapter ist grün.

                Welche Schnittstelle hast Du eingestellt?
                Baudrate?
                wMBus Mode?
                Wie hast Du Deine Geräteadresse angelegt? (Dez/Hex)
                Wie Dein AES Schlüssel?

                ok... - habe es selbst gelöst
                Empfänger: IMST iM871A
                wMBus: Mode C Mode (A)
                welcher Mode sagt der Type
                bei mir Type: 02146 (021 = Multical 21, 46 = Mode)
                Schnittstelle: /dev/serial/by-id/usb-Silicon_Labs_WiMOD_iM871A-usb...
                Baudrate: wie bei der wMBus Beschreibung für iM871A = 57600

                Adapter starten... und warten bis im Log ein Paket empfangen wurde
                der Zähler wurde unter AES Schluessel als KAM-<Seriennummer> automatisch angelegt.

                Kem File und Passwort vom Versorger:
                das kem file decrypten um den AES schlüssel zu erhalten
                siehe: https://gist.github.com/mbursa/caa654a01b9e804ad44d1f00208a2490
                bei mir mit:
                python kem-decryptor.py -n <File> <password>
                AES Schluessel = key

                Die Objekte wurden unter WMBus automatisch im ioBroker angelegt.

                M M 3 Antworten Letzte Antwort
                0
                • C CBMOD

                  @matze-dev
                  Hallo matze-dev,

                  nachdem ich die Daten jetzt vom Versorger bekommen habe, starte ich auch durch.
                  Wäre schön wenn Du von Deinen Adaptereinstellungen mal einen Screenshot machen könntest.
                  Irgendwie bekomme ich nichts rein. WM-Bus Adapter ist grün.

                  Welche Schnittstelle hast Du eingestellt?
                  Baudrate?
                  wMBus Mode?
                  Wie hast Du Deine Geräteadresse angelegt? (Dez/Hex)
                  Wie Dein AES Schlüssel?

                  ok... - habe es selbst gelöst
                  Empfänger: IMST iM871A
                  wMBus: Mode C Mode (A)
                  welcher Mode sagt der Type
                  bei mir Type: 02146 (021 = Multical 21, 46 = Mode)
                  Schnittstelle: /dev/serial/by-id/usb-Silicon_Labs_WiMOD_iM871A-usb...
                  Baudrate: wie bei der wMBus Beschreibung für iM871A = 57600

                  Adapter starten... und warten bis im Log ein Paket empfangen wurde
                  der Zähler wurde unter AES Schluessel als KAM-<Seriennummer> automatisch angelegt.

                  Kem File und Passwort vom Versorger:
                  das kem file decrypten um den AES schlüssel zu erhalten
                  siehe: https://gist.github.com/mbursa/caa654a01b9e804ad44d1f00208a2490
                  bei mir mit:
                  python kem-decryptor.py -n <File> <password>
                  AES Schluessel = key

                  Die Objekte wurden unter WMBus automatisch im ioBroker angelegt.

                  M Offline
                  M Offline
                  matze-dev
                  schrieb am zuletzt editiert von
                  #8

                  @cbmod Hallo,
                  Voraussetzung ist ein raspberry Pi (ich habe den 4B mit 4 GB)
                  erster Step ist, den Adapter unter LINUX auszulesen. dazu verwendet man:

                  1. mosquitto_pub: https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/
                  2. die Software https://github.com/weetmuts/wmbusmeters installieren

                  Danach die wmbusmeters.conf im Verzeichnis /etc/wmbusmeters anpassen:
                  meine sieht so aus:

                  loglevel=debug
                  device=/dev/ttyUSB0:im871a
                  logtelegrams=true
                  format=json
                  meterfiles=/var/log/wmbusmeters/meter_readings
                  meterfilesaction=append
                  meterfilesnaming=name
                  meterfilestimestamp=day
                  logfile=/var/log/wmbusmeters/wmbusmeters.log
                  shell=/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters/$METER_ID -m "$METER_JSON"
                  alarmshell=/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE"
                  alarmtimeout=1h
                  alarmexpectedactivity=mon-sun(00-23)

                  Danach die Datei /etc/wmbusmeters.d/MyTapWater neu anlegen
                  Meine sieht so aus:
                  name=MyTapWater
                  type=multical21
                  id=##der Name/ID des Zaehlers ##
                  key=##hier den Key eintragen - kommt aus der zugeschickten XML-Datei des Wasserversorgers##

                  Danach muss das Auslesen als Daemon laufen.
                  Checken kann man das unter /var/log/wmbusmeters/meter_readings/ da müssen jetzt für jeden Tag ein Logfile erzeugt werden mit den 10/12-Sekundenwerten der Auslesung.

                  Danach muss man im iobroker den MQTT einrichten. Das Auslesen nativ sollte erst einmal funktionieren - viel Glück.

                  W 1 Antwort Letzte Antwort
                  0
                  • C CBMOD

                    @matze-dev
                    Hallo matze-dev,

                    nachdem ich die Daten jetzt vom Versorger bekommen habe, starte ich auch durch.
                    Wäre schön wenn Du von Deinen Adaptereinstellungen mal einen Screenshot machen könntest.
                    Irgendwie bekomme ich nichts rein. WM-Bus Adapter ist grün.

                    Welche Schnittstelle hast Du eingestellt?
                    Baudrate?
                    wMBus Mode?
                    Wie hast Du Deine Geräteadresse angelegt? (Dez/Hex)
                    Wie Dein AES Schlüssel?

                    ok... - habe es selbst gelöst
                    Empfänger: IMST iM871A
                    wMBus: Mode C Mode (A)
                    welcher Mode sagt der Type
                    bei mir Type: 02146 (021 = Multical 21, 46 = Mode)
                    Schnittstelle: /dev/serial/by-id/usb-Silicon_Labs_WiMOD_iM871A-usb...
                    Baudrate: wie bei der wMBus Beschreibung für iM871A = 57600

                    Adapter starten... und warten bis im Log ein Paket empfangen wurde
                    der Zähler wurde unter AES Schluessel als KAM-<Seriennummer> automatisch angelegt.

                    Kem File und Passwort vom Versorger:
                    das kem file decrypten um den AES schlüssel zu erhalten
                    siehe: https://gist.github.com/mbursa/caa654a01b9e804ad44d1f00208a2490
                    bei mir mit:
                    python kem-decryptor.py -n <File> <password>
                    AES Schluessel = key

                    Die Objekte wurden unter WMBus automatisch im ioBroker angelegt.

                    M Offline
                    M Offline
                    matze-dev
                    schrieb am zuletzt editiert von
                    #9

                    @cbmod Hallo nochmal - Achtung, ich verwende nicht den WMBUS-Adapter des iobrokers, sondern realisiere das mit dem MQTT-Broker. Das Auslesen macht die Software wmbusmeters. Daher braucht man den Adapter im iobroker nicht.
                    Wenn das Auslesen mit der Software soweit läuft, können wir uns an die Konfig des iobrokers machen. Viel Glück.

                    1 Antwort Letzte Antwort
                    0
                    • C CBMOD

                      @matze-dev
                      Hallo matze-dev,

                      nachdem ich die Daten jetzt vom Versorger bekommen habe, starte ich auch durch.
                      Wäre schön wenn Du von Deinen Adaptereinstellungen mal einen Screenshot machen könntest.
                      Irgendwie bekomme ich nichts rein. WM-Bus Adapter ist grün.

                      Welche Schnittstelle hast Du eingestellt?
                      Baudrate?
                      wMBus Mode?
                      Wie hast Du Deine Geräteadresse angelegt? (Dez/Hex)
                      Wie Dein AES Schlüssel?

                      ok... - habe es selbst gelöst
                      Empfänger: IMST iM871A
                      wMBus: Mode C Mode (A)
                      welcher Mode sagt der Type
                      bei mir Type: 02146 (021 = Multical 21, 46 = Mode)
                      Schnittstelle: /dev/serial/by-id/usb-Silicon_Labs_WiMOD_iM871A-usb...
                      Baudrate: wie bei der wMBus Beschreibung für iM871A = 57600

                      Adapter starten... und warten bis im Log ein Paket empfangen wurde
                      der Zähler wurde unter AES Schluessel als KAM-<Seriennummer> automatisch angelegt.

                      Kem File und Passwort vom Versorger:
                      das kem file decrypten um den AES schlüssel zu erhalten
                      siehe: https://gist.github.com/mbursa/caa654a01b9e804ad44d1f00208a2490
                      bei mir mit:
                      python kem-decryptor.py -n <File> <password>
                      AES Schluessel = key

                      Die Objekte wurden unter WMBus automatisch im ioBroker angelegt.

                      M Offline
                      M Offline
                      mwolle
                      schrieb am zuletzt editiert von
                      #10

                      Hi @cbmod,
                      mit Interesse habe ich deinen Beitrag gelesen. Ich habe mir einen Sprengzähler von Zenner zugelegt. Minomess wM-Bus C1 Mode. Den Adapter findet iobroker ohne Probleme eigentlich (obwohl Win Treiber nicht installiert sind), dennoch bekomme ich scheinbar keinen Connect zum Zähler hin. Weiß jemand wie man das ganze Setup in Betrieb nimmt? Wann weiß ich, wann das Gerät über aktiv ist? Das wireless m-bus Studio nimmt nicht mal Kontakt zum Stick auf: failed: WMBUS_INVALID_HANDLE schmeißt mir das Studio aus.
                      Wie hast du bei dir herausgefunden, wann der Wasserzähler aktiv ist und wann eine Verbindung zum Stick geklappt hat? Ich schätze danach läuft auch die Werteabfrage bei iobroker.

                      M 1 Antwort Letzte Antwort
                      0
                      • M mwolle

                        Hi @cbmod,
                        mit Interesse habe ich deinen Beitrag gelesen. Ich habe mir einen Sprengzähler von Zenner zugelegt. Minomess wM-Bus C1 Mode. Den Adapter findet iobroker ohne Probleme eigentlich (obwohl Win Treiber nicht installiert sind), dennoch bekomme ich scheinbar keinen Connect zum Zähler hin. Weiß jemand wie man das ganze Setup in Betrieb nimmt? Wann weiß ich, wann das Gerät über aktiv ist? Das wireless m-bus Studio nimmt nicht mal Kontakt zum Stick auf: failed: WMBUS_INVALID_HANDLE schmeißt mir das Studio aus.
                        Wie hast du bei dir herausgefunden, wann der Wasserzähler aktiv ist und wann eine Verbindung zum Stick geklappt hat? Ich schätze danach läuft auch die Werteabfrage bei iobroker.

                        M Offline
                        M Offline
                        mwolle
                        schrieb am zuletzt editiert von
                        #11

                        @mwolle so ich habe es auch zum Laufen bekommen unter Windows. Essentiell ist erst mal den Windowstreiber zu installieren für den iM871A-USB Stick. Ich habe diesen hier genommen: https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
                        Danach kann man den korrekten COM Port auswählen und die korrekten Einstellungen übernehmen. (Also 57600 Baud, ich habe einen Zenner Minomess C1 Wasserzähler, somit C Type A auswählen). Danach hat er bei mit den Wasserzähler gefunden und in die Geräteliste eingetragen. Danach AES Schlüssel eingeben und danach gibt es die Werte.
                        4e10aebd-a9b4-4bc9-8d4f-1af3e5e835b3-image.png
                        Ich habe von Zenner noch eine Doku bekommen, wo genau die Parameter erklärt werden. (Insbesondere VIF 4-8 und VIF 5-8)

                        1 Antwort Letzte Antwort
                        0
                        • M matze-dev

                          @cbmod Hallo,
                          Voraussetzung ist ein raspberry Pi (ich habe den 4B mit 4 GB)
                          erster Step ist, den Adapter unter LINUX auszulesen. dazu verwendet man:

                          1. mosquitto_pub: https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/
                          2. die Software https://github.com/weetmuts/wmbusmeters installieren

                          Danach die wmbusmeters.conf im Verzeichnis /etc/wmbusmeters anpassen:
                          meine sieht so aus:

                          loglevel=debug
                          device=/dev/ttyUSB0:im871a
                          logtelegrams=true
                          format=json
                          meterfiles=/var/log/wmbusmeters/meter_readings
                          meterfilesaction=append
                          meterfilesnaming=name
                          meterfilestimestamp=day
                          logfile=/var/log/wmbusmeters/wmbusmeters.log
                          shell=/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters/$METER_ID -m "$METER_JSON"
                          alarmshell=/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE"
                          alarmtimeout=1h
                          alarmexpectedactivity=mon-sun(00-23)

                          Danach die Datei /etc/wmbusmeters.d/MyTapWater neu anlegen
                          Meine sieht so aus:
                          name=MyTapWater
                          type=multical21
                          id=##der Name/ID des Zaehlers ##
                          key=##hier den Key eintragen - kommt aus der zugeschickten XML-Datei des Wasserversorgers##

                          Danach muss das Auslesen als Daemon laufen.
                          Checken kann man das unter /var/log/wmbusmeters/meter_readings/ da müssen jetzt für jeden Tag ein Logfile erzeugt werden mit den 10/12-Sekundenwerten der Auslesung.

                          Danach muss man im iobroker den MQTT einrichten. Das Auslesen nativ sollte erst einmal funktionieren - viel Glück.

                          W Offline
                          W Offline
                          WolfgangFB
                          schrieb am zuletzt editiert von
                          #12

                          @matze-dev
                          Hallo

                          Ich habe genau die gleiche Hardware (Multical 21 und iM871A - USB) habe alles nach der Anleitung gemacht, nach etlichen Nachinstallationen lief auch der letzte Befehl

                          sudo systemctl start wmbusmeters
                          

                          Aber das Verzeichnis

                          /var/log/wmbusmeters/meter_readings/
                          

                          Bleibt leer. Wo kann ich mit der Suche anfangen (bin eher Linux Anfänger).
                          Wie überprüfe ich, ob bisher sonst alles richtig installiert ist?

                          Gruß Wolfgang

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • W WolfgangFB

                            @matze-dev
                            Hallo

                            Ich habe genau die gleiche Hardware (Multical 21 und iM871A - USB) habe alles nach der Anleitung gemacht, nach etlichen Nachinstallationen lief auch der letzte Befehl

                            sudo systemctl start wmbusmeters
                            

                            Aber das Verzeichnis

                            /var/log/wmbusmeters/meter_readings/
                            

                            Bleibt leer. Wo kann ich mit der Suche anfangen (bin eher Linux Anfänger).
                            Wie überprüfe ich, ob bisher sonst alles richtig installiert ist?

                            Gruß Wolfgang

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #13

                            @wolfgangfb sagte in Adapter WM-Bus / Kampstrup Multical 21:

                            systemctl status wmbusmeters
                            

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            W 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @wolfgangfb sagte in Adapter WM-Bus / Kampstrup Multical 21:

                              systemctl status wmbusmeters
                              
                              W Offline
                              W Offline
                              WolfgangFB
                              schrieb am zuletzt editiert von
                              #14

                              @thomas-braun

                              pi@raspberrypi4:/var/log/wmbusmeters/meter_readings $ systemctl status wmbusmeters
                              ● wmbusmeters.service - "wmbusmeters service"
                                Loaded: loaded (/lib/systemd/system/wmbusmeters.service; disabled; vendor preset: enabled)
                                Active: active (running) since Sun 2021-06-27 22:47:02 CEST; 12h ago
                                  Docs: https://github.com/weetmuts/wmbusmeters
                                        man:wmbusmeters(1)
                               Process: 12243 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS)
                               Process: 12244 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS)
                               Process: 12245 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS)
                               Process: 12246 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS)
                               Process: 12247 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS)
                              Main PID: 12248 (wmbusmetersd)
                                 Tasks: 3 (limit: 4915)
                                CGroup: /system.slice/wmbusmeters.service
                                        └─12248 /usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid
                              
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) "alarmexpectedactivity" "mon-sun(00-23)"
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12247]: (wmbusmeters) started /run/wmbusmeters/wmbusmeters.pid
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) "" ""
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) loading meter file /etc/wmbusmeters.d/MyTapWater
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) name=MyTapWater
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) type=multical21
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) id=57813696
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) key=<notprinted>
                              Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (wmbusmeters) using log file /var/log/wmbusmeters/wmbusmeters.log
                              Jun 27 22:47:02 raspberrypi4 systemd[1]: Started "wmbusmeters service".
                              pi@raspberrypi4:/var/log/wmbusmeters/meter_readings $                                                                   
                              

                              und (ich glaube kaum dass jemand mit den Daten meines Wasserzählers irgendwelchen Unfug anstellen kann)

                              pi@raspberrypi4:/var/log/wmbusmeters $ more wmbusmeters.log
                              (wmbusmeters) logging started 2021-06-27 22:42:35 using 1.3.0-29-g3ee42c6
                              Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                              (wmbusmeters) logging started 2021-06-27 22:42:37 using 1.3.0-29-g3ee42c6
                              Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                              (wmbusmeters) logging started 2021-06-27 22:42:38 using 1.3.0-29-g3ee42c6
                              Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                              (wmbusmeters) logging started 2021-06-27 22:42:39 using 1.3.0-29-g3ee42c6
                              Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                              (wmbusmeters) logging started 2021-06-27 22:42:40 using 1.3.0-29-g3ee42c6
                              Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                              (wmbusmeters) logging started 2021-06-27 22:47:02 using 1.3.0-29-g3ee42c6
                              (wmbusmeters) version: 1.3.0-29-g3ee42c6
                              (config) store meter files in: "/var/log/wmbusmeters/meter_readings"
                              (config) using device: /dev/ttyUSB0:im871a
                              (config) number of meters: 1
                              (lookup) with file "/dev/ttyUSB0"
                              (serial) before config: /dev/ttyUSB0 speed(B115200) input(ICRNL|IXON) output(ONLCR|OPOST) control(CLOCAL|CREAD|CSIZE|HUP
                              CL) local(ECHO|ECHOCTL|ECHOE|ECHOK|ECHOKE|ICANON|IEXTEN|ISIG) special_chars(3,28,127,21,4,1,17,19,26,18,15,23,22) modem(
                              DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B9600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars() m
                              odem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (detect amb8465)
                              (serial) received binary ""
                              (serial /dev/ttyUSB0) sent "FF0A02008077"
                              (serial) EVENT thread interrupted
                              (serial /dev/ttyUSB0) sent "FF0A02008077"
                              (serial) received binary ""
                              (serial) received binary ""
                              (serialtty) closed /dev/ttyUSB0 (detect amb8465)
                              (serial) EVENT thread interrupted
                              (amb8465) are you there? no.
                              (serial) EVENT thread interrupted
                              (serial) before config: /dev/ttyUSB0 speed(B9600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars() m
                              odem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (detect im871a)
                              (serial) received binary ""
                              (serial /dev/ttyUSB0) sent "A5010F00"
                              (serial) EVENT thread interrupted
                              (serial) received binary "A58110083300130107220000B5A6"
                              (im871a) checkIM871AFrame "A58110083300130107220000B5A6"
                              (im871a) has_timestamp=0 has_rssi=0 has_crc16=1
                              (im871a) endpoint 1
                              (im871a) msgid 16
                              (im871a) got crc16 a6b5 expected a6b5
                              (im871a) received full frame
                              (device info bytes) "3300130107220000"
                              (im871a/im170a) info: im871a other firmware=13 hci=01 uid=00002207
                              (serial /dev/ttyUSB0) sent "A5010500"
                              (serial) EVENT thread interrupted
                              (serial) received binary "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                              (im871a) checkIM871AFrame "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                              (im871a) has_timestamp=0 has_rssi=0 has_crc16=1
                              (im871a) endpoint 1
                              (im871a) msgid 6
                              (im871a) got crc16 a439 expected a439
                              (im871a) received full frame
                              (serialtty) closed /dev/ttyUSB0 (detect im871a)
                              (serial) EVENT thread interrupted
                              (device config bytes) "FF000200B32576071000010001FF070232000000000000"
                              (im871a/im170a) config: other link_mode=s2 id=00100776 media=00 version=01 c_field=00 auto_rssi=00
                              (im871a/im170a) are you there? yes 00100776 im871a firmware: 13
                              (main) opening auto
                              [2021-06-27_22:47:02] Started config im871a[00100776] on /dev/ttyUSB0 listening on none
                              (im871a) on /dev/ttyUSB0
                              (serial) EVENT thread interrupted
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (im871a) get config
                              (serial /dev/ttyUSB0) sent "A5010500"
                              (serial) EVENT thread interrupted
                              (serial) received binary "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                              (im871a) checkIM871AFrame "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                              (im871a) has_timestamp=0 has_rssi=0 has_crc16=1
                              (im871a) endpoint 1
                              (im871a) msgid 6
                              (im871a) got crc16 a439 expected a439
                              (im871a) received full frame
                              (im871a) get config completed
                              (im871a) got device id 00100776
                              (main) regular reset of im871a  on /dev/ttyUSB0 will happen every 82800 seconds
                              [2021-06-27_22:47:02] Warning! Desired link modes none cannot be set for device /dev/ttyUSB0:im871a[00100776]
                              (wmbus) set timeout im871a to "3600" with expected activity "mon-sun(00-23)"
                              (serial) registered regular callback HOT_PLUG_DETECTOR(0) every 2 seconds
                              (wmbusmeters) waiting for telegrams
                              (serial) waiting for stop
                              [2021-06-27_22:47:04] (memory) rss 1921024 peak 1.83 MiB
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-27_23:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-27 23:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-27 23:47)"
                              (shell) waiting for child 16832 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-27_23:47:02] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-27_23:47:02] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-27_23:47:05] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_00:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 00:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 00:47)"
                              (shell) waiting for child 21517 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-28_00:47:02] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_00:47:02] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_00:47:05] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_01:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 01:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 01:47)"
                              (shell) waiting for child 26093 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-28_01:47:02] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_01:47:02] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_01:47:05] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_02:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 02:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 02:47)"
                              (shell) waiting for child 30676 to complete.
                              (shell) /bin/sh: return code 127
                              [2021-06-28_02:47:02] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_02:47:05] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_03:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 03:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 03:47)"
                              (shell) waiting for child 3173 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-28_03:47:02] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_03:47:02] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_03:47:05] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_04:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 04:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 04:47)"
                              (shell) waiting for child 7739 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-28_04:47:02] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_04:47:02] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_04:47:05] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_05:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 05:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 05:47)"
                              (shell) waiting for child 12304 to complete.
                              (shell) /bin/sh: return code 127
                              [2021-06-28_05:47:02] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_05:47:02] (wmbus) resetting /dev/ttyUSB0
                              (serial) EVENT thread interrupted
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_05:47:05] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_06:47:03] [ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 06:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 06:47)"
                              (shell) waiting for child 17017 to complete.
                              (serial) EVENT thread interrupted
                              (shell) /bin/sh: return code 127
                              [2021-06-28_06:47:03] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_06:47:03] (wmbus) resetting /dev/ttyUSB0
                              (serial) EVENT thread interrupted
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_06:47:06] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_07:47:03] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 07:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 07:47)"
                              (shell) waiting for child 21569 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-28_07:47:03] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_07:47:03] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_07:47:08] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_08:47:03] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 08:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 08:47)"
                              (shell) waiting for child 26137 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-28_08:47:03] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_08:47:03] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_08:47:06] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_09:47:03] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 09:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 09:47)"
                              (shell) waiting for child 30713 to complete.
                              (shell) /bin/sh: return code 127
                              (serial) EVENT thread interrupted
                              [2021-06-28_09:47:03] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_09:47:03] (wmbus) resetting /dev/ttyUSB0
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_09:47:06] (wmbus) successfully reset wmbus device
                              (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                              [2021-06-28_10:47:04] [ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                              xpected mon-sun(00-23) now 2021-06-28 10:47)
                              (shell) exec "/bin/sh"
                              (shell) arg "-c"
                              (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                              (shell) env "ALARM_TYPE=DeviceInactivity"
                              (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                              00s expected mon-sun(00-23) now 2021-06-28 10:47)"
                              (shell) waiting for child 3194 to complete.
                              (shell) /bin/sh: return code 127
                              [2021-06-28_10:47:04] (shell) /bin/sh exited with non-zero return code: 127
                              (serial) initiate reset
                              (serialtty) closed /dev/ttyUSB0 (im871a)
                              [2021-06-28_10:47:04] (wmbus) resetting /dev/ttyUSB0
                              (serial) EVENT thread interrupted
                              (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                              modem(DTR|RTS)
                              (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                              (serial) reset completed
                              [2021-06-28_10:47:07] (wmbus) successfully reset wmbus device
                              

                              Es scheint also, dass irgendwas empfangen wird, aber es wird nichts gespeichert. Nächste Frage: Wie bekomme ich das ganze jetzt noch in IO Broker (MQTT), gibt es hier eine dummysichere Anleitung?

                              Gruß Wolfgang

                              M 1 Antwort Letzte Antwort
                              0
                              • W WolfgangFB

                                @thomas-braun

                                pi@raspberrypi4:/var/log/wmbusmeters/meter_readings $ systemctl status wmbusmeters
                                ● wmbusmeters.service - "wmbusmeters service"
                                  Loaded: loaded (/lib/systemd/system/wmbusmeters.service; disabled; vendor preset: enabled)
                                  Active: active (running) since Sun 2021-06-27 22:47:02 CEST; 12h ago
                                    Docs: https://github.com/weetmuts/wmbusmeters
                                          man:wmbusmeters(1)
                                 Process: 12243 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS)
                                 Process: 12244 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS)
                                 Process: 12245 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS)
                                 Process: 12246 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS)
                                 Process: 12247 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS)
                                Main PID: 12248 (wmbusmetersd)
                                   Tasks: 3 (limit: 4915)
                                  CGroup: /system.slice/wmbusmeters.service
                                          └─12248 /usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid
                                
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) "alarmexpectedactivity" "mon-sun(00-23)"
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12247]: (wmbusmeters) started /run/wmbusmeters/wmbusmeters.pid
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) "" ""
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) loading meter file /etc/wmbusmeters.d/MyTapWater
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) name=MyTapWater
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) type=multical21
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) id=57813696
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (config) key=<notprinted>
                                Jun 27 22:47:02 raspberrypi4 wmbusmetersd[12248]: (wmbusmeters) using log file /var/log/wmbusmeters/wmbusmeters.log
                                Jun 27 22:47:02 raspberrypi4 systemd[1]: Started "wmbusmeters service".
                                pi@raspberrypi4:/var/log/wmbusmeters/meter_readings $                                                                   
                                

                                und (ich glaube kaum dass jemand mit den Daten meines Wasserzählers irgendwelchen Unfug anstellen kann)

                                pi@raspberrypi4:/var/log/wmbusmeters $ more wmbusmeters.log
                                (wmbusmeters) logging started 2021-06-27 22:42:35 using 1.3.0-29-g3ee42c6
                                Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                                (wmbusmeters) logging started 2021-06-27 22:42:37 using 1.3.0-29-g3ee42c6
                                Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                                (wmbusmeters) logging started 2021-06-27 22:42:38 using 1.3.0-29-g3ee42c6
                                Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                                (wmbusmeters) logging started 2021-06-27 22:42:39 using 1.3.0-29-g3ee42c6
                                Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                                (wmbusmeters) logging started 2021-06-27 22:42:40 using 1.3.0-29-g3ee42c6
                                Wmbus devices found but no meters supplied. You must supply which link modes to listen to. Eg. auto:c1
                                (wmbusmeters) logging started 2021-06-27 22:47:02 using 1.3.0-29-g3ee42c6
                                (wmbusmeters) version: 1.3.0-29-g3ee42c6
                                (config) store meter files in: "/var/log/wmbusmeters/meter_readings"
                                (config) using device: /dev/ttyUSB0:im871a
                                (config) number of meters: 1
                                (lookup) with file "/dev/ttyUSB0"
                                (serial) before config: /dev/ttyUSB0 speed(B115200) input(ICRNL|IXON) output(ONLCR|OPOST) control(CLOCAL|CREAD|CSIZE|HUP
                                CL) local(ECHO|ECHOCTL|ECHOE|ECHOK|ECHOKE|ICANON|IEXTEN|ISIG) special_chars(3,28,127,21,4,1,17,19,26,18,15,23,22) modem(
                                DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B9600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars() m
                                odem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (detect amb8465)
                                (serial) received binary ""
                                (serial /dev/ttyUSB0) sent "FF0A02008077"
                                (serial) EVENT thread interrupted
                                (serial /dev/ttyUSB0) sent "FF0A02008077"
                                (serial) received binary ""
                                (serial) received binary ""
                                (serialtty) closed /dev/ttyUSB0 (detect amb8465)
                                (serial) EVENT thread interrupted
                                (amb8465) are you there? no.
                                (serial) EVENT thread interrupted
                                (serial) before config: /dev/ttyUSB0 speed(B9600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars() m
                                odem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (detect im871a)
                                (serial) received binary ""
                                (serial /dev/ttyUSB0) sent "A5010F00"
                                (serial) EVENT thread interrupted
                                (serial) received binary "A58110083300130107220000B5A6"
                                (im871a) checkIM871AFrame "A58110083300130107220000B5A6"
                                (im871a) has_timestamp=0 has_rssi=0 has_crc16=1
                                (im871a) endpoint 1
                                (im871a) msgid 16
                                (im871a) got crc16 a6b5 expected a6b5
                                (im871a) received full frame
                                (device info bytes) "3300130107220000"
                                (im871a/im170a) info: im871a other firmware=13 hci=01 uid=00002207
                                (serial /dev/ttyUSB0) sent "A5010500"
                                (serial) EVENT thread interrupted
                                (serial) received binary "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                                (im871a) checkIM871AFrame "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                                (im871a) has_timestamp=0 has_rssi=0 has_crc16=1
                                (im871a) endpoint 1
                                (im871a) msgid 6
                                (im871a) got crc16 a439 expected a439
                                (im871a) received full frame
                                (serialtty) closed /dev/ttyUSB0 (detect im871a)
                                (serial) EVENT thread interrupted
                                (device config bytes) "FF000200B32576071000010001FF070232000000000000"
                                (im871a/im170a) config: other link_mode=s2 id=00100776 media=00 version=01 c_field=00 auto_rssi=00
                                (im871a/im170a) are you there? yes 00100776 im871a firmware: 13
                                (main) opening auto
                                [2021-06-27_22:47:02] Started config im871a[00100776] on /dev/ttyUSB0 listening on none
                                (im871a) on /dev/ttyUSB0
                                (serial) EVENT thread interrupted
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (im871a) get config
                                (serial /dev/ttyUSB0) sent "A5010500"
                                (serial) EVENT thread interrupted
                                (serial) received binary "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                                (im871a) checkIM871AFrame "A5810617FF000200B32576071000010001FF07023200000000000039A4"
                                (im871a) has_timestamp=0 has_rssi=0 has_crc16=1
                                (im871a) endpoint 1
                                (im871a) msgid 6
                                (im871a) got crc16 a439 expected a439
                                (im871a) received full frame
                                (im871a) get config completed
                                (im871a) got device id 00100776
                                (main) regular reset of im871a  on /dev/ttyUSB0 will happen every 82800 seconds
                                [2021-06-27_22:47:02] Warning! Desired link modes none cannot be set for device /dev/ttyUSB0:im871a[00100776]
                                (wmbus) set timeout im871a to "3600" with expected activity "mon-sun(00-23)"
                                (serial) registered regular callback HOT_PLUG_DETECTOR(0) every 2 seconds
                                (wmbusmeters) waiting for telegrams
                                (serial) waiting for stop
                                [2021-06-27_22:47:04] (memory) rss 1921024 peak 1.83 MiB
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-27_23:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-27 23:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-27 23:47)"
                                (shell) waiting for child 16832 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-27_23:47:02] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-27_23:47:02] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-27_23:47:05] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_00:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 00:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 00:47)"
                                (shell) waiting for child 21517 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-28_00:47:02] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_00:47:02] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_00:47:05] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_01:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 01:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s expected mon-sun(00-23) now 2021-06-28 01:47)"
                                (shell) waiting for child 26093 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-28_01:47:02] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_01:47:02] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_01:47:05] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_02:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 02:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 02:47)"
                                (shell) waiting for child 30676 to complete.
                                (shell) /bin/sh: return code 127
                                [2021-06-28_02:47:02] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_02:47:05] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_03:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 03:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 03:47)"
                                (shell) waiting for child 3173 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-28_03:47:02] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_03:47:02] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_03:47:05] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_04:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 04:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 04:47)"
                                (shell) waiting for child 7739 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-28_04:47:02] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_04:47:02] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_04:47:05] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_05:47:02] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 05:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 05:47)"
                                (shell) waiting for child 12304 to complete.
                                (shell) /bin/sh: return code 127
                                [2021-06-28_05:47:02] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_05:47:02] (wmbus) resetting /dev/ttyUSB0
                                (serial) EVENT thread interrupted
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_05:47:05] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_06:47:03] [ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 06:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 06:47)"
                                (shell) waiting for child 17017 to complete.
                                (serial) EVENT thread interrupted
                                (shell) /bin/sh: return code 127
                                [2021-06-28_06:47:03] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_06:47:03] (wmbus) resetting /dev/ttyUSB0
                                (serial) EVENT thread interrupted
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_06:47:06] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_07:47:03] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 07:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 07:47)"
                                (shell) waiting for child 21569 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-28_07:47:03] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_07:47:03] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_07:47:08] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_08:47:03] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 08:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 08:47)"
                                (shell) waiting for child 26137 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-28_08:47:03] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_08:47:03] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_08:47:06] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_09:47:03] [ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 09:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3600 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 09:47)"
                                (shell) waiting for child 30713 to complete.
                                (shell) /bin/sh: return code 127
                                (serial) EVENT thread interrupted
                                [2021-06-28_09:47:03] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_09:47:03] (wmbus) resetting /dev/ttyUSB0
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_09:47:06] (wmbus) successfully reset wmbus device
                                (wmbus) updated_last received for im871a (/dev/ttyUSB0)
                                [2021-06-28_10:47:04] [ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 3600s e
                                xpected mon-sun(00-23) now 2021-06-28 10:47)
                                (shell) exec "/bin/sh"
                                (shell) arg "-c"
                                (shell) arg "/usr/local/bin/mosquitto_pub -d -h localhost -t wmbusmeters_alarm -m "$ALARM_TYPE $ALARM_MESSAGE""
                                (shell) env "ALARM_TYPE=DeviceInactivity"
                                (shell) env "ALARM_MESSAGE=[ALARM DeviceInactivity] 3601 seconds of inactivity resetting /dev/ttyUSB0 im871a (timeout 36
                                00s expected mon-sun(00-23) now 2021-06-28 10:47)"
                                (shell) waiting for child 3194 to complete.
                                (shell) /bin/sh: return code 127
                                [2021-06-28_10:47:04] (shell) /bin/sh exited with non-zero return code: 127
                                (serial) initiate reset
                                (serialtty) closed /dev/ttyUSB0 (im871a)
                                [2021-06-28_10:47:04] (wmbus) resetting /dev/ttyUSB0
                                (serial) EVENT thread interrupted
                                (serial) before config: /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serial) after config:  /dev/ttyUSB0 speed(B57600) input() output() control(CLOCAL|CREAD|CSIZE) local() special_chars()
                                modem(DTR|RTS)
                                (serialtty) opened /dev/ttyUSB0 fd 4 (im871a)
                                (serial) reset completed
                                [2021-06-28_10:47:07] (wmbus) successfully reset wmbus device
                                

                                Es scheint also, dass irgendwas empfangen wird, aber es wird nichts gespeichert. Nächste Frage: Wie bekomme ich das ganze jetzt noch in IO Broker (MQTT), gibt es hier eine dummysichere Anleitung?

                                Gruß Wolfgang

                                M Offline
                                M Offline
                                matze-dev
                                schrieb am zuletzt editiert von
                                #15

                                @wolfgangfb Hallo Wolfgang, ich kann es leider nicht so ganz vergleichen, bei mir läuft das nicht als Service und ich habe noch die Vorgängerversion des Treibers. Es sieht so aus, dass er die Telegramme nicht korrekt bekommt (macht reset).

                                Mein Logoutput sieht aber eher so aus:

                                (meter) MyTapWater: not for me: not my id
                                (wmbus) telegram ignored by all configured meters!
                                (serial) not starting timer thread since it is already running.
                                (serial) received binary "A5E2032E442D2C80xxxxxxxxxxxxxxxxxxxx"
                                (im871a) checkIM871AFrame "A5E2032E442D2C802780741B167A6xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
                                (im871a) has_timestamp=1 has_rssi=1 has_crc16=1
                                (im871a) endpoint 2
                                (im871a) msgid 3
                                (im871a) timestamp 00000000
                                (im871a) rssi 64
                                (im871a) got crc16 66ff expected 66ff
                                (im871a) received full frame
                                (wmbus) parseDLL @0 47

                                W 1 Antwort Letzte Antwort
                                0
                                • M matze-dev

                                  @wolfgangfb Hallo Wolfgang, ich kann es leider nicht so ganz vergleichen, bei mir läuft das nicht als Service und ich habe noch die Vorgängerversion des Treibers. Es sieht so aus, dass er die Telegramme nicht korrekt bekommt (macht reset).

                                  Mein Logoutput sieht aber eher so aus:

                                  (meter) MyTapWater: not for me: not my id
                                  (wmbus) telegram ignored by all configured meters!
                                  (serial) not starting timer thread since it is already running.
                                  (serial) received binary "A5E2032E442D2C80xxxxxxxxxxxxxxxxxxxx"
                                  (im871a) checkIM871AFrame "A5E2032E442D2C802780741B167A6xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
                                  (im871a) has_timestamp=1 has_rssi=1 has_crc16=1
                                  (im871a) endpoint 2
                                  (im871a) msgid 3
                                  (im871a) timestamp 00000000
                                  (im871a) rssi 64
                                  (im871a) got crc16 66ff expected 66ff
                                  (im871a) received full frame
                                  (wmbus) parseDLL @0 47

                                  W Offline
                                  W Offline
                                  WolfgangFB
                                  schrieb am zuletzt editiert von
                                  #16

                                  @matze-dev
                                  Hi

                                  Kannst Du mir (als Linux Nicht Profi) genau verraten, was Du gemacht hast und welche Software Du installierst hast?

                                  M 1 Antwort Letzte Antwort
                                  0
                                  • W WolfgangFB

                                    @matze-dev
                                    Hi

                                    Kannst Du mir (als Linux Nicht Profi) genau verraten, was Du gemacht hast und welche Software Du installierst hast?

                                    M Offline
                                    M Offline
                                    matze-dev
                                    schrieb am zuletzt editiert von
                                    #17

                                    @wolfgangfb Hallo Wolfgang, gemaess Zeile 42 Deines Logs muessten Daten gekommen sein, später erscheinen die nicht mehr. Aktualisiert das Logfile um die Eintraege weiterhin?
                                    (serial) received binary "A5E2032E442D2C80xxxxxxxxxxxxxxxxxxxx"
                                    (im871a) checkIM871AFrame "A5E2032E442D2C802780741B167A6xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

                                    Wenn ja, sieht es gut aus.

                                    Das nächste waere, den MQTT (mosquitto_pub) zu installieren - ist der auch schon auf dem System?
                                    Installationsanleitung liegt hierunter:
                                    https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/

                                    Viel Glueck.

                                    W 1 Antwort Letzte Antwort
                                    0
                                    • M matze-dev

                                      @wolfgangfb Hallo Wolfgang, gemaess Zeile 42 Deines Logs muessten Daten gekommen sein, später erscheinen die nicht mehr. Aktualisiert das Logfile um die Eintraege weiterhin?
                                      (serial) received binary "A5E2032E442D2C80xxxxxxxxxxxxxxxxxxxx"
                                      (im871a) checkIM871AFrame "A5E2032E442D2C802780741B167A6xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

                                      Wenn ja, sieht es gut aus.

                                      Das nächste waere, den MQTT (mosquitto_pub) zu installieren - ist der auch schon auf dem System?
                                      Installationsanleitung liegt hierunter:
                                      https://mosquitto.org/blog/2013/01/mosquitto-debian-repository/

                                      Viel Glueck.

                                      W Offline
                                      W Offline
                                      WolfgangFB
                                      schrieb am zuletzt editiert von
                                      #18

                                      @matze-dev
                                      Hallo

                                      Das ganze ist für mich als Nicht-Linuxianer etwas frustrierend.
                                      Das fängt damit an, dass Du schreibst "bei mir läuft das nicht als Service". Was habe ich denn falsch gemacht, dass es scheinbar bei mir als Service läuft. Ich habe mich meiner Meinung nach genau an die Anleitung gehalten. Ich stoße aber immer wieder auf Punkte bei denen ich den Eindruck habe, dass erfahrene Linuxianer genau wissen, was da gemeint ist, ich aber nur raten kann und irgendwas eingebe und wahrscheinlich etwas falsches.
                                      Ich konnte immer noch keinerlei Daten der Wasseruhr auf meinem Raspberry finden :-(

                                      Mosquitto habe ich vielleicht erfolgreich installiert.

                                      pi@raspberrypi4:/etc/apt/sources.list.d $ sudo apt-get install mosquitto
                                      Paketlisten werden gelesen... Fertig
                                      Abhängigkeitsbaum wird aufgebaut.
                                      Statusinformationen werden eingelesen.... Fertig
                                      mosquitto ist schon die neueste Version (2.0.11-0mosquitto1~stretch1).
                                      

                                      verstehe ich so, dass ich das vorhanden ist.

                                      In der Anleitung bin ich an dieser Stelle gestolpert:

                                      Then one of the following, depending on which version of debian you are using:
                                      

                                      An der Stelle frage ich mich, wie ich herausfinden kann, welche "version of debian" ich benutze. Erfahren User denken bestimmt "das ist doch ganz klar", mir ist das aber nicht klar.

                                      Der aktuelle Status des wmbusmasters sieht wie folgt aus:

                                      pi@raspberrypi4:/etc/apt/sources.list.d $ systemctl status wmbusmeters
                                      ● wmbusmeters.service - "wmbusmeters service"
                                         Loaded: loaded (/lib/systemd/system/wmbusmeters.service; disabled; vendor preset: enabled)
                                         Active: active (running) since Sun 2021-06-27 22:47:02 CEST; 1 weeks 3 days ago
                                           Docs: https://github.com/weetmuts/wmbusmeters
                                                 man:wmbusmeters(1)
                                       Main PID: 12248 (wmbusmetersd)
                                          Tasks: 3 (limit: 4915)
                                         CGroup: /system.slice/wmbusmeters.service
                                                 └─12248 /usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid
                                      
                                      Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
                                      

                                      Also irgendwas scheint da immer noch nicht zu stimmen. Nur wo setze ich jetzt an?

                                      Frustrierte Grüße

                                      Wolfgang

                                      Thomas BraunT 1 Antwort Letzte Antwort
                                      0
                                      • W WolfgangFB

                                        @matze-dev
                                        Hallo

                                        Das ganze ist für mich als Nicht-Linuxianer etwas frustrierend.
                                        Das fängt damit an, dass Du schreibst "bei mir läuft das nicht als Service". Was habe ich denn falsch gemacht, dass es scheinbar bei mir als Service läuft. Ich habe mich meiner Meinung nach genau an die Anleitung gehalten. Ich stoße aber immer wieder auf Punkte bei denen ich den Eindruck habe, dass erfahrene Linuxianer genau wissen, was da gemeint ist, ich aber nur raten kann und irgendwas eingebe und wahrscheinlich etwas falsches.
                                        Ich konnte immer noch keinerlei Daten der Wasseruhr auf meinem Raspberry finden :-(

                                        Mosquitto habe ich vielleicht erfolgreich installiert.

                                        pi@raspberrypi4:/etc/apt/sources.list.d $ sudo apt-get install mosquitto
                                        Paketlisten werden gelesen... Fertig
                                        Abhängigkeitsbaum wird aufgebaut.
                                        Statusinformationen werden eingelesen.... Fertig
                                        mosquitto ist schon die neueste Version (2.0.11-0mosquitto1~stretch1).
                                        

                                        verstehe ich so, dass ich das vorhanden ist.

                                        In der Anleitung bin ich an dieser Stelle gestolpert:

                                        Then one of the following, depending on which version of debian you are using:
                                        

                                        An der Stelle frage ich mich, wie ich herausfinden kann, welche "version of debian" ich benutze. Erfahren User denken bestimmt "das ist doch ganz klar", mir ist das aber nicht klar.

                                        Der aktuelle Status des wmbusmasters sieht wie folgt aus:

                                        pi@raspberrypi4:/etc/apt/sources.list.d $ systemctl status wmbusmeters
                                        ● wmbusmeters.service - "wmbusmeters service"
                                           Loaded: loaded (/lib/systemd/system/wmbusmeters.service; disabled; vendor preset: enabled)
                                           Active: active (running) since Sun 2021-06-27 22:47:02 CEST; 1 weeks 3 days ago
                                             Docs: https://github.com/weetmuts/wmbusmeters
                                                   man:wmbusmeters(1)
                                         Main PID: 12248 (wmbusmetersd)
                                            Tasks: 3 (limit: 4915)
                                           CGroup: /system.slice/wmbusmeters.service
                                                   └─12248 /usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid
                                        
                                        Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
                                        

                                        Also irgendwas scheint da immer noch nicht zu stimmen. Nur wo setze ich jetzt an?

                                        Frustrierte Grüße

                                        Wolfgang

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        schrieb am zuletzt editiert von Thomas Braun
                                        #19

                                        @wolfgangfb sagte in Adapter WM-Bus / Kampstrup Multical 21:

                                        An der Stelle frage ich mich, wie ich herausfinden kann, welche "version of debian" ich benutze.

                                        Das Paket mosquito kommt für Debian Stretch. Das ist aber eine Version die ihr Lebensende seit einem Jahr überschritten hat. Vielleicht falsche Quelle angelegt, vielleicht das Ableben verpasst... Jedenfalls sollte man Stretch beerdigen.

                                        Die installierte Version sieht man u.a. mit

                                        lsb_release -a
                                        

                                        Für aktuelle Releases kommt mosquito aber ohnehin aus den Standard-Repos:

                                        echad@chet:~ $ apt policy mosquitto
                                        mosquitto:
                                          Installiert:           (keine)
                                          Installationskandidat: 2.0.11-1
                                          Versionstabelle:
                                             2.0.11-1 500
                                                500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                        echad@chet:~ $
                                        

                                        Die ganze Anleitung zur Installation (aus dem Jahre des Herren 2013?) sollte also ohnehin nicht mehr erforderlich sein.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        W 1 Antwort Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @wolfgangfb sagte in Adapter WM-Bus / Kampstrup Multical 21:

                                          An der Stelle frage ich mich, wie ich herausfinden kann, welche "version of debian" ich benutze.

                                          Das Paket mosquito kommt für Debian Stretch. Das ist aber eine Version die ihr Lebensende seit einem Jahr überschritten hat. Vielleicht falsche Quelle angelegt, vielleicht das Ableben verpasst... Jedenfalls sollte man Stretch beerdigen.

                                          Die installierte Version sieht man u.a. mit

                                          lsb_release -a
                                          

                                          Für aktuelle Releases kommt mosquito aber ohnehin aus den Standard-Repos:

                                          echad@chet:~ $ apt policy mosquitto
                                          mosquitto:
                                            Installiert:           (keine)
                                            Installationskandidat: 2.0.11-1
                                            Versionstabelle:
                                               2.0.11-1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                          echad@chet:~ $
                                          

                                          Die ganze Anleitung zur Installation (aus dem Jahre des Herren 2013?) sollte also ohnehin nicht mehr erforderlich sein.

                                          W Offline
                                          W Offline
                                          WolfgangFB
                                          schrieb am zuletzt editiert von
                                          #20

                                          @thomas-braun

                                          OK, ich habe also

                                          pi@raspberrypi4:~ $ lsb_release -a
                                          No LSB modules are available.
                                          Distributor ID: Raspbian
                                          Description:    Raspbian GNU/Linux 10 (buster)
                                          Release:        10
                                          Codename:       buster
                                          

                                          was wohl der Nachfolger von stretch ist.

                                          pi@raspberrypi4:~ $ apt policy mosquitto
                                          mosquitto:
                                            Installiert:           2.0.11-0mosquitto1~stretch1
                                            Installationskandidat: 2.0.11-0mosquitto1~stretch1
                                            Versionstabelle:
                                           *** 2.0.11-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                                  100 /var/lib/dpkg/status
                                               2.0.11-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               2.0.10-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               2.0.10-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               2.0.9-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               2.0.9-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               2.0.8-0mosquitto2~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               2.0.8-0mosquitto2~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               2.0.8-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               2.0.8-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.12-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.12-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.12-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.11-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.11-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.11-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.10-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.10-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.10-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.8-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.8-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.8-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.7-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.7-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.7-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.6-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.6-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.6-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.4-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.4-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.4-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.3-0mosquitto1~stretch1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.3-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.3-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.2-0mosquitto1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.2-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.2-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.6.1-0mosquitto1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.6.1-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.6.1-0mosquitto1~buster1 500
                                                  500 https://repo.mosquitto.org/debian buster/main armhf Packages
                                               1.5.8-0mosquitto1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.5.8-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.5.7-1+deb10u1 500
                                                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                               1.5.6-0mosquitto1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.5.6-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.5.5-0mosquitto1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.5.5-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.5.4-0mosquitto2 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.5.4-0mosquitto2~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.5.4-0mosquitto1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.5.4-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.5.3-0mosquitto1 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.5.3-0mosquitto1~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.5-0mosquitto2 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.5-0mosquitto2~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                               1.4.15-0mosquitto4 500
                                                  500 https://repo.mosquitto.org/debian stretch/main armhf Packages
                                               1.4.15-0mosquitto4~jessie1 500
                                                  500 https://repo.mosquitto.org/debian jessie/main armhf Packages
                                          N: Datei »mosquitto-stretch.list.2« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                                          N: Datei »mosquitto-jessie.list.1« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                                          N: Datei »mosquitto-stretch.list.1« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                                          p
                                          

                                          Ist das jetzt gut oder schlecht?

                                          Bleibt aber immer noch die frage, warum ich absolut keine Daten von der Wasseruhr sehe (darum geht es mir ja im Endeffekt).

                                          Gruß Wolfgang

                                          Thomas BraunT 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          504

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe