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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Test Adapter doorio v2.1.2

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                • Thomas Braun
                  Thomas Braun Most Active @Wal last edited by

                  @wal

                  Läuft das noch mit pulseaudio? Mittlerweile wird ja PipeWire von den meisten Distributionen bevorzugt.

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

                    @thomas-braun sagte in Test Adapter doorio v2.1.2:

                    @wal

                    Läuft das noch mit pulseaudio? Mittlerweile wird ja PipeWire von den meisten Distributionen bevorzugt.

                    Ja, habe es heute morgen getestet. PipeWire schaue ich mir mal an.

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

                      @wal said in Test Adapter doorio v2.1.2:

                      module pulse.so

                      daran lags:

                      module	pulse.so 
                      

                      steht oben glaub nirgends.

                      Vielen Dank nochmal

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

                        @hansi1234 sagte in Test Adapter doorio v2.1.2:

                        @wal said in Test Adapter doorio v2.1.2:

                        module pulse.so

                        daran lags:

                        module	pulse.so 
                        

                        steht oben glaub nirgends.

                        Vielen Dank nochmal

                        Du hast recht. 😉

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

                          Ich möchte einen state auf true setzen, wenn ein Anruf eingeht (noch bevor abgehoben wird), und wenn das Klingel aufhört (egal ob abgenommen wurde oder nicht), soll der state wieder auf flase gesetzt werden.

                          Wie mache ich das mit doorio?

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

                            @duffy6 ,
                            mit dem Object doorio.0.CALL_PROGRESS ?

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            970
                            Online

                            31.6k
                            Users

                            79.5k
                            Topics

                            1.3m
                            Posts

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