Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter doorio v2.1.2

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

Test Adapter doorio v2.1.2

Scheduled Pinned Locked Moved Tester
door intercomdoorpitürsprechstelle
590 Posts 36 Posters 155.1k Views 39 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A AingTii

    @wal

    Hallo Walter,
    Ich wollte ja noch mal Rückmeldung geben bezüglich der Anleitung.
    Erst mal, funktionert sie soweit bis die Fehlermeldung mit dem X11 kommt.

    Evtl. könntest Du das noch mit einbauen, dass man vor der Installation noch X11 installieren muss?
    Du hast es ganz oben beschrieben, konnte ich aber nicht testen, da ich es über

    sudo apt-get install libxext-dev
    

    Ob das nun richtig ist kann ich nicht sagen....

    installiert habe und erst nachher gesehen hatte das oben noch was von baresip-x11 stand.

    pulse audio kriege ich irgendwie nicht hin, also zickt bei dem neu aufgesetzen ebenfalls, bekomme kein Audio raus.

    Da hätte ich die Frage, was hat es für einen Grund dass Du pulse benutzt anstatt alsa?

    Evtl. könntest Du die pulse installation und Einrichtung noch etwas detaillierter erklären,
    wäre für mich auf jeden Fall Hilfreich :grinning:

    Dann habe ich einen 3cx server aufgesetzt in der Hoffnung das ganze besser zu managen und auch Video
    benutzten zu können, der SIP Bereich der Fritzbox scheint es nicht zu unterstützen.

    Da käme noch die Frage, hast Du evtl. eine Idee wie ich in baresip den VideoCodec vp8 installiere?

    Wenn ich den in der config aktiviere, kommt ne Fehlermeldung, kann nicht gefunden werden udn die vp8.so ist auch nicht
    da, obwohl im github im src vp8 vorhanden ist.

    Danke
    Gruß Jens

    WalW Offline
    WalW Offline
    Wal
    Developer
    wrote on last edited by
    #504

    @aingtii ,
    pulse nehme ich wegen Acoustic Echo Cancellation, wenn man das nicht braucht genügt auch alsa.
    Die Anleitung eine Seite voher genügt normal und baresip-x11 braucht nicht jeder.

    Gruß
    Walter

    DoorIO-Adapter
    wioBrowser-Adapter und wioBrowser

    1 Reply Last reply
    0
    • A AingTii

      @wal

      Hallo Walter,
      Ich wollte ja noch mal Rückmeldung geben bezüglich der Anleitung.
      Erst mal, funktionert sie soweit bis die Fehlermeldung mit dem X11 kommt.

      Evtl. könntest Du das noch mit einbauen, dass man vor der Installation noch X11 installieren muss?
      Du hast es ganz oben beschrieben, konnte ich aber nicht testen, da ich es über

      sudo apt-get install libxext-dev
      

      Ob das nun richtig ist kann ich nicht sagen....

      installiert habe und erst nachher gesehen hatte das oben noch was von baresip-x11 stand.

      pulse audio kriege ich irgendwie nicht hin, also zickt bei dem neu aufgesetzen ebenfalls, bekomme kein Audio raus.

      Da hätte ich die Frage, was hat es für einen Grund dass Du pulse benutzt anstatt alsa?

      Evtl. könntest Du die pulse installation und Einrichtung noch etwas detaillierter erklären,
      wäre für mich auf jeden Fall Hilfreich :grinning:

      Dann habe ich einen 3cx server aufgesetzt in der Hoffnung das ganze besser zu managen und auch Video
      benutzten zu können, der SIP Bereich der Fritzbox scheint es nicht zu unterstützen.

      Da käme noch die Frage, hast Du evtl. eine Idee wie ich in baresip den VideoCodec vp8 installiere?

      Wenn ich den in der config aktiviere, kommt ne Fehlermeldung, kann nicht gefunden werden udn die vp8.so ist auch nicht
      da, obwohl im github im src vp8 vorhanden ist.

      Danke
      Gruß Jens

      WalW Offline
      WalW Offline
      Wal
      Developer
      wrote on last edited by
      #505

      @aingtii ,
      in der Datei https://github.com/baresip/baresip/blob/master/mk/modules.mk siehst du welche Dateien vorhanden sein müssen, um das Modul zu erstellen. Um vp8.so zu erstellen braucht baresip die Datei vp8.h und die ist im Paket libvpx-dev enthalten.

      sudo apt install libvpx-dev
      

      Gruß
      Walter

      DoorIO-Adapter
      wioBrowser-Adapter und wioBrowser

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AingTii
        wrote on last edited by
        #506

        @wal

        Ok, danke das hat schon mal geklappt.

        nun verbindet baresip sich nicht mehr mit dem 3cx server, immer timeout...
        Das muss auch einer verstehen.....

        Also wieder rumfummeln um den Fehler zu finden :thinking_face:

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AingTii
          wrote on last edited by
          #507

          bin schon mal ein stück weiter, videotelefonie funktioniert über 3cx

          allerdings, wieder dieses komische verhalten, starte ich baresip automatisch,
          egal ob über ssh aus Nodered oder per autostart wie oben beschrieben wird die Verbindung
          gleich wieder beendet nach dem abnehmen.

          Auch ist das Problem, dass ich auf jeden Fall

          export DISPLAY=:0
          

          eingeben muss damit die videoverbindung funktioniert.

          Beendet ich baresip über killall und starte es in der console manuell, geht alles (export DISPLAY.... vorrausgesetzt)

          Da frage ich mich, was ist der unterschied, ob ich mich mit putty oder per Nodered mit dem user Pi einlogge,
          das es sich unterschiedlich verhält

          Danke
          Gruß Jens

          WalW 1 Reply Last reply
          0
          • A AingTii

            bin schon mal ein stück weiter, videotelefonie funktioniert über 3cx

            allerdings, wieder dieses komische verhalten, starte ich baresip automatisch,
            egal ob über ssh aus Nodered oder per autostart wie oben beschrieben wird die Verbindung
            gleich wieder beendet nach dem abnehmen.

            Auch ist das Problem, dass ich auf jeden Fall

            export DISPLAY=:0
            

            eingeben muss damit die videoverbindung funktioniert.

            Beendet ich baresip über killall und starte es in der console manuell, geht alles (export DISPLAY.... vorrausgesetzt)

            Da frage ich mich, was ist der unterschied, ob ich mich mit putty oder per Nodered mit dem user Pi einlogge,
            das es sich unterschiedlich verhält

            Danke
            Gruß Jens

            WalW Offline
            WalW Offline
            Wal
            Developer
            wrote on last edited by
            #508

            @aingtii ,
            das kann nur ein Rechte Problem sein. Das Beste wäre auch, wenn du einen neuen Thread erstellst, da es nichts mit dem Adapter zu tun hat. ;-)

            Gruß
            Walter

            DoorIO-Adapter
            wioBrowser-Adapter und wioBrowser

            1 Reply Last reply
            0
            • R Offline
              R Offline
              RayJayVaughan
              wrote on last edited by
              #509

              Hallo zusammen,

              ich sezte gerade auf einem zero w einen baresip-client auf Basis des hier verfügbaren images um. Um Videotelefonie zu ermöglichen bzw. das Bild von meiner Haustür einzufangen, habe ich noch den mjpg-controller installiert. Ich bekomme diesen auch problemlos gestartet. Will ich diesen aber automatisch per Systemdienst starten, funktioniert das nicht.

              Meine Servicedatei sieht wie folgt aus /etc/systemd/system/doorcam.service

              [Unit]
              Description=doorcam
              After=syslog.target network.target
              
              [Service]
              
              Type=simple
              User=pi
              ExecStart=/usr/local/bin/doorcam.sh
              WorkingDirectory=/usr/local/bin/
              StandardOutput=inherit
              StandardError=inherit
              
              
              [Install]
              WantedBy=multi-user.target
              
              

              Die script-Datei /usr/local/bin/doorcam.sh

              #!/bin/sh
              
              export LD_LIBRARY_PATH=/urs/local/bin
              sudo /usr/local/bin/mjpg_streamer -i "input_uvc.so -r 1280x720 -d /dev/video0 -f 30" -o "output_http.so -p 8080 -w /usr/local/share/mjpg-streamer/www" &
              
              

              Führe ich die Datei doorcam.sh lokal über putty aus, dann sieht es wie folgt aus (und die Camera ist über den WebBrowser erreichbar).

              pi@raspberrypi:/etc/systemd/system $ MJPG Streamer Version: git rev: 310b29f4a94c46652b20c4b7b6e5cf24e532af39
               i: Using V4L2 device.: /dev/video0
               i: Desired Resolution: 1280 x 720
               i: Frames Per Second.: 30
               i: Format............: JPEG
               i: TV-Norm...........: DEFAULT
              UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
              UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
              UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
              UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
               o: www-folder-path......: /usr/local/share/mjpg-streamer/www/
               o: HTTP TCP port........: 8080
               o: HTTP Listen Address..: (null)
               o: username:password....: disabled
               o: commands.............: enabled
              
              

              sudo systemctl start doorcam

              liefert

              pi@raspberrypi:/etc/systemd/system $ sudo systemctl status doorcam
              ● doorcam.service - doorcam
                 Loaded: loaded (/etc/systemd/system/doorcam.service; disabled; vendor preset: enabled)
                 Active: inactive (dead)
              
              Mai 31 17:05:08 raspberrypi systemd[1]: Stopped doorcam.
              Mai 31 17:05:08 raspberrypi systemd[1]: Started doorcam.
              Mai 31 17:05:08 raspberrypi systemd[1]: doorcam.service: Succeeded.
              Mai 31 17:05:10 raspberrypi systemd[1]: Stopped doorcam.
              Mai 31 17:05:37 raspberrypi systemd[1]: Started doorcam.
              Mai 31 17:05:37 raspberrypi systemd[1]: doorcam.service: Succeeded.
              Mai 31 17:08:01 raspberrypi systemd[1]: Started doorcam.
              Mai 31 17:08:01 raspberrypi systemd[1]: doorcam.service: Succeeded.
              Mai 31 17:20:14 raspberrypi systemd[1]: Started doorcam.
              Mai 31 17:20:14 raspberrypi systemd[1]: doorcam.service: Succeeded.
              
              

              Aber unter pstree ist kein Job sichtbar. Das Webfrontend des Streamers läuft ebenfalls nicht. Setze ich in der Service-Datei Restart auf always, dann startet er zwar in einer Endlosschleife (zumindest theoretisch) den Job, praktisch aber nicht. Das Protokoll sagt Folgendes dazu

              May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
              May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
              May 31 17:20:14 raspberrypi systemd[1]: Started doorcam.
              May 31 17:20:14 raspberrypi systemd[1]: doorcam.service: Succeeded.
              May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
              May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
              May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
              May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
              May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
              May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
              
              

              Sorry, will Euch nicht vollspammen.....aber ich hab das ganze Wochenende damit verbracht...leider erfolglos

              Thomas BraunT 1 Reply Last reply
              0
              • R RayJayVaughan

                Hallo zusammen,

                ich sezte gerade auf einem zero w einen baresip-client auf Basis des hier verfügbaren images um. Um Videotelefonie zu ermöglichen bzw. das Bild von meiner Haustür einzufangen, habe ich noch den mjpg-controller installiert. Ich bekomme diesen auch problemlos gestartet. Will ich diesen aber automatisch per Systemdienst starten, funktioniert das nicht.

                Meine Servicedatei sieht wie folgt aus /etc/systemd/system/doorcam.service

                [Unit]
                Description=doorcam
                After=syslog.target network.target
                
                [Service]
                
                Type=simple
                User=pi
                ExecStart=/usr/local/bin/doorcam.sh
                WorkingDirectory=/usr/local/bin/
                StandardOutput=inherit
                StandardError=inherit
                
                
                [Install]
                WantedBy=multi-user.target
                
                

                Die script-Datei /usr/local/bin/doorcam.sh

                #!/bin/sh
                
                export LD_LIBRARY_PATH=/urs/local/bin
                sudo /usr/local/bin/mjpg_streamer -i "input_uvc.so -r 1280x720 -d /dev/video0 -f 30" -o "output_http.so -p 8080 -w /usr/local/share/mjpg-streamer/www" &
                
                

                Führe ich die Datei doorcam.sh lokal über putty aus, dann sieht es wie folgt aus (und die Camera ist über den WebBrowser erreichbar).

                pi@raspberrypi:/etc/systemd/system $ MJPG Streamer Version: git rev: 310b29f4a94c46652b20c4b7b6e5cf24e532af39
                 i: Using V4L2 device.: /dev/video0
                 i: Desired Resolution: 1280 x 720
                 i: Frames Per Second.: 30
                 i: Format............: JPEG
                 i: TV-Norm...........: DEFAULT
                UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
                UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
                UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
                UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
                 o: www-folder-path......: /usr/local/share/mjpg-streamer/www/
                 o: HTTP TCP port........: 8080
                 o: HTTP Listen Address..: (null)
                 o: username:password....: disabled
                 o: commands.............: enabled
                
                

                sudo systemctl start doorcam

                liefert

                pi@raspberrypi:/etc/systemd/system $ sudo systemctl status doorcam
                ● doorcam.service - doorcam
                   Loaded: loaded (/etc/systemd/system/doorcam.service; disabled; vendor preset: enabled)
                   Active: inactive (dead)
                
                Mai 31 17:05:08 raspberrypi systemd[1]: Stopped doorcam.
                Mai 31 17:05:08 raspberrypi systemd[1]: Started doorcam.
                Mai 31 17:05:08 raspberrypi systemd[1]: doorcam.service: Succeeded.
                Mai 31 17:05:10 raspberrypi systemd[1]: Stopped doorcam.
                Mai 31 17:05:37 raspberrypi systemd[1]: Started doorcam.
                Mai 31 17:05:37 raspberrypi systemd[1]: doorcam.service: Succeeded.
                Mai 31 17:08:01 raspberrypi systemd[1]: Started doorcam.
                Mai 31 17:08:01 raspberrypi systemd[1]: doorcam.service: Succeeded.
                Mai 31 17:20:14 raspberrypi systemd[1]: Started doorcam.
                Mai 31 17:20:14 raspberrypi systemd[1]: doorcam.service: Succeeded.
                
                

                Aber unter pstree ist kein Job sichtbar. Das Webfrontend des Streamers läuft ebenfalls nicht. Setze ich in der Service-Datei Restart auf always, dann startet er zwar in einer Endlosschleife (zumindest theoretisch) den Job, praktisch aber nicht. Das Protokoll sagt Folgendes dazu

                May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
                May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
                May 31 17:20:14 raspberrypi systemd[1]: Started doorcam.
                May 31 17:20:14 raspberrypi systemd[1]: doorcam.service: Succeeded.
                May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
                May 31 17:20:14 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
                May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
                May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
                May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked executable. Please remove executable permission bits. Proceeding anyway.
                May 31 17:20:35 raspberrypi systemd[1]: Configuration file /etc/systemd/system/doorcam.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
                
                

                Sorry, will Euch nicht vollspammen.....aber ich hab das ganze Wochenende damit verbracht...leider erfolglos

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                wrote on last edited by Thomas Braun
                #510

                @rayjayvaughan sagte in Test Adapter doorio v2.0.1:

                systemctl status doorcam
                

                sagt? Masked? Disabled?

                getfacl /etc/systemd/system/doorcam.service
                

                sagt?

                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

                R 1 Reply Last reply
                0
                • Thomas BraunT Thomas Braun

                  @rayjayvaughan sagte in Test Adapter doorio v2.0.1:

                  systemctl status doorcam
                  

                  sagt? Masked? Disabled?

                  getfacl /etc/systemd/system/doorcam.service
                  

                  sagt?

                  R Offline
                  R Offline
                  RayJayVaughan
                  wrote on last edited by
                  #511

                  @thomas-braun

                  pi@raspberrypi:/etc/systemd/system $ systemctl status doorcam
                  ● doorcam.service - doorcam
                     Loaded: loaded (/etc/systemd/system/doorcam.service; disabled; vendor preset: enabled)
                     Active: inactive (dead)
                  
                  Mai 31 17:05:08 raspberrypi systemd[1]: Stopped doorcam.
                  Mai 31 17:05:08 raspberrypi systemd[1]: Started doorcam.
                  Mai 31 17:05:08 raspberrypi systemd[1]: doorcam.service: Succeeded.
                  Mai 31 17:05:10 raspberrypi systemd[1]: Stopped doorcam.
                  Mai 31 17:05:37 raspberrypi systemd[1]: Started doorcam.
                  Mai 31 17:05:37 raspberrypi systemd[1]: doorcam.service: Succeeded.
                  Mai 31 17:08:01 raspberrypi systemd[1]: Started doorcam.
                  Mai 31 17:08:01 raspberrypi systemd[1]: doorcam.service: Succeeded.
                  Mai 31 17:20:14 raspberrypi systemd[1]: Started doorcam.
                  Mai 31 17:20:14 raspberrypi systemd[1]: doorcam.service: Succeeded.
                  
                  
                  R Thomas BraunT 2 Replies Last reply
                  0
                  • R RayJayVaughan

                    @thomas-braun

                    pi@raspberrypi:/etc/systemd/system $ systemctl status doorcam
                    ● doorcam.service - doorcam
                       Loaded: loaded (/etc/systemd/system/doorcam.service; disabled; vendor preset: enabled)
                       Active: inactive (dead)
                    
                    Mai 31 17:05:08 raspberrypi systemd[1]: Stopped doorcam.
                    Mai 31 17:05:08 raspberrypi systemd[1]: Started doorcam.
                    Mai 31 17:05:08 raspberrypi systemd[1]: doorcam.service: Succeeded.
                    Mai 31 17:05:10 raspberrypi systemd[1]: Stopped doorcam.
                    Mai 31 17:05:37 raspberrypi systemd[1]: Started doorcam.
                    Mai 31 17:05:37 raspberrypi systemd[1]: doorcam.service: Succeeded.
                    Mai 31 17:08:01 raspberrypi systemd[1]: Started doorcam.
                    Mai 31 17:08:01 raspberrypi systemd[1]: doorcam.service: Succeeded.
                    Mai 31 17:20:14 raspberrypi systemd[1]: Started doorcam.
                    Mai 31 17:20:14 raspberrypi systemd[1]: doorcam.service: Succeeded.
                    
                    
                    R Offline
                    R Offline
                    RayJayVaughan
                    wrote on last edited by
                    #512

                    @rayjayvaughan

                    pi@raspberrypi:/etc/systemd/system $ getfacl /etc/systemd/system/doorcam.service
                    -bash: getfacl: Kommando nicht gefunden.
                    
                    
                    Thomas BraunT 1 Reply Last reply
                    0
                    • R RayJayVaughan

                      @thomas-braun

                      pi@raspberrypi:/etc/systemd/system $ systemctl status doorcam
                      ● doorcam.service - doorcam
                         Loaded: loaded (/etc/systemd/system/doorcam.service; disabled; vendor preset: enabled)
                         Active: inactive (dead)
                      
                      Mai 31 17:05:08 raspberrypi systemd[1]: Stopped doorcam.
                      Mai 31 17:05:08 raspberrypi systemd[1]: Started doorcam.
                      Mai 31 17:05:08 raspberrypi systemd[1]: doorcam.service: Succeeded.
                      Mai 31 17:05:10 raspberrypi systemd[1]: Stopped doorcam.
                      Mai 31 17:05:37 raspberrypi systemd[1]: Started doorcam.
                      Mai 31 17:05:37 raspberrypi systemd[1]: doorcam.service: Succeeded.
                      Mai 31 17:08:01 raspberrypi systemd[1]: Started doorcam.
                      Mai 31 17:08:01 raspberrypi systemd[1]: doorcam.service: Succeeded.
                      Mai 31 17:20:14 raspberrypi systemd[1]: Started doorcam.
                      Mai 31 17:20:14 raspberrypi systemd[1]: doorcam.service: Succeeded.
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #513

                      @rayjayvaughan

                      sudo systemctl enable doorcam
                      

                      Und bitte noch

                      getfacl /etc/systemd/system/doorcam.service
                      

                      nachliefern.

                      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

                      1 Reply Last reply
                      0
                      • R RayJayVaughan

                        @rayjayvaughan

                        pi@raspberrypi:/etc/systemd/system $ getfacl /etc/systemd/system/doorcam.service
                        -bash: getfacl: Kommando nicht gefunden.
                        
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        wrote on last edited by
                        #514

                        @rayjayvaughan
                        Nanu?

                        Dann mal mit

                        ls -la /etc/systemd/system/doorcam.service
                        

                        nach den Rechten schauen.

                        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

                        R 1 Reply Last reply
                        0
                        • Thomas BraunT Thomas Braun

                          @rayjayvaughan
                          Nanu?

                          Dann mal mit

                          ls -la /etc/systemd/system/doorcam.service
                          

                          nach den Rechten schauen.

                          R Offline
                          R Offline
                          RayJayVaughan
                          wrote on last edited by
                          #515

                          @thomas-braun

                          pi@raspberrypi:/etc/systemd/system $ ls -la /etc/systemd/system/doorcam.service
                          -rwxrwxrwx 1 root root 267 Mai 31 17:05 /etc/systemd/system/doorcam.service
                          
                          
                          Thomas BraunT 2 Replies Last reply
                          0
                          • R RayJayVaughan

                            @thomas-braun

                            pi@raspberrypi:/etc/systemd/system $ ls -la /etc/systemd/system/doorcam.service
                            -rwxrwxrwx 1 root root 267 Mai 31 17:05 /etc/systemd/system/doorcam.service
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by Thomas Braun
                            #516

                            @rayjayvaughan

                            sudo apt update 
                            sudo apt install acl
                            

                            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

                            1 Reply Last reply
                            0
                            • R RayJayVaughan

                              @thomas-braun

                              pi@raspberrypi:/etc/systemd/system $ ls -la /etc/systemd/system/doorcam.service
                              -rwxrwxrwx 1 root root 267 Mai 31 17:05 /etc/systemd/system/doorcam.service
                              
                              
                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by
                              #517

                              @rayjayvaughan sagte in Test Adapter doorio v2.0.1:

                              -rwxrwxrwx

                              Wie kommst du eigentlich an die Rechte?
                              Ein touch in dem Verzeichnis legt neue Dateien mit

                              -rw-r--r-- 1 root root
                              

                              an.

                              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

                              R 1 Reply Last reply
                              0
                              • Thomas BraunT Thomas Braun

                                @rayjayvaughan sagte in Test Adapter doorio v2.0.1:

                                -rwxrwxrwx

                                Wie kommst du eigentlich an die Rechte?
                                Ein touch in dem Verzeichnis legt neue Dateien mit

                                -rw-r--r-- 1 root root
                                

                                an.

                                R Offline
                                R Offline
                                RayJayVaughan
                                wrote on last edited by
                                #518

                                @thomas-braun

                                Rootrechte waren mein letzter Versuch ;-) ich wollte die mit chmod wieder beschneiden wenn es läuft.

                                Acl hab ich jetzt installiert.

                                Thomas BraunT 1 Reply Last reply
                                0
                                • R RayJayVaughan

                                  @thomas-braun

                                  Rootrechte waren mein letzter Versuch ;-) ich wollte die mit chmod wieder beschneiden wenn es läuft.

                                  Acl hab ich jetzt installiert.

                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  wrote on last edited by
                                  #519

                                  @rayjayvaughan
                                  Dann muss jetzt

                                  getfacl /etc/systemd/system/doorcam.service
                                  

                                  was liefern.

                                  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

                                  R 1 Reply Last reply
                                  0
                                  • Thomas BraunT Thomas Braun

                                    @rayjayvaughan
                                    Dann muss jetzt

                                    getfacl /etc/systemd/system/doorcam.service
                                    

                                    was liefern.

                                    R Offline
                                    R Offline
                                    RayJayVaughan
                                    wrote on last edited by
                                    #520

                                    @thomas-braun

                                    pi@raspberrypi:~ $ getfacl /etc/systemd/system/doorcam.service
                                    getfacl: Entferne führende '/' von absoluten Pfadnamen
                                    # file: etc/systemd/system/doorcam.service
                                    # owner: root
                                    # group: root
                                    user::rwx
                                    group::rwx
                                    other::rwx
                                    
                                    Thomas BraunT 1 Reply Last reply
                                    0
                                    • R RayJayVaughan

                                      @thomas-braun

                                      pi@raspberrypi:~ $ getfacl /etc/systemd/system/doorcam.service
                                      getfacl: Entferne führende '/' von absoluten Pfadnamen
                                      # file: etc/systemd/system/doorcam.service
                                      # owner: root
                                      # group: root
                                      user::rwx
                                      group::rwx
                                      other::rwx
                                      
                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #521

                                      @rayjayvaughan

                                      In deiner doorcam.sh ist auch ein Typo drin:

                                      #!/bin/sh
                                      export LD_LIBRARY_PATH=/urs/local/bin
                                      

                                      Soll bestimmt

                                      #!/bin/sh
                                      export LD_LIBRARY_PATH=/usr/local/bin
                                      

                                      heißen.

                                      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

                                      R 1 Reply Last reply
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @rayjayvaughan

                                        In deiner doorcam.sh ist auch ein Typo drin:

                                        #!/bin/sh
                                        export LD_LIBRARY_PATH=/urs/local/bin
                                        

                                        Soll bestimmt

                                        #!/bin/sh
                                        export LD_LIBRARY_PATH=/usr/local/bin
                                        

                                        heißen.

                                        R Offline
                                        R Offline
                                        RayJayVaughan
                                        wrote on last edited by
                                        #522

                                        @thomas-braun

                                        ...den Typo habe ich korrigiert. Den daemon reloaded, den Service gestoppt, gestartet, gebootet....

                                        pi@raspberrypi:~ $ sudo systemctl status doorcam.service
                                        ● doorcam.service - doorcam
                                           Loaded: loaded (/etc/systemd/system/doorcam.service; disabled; vendor preset: enabled)
                                           Active: inactive (dead)
                                        
                                        Jun 01 09:15:05 raspberrypi systemd[1]: Started doorcam.
                                        Jun 01 09:15:05 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                        Jun 01 09:16:37 raspberrypi systemd[1]: Started doorcam.
                                        Jun 01 09:16:37 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                        Jun 01 09:16:41 raspberrypi systemd[1]: Started doorcam.
                                        Jun 01 09:16:41 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                        Jun 01 09:16:43 raspberrypi systemd[1]: Started doorcam.
                                        Jun 01 09:16:43 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                        Jun 01 09:23:46 raspberrypi systemd[1]: Started doorcam.
                                        Jun 01 09:23:46 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                        
                                        
                                        

                                        ...aber leider hat das nichts geändert. Der streamer startet nicht.

                                        WalW 1 Reply Last reply
                                        0
                                        • R RayJayVaughan

                                          @thomas-braun

                                          ...den Typo habe ich korrigiert. Den daemon reloaded, den Service gestoppt, gestartet, gebootet....

                                          pi@raspberrypi:~ $ sudo systemctl status doorcam.service
                                          ● doorcam.service - doorcam
                                             Loaded: loaded (/etc/systemd/system/doorcam.service; disabled; vendor preset: enabled)
                                             Active: inactive (dead)
                                          
                                          Jun 01 09:15:05 raspberrypi systemd[1]: Started doorcam.
                                          Jun 01 09:15:05 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                          Jun 01 09:16:37 raspberrypi systemd[1]: Started doorcam.
                                          Jun 01 09:16:37 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                          Jun 01 09:16:41 raspberrypi systemd[1]: Started doorcam.
                                          Jun 01 09:16:41 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                          Jun 01 09:16:43 raspberrypi systemd[1]: Started doorcam.
                                          Jun 01 09:16:43 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                          Jun 01 09:23:46 raspberrypi systemd[1]: Started doorcam.
                                          Jun 01 09:23:46 raspberrypi systemd[1]: doorcam.service: Succeeded.
                                          
                                          
                                          

                                          ...aber leider hat das nichts geändert. Der streamer startet nicht.

                                          WalW Offline
                                          WalW Offline
                                          Wal
                                          Developer
                                          wrote on last edited by Wal
                                          #523

                                          @rayjayvaughan,
                                          falls du RPI OS nutzt, funktioniert das mit dem User in der doorcam.service nicht mehr.
                                          Du mußt das so machen wie auf Seite 25 mit dem baresip.service von mir beschrieben, halt nur mit der doorcam.service.

                                          Autostart als User einrichten:

                                          sudo loginctl enable-linger pi
                                          
                                          mkdir -p ~/.config/systemd/user/
                                          nano ~/.config/systemd/user/baresip.service
                                          

                                          das einfügen:

                                          [Unit]
                                          Description=baresip
                                          
                                          [Service]
                                          ExecStart=/usr/local/bin/baresip -4 -f /home/pi/.baresip
                                          
                                          [Install]
                                          WantedBy=default.target
                                          

                                          aktivieren und reboot:

                                          systemctl --user daemon-reload
                                          systemctl --user enable baresip.service
                                          sudo reboot
                                          

                                          Gruß
                                          Walter

                                          DoorIO-Adapter
                                          wioBrowser-Adapter und wioBrowser

                                          R 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          370

                                          Online

                                          32.7k

                                          Users

                                          82.3k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe