Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Vespista

    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

    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 8
    • Best 0
    • Groups 1

    Vespista

    @Vespista

    Starter

    0
    Reputation
    7
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Vespista Follow
    Starter

    Latest posts made by Vespista

    • RE: Test Adapter doorio v2.1.2

      @wal
      Super!!
      vielen Dank 🙂

      posted in Tester
      V
      Vespista
    • RE: Test Adapter doorio v2.1.2

      @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 👍

      posted in Tester
      V
      Vespista
    • RE: Test Adapter doorio v2.1.2

      @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!!

      posted in Tester
      V
      Vespista
    • RE: Test Adapter doorio v2.1.2

      @Wal
      Hi,
      ich habe lediglich dein image auf dem RPI und die entsprechenden Dateien angepasst...

      ...meine klingel wird eingelesen und ich habe auch eine Audioverbindung
      nur wlan geht halt nicht, woran ich immer noch kämpfe...

      Gruß und weiterhin viel Spass

      posted in Tester
      V
      Vespista
    • RE: Test Adapter doorio v2.1.2

      @Manni_67
      schau mal
      c015c9a1-a1ee-4be4-a12f-5dad08dff125-grafik.png

      de4a72fb-c2d1-4a50-8a66-7b5ba57eafd4-grafik.png

      viel Erfolg

      posted in Tester
      V
      Vespista
    • RE: Test Adapter doorio v2.1.2

      @Manni_67 said in Test Adapter doorio v1.1.x:

      t angezeigt. Der Status des Mqtt Adapter ist grün und er connected sich auch (Status: true). An der config.yml habe ic

      Moin Manfred,
      in der config.yml habe ich keine IP Adresse eingegeben/geändert.
      meine sieht folgendermaßen aus
      mqtt:
      host: localhost
      port: 1883
      user: ""
      password: ""
      topic_prefix: piface
      client_id: piface

      gpio_modules:

      • name: raspberrypi
        module: piface2

      digital_inputs:

      • name: DoorBell_1
        module: raspberrypi
        pin: 0
        on_payload: "true"
        off_payload: "false"

      • name: DoorBell_2
        module: raspberrypi
        pin: 1
        on_payload: "true"
        off_payload: "false"

      digital_outputs:

      • name: Door_1
        module: raspberrypi
        pin: 0
        on_payload: "true"
        off_payload: "false"

      • name: Door_2
        module: raspberrypi
        pin: 1
        on_payload: "true"
        off_payload: "false"

      probier mal....

      Ach, was mir noch einfällt,
      ist in der raspi-config das SPI aktiviert?
      Gruß
      Tom

      posted in Tester
      V
      Vespista
    • RE: Test Adapter doorio v2.1.2

      @Wal
      Moin,
      erst mal vielen Dank für deine schnelle Antwort!
      ich habe die halbe Nacht damit verbracht das Wlan zum laufen zu bekommen aber
      irgendwie will das bei mir nicht funktionieren 😞

      Um eventuell andere Ursachen auszuschliesen habe ich

      • einen andere Raspberry Pi versucht
        -mit einer anderen SD Karte versucht
        -mit einen original Buster lite image versucht
        -mit einem original Stretch full image versucht

      dabei funktioniert das Wlan immer, nur wenn ich deine images verwende lässt sich mein Wlan nicht aktivieren.
      ich habe die
      raspbian-iobroker.img und
      Raspbian_ioBroker_Doorio_PiFace.img
      verwendet.
      Ich bin am verzweifeln, denn ich habe dann auch versucht mit einem originalen OS (stretch full und buster lite)
      ioBroker, Baresip und dann den pi_mqtt_gpio zu installieren.
      Entweder lässt sich baresip nicht fehlerfrei installieren oder der pi_mqtt_gpio.

      Ich möchte diese Projekt auf jeden Fall umsetzen da es genau meinen Wünschen entspricht,
      doch ohne Unterstützung schaffe ich das nicht.
      Könntest du mir (und auch anderen) eine Installationsanleitung zukommen lassen aus der hervorgeht welches OS, welche Versionen von Baresip, pi_mqtt_gpio, ioBroker un welcher Reihenfolge du verwendet hast?

      An dieser Stelle nochmals herlichen Dank
      viele Grüße
      Tom

      posted in Tester
      V
      Vespista
    • RE: Test Adapter doorio v2.1.2

      @Wal
      Hallo Wal
      Bei meinen Recherchen bin ich auf dieses sehr interessante Projekt gestoßen.Erst mal Hut ab!!, ganz tolle Sache.
      Ich habe dein Image auf eine SD karte mittels Win Disc Imager geschrieben, eine Datei ssh hinzugefügt, gebootet, die Dateien .baresip/config, .baresip/accounts, config.yml entsprechend angepasst und es funktioniert soweit alles !! …bis auf das Wlan

      Ich habe wie in deinem post angegeben die Einträge
      dtoverlay=pi3-disable-bt
      dtoverlay=pi3-disable-wifi
      aus der /boot/config.txt gelöscht und mit Strg-O und Strg-X gespeichert. Dann habe ich den Eintrag
      ipv6.disable=1
      aus der /boot/cmdline.txt gelöscht und mit Strg-O und Strg-X gespeichert.

      Nach einem reboot war das wlan device immer noch nicht aktiv ein ifconfig ergibt nur ein eth0 und ein lo aber kein wlan0
      auch meine Einträge in der /etc/wpa_supplicant/wpa_supplicant.conf
      country=DE
      ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
      update_config=1
      network={
      ssid=meinefritzbox
      psk=meinwlanpasswort?
      key_mgmt=WPA-PSK
      }
      brachten nach einem reboot keinen Erfolg. Ich bekomme das Wlan Device nicht zum laufen. Meine Fragen:

      1. was mache ich falsch, bzw. muss ich noch ändern um das wlan Device wieder zum laufen zu bekommen?
        @johni : hast du das gelöst?, wenn ja, wie?
      2. ich würde gerne noch ein Relais schalten (welches am Piface angeschlossen ist (Pin3)) sobald ein Klingeltaster eingelesen wird. Dieses soll meinen Verstärker für den Lautsprecher an der Türstation einschalten. Kann das realisiert werden?
        Im Voraus sage ich schon mal vielen Dank für die Unterstützung und für das tolle Projekt
        Gruß Tom
      posted in Tester
      V
      Vespista
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo