Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Adapter mbus - Fehler im log

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Adapter mbus - Fehler im log

    This topic has been deleted. Only users with topic management privileges can see it.
    • bahnuhr
      bahnuhr Forum Testing Most Active last edited by

      Hallo,

      Habe die Instanz auf einem slave raspi laufen.
      Lief bisher einwandfrei.

      Seit heute bekomme ich zahlreiche Fehler im log.
      Die Instanz wird grün.

      mbus.0
      2022-01-10 18:30:24.725	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
      
      mbus.0
      2022-01-10 18:30:24.720	info	terminating
      
      mbus.0
      2022-01-10 18:30:24.504	warn	State "mbus.0.undefined.data.lastStatus" has no existing object, this might lead to an error in future versions
      
      mbus.0
      2022-01-10 18:30:24.390	info	Schedule initialization for M-Bus-ID 17834338B4090107 with update interval 900
      
      mbus.0
      2022-01-10 18:30:24.385	info	Initialize M-Bus Serial to /dev/lesewasser with 115200baud
      
      mbus.0
      2022-01-10 18:30:24.384	info	Default Update Interval: 3600
      
      mbus.0
      2022-01-10 18:30:24.382	error	All M-Bus devices could not be read, reinitialize and start over
      
      mbus.0
      2022-01-10 18:30:24.381	warn	M-Bus Devices with errors: 1 from 1
      
      mbus.0
      2022-01-10 18:30:24.378	warn	M-Bus ID 17834338B4090107 err: Error: Error: The selected secondary address does not match any device [17834338B4090107].
      
      mbus.0
      2022-01-10 18:30:24.214	info	Got terminate signal TERMINATE_YOURSELF
      
      mbus.0
      2022-01-10 18:30:22.837	warn	State "mbus.0.undefined.data.lastStatus" has no existing object, this might lead to an error in future versions
      
      mbus.0
      2022-01-10 18:30:22.821	info	Schedule initialization for M-Bus-ID 17834338B4090107 with update interval 900
      
      mbus.0
      2022-01-10 18:30:22.817	info	Initialize M-Bus Serial to /dev/lesewasser with 115200baud
      
      mbus.0
      2022-01-10 18:30:22.815	info	Default Update Interval: 3600
      

      Serial /dev/lesewasser hatte immer gestimmt.
      Die ID hat auch gestimmt.
      Nur bei state steht jetzt undefined.
      Hier müsste doch die Id stehen.

      Probiert hatte ich schon: iob rebuild mbus

      Hat jemand eine idee ?
      Danke vorab.

      mfg
      Dieter

      1 Reply Last reply Reply Quote 0
      • bahnuhr
        bahnuhr Forum Testing Most Active last edited by

        So, wenn ich in der Instanz die ID lösche kommt der Fehler nicht mehr.

        mbus.0
        2022-01-10 20:43:25.965	info	Initialize M-Bus Serial to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A907T3PS-if00-port0 with 115200baud
        
        mbus.0
        2022-01-10 20:43:25.963	info	Default Update Interval: 900
        
        mbus.0
        2022-01-10 20:43:25.909	info	starting. Version 2.3.4 in /opt/iobroker/node_modules/iobroker.mbus, node: v14.18.2, js-controller: 3.3.22
        

        Wenn ich "suchen" klicke wird dies aber auch nicht mehr gefunden.

        @apollon77
        Kannst du helfen?
        Oder hast du eine Idee ?

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @bahnuhr last edited by

          @bahnuhr sagte in Adapter mbus - Fehler im log:

          /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A907T3PS-if00-port0

          Ist das das /lesewasser - Gerät?

          bahnuhr 1 Reply Last reply Reply Quote 0
          • bahnuhr
            bahnuhr Forum Testing Most Active @Thomas Braun last edited by bahnuhr

            @thomas-braun sagte in Adapter mbus - Fehler im log:

            @bahnuhr sagte in Adapter mbus - Fehler im log:

            /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A907T3PS-if00-port0

            Ist das das /lesewasser - Gerät?

            ja ist es.
            Hatte mir damals mit ls, etc. eine extra rules erstellt.
            mit folgendem Inhalt:

            
            SUBSYSTEM=="tty", ATTRS{product}=="FT232R USB UART", ATTRS{serial}=="AH06GH5Y", SYMLINK+="lesestrom"
            
            SUBSYSTEM=="tty", ATTRS{product}=="FT232R USB UART", ATTRS{serial}=="AH06GH5Z", SYMLINK+="lesevoltaik"
            
            SUBSYSTEM=="tty", ATTRS{product}=="FT232R USB UART", ATTRS{serial}=="A907T3PS", SYMLINK+="lesewasser"
            
            

            Dies ist aber auch nicht das Problem.
            Denn wenn ich den Port auswähle "..PS" oder manuell mit /dev/lesewasser kommt im log "connected set is true"

            Aber wenn ich die Instanz Sicherung mit der ID einlese findet er das Gerät nicht mehr.
            Und wenn ich suche findet er auch kein Gerät.

            mbus.0
            2022-01-10 20:48:31.020	error	All M-Bus devices could not be read, reinitialize and start over
            
            mbus.0
            2022-01-10 20:48:31.018	warn	M-Bus Devices with errors: 1 from 1
            
            mbus.0
            2022-01-10 20:48:31.016	warn	M-Bus ID 17834338B4090107 err: Error: Error: The address mask [17834338B4090107] matches more than one device.
            
            mbus.0
            2022-01-10 20:48:29.879	debug	Process: 17834338B4090107
            
            mbus.0
            2022-01-10 20:48:29.417	debug	connected set to true
            
            mbus.0
            2022-01-10 20:48:29.412	debug	connected set to true
            
            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @bahnuhr last edited by

              @bahnuhr Tja, dann checke mal dein mbis "Netzwerk" ... da ist irgendwas mit den IDs komisch. vllt den mbus Master mal stromlos machen oder so?

              bahnuhr 1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @apollon77 last edited by

                @apollon77 sagte in Adapter mbus - Fehler im log:

                da ist irgendwas mit den IDs komisch.

                Ich hatte diese
                17834338B4090107
                id immer drin.

                Hatte immer geklappt. Nun halt nicht mehr.

                apollon77 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @bahnuhr last edited by

                  @bahnuhrMach mal neue Suche in der Konfig ... hat sich vllt irgendwie die ID deines gerätes geändert? DIe Meldung kommt aus dem mbus Netz. versuch mal echt master stromlos und dann neu und dann neue IDs suchen ... was kommt?

                  bahnuhr 1 Reply Last reply Reply Quote 0
                  • bahnuhr
                    bahnuhr Forum Testing Most Active @apollon77 last edited by

                    @apollon77 sagte in Adapter mbus - Fehler im log:

                    @bahnuhrMach mal neue Suche in der Konfig ... hat sich vllt irgendwie die ID deines gerätes geändert? DIe Meldung kommt aus dem mbus Netz. versuch mal echt master stromlos und dann neu und dann neue IDs suchen ... was kommt?

                    Hab ich schon stromlos gemacht.

                    Habe einen Kaltwasserzähler mbus und ein china modul
                    6688710d-7207-4c6c-96dc-99168e967b88-image.png

                    Könnte ja auch sein, dass dieses Teil ne Macke hat.
                    Warum auch immer.

                    apollon77 1 Reply Last reply Reply Quote 0
                    • apollon77
                      apollon77 @bahnuhr last edited by

                      @bahnuhr Ich hab gefühlt das gleiche ... bei mir tut alles ... aber wenns bisher tat vllt ja ne macke?. Prüf mal die Verkabelung

                      bahnuhr 1 Reply Last reply Reply Quote 0
                      • bahnuhr
                        bahnuhr Forum Testing Most Active @apollon77 last edited by bahnuhr

                        @apollon77 sagte in Adapter mbus - Fehler im log:

                        Prüf mal die Verkabelung

                        Hab ich auch schon.

                        Habe o.g. Teil ja an einem raspi.
                        Kann man irgendwie prüfen ob dort Daten ankommen?
                        Gibts da einen Befehl ?

                        Danke für deine Unterstützung.

                        apollon77 1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @bahnuhr last edited by

                          @bahnuhr Am besten per dem Adaoter und der suche ... oder installierst dir "libmbus" und nimmst die binaries von denen auf shell ebene https://github.com/rscada/libmbus/tree/master/bin ... sollte man pages geben wenn Du das Paket installiert hast. Gleiche Lib nutzt das Modul auch

                          bahnuhr 1 Reply Last reply Reply Quote 0
                          • bahnuhr
                            bahnuhr Forum Testing Most Active @apollon77 last edited by

                            @apollon77 sagte in Adapter mbus - Fehler im log:

                            @bahnuhr Am besten per dem Adaoter und der suche ... oder installierst dir "libmbus" und nimmst die binaries von denen auf shell ebene https://github.com/rscada/libmbus/tree/master/bin ... sollte man pages geben wenn Du das Paket installiert hast. Gleiche Lib nutzt das Modul auch

                            Danke für die Info.
                            Aber ich glaube das ist zu hoch für mich.

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @bahnuhr last edited by

                              @bahnuhr Was bringt denn die mbus suche im Adapter?

                              bahnuhr 1 Reply Last reply Reply Quote 0
                              • bahnuhr
                                bahnuhr Forum Testing Most Active @apollon77 last edited by

                                @apollon77 sagte in Adapter mbus - Fehler im log:

                                @bahnuhr Was bringt denn die mbus suche im Adapter?

                                Da kommt:
                                Keine Geräte gefunden.

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @bahnuhr last edited by

                                  @bahnuhr dann ist irgendwas mit dem master oder usb

                                  bahnuhr 1 Reply Last reply Reply Quote 0
                                  • bahnuhr
                                    bahnuhr Forum Testing Most Active @apollon77 last edited by bahnuhr

                                    @apollon77 sagte in Adapter mbus - Fehler im log:

                                    @bahnuhr dann ist irgendwas mit dem master oder usb

                                    Wenn ich den Adapter starte, dann steht ja im log dass er connected (= true)

                                    Ich vermute mal, dass er das Gerät findet.
                                    Aber halt die id nicht übertragen wird.

                                    mbus.0
                                    2022-01-11 12:52:41.648	warn	M-Bus Devices with errors: 1 from 1
                                    
                                    mbus.0
                                    2022-01-11 12:52:41.646	warn	M-Bus ID 17834338B4090107 err: Error: Error: The selected secondary address does not match any device [17834338B4090107].
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.595	debug	Process: 17834338B4090107
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.219	debug	connected set to true
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.217	debug	connected set to true
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.144	warn	State "mbus.0.undefined.data.lastStatus" has no existing object, this might lead to an error in future versions
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.094	info	Schedule initialization for M-Bus-ID 17834338B4090107 with update interval 900
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.089	info	Initialize M-Bus Serial to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A907T3PS-if00-port0 with 115200baud
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.087	info	Default Update Interval: 900
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.083	error	All M-Bus devices could not be read, reinitialize and start over
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.081	warn	M-Bus Devices with errors: 1 from 1
                                    
                                    mbus.0
                                    2022-01-11 12:52:40.078	warn	M-Bus ID 17834338B4090107 err: Error: Error: The selected secondary address does not match any device [17834338B4090107].
                                    
                                    mbus.0
                                    2022-01-11 12:52:39.028	debug	Process: 17834338B4090107
                                    
                                    mbus.0
                                    2022-01-11 12:52:38.574	debug	connected set to true
                                    
                                    mbus.0
                                    2022-01-11 12:52:38.572	debug	connected set to true
                                    
                                    mbus.0
                                    2022-01-11 12:52:38.525	info	Schedule initialization for M-Bus-ID 17834338B4090107 with update interval 900
                                    
                                    mbus.0
                                    2022-01-11 12:52:38.519	info	Initialize M-Bus Serial to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A907T3PS-if00-port0 with 115200baud
                                    
                                    mbus.0
                                    2022-01-11 12:52:38.517	info	Default Update Interval: 900
                                    
                                    mbus.0
                                    2022-01-11 12:52:38.468	info	starting. Version 2.3.4 in /opt/iobroker/node_modules/iobroker.mbus, node: v14.18.2, js-controller: 3.3.22
                                    
                                    mbus.0
                                    2022-01-11 12:52:38.046	debug	Plugin sentry Initialize Plugin (enabled=true)
                                    

                                    Wäre dies ein HInweis: All M-Bus devices could not be read, reinitialize and start over

                                    P.S.
                                    Die ID war in der Instanz Sicherung eingetragen.

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @bahnuhr last edited by

                                      @bahnuhr Naja am ENd e... entweder der Master oder das Kabel oder das mbus Gerät ... ... Die Meldung heisst das der slave nicht antwprtet ... effektiv würde ich annehmen das der Maste rok ist und vllt eher beim Gerät schauen ... bzw kannst das ding mal an nen WIndows PC anschliessen und mit WIndows MBus software mal lesen ... vllt sagt die was genaueres was los sein kann

                                      bahnuhr 1 Reply Last reply Reply Quote 1
                                      • bahnuhr
                                        bahnuhr Forum Testing Most Active @apollon77 last edited by

                                        @apollon77 sagte in Adapter mbus - Fehler im log:

                                        WIndows PC anschliessen und mit WIndows MBus software

                                        Das ist ne gute Idee.
                                        Werde mal schauen wo ich so ne Software finde.
                                        Oder hast zufällig mal einen Link.

                                        Danke dir.

                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @bahnuhr last edited by

                                          @bahnuhr puuhh ... müsst ich suchen ... hatte damals mehrere versucht und nur eine tat gescheit in der freien version ... finde auf meinem PC eine "MBconf" installiert ... vllt ist die was (da es das einzige ist was ich noch installiert hab ist da ne gewisse chance das es die gescheite war) 🙂 Ohne gewähr

                                          bahnuhr 1 Reply Last reply Reply Quote 0
                                          • bahnuhr
                                            bahnuhr Forum Testing Most Active @apollon77 last edited by

                                            @apollon77

                                            So, Rückinfo von mir.

                                            1 von den 2 Kabeln am mbus Master war gebrochen.
                                            Neu dran gemacht und alles läuft wieder.
                                            Muss man auch erst einmal drauf kommen.

                                            Danke für die Hilfe und den Input.

                                            mfg
                                            Dieter

                                            apollon77 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            755
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            error mbus
                                            4
                                            67
                                            3551
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo