Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Wasserzähler (Funk 868) auslesen.

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Wasserzähler (Funk 868) auslesen.

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Michi_Pi @hg6806 last edited by

      @hg6806 sagte in Wasserzähler (Funk 868) auslesen.:

      ttyACM0

      Hallo, nein hat es nicht, da du unter /etc/wmbusmeters.confbei device auto eingetragen hast, hier könnte man auch direkt den Pfad des Dongles eingeben.

      Da du ja bereits die Daten deines Zählers hast, kannst du dir die Suche mit dem Befehl wmbusmeters auto:t1 sparen.

      Es sollte eigentlich ausreichen den daemon zu starten. evtl. auch mal einen Neustart noch machen.

      sudo systemctl daemon-reload
      sudo systemctl start wmbusmeters
      sudo systemctl enable wmbusmeters
      

      Danach schau mal ob der Dienst auch läuft und warte ob über mqtt Daten ankommen.

      systemctl status wmbusmeters
      
      hg6806 1 Reply Last reply Reply Quote 0
      • hg6806
        hg6806 Most Active @Michi_Pi last edited by

        @michi_pi sagte in Wasserzähler (Funk 868) auslesen.:

        systemctl status wmbusmeters

        Ah, hier könnte der Fehler liegen:

        pi@raspberrypi:/etc/wmbusmeters.d $ systemctl status wmbusmeters
        ● wmbusmeters.service - "wmbusmeters service"
           Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled)
           Active: active (running) since Fri 2021-06-18 12:40:57 CEST; 4min 8s ago
             Docs: https://github.com/weetmuts/wmbusmeters
                   man:wmbusmeters(1)
         Main PID: 22708 (wmbusmetersd)
            Tasks: 4 (limit: 4915)
           CGroup: /system.slice/wmbusmeters.service
                   └─22708 /usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid
        
        Jun 18 12:40:57 raspberrypi systemd[1]: Starting "wmbusmeters service"...
        Jun 18 12:40:57 raspberrypi wmbusmetersd[22707]: (wmbusmeters) started /run/wmbusmeters/wmbusmeters.pid
        Jun 18 12:40:57 raspberrypi systemd[1]: Started "wmbusmeters service".
        Jun 18 12:40:57 raspberrypi wmbusmetersd[22708]: Could not open file /etc/wmbusmeters.d/meinwasserzaehler.save errno=13
        Jun 18 12:40:57 raspberrypi wmbusmetersd[22708]: Not a valid meter id nor a valid meter match expression ""
        Jun 18 12:40:57 raspberrypi wmbusmetersd[22708]: Not a valid meter id nor a valid meter match expression ""
        pi@raspberrypi:/etc/wmbusmeters.d $
        
        ~
        

        Das kapiere ich nicht:

        Jun 18 12:40:57 raspberrypi wmbusmetersd[22708]: Could not open file /etc/wmbusmeters.d/meinwasserzaehler.save errno=13
        

        Woher kommt dieses xxx.save?

        Thomas Braun M 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @hg6806 last edited by

          @hg6806 sagte in Wasserzähler (Funk 868) auslesen.:

          /etc/wmbusmeters.d/meinwasserzaehler.save

          Wie sehen die Rechte an dem File aus?
          errno=13 deutet auf fehlende Berechtigungen hin.

          1 Reply Last reply Reply Quote 0
          • hg6806
            hg6806 Most Active last edited by

            Hatte die Datei volle Rechte geben und gelöscht.
            Ist aber noch immer der gleiche Fehler.

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

              @hg6806 sagte in Wasserzähler (Funk 868) auslesen.:

              Hatte die Datei volle Rechte geben und gelöscht.

              Naja, wenn du die löschst kann die auch nicht geöffnet werden.

              1 Reply Last reply Reply Quote 0
              • hg6806
                hg6806 Most Active last edited by

                Datei hatte ich NACH der Fehlermeldung gelöscht.

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

                  @hg6806
                  Waren auf der Datei ACLs gesetzt?
                  Dann kannst du die Rechte nicht mit chmod/chown einfach so ändern.

                  1 Reply Last reply Reply Quote 0
                  • hg6806
                    hg6806 Most Active last edited by

                    @thomas-braun

                    Was sind ACLs?
                    Ich hatte den ganzen Ordner auf 777 gesetzt

                    sudo chmod 777 -c -R /etc/wmbusmeters.d
                    
                    

                    Die Frage ist woher kommt diese meinwasserzaehler.save?

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

                      @hg6806
                      ACLs sind verfeinerte Zugriffsrechte.
                      777 rekursiv über ganze Verzeichnisse kippen macht man nicht.

                      Die Frage ist woher kommt diese meinwasserzaehler.save?

                      Vermutlich liegen da die configs für die einzelnen Geräte drin. Hier für das Gerät 'meinwasserzaehler'.
                      Es sollte vermutlich eine Gruppe 'wmbusmeters' geben, da müssen die entsprechenden User Mitglied sein.
                      Z. B. so:

                      sudo usermod -a -G wmbusmeters iobroker
                      
                      1 Reply Last reply Reply Quote 0
                      • hg6806
                        hg6806 Most Active last edited by hg6806

                        So, habe den Pi nochmal neu gestartet und bekomme nun folgendes:

                        pi@raspberrypi:~ $ systemctl status wmbusmeters
                        ● wmbusmeters.service - "wmbusmeters service"
                           Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled)
                           Active: active (running) since Sat 2021-06-19 07:56:18 CEST; 6min ago
                             Docs: https://github.com/weetmuts/wmbusmeters
                                   man:wmbusmeters(1)
                          Process: 538 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS)
                          Process: 549 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS)
                          Process: 562 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS)
                          Process: 564 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS)
                          Process: 565 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS)
                         Main PID: 583 (wmbusmetersd)
                            Tasks: 3 (limit: 4915)
                           CGroup: /system.slice/wmbusmeters.service
                                   └─583 /usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid
                        
                        Jun 19 07:56:18 raspberrypi systemd[1]: Starting "wmbusmeters service"...
                        Jun 19 07:56:18 raspberrypi wmbusmetersd[565]: (wmbusmeters) started /run/wmbusmeters/wmbusmeters.pid
                        Jun 19 07:56:18 raspberrypi systemd[1]: Started "wmbusmeters service".
                        pi@raspberrypi:~ $
                        
                        
                        

                        Sieht doch eigentlich gut aus und bin mal gespannt ob Daten kommen.

                        1 Reply Last reply Reply Quote 1
                        • M
                          Michi_Pi @hg6806 last edited by

                          @hg6806 sagte in Wasserzähler (Funk 868) auslesen.:

                          Woher kommt dieses xxx.save?

                          Keine Ahnung woher diese kommt. Ich habe diese nicht.

                          Wie @Thomas-Braun schon schrieb, füg deinen Username zu der Gruppe wmbusmeters hinzu.

                          sudo usermod -a -G wmbusmeters deineUsername
                          

                          Normal macht er das ja bei der Installation mit sudo make install

                          1 Reply Last reply Reply Quote 0
                          • hg6806
                            hg6806 Most Active last edited by

                            Läuft!!!

                            Danke nochmal für den Support!

                            Ich schreibe für mich mal eine Anleitung um den iPerl Zähler in ioBroker einzubinden.

                            1 Reply Last reply Reply Quote 1
                            • hg6806
                              hg6806 Most Active last edited by hg6806

                              Leute, sorry, ich muss nochmal nerven.

                              System, wieder neu aufgesetzt (endlich wieder auf eine SSD), alles genau nach Anleitung gemacht bzw. meine Settings.
                              Leider kommen wieder keine Daten. Junge Junge, ist das zickig!

                              Wieso sind keine meters konfiguriert?

                              pi@raspberrypi:~ $ sudo systemctl stop wmbusmeters.service
                              pi@raspberrypi:~ $ wmbusmeters auto:t1
                              Started auto cul on /dev/ttyACM0 listening on t1
                              No meters configured. Printing id:s of all telegrams heard!
                              
                              

                              Config ist genau wie beim letzten Mal!
                              Und ich habe seit dem eine sehr hohe CPU Auslastung.

                              Und Status sieht auch gut aus:

                              pi@raspberrypi:~ $ systemctl status wmbusmeters
                              ● wmbusmeters.service - "wmbusmeters service"
                                 Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled)
                                 Active: inactive (dead) since Mon 2021-06-21 12:30:05 CEST; 16min ago
                                   Docs: https://github.com/weetmuts/wmbusmeters
                                         man:wmbusmeters(1)
                                Process: 541 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=0/SUCCESS)
                                Process: 555 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=0/SUCCESS)
                                Process: 563 ExecStartPre=/bin/mkdir -p /run/wmbusmeters (code=exited, status=0/SUCCESS)
                                Process: 571 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /run/wmbusmeters (code=exited, status=0/SUCCESS)
                                Process: 576 ExecStart=/usr/sbin/wmbusmetersd /run/wmbusmeters/wmbusmeters.pid (code=exited, status=0/SUCCESS)
                               Main PID: 578 (code=exited, status=0/SUCCESS)
                              
                              Jun 20 21:56:17 raspberrypi systemd[1]: Starting "wmbusmeters service"...
                              Jun 20 21:56:17 raspberrypi wmbusmetersd[576]: (wmbusmeters) started /run/wmbusmeters/wmbusmeters.pid
                              Jun 20 21:56:17 raspberrypi systemd[1]: Started "wmbusmeters service".
                              Jun 21 12:30:05 raspberrypi systemd[1]: Stopping "wmbusmeters service"...
                              Jun 21 12:30:05 raspberrypi systemd[1]: wmbusmeters.service: Succeeded.
                              Jun 21 12:30:05 raspberrypi systemd[1]: Stopped "wmbusmeters service".
                              
                              
                              Thomas Braun M 2 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @hg6806 last edited by

                                @hg6806 sagte in Wasserzähler (Funk 868) auslesen.:

                                Active: inactive

                                Der Service läuft nicht.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Michi_Pi @hg6806 last edited by

                                  @hg6806 wie gehst du vor bei der Installation?

                                  Hier mal mein Weg wenn ich neu installiere.

                                  sudo apt install librtlsdr-dev
                                  git clone https://github.com/weetmuts/wmbusmeters.git
                                  cd wmbusmeters
                                  make && make test
                                  sudo make install
                                  sudo systemctl daemon-reload
                                  

                                  Wenn ich die beiden Config´s bereits erstellt hatte (die speichere ich mir lokal nochmal ab) dann muss ich nur noch den Inhalt in diese beiden Dateien kopieren.

                                  sudo nano /etc/wmbusmeters.conf 
                                  sudo nano /etc/wmbusmeters.d/meinWasserzaehler
                                  

                                  Danach nur noch den Dienst starten und nicht noch wmbusmeters auto:t1 ausführen

                                  sudo systemctl start wmbusmeters
                                  sudo systemctl enable wmbusmeters
                                  
                                  hg6806 1 Reply Last reply Reply Quote 0
                                  • hg6806
                                    hg6806 Most Active @Michi_Pi last edited by hg6806

                                    @michi_pi

                                    Keine Ahnung wo es schon wieder hängt.
                                    Ich hatte wmbusmeters erst deinstalliert über:

                                    sudo systemctl stop wmbusmeters
                                    cd wmbusmeters
                                    sudo make uninstall
                                    

                                    dann:

                                    pi@raspberrypi:~ $ git clone https://github.com/weetmuts/wmbusmeters.git
                                    fatal: Zielpfad 'wmbusmeters' existiert bereits und ist kein leeres Verzeichnis.
                                    pi@raspberrypi:~ $ sudo git clone https://github.com/weetmuts/wmbusmeters.git
                                    fatal: Zielpfad 'wmbusmeters' existiert bereits und ist kein leeres Verzeichnis.
                                    pi@raspberrypi:~ $ cd wmbusmeters
                                    pi@raspberrypi:~/wmbusmeters $ make && make test
                                    Building 1.3.0-23-g08b9153
                                    Building 1.3.0-23-g08b9153
                                    OK: test internals
                                    OK: Test C1 meters
                                    OK json: Test T1 meters
                                    OK fields: Test T1 meters
                                    OK json: Test S1 meters
                                    OK fields: Test S1 meters
                                    OK: Test meter with unknown driver
                                    OK json: Test naughty non-compliant apator162 meters
                                    OK fields: Test naughty non-compliant apator162 meters
                                    OK json: Test Izars meters
                                    OK: Test listen to all izars
                                    OK: Test aes encrypted telegrams
                                    OK: Test that failed decryption warning only prints once.
                                    OK: Test shell invocation
                                    OK: Test shell in config file
                                    OK: Test that normal meterfiles are written
                                    OK: Test that meterfiles with name-id are written
                                    OK: Test that meterfiles with id are written
                                    OK: Test that meterfiles with timestamps are written
                                    OK: Test that meterfiles with timestamps are written
                                    OK: Test normal config files with C1 meters
                                    OK: Test logfile
                                    OK: Test single meter conf file matches any id
                                    OK: Test listen and print any meter heard in logfile
                                    OK: Test listen and print any meter heard on stdout
                                    OK: Test detection of drivers for all telegrams
                                    OK: Test listen to wildcard * id
                                    OK: Test listen to wildcard suffix 8856* id
                                    OK: Test listen to two comma separted ids
                                    OK: Test listen to three comma separted ids
                                    OK: Test listen with negated ids
                                    OK: Test listen with wrong driver and wildcard
                                    OK: Test conversions of units
                                    OK: Test selected fields
                                    OK: Test oneshot
                                    OK: Test wrong keys
                                    OK: Test config4 with added conversions
                                    OK: Test that listen to t1+c1 works with meters transmitting using t1+c1
                                    OK: Test that listen to t1+c1 works with meters transmitting using t1+c1
                                    OK: Test that setting supercom587 to c1 fails
                                    OK: Test additional json from cmdline
                                    OK: Test additional shell envs from cmdline
                                    OK: Test additional json from wmbusmeters.conf and from meter file
                                    OK: Test rtlwmbus starting background script to produce telegrams
                                    OK: Reading binary telegram from stdin
                                    OK: Reading binary telegram from file
                                    OK: Reading rtlwmbus formatted telegrams from stdin
                                    OK: Reading rtlwmbus formatted telegrams from file
                                    OK: Reading rtl433 formatted telegrams from stdin
                                    OK: Reading rtl433 formatted telegrams from file
                                    OK: Test ok serial rawtty telegram on stdin
                                    OK: Test bad serial rawtty telegram with interspersed noise, on stdin
                                    OK: Test duplicates are ignored
                                    OK: Test duplicates are left alone
                                    OK: Test match on dll id
                                    OK: Test match on tpl id
                                    OK: Test log timestamps
                                    Slower tests...
                                    OK: reading all stdin before closing down
                                    RUNNING Test alarms ...
                                    STDERR---------------------------------
                                    [ALARM DeviceInactivity] 4 seconds of inactivity resetting simulations/simulatio                                                                                                             n_alarm.txt simulation (timeout 4s expected mon-sun(00-23) now 2021-06-22 22:17)
                                    (wmbus) successfully reset wmbus device
                                    STDOUT---------------------------------
                                    TMP/OUTPUT-----------------------------
                                    METER =={"media":"cold water","meter":"multical21","name":"Water","id":"76348799                                                                                                             ","total_m3":6.408,"target_m3":6.408,"max_flow_m3h":0,"flow_temperature_c":127,"                                                                                                             external_temperature_c":19,"current_status":"DRY","time_dry":"22-31 days","time_                                                                                                             reversed":"","time_leaking":"","time_bursting":"","timestamp":"2021-06-22T20:17:                                                                                                             46Z"}==
                                    METER =={"media":"cold water","meter":"multical21","name":"Water","id":"76348799                                                                                                             ","total_m3":6.408,"target_m3":6.408,"max_flow_m3h":0,"flow_temperature_c":127,"                                                                                                             external_temperature_c":19,"current_status":"DRY","time_dry":"22-31 days","time_                                                                                                             reversed":"","time_leaking":"","time_bursting":"","timestamp":"2021-06-22T20:17:                                                                                                             52Z"}==
                                    TMP/ALARM------------------------------
                                    ALARM_SHELL DeviceInactivity [ALARM DeviceInactivity] 4 seconds of inactivity re                                                                                                             setting simulations/simulation_alarm.txt simulation (timeout 4s expected mon-sun                                                                                                             (00-23) now 2021-06-22 22:17)
                                    ---------------------------------------
                                    OK: Test alarms
                                    All tests ok!
                                    pi@raspberrypi:~/wmbusmeters $ sudo nano /etc/wmbusmeters.conf
                                    pi@raspberrypi:~/wmbusmeters $ sudo nano /etc/wmbusmeters.d/meinWasserzaehler
                                    pi@raspberrypi:~/wmbusmeters $ cd /etc/wmbusmeters.d
                                    -bash: cd: /etc/wmbusmeters.d: Datei oder Verzeichnis nicht gefunden
                                    pi@raspberrypi:~/wmbusmeters $ cd
                                    pi@raspberrypi:~ $ cd etc
                                    -bash: cd: etc: Datei oder Verzeichnis nicht gefunden
                                    pi@raspberrypi:~ $ cd 7etc
                                    -bash: cd: 7etc: Datei oder Verzeichnis nicht gefunden
                                    pi@raspberrypi:~ $ cd /etc
                                    pi@raspberrypi:/etc $ makedir wmbusmeters.d
                                    -bash: makedir: Kommando nicht gefunden.
                                    pi@raspberrypi:/etc $ mkdir wmbusmeters.d
                                    mkdir: das Verzeichnis „wmbusmeters.d“ kann nicht angelegt werden: Keine Berecht                                                                                                             igung
                                    pi@raspberrypi:/etc $ sudo mkdir wmbusmeters.d
                                    pi@raspberrypi:/etc $ sudo nano /etc/wmbusmeters.d/meinWasserzaehler
                                    pi@raspberrypi:/etc $ sudo systemctl start wmbusmeters
                                    Warning: The unit file, source configuration file or drop-ins of wmbusmeters.ser                                                                                                             vice changed on disk. Run 'systemctl daemon-reload' to reload units.
                                    Job for wmbusmeters.service failed because the control process exited with error                                                                                                              code.
                                    See "systemctl status wmbusmeters.service" and "journalctl -xe" for details.
                                    pi@raspberrypi:/etc $ systemctl status wmbusmeters.service
                                    Warning: The unit file, source configuration file or drop-ins of wmbusmeters.service changed on disk. Run 'systemctl daemon-reload' to reload units.
                                    ● wmbusmeters.service - "wmbusmeters service"
                                       Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled)
                                       Active: failed (Result: exit-code) since Tue 2021-06-22 22:27:35 CEST; 30s ago
                                         Docs: https://github.com/weetmuts/wmbusmeters
                                               man:wmbusmeters(1)
                                      Process: 27860 ExecStartPre=/bin/mkdir -p /var/log/wmbusmeters/meter_readings (code=exited, status=217/USER)
                                      Process: 27861 ExecStartPre=/bin/chown -R wmbusmeters:wmbusmeters /var/log/wmbusmeters (code=exited, status=217/USER)
                                    
                                    Jun 22 22:27:34 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'.
                                    Jun 22 22:27:34 raspberrypi systemd[1]: Failed to start "wmbusmeters service".
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: Stopped "wmbusmeters service".
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: Failed to start "wmbusmeters service".
                                    pi@raspberrypi:/etc $ sudo systemctl daemon-reload
                                    pi@raspberrypi:/etc $ systemctl status wmbusmeters.service
                                    ● wmbusmeters.service
                                       Loaded: not-found (Reason: Unit wmbusmeters.service not found.)
                                       Active: failed (Result: exit-code) since Tue 2021-06-22 22:27:35 CEST; 1min 13s ago
                                    
                                    Jun 22 22:27:34 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'.
                                    Jun 22 22:27:34 raspberrypi systemd[1]: Failed to start "wmbusmeters service".
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: Stopped "wmbusmeters service".
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'.
                                    Jun 22 22:27:35 raspberrypi systemd[1]: Failed to start "wmbusmeters service".
                                    pi@raspberrypi:/etc $ sudo systemctl start wmbusmeters
                                    Failed to start wmbusmeters.service: Unit wmbusmeters.service not found.
                                    pi@raspberrypi:/etc $
                                    
                                    

                                    Irgendwie fehlt der service.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Michi_Pi @hg6806 last edited by

                                      @hg6806 ja, du warst zu schnell, du hast vergessen es zu installieren.
                                      Nach make && make test fehlt der Befehl sudo make install

                                      Da aber wohl noch was im Verzeichnis liegt, würde ich die Daten nochmal holen.

                                      Also so:

                                      sudo systemctl stop wmbusmeters
                                      cd wmbusmeters
                                      git pull https://github.com/weetmuts/wmbusmeters.git
                                      sudo make clean
                                      sudo make install
                                      sudo systemctl daemon-reload
                                      

                                      danach legst deine configs an und startest den Dienst, wo wie du es eh vorgehabt hattest.

                                      hg6806 1 Reply Last reply Reply Quote 0
                                      • hg6806
                                        hg6806 Most Active @Michi_Pi last edited by hg6806

                                        @michi_pi
                                        Danke, habe ich so gemacht, wirft jedoch noch immer den Fehler aus:

                                        pi@raspberrypi:/etc $ sudo systemctl stop wmbusmeters
                                        pi@raspberrypi:/etc $ cd wmbusmeters
                                        -bash: cd: wmbusmeters: Datei oder Verzeichnis nicht gefunden
                                        pi@raspberrypi:/etc $ cd
                                        pi@raspberrypi:~ $ cd wmbusmeters
                                        pi@raspberrypi:~/wmbusmeters $ git pull https://github.com/weetmuts/wmbusmeters.git
                                        Von https://github.com/weetmuts/wmbusmeters
                                         * branch            HEAD       -> FETCH_HEAD
                                        Bereits aktuell.
                                        pi@raspberrypi:~/wmbusmeters $ sudo make clean
                                        Building 1.3.0-23-g08b9153
                                        rm -rf build/* build_arm/* build_debug/* build_arm_debug/* *~
                                        pi@raspberrypi:~/wmbusmeters $ sudo make install
                                        Building 1.3.0-23-g08b9153
                                        g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/aes.cc -c -E > build/aes.o.src
                                        g++ -Os -fPIC -std=c++11 -Wall -Werror=format-security -Ibuild src/aes.cc -MMD -c -o build/aes.o
                                        g++ -Os -fPIC -std=c++11 -Wall -Werror=format-sec
                                        .......................
                                        
                                        pi@raspberrypi:~/wmbusmeters $ sudo systemctl daemon-reload
                                        pi@raspberrypi:~/wmbusmeters $ sudo nano /etc/wmbusmeters.d/meinWasserzaehler
                                        pi@raspberrypi:~/wmbusmeters $ sudo nano /etc/wmbusmeters.conf
                                        pi@raspberrypi:~/wmbusmeters $ sudo systemctl start wmbusmeters
                                        pi@raspberrypi:~/wmbusmeters $ sudo systemctl enable wmbusmeters
                                        pi@raspberrypi:~/wmbusmeters $ systemctl status wmbusmeters.service
                                        ● wmbusmeters.service - "wmbusmeters service"
                                           Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled)
                                           Active: failed (Result: protocol) since Wed 2021-06-23 14:14:04 CEST; 33s ago
                                             Docs: https://github.com/weetmuts/wmbusmeters
                                                   man:wmbusmeters(1)
                                        
                                        Jun 23 14:14:04 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart.
                                        Jun 23 14:14:04 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3.
                                        Jun 23 14:14:04 raspberrypi systemd[1]: Stopped "wmbusmeters service".
                                        Jun 23 14:14:04 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly.
                                        Jun 23 14:14:04 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'protocol'.
                                        Jun 23 14:14:04 raspberrypi systemd[1]: Failed to start "wmbusmeters service".
                                        pi@raspberrypi:~/wmbusmeters $
                                        
                                        
                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Michi_Pi @hg6806 last edited by

                                          @hg6806 hast schon mal einen neustart durchgeführt?

                                          hg6806 1 Reply Last reply Reply Quote 0
                                          • hg6806
                                            hg6806 Most Active @Michi_Pi last edited by

                                            @michi_pi
                                            Ja, gerade mal Reboot gemacht.
                                            Danach noch immer das Problem:

                                            pi@raspberrypi:~ $ sudo systemctl start wmbusmeters
                                            Job for wmbusmeters.service failed because the service did not take the steps required by its unit configuration.
                                            See "systemctl status wmbusmeters.service" and "journalctl -xe" for details.
                                            pi@raspberrypi:~ $ sudo systemctl enable wmbusmeters
                                            pi@raspberrypi:~ $
                                            pi@raspberrypi:~ $ systemctl status wmbusmeters.service
                                            ● wmbusmeters.service - "wmbusmeters service"
                                               Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled)
                                               Active: failed (Result: exit-code) since Wed 2021-06-23 15:17:55 CEST; 15s ago
                                                 Docs: https://github.com/weetmuts/wmbusmeters
                                                       man:wmbusmeters(1)
                                             Main PID: 6031 (code=exited, status=1/FAILURE)
                                            
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: Stopped "wmbusmeters service".
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: Failed to start "wmbusmeters service".
                                            pi@raspberrypi:~ $ systemctl status wmbusmeters
                                            ● wmbusmeters.service - "wmbusmeters service"
                                               Loaded: loaded (/lib/systemd/system/wmbusmeters.service; enabled; vendor preset: enabled)
                                               Active: failed (Result: exit-code) since Wed 2021-06-23 15:17:55 CEST; 25s ago
                                                 Docs: https://github.com/weetmuts/wmbusmeters
                                                       man:wmbusmeters(1)
                                             Main PID: 6031 (code=exited, status=1/FAILURE)
                                            
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Service RestartSec=1s expired, scheduling restart.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Scheduled restart job, restart counter is at 3.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: Stopped "wmbusmeters service".
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Start request repeated too quickly.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: wmbusmeters.service: Failed with result 'exit-code'.
                                            Jun 23 15:17:55 raspberrypi systemd[1]: Failed to start "wmbusmeters service".
                                            pi@raspberrypi:~ $
                                            
                                            

                                            An welcher Stelle der Installation sollte man generell ein Reboot machen?

                                            M 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

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

                                            688
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            868 diehl funk oms wasserzähler
                                            23
                                            220
                                            52737
                                            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