Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter doorio v2.1.2

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter doorio v2.1.2

    This topic has been deleted. Only users with topic management privileges can see it.
    • Wal
      Wal Developer @wendy2702 last edited by

      @wendy2702 ,
      wichtig ist dann noch das das ctrl_tcp Plugin aktiviert ist, was in der config gemacht wird.

      #------------------------------------------------------------------------------
      # Application Modules
      
      module_app              auloop.so
      #module_app             b2bua.so
      module_app              contact.so
      module_app              debug_cmd.so
      #module_app             echo.so
      #module_app             gtk.so
      module_app              menu.so
      #module_app             mwi.so
      #module_app             presence.so
      #module_app             syslog.so
      #module_app             mqtt.so
      module_app              ctrl_tcp.so
      module_app              vidloop.so
      
      wendy2702 1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 @Wal last edited by

        @wal Denke in der Config von Baresip ist die Rede, oder?

        1 Reply Last reply Reply Quote 1
        • V
          Vespista @Wal last edited by

          @wal
          Hallo Wal,

          ich habe ein Problem bei welchem ich nicht weiterkomme.
          Ich habe dein Immage verwendet, es läuft baresip, iobroker mit DoorIO und MQTT Broker/Client MJPEG-Streamer auf einem Pi3 mit Piface Digital 2. Auf der FritzBox habe ich den Pi sowie meine Fritzfone angemeldet.

          Nachdem der Pi hoch gefahren ist hab ich folgende Situation:

          Kernelmodul spi_bcm2835 ist geladen

          Klingeltaster (und Klingeln an Fritzfon) funktioniert
          Audio in beide Richtungen funktioniert
          Doch schalten eines Relais mit DTMF auf dem Piface funktioniert nicht

          wenn ich den Piface.service nochmal (mittels sudo systemctl restart.piface.service) starte, funktioniert auch das ansteuern der Relais mittels DTMF.

          Nun habe ich schon in der Datei Piface.service folgenden Eintrag gemacht
          (Siehe Seite 84)
          [Service]
          ExecStartPre=/bin/sleep 30
          damit der Service verzögert gestartet wird.

          den Wert 30 hab ich auch schon auf 45, 60 und 15 geändert und probiert.
          Immmer mit dem gleichen Ergebnis. Der Service muss nochmals von Hand gestartet werden damit es funktioniert.

          Auch im Log (2022-03-10 10:21:57.783) vom ioBroker sieht man dass sich das Piface meldet, allerdings nur mit den Werten "Null"

          sobald der dienst nochmals mittels "sudo systemctl restart piface.service"
          gestartet wird kann man im Log (2022-03-10 10:23:41.903) sehen, dass das Piface sich mit den Werten

          "mqtt.0.piface.output.Door_1.set"
          "mqtt.0.piface.output.Door_.set"
          usw. meldet.

          2022-03-10 10:21:06.510  - info: mqtt.0 (597) Client [piface] connection closed: closed
          2022-03-10 10:21:06.611  - info: backitup.0 (661) cleaned everything up...
          2022-03-10 10:21:06.544  - info: host.raspberrypi received SIGTERM
          2022-03-10 10:21:06.668  - info: doorio.0 (612) Disconnected from localhost
          2022-03-10 10:21:06.610  - info: admin.0 (590) terminating http server on port 8081
          2022-03-10 10:21:06.719  - info: host.raspberrypi stopInstance system.adapter.admin.0 (force=false, process=true)
          2022-03-10 10:21:06.722  - info: host.raspberrypi stopInstance system.adapter.mqtt.0 (force=false, process=true)
          2022-03-10 10:21:06.727  - info: host.raspberrypi stopInstance system.adapter.doorio.0 (force=false, process=true)
          2022-03-10 10:21:06.729  - info: host.raspberrypi stopInstance system.adapter.discovery.0 (force=false, process=true)
          2022-03-10 10:21:06.731  - info: host.raspberrypi stopInstance system.adapter.backitup.0 (force=false, process=true)
          2022-03-10 10:21:06.843  - info: admin.0 (590) Got terminate signal TERMINATE_YOURSELF
          2022-03-10 10:21:06.845  - info: mqtt.0 (597) Got terminate signal TERMINATE_YOURSELF
          2022-03-10 10:21:06.850  - info: doorio.0 (612) Got terminate signal TERMINATE_YOURSELF
          2022-03-10 10:21:06.869  - info: doorio.0 (612) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
          2022-03-10 10:21:06.875  - info: host.raspberrypi stopInstance system.adapter.admin.0 send kill signal
          2022-03-10 10:21:06.875  - info: admin.0 (590) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
          2022-03-10 10:21:06.860  - info: backitup.0 (661) Got terminate signal TERMINATE_YOURSELF
          2022-03-10 10:21:06.854  - info: discovery.0 (640) Got terminate signal TERMINATE_YOURSELF
          2022-03-10 10:21:06.883  - info: host.raspberrypi stopInstance system.adapter.mqtt.0 send kill signal
          2022-03-10 10:21:06.885  - info: host.raspberrypi stopInstance system.adapter.doorio.0 send kill signal
          2022-03-10 10:21:06.887  - info: host.raspberrypi stopInstance system.adapter.discovery.0 send kill signal
          2022-03-10 10:21:06.888  - info: host.raspberrypi stopInstance system.adapter.backitup.0 send kill signal
          2022-03-10 10:21:06.896  - info: discovery.0 (640) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
          2022-03-10 10:21:06.880  - info: backitup.0 (661) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
          2022-03-10 10:21:07.142  - info: mqtt.0 (597) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
          2022-03-10 10:21:07.592  - info: host.raspberrypi instance system.adapter.doorio.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
          2022-03-10 10:21:07.663  - info: host.raspberrypi instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
          2022-03-10 10:21:07.728  - info: host.raspberrypi instance system.adapter.discovery.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
          2022-03-10 10:21:07.769  - info: host.raspberrypi instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
          2022-03-10 10:21:07.843  - info: host.raspberrypi instance system.adapter.mqtt.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
          2022-03-10 10:21:07.844  - info: host.raspberrypi All instances are stopped.
          2022-03-10 10:21:08.012  - info: host.raspberrypi terminated
          2022-03-10 10:21:27.145  - info: host.raspberrypi iobroker.js-controller version 4.0.19 js-controller starting
          2022-03-10 10:21:27.169  - info: host.raspberrypi Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
          2022-03-10 10:21:27.172  - info: host.raspberrypi hostname: raspberrypi, node: v12.22.9
          2022-03-10 10:21:27.175  - info: host.raspberrypi ip addresses: 192.168.178.35
          2022-03-10 10:21:29.667  - info: host.raspberrypi connected to Objects and States
          2022-03-10 10:21:29.771  - info: host.raspberrypi added notifications configuration of host
          2022-03-10 10:21:30.990  - info: host.raspberrypi 5 instances found
          2022-03-10 10:21:31.070  - info: host.raspberrypi starting 5 instances
          2022-03-10 10:21:31.279  - info: host.raspberrypi instance system.adapter.admin.0 started with pid 588
          2022-03-10 10:21:35.164  - info: host.raspberrypi instance system.adapter.mqtt.0 started with pid 632
          2022-03-10 10:21:39.148  - info: host.raspberrypi instance system.adapter.doorio.0 started with pid 647
          2022-03-10 10:21:39.458  - info: admin.0 (588) starting. Version 5.2.3 in /opt/iobroker/node_modules/iobroker.admin, node: v12.22.9, js-controller: 4.0.19
          2022-03-10 10:21:39.651  - info: admin.0 (588) requesting all states
          2022-03-10 10:21:39.654  - info: admin.0 (588) requesting all objects
          2022-03-10 10:21:41.033  - info: admin.0 (588) received all objects
          2022-03-10 10:21:42.241  - info: mqtt.0 (632) starting. Version 2.4.1 in /opt/iobroker/node_modules/iobroker.mqtt, node: v12.22.9, js-controller: 4.0.19
          2022-03-10 10:21:42.325  - info: admin.0 (588) http server listening on port 8081
          2022-03-10 10:21:42.329  - info: admin.0 (588) Use link "http://localhost:8081" to configure.
          2022-03-10 10:21:51.644  - info: host.raspberrypi instance system.adapter.discovery.0 started with pid 675
          2022-03-10 10:21:51.894  - info: mqtt.0 (632) Starting MQTT server on 0.0.0.0:1883
          2022-03-10 10:21:51.918  - warn: mqtt.0 (632) Object mqtt.0.info.connection is invalid: Default value has to be type "string" but received type "boolean"
          2022-03-10 10:21:51.921  - warn: mqtt.0 (632) This object will not be created in future versions. Please report this to the developer.
          2022-03-10 10:21:52.204  - error: admin.0 (588) error
          2022-03-10 10:21:52.531  - error: admin.0 (588) error
          2022-03-10 10:21:54.369  - info: doorio.0 (647) starting. Version 2.1.4 in /opt/iobroker/node_modules/iobroker.doorio, node: v12.22.9, js-controller: 4.0.19
          2022-03-10 10:21:54.550  - info: doorio.0 (647) Connected to localhost
          2022-03-10 10:21:55.582  - info: host.raspberrypi instance system.adapter.backitup.0 started with pid 693
          2022-03-10 10:21:57.783  - info: mqtt.0 (632) Client [piface] connected with secret 1646904117746_1577
          2022-03-10 10:21:58.309  - info: mqtt.0 (632) Client [piface] subscribes on "null"
          2022-03-10 10:21:58.319  - info: mqtt.0 (632) Client [piface] subscribes on "null"
          2022-03-10 10:21:58.327  - info: mqtt.0 (632) Client [piface] subscribes on "null"
          2022-03-10 10:21:58.335  - info: mqtt.0 (632) Client [piface] subscribes on "null"
          2022-03-10 10:21:58.341  - info: mqtt.0 (632) Client [piface] subscribes on "null"
          2022-03-10 10:21:58.348  - info: mqtt.0 (632) Client [piface] subscribes on "null"
          2022-03-10 10:21:58.513  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:21:58.523  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:21:58.530  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:21:58.537  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:21:58.545  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:21:58.551  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:22:01.584  - info: discovery.0 (675) starting. Version 2.7.0 in /opt/iobroker/node_modules/iobroker.discovery, node: v12.22.9, js-controller: 4.0.19
          2022-03-10 10:22:03.328  - info: backitup.0 (693) starting. Version 2.2.2 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.9, js-controller: 4.0.19
          2022-03-10 10:22:03.506  - info: backitup.0 (693) [iobroker] backup was activated at 02:40 every 1 day(s)
          2022-03-10 10:23:06.966  - info: mqtt.0 (632) Client [piface] connection closed: closed
          2022-03-10 10:23:41.903  - info: mqtt.0 (632) Client [piface] connected with secret 1646904221899_2819
          2022-03-10 10:23:42.002  - info: mqtt.0 (632) Client [piface] subscribes on "mqtt.0.piface.output.Door_1.set"
          2022-03-10 10:23:42.008  - info: mqtt.0 (632) Client [piface] subscribes on "mqtt.0.piface.output.Door_1.set_on_ms"
          2022-03-10 10:23:42.014  - info: mqtt.0 (632) Client [piface] subscribes on "mqtt.0.piface.output.Door_1.set_off_ms"
          2022-03-10 10:23:42.019  - info: mqtt.0 (632) Client [piface] subscribes on "mqtt.0.piface.output.Door_2.set"
          2022-03-10 10:23:42.024  - info: mqtt.0 (632) Client [piface] subscribes on "mqtt.0.piface.output.Door_2.set_on_ms"
          2022-03-10 10:23:42.029  - info: mqtt.0 (632) Client [piface] subscribes on "mqtt.0.piface.output.Door_2.set_off_ms"
          2022-03-10 10:23:42.204  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:23:42.211  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:23:42.217  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:23:42.223  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:23:42.229  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          2022-03-10 10:23:42.235  - info: mqtt.0 (632) Client [piface] publishOnSubscribe
          

          Ich hatte das auch auf Seite 72 schon verfolgt, leider finde ich zum
          Problem keine Rückmeldung mit Lösung.

          Mit dem Immage auf Seite 91 komme ich ohne Anleitung/Erklärung was alles angepasst werden muss nicht voran, bin halt Anfänger...

          Kannst du mir an dieser oder obiger Stelle weiterhelfen?
          wenn du noch weiteren Input benötigst, gerne...

          Ich würde mich sehr freuen wenns klappt
          Vielen Dank!!

          Wal 1 Reply Last reply Reply Quote 0
          • Wal
            Wal Developer @Vespista last edited by

            @vespista ,
            ich mache dir ein neues RPI Bullseye OS Image, da ich nicht mehr weiß was für Versionen ich installiert habe.
            Nutzt du pulseaudio ?

            V 1 Reply Last reply Reply Quote 0
            • V
              Vespista @Wal last edited by

              @wal
              Hallo Wal,
              das wäre für mich natürlich sehr hilfreich.
              Pulseaudio habe ich bisher nicht genutzt da ich das nicht kenne und auch nicht weis welche Einstellungen notwendig wären.
              Vielleicht noch als kleine Hilfestellung,
              was muss ich bei deinem Image beachten bzw. was muss ich evtl anpassen?

              /home/pi/config.yml (module_app ->ctrl_tcp.so)
              /home/pi/.baresip/accounts (sip:test@fritz.box;auth_pass=password;answermode=auto)
              /home/pi/.baresip/config (gpio modules piface2)

              sonst noch etwas?

              Herzlichen Dank 👍

              Wal 1 Reply Last reply Reply Quote 0
              • Wal
                Wal Developer @Vespista last edited by

                @vespista,
                das richte ich dir alles ein.

                Ändern musst du nur:
                in
                /home/pi/.baresip/accounts
                deine Sipanmeldung (sip:test@fritz.box;auth_pass=password;answermode=manual)

                in
                /home/pi/config.yml
                deine MQTT-Serveranmeldung

                und mit alsamixer deine Micro/Lautsprecher Lautstärke

                V 1 Reply Last reply Reply Quote 0
                • V
                  Vespista @Wal last edited by

                  @wal
                  Super!!
                  vielen Dank 🙂

                  Wal 1 Reply Last reply Reply Quote 0
                  • Wal
                    Wal Developer @Vespista last edited by Wal

                    @vespista,
                    Image

                    Passwort: iobroker
                    Nach dem Erstellen mit "sudo rapi-config" die Partition vergrössern und danach die Dateien anpassen.

                    Woduwolle 1 Reply Last reply Reply Quote 0
                    • Woduwolle
                      Woduwolle @Wal last edited by

                      @wal Hallo Wal,
                      hast du das image privat zugesendet ?? Ich kann es hier im Forum nicht finden.....
                      Vielleicht hilft mir dies auch das ich im Thema DoorIO weiter komme....

                      Gruß Konrad

                      Wal 1 Reply Last reply Reply Quote 0
                      • Wal
                        Wal Developer @Woduwolle last edited by

                        @woduwolle ,
                        das Image war nur 30 Tage Online.

                        Woduwolle 2 Replies Last reply Reply Quote 0
                        • Woduwolle
                          Woduwolle @Wal last edited by

                          @wal Meinst du könntest dies nochmals Online stellen ???
                          Ich habe auch kein Piface sondern würde mit den GPIO arbeiten
                          Gruß Konrad

                          1 Reply Last reply Reply Quote 0
                          • Woduwolle
                            Woduwolle @Wal last edited by

                            @wal Hallo Wal,

                            Ich habe jetzt in der Zwischenzeit mich nochmals versucht das erste Image zum laufen zu bringen... allerdings hatte ich bisher keinen erfolg. Meinst du könntest mir das letzte Image nochmals zur verfügung stellen ?????

                            Wal 1 Reply Last reply Reply Quote 0
                            • Wal
                              Wal Developer @Woduwolle last edited by

                              @woduwolle ,
                              ich habe auch nur noch das RPI3 und RPI4 Image vom 1 Thread.

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                Hansi1234 @Wal last edited by

                                @wal Hi wal. Hast du noch ein Image für einen rpi3? Die auf der ersten Seite sind beide down

                                Thomas Braun Wal 3 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Hansi1234 last edited by Thomas Braun

                                  @hansi1234

                                  Wozu? baresip liegt in den Quellen vor und kann von dort ganz einfach installiert werden.

                                  echad@chet:~ $ apt policy baresip*
                                  baresip-core:
                                    Installed: (none)
                                    Candidate: 1.1.0-2
                                    Version table:
                                       1.1.0-2 500
                                          500 http://deb.debian.org/debian trixie/main arm64 Packages
                                  
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Wal
                                    Wal Developer @Hansi1234 last edited by

                                    @hansi1234 sagte in Test Adapter doorio v2.1.2:

                                    @wal Hi wal. Hast du noch ein Image für einen rpi3? Die auf der ersten Seite sind beide down

                                    Nein, habe ich leider nicht mehr, aber wie @Thomas-Braun schon sagt ist das installieren auf einem frischen Raspberry Pi OS kein Hexenwerk.

                                    1 Reply Last reply Reply Quote 0
                                    • Wal
                                      Wal Developer @Hansi1234 last edited by

                                      @hansi1234 ,
                                      habe die Installation auf einem frischen Raspi OS 64 lite / RPI4 neu durchgeführt:

                                      sudo apt update
                                      sudo apt full-upgrade
                                      sudo raspi-config
                                      sudo reboot
                                      sudo apt install git
                                      sudo loginctl enable-linger pi
                                      mkdir -p ~/.config/systemd/user/
                                      
                                      -----------
                                      USB-Kamera:
                                      -----------
                                      sudo apt install build-essential libevent-dev libjpeg62-turbo-dev uuid-dev libbsd-dev
                                      git clone --depth=1 https://github.com/pikvm/ustreamer
                                      cd ustreamer
                                      make
                                      sudo make install
                                      
                                      zum testen:
                                      /usr/local/bin/ustreamer --m2m-device=/dev/video0 --host=0.0.0.0 --port=1990 -f 5
                                      
                                      Installieren:
                                      nano ~/.config/systemd/user/ustreamer.service
                                      
                                      einfügen:
                                      
                                      [Unit]
                                      Description=uStreamer service
                                      After=network.target
                                      [Service]
                                      ExecStart=/usr/local/bin/ustreamer --m2m-device=/dev/video0 --host=0.0.0.0 --port=1990 -f 5 -r 640x480
                                      Restart=on-failure
                                      [Install]
                                      WantedBy=default.target
                                      
                                      
                                      systemctl --user daemon-reload
                                      systemctl --user enable ustreamer.service
                                      sudo reboot
                                      
                                      -----------------
                                      GPIO oder PiFace:
                                      -----------------
                                      sudo apt install python3-distutils python3-pip
                                      python3 -m venv mqttio
                                      source mqttio/bin/activate
                                      pip install wheel
                                      pip install pyyaml
                                      pip install cerberus
                                      pip install paho-mqtt
                                      pip install enum34
                                      pip install pifacecommon
                                      pip install pifaceio
                                      
                                      git clone https://github.com/Bettman66/mqtt-io
                                      cd mqtt-io
                                      python3 setup.py install
                                      cd ..
                                      cp mqtt-io/config.example.yml ./config.yml
                                      nano config.yml
                                      
                                      zum testen:
                                      python3 ./mqttio/lib/python3.11/site-packages/pi_mqtt_gpio-0.5.6-py3.11.egg/pi_mqtt_gpio/server.py /home/pi/config.yml
                                      
                                      ---------------------------------
                                      zum verlassen der virt. Umgebung:
                                      ---------------------------------
                                      deactivate
                                      
                                      -------------
                                      Installieren:
                                      -------------
                                      nano ~/.config/systemd/user/mqtt.service
                                      
                                      ---------
                                      einfügen:
                                      ---------
                                      
                                      [Unit]
                                      Description=MQTT Service
                                      After=network.target
                                      
                                      [Service]
                                      Type=simple
                                      WorkingDirectory=/home/pi/mqttio
                                      ExecStart=/home/pi/mqttio/bin/python /home/pi/mqttio/lib/python3.11/site-packages/pi_mqtt_gpio-0.5.6-py3.11.egg/pi_mqtt_gpio/server.py /home/pi/config.yml
                                      Restart=on-failure
                                      
                                      [Install]
                                      WantedBy=default.target
                                      
                                      -----------------------------------
                                      
                                      systemctl --user enable mqtt.service
                                      sudo reboot
                                      
                                      -----------
                                      Pulseaudio:
                                      -----------
                                      sudo apt install pulseaudio
                                      sudo reboot
                                      
                                      pactl list
                                      sudo nano /etc/pulse/default.pa
                                      
                                      ------------------------------------------------------
                                      Beispiel am Ende einfügen:
                                      Achtung, es muss euer Soundsystem eingefügt werden !!!
                                      ------------------------------------------------------
                                      load-module module-echo-cancel aec_method=webrtc format=s16le rate=16000 channels=1 source_name="noecho.mic_in" sink_name="noecho.sound_out" sink_master="alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_501AA5A30536010C00-00.analog-stereo" source_master="alsa_input.usb-0b0e_Jabra_SPEAK_410_USB_501AA5A30536010C00-00.analog-mono"
                                      set-default-sink noecho.sound_out
                                      set-default-source noecho.mic_in
                                      ------------------------------------
                                      
                                      sudo reboot
                                      
                                      --------
                                      Baresip:
                                      --------
                                      sudo apt install baresip-core baresip-x11
                                      baresip
                                      
                                      ----------------------
                                      Baresip konfigurieren:
                                      ----------------------
                                      nano .baresip/config
                                      ---------
                                      ändern:
                                      ---------
                                      audio_player		pulse,noecho.sound_out
                                      audio_source		pulse,noecho.mic_in
                                      audio_alert			pulse,noecho.sound_out
                                       
                                      module			pulse.so
                                      
                                      module_app		ctrl_tcp.so
                                      
                                      nano .baresip/accounts
                                      
                                      -------------
                                      installieren:
                                      -------------
                                      nano ~/.config/systemd/user/baresip.service
                                      
                                      ---------
                                      einfügen:
                                      ---------
                                      [Unit]
                                      Description=baresip
                                      
                                      [Service]
                                      ExecStart=/usr/bin/baresip -f /home/pi/.baresip
                                      
                                      [Install]
                                      WantedBy=default.target
                                      -----------------------------------------------
                                      
                                      systemctl --user enable baresip.service
                                      sudo reboot
                                      
                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        Hansi1234 @Wal last edited by

                                        @wal mein Problem ist die Echo cancellation. Wenn ich dieses hier aktiviere, startet baresip nicht:

                                        audio_player		pulse,noecho.sound_out
                                        audio_source		pulse,noecho.mic_in
                                        audio_alert			pulse,noecho.sound_out
                                         
                                        
                                        Wal 2 Replies Last reply Reply Quote 0
                                        • Wal
                                          Wal Developer @Hansi1234 last edited by Wal

                                          @hansi1234 sagte in Test Adapter doorio v2.1.2:

                                          @wal mein Problem ist die Echo cancellation. Wenn ich dieses hier aktiviere, startet baresip nicht:

                                          audio_player		pulse,noecho.sound_out
                                          audio_source		pulse,noecho.mic_in
                                          audio_alert			pulse,noecho.sound_out
                                           
                                          

                                          Damit das funktioniert, muss das richtig konfiguriert sein:

                                          -----------
                                          Pulseaudio:
                                          -----------
                                          sudo apt install pulseaudio
                                          sudo reboot
                                           
                                          pactl list
                                          sudo nano /etc/pulse/default.pa
                                           
                                          ------------------------------------------------------
                                          Beispiel am Ende einfügen:
                                          Achtung, es muss euer Soundsystem eingefügt werden !!!
                                          ------------------------------------------------------
                                          load-module module-echo-cancel aec_method=webrtc format=s16le rate=16000 channels=1 source_name="noecho.mic_in" sink_name="noecho.sound_out" sink_master="alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_501AA5A30536010C00-00.analog-stereo" source_master="alsa_input.usb-0b0e_Jabra_SPEAK_410_USB_501AA5A30536010C00-00.analog-mono"
                                          set-default-sink noecho.sound_out
                                          set-default-source noecho.mic_in
                                          ------------------------------------
                                           
                                          sudo reboot
                                          

                                          edit:
                                          und das in der config von baresip

                                          module			pulse.so
                                          

                                          editedit:
                                          und baresip-x11 installiert sein.

                                          --------
                                          Baresip:
                                          --------
                                          sudo apt install baresip-core baresip-x11
                                          
                                          H 1 Reply Last reply Reply Quote 0
                                          • Wal
                                            Wal Developer @Hansi1234 last edited by

                                            @hansi1234 ,
                                            zeig deine Ausgabe von

                                            pactl list
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            829
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            door intercom doorpi türsprechstelle
                                            34
                                            583
                                            123036
                                            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