Navigation

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

    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

    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 13
    • Best 0
    • Groups 1

    pql

    @pql

    Starter

    0
    Reputation
    4
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    pql Follow
    Starter

    Latest posts made by pql

    • RE: Test Alpha Homekit-Controller 0.0.x

      @mac89muc nachdem ich nun etwas damit gekämpft hab den hap-controller auf meinem Macbook zu installieren (zu viel Müll durch diverse XCode Versionen usw) konnte ich auf tatsächlich den Eve Energy ohne Probleme auch dort koppeln.

      Also; was passiert da anders auf dem RPI 4, sodass es mit node nicht funktioniert aber mit python -_-

      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77 ja genau, hab discovery mal weggelassen um direkt zu pairen, aber neee.

      das ganze läuft auf einem RPI 4B mit 4GB RAM und on Board Bluetooth. Mit einem BLE Stick hats aber auch genauso wenig funktioniert.
      Node ist Version 16.15

      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77 leider gleiches Verhalten obwohl transaction id unterschiedlich.

      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77

      2022-06-07 14:53:52,256 __init__.py:0111 DEBUG #1 ios -> accessory: send SRP start request
      2022-06-07 14:53:52,257 __init__.py:0647 DEBUG entering write function [
        <6, b'\x01'>,
        <0, b'\x00'>,
      ]
      2022-06-07 14:53:52,257 __init__.py:0658 DEBUG sent 00020a0f000b000901010106060101000100
      2022-06-07 14:53:53,259 __init__.py:0667 DEBUG reading characteristic
      2022-06-07 14:53:53,807 __init__.py:0675 DEBUG control field: 2, tid: a, status: 0, length: 413
      2022-06-07 14:53:53,807 __init__.py:0683 DEBUG received 020a009d0101ff06010203ff3e47781039678a527b74c8ec43fcedb2d8e8966401b004e67dd03e7d4814327b328cabfd6e61ea921d29183b5c386558624969886aa6c1ad7c8b98d9a1069256600d2d95f90e81d1bd9aaeb67e477332a0f4917788b4a251a70513320f99fa62465800b3acd1d0e6dc61b603a5283ac35efd474f45f93a827e9f68b5d71f53b2fc2c0eef5d45846cb809eaf266b49b5cd277011bab941ebd9c23aa61be97498842119af78b7f72a8e114c24d96bc6f19ed8a63b3f8073248faf30ab013a11d2440d0dbf5e2a5efb682f4ddf3f82335fd1e655850114b5fbb3d64c3f8d378954aff6bd4e53facb000038fc886f3398f2678163003442023308f6e019a788507e3b0038140cef6d797cf7e5e4e1b9d735fdc5ac72cf20e46108dee7550ee642ca4d3581f3971aa75a8ebbce127a0657617362e39f55f10a91f353fcbac2b4c1f82a1d9448845b07419264a5e15e953097f0a4f1e8136a4ca33feb1939e9886c51b97a716d3cf7e7a7d1b256d3d82054c13680ebb858549c373d93d87712284f0cf35c005730210d06ce1ea376ec83f9dda8a2542a6fee6
      
      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77 bekomme 0, hab auch schon beides probiert für M1, gleiches Ergebnis.
      Die Python Library bekommt auch 0 und pair't damit; alles auf der gleichen Hardware.

      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77 bringt leider auch gar nichts, selbst 5 Sekunden Timeout zwischen den Steps sorgen für das gleiche Ergebnis

      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77 das mit den logs (zumindest gegen deinen hap-controller) haben wir hier im thread schon durch 🙂

      Die logging Ausgaben hab ich schon angefangen zu vergleichen, ist nur teilweise nicht so einfach, da der hap-controller in M1 das komplette TLV packet loggt und die python library nur Tag 1 und Tag 0.

      Auch bin ich mir nicht so ganz sicher ob das nicht ein generelles Problem im hap-controller-node ist.
      Ich hab mir aus dem hap-controller-node soweit das ble example pair-setup.js zurechtgebaut um damit zu testen.
      Ich komme einfach gar nicht zur M1 wenn

      const pairMethod = await discovery.getPairMethod(service);
      

      drin ist und ich die pairMethod nicht manuell setze.

      Dann passiert nämlich so ein Blödsinn:

      Found device: Eve Energy EA06: Available for pairing: true
        hap-controller:gatt-connection connect peripheral +0ms
        hap-controller:gatt-connection c77fc41c4890/c7:7f:c4:1c:48:90 Write for characteristic 0000004f0000100080000026bb765291 0003001100 +766ms
        hap-controller:gatt-connection c77fc41c4890/c7:7f:c4:1c:48:90 Received data for characteristic 0000004f0000100080000026bb765291 0200000300010102 +74ms
        hap-controller:gatt-connection disconnect peripheral +1ms
        hap-controller:gatt-connection Peripheral disconnected +15ms
        hap-controller:gatt-connection connect peripheral +3ms
        hap-controller:gatt-connection Peripheral disconnected +283ms
      Eve Energy EA06: Disconnected
      
      

      Der 2. connect wird immer direkt ein Disconnect.

      Lass ich mir das nicht discovern und setze direkt PairSetup komme ich beim M1 so weit:

      Found device: Eve Energy EA06: Available for pairing: true
        hap-controller:gatt-connection connect peripheral +0ms
        hap-controller:tlv Add 1 bytes for tag 6: 01 +0ms
        hap-controller:tlv Add 1 bytes for tag 0: 00 +1ms
        hap-controller:tlv Add 6 bytes for tag 1: 060101000100 +2ms
        hap-controller:tlv Add 1 bytes for tag 9: 01 +1ms
        hap-controller:gatt-connection c77fc41c4890/c7:7f:c4:1c:48:90 Write for characteristic 0000004c0000100080000026bb765291 0002000f000b000106060101000100090101 +805ms
        hap-controller:gatt-connection c77fc41c4890/c7:7f:c4:1c:48:90 Received data for characteristic 0000004c0000100080000026bb765291 0200009d0101ff06010203ffde456388650a5e355dac3cda87031c7837931aa955868eba69f7819c7bf9f7154566df1798c359194b3d2324b20d6beaeae171dac5d339bfb3536594e155d96f744b236dbee213227f73513b0d2e94e1536769fc5a2fe02bd2773f32968d52a4f41dc8df1ea4f472a85dc3481e7e28c0749f2b48742aad14c3f64d7addfa3e4434becbc5274ae6e7c27270b57d4305fc0f9defa21f7aa2d3bb0cf5ddb41f2b480d758fa3f1481edddc0d35a7d50f8ab93654fa330b999e8b3c0140803df31f798b79fc0f7b05e143fc4506c00ccaaafb57800909fcfffa182e00d005f24b758975b53a65e9c25560e074535c86e318a9835c48 +551ms
        hap-controller:gatt-connection Peripheral disconnected +103ms
      Eve Energy EA06: Disconnected
      
      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77
      Ich habe ja auch Probleme meinen Eve Energy zu verbinden, da Connections gerne direkt disconnected werden.
      Wenn ich den pairing-mode fix auf PairSetup stelle, scheint zumindest M1 durchzugehen.

      Ich habe dazu ein anderes Projekt einmal getestet, damit war das Pairing mit dem Eve Energy ohne Probleme möglich, konnte aber noch nicht ermitteln was da anders läuft. Zumindest wird in M1 definitiv ein anderes Packet gesendet (und nicht nur die Transaction id)

      Gerne sonst einfach mal die Nanoleafs hier gegen testen: https://github.com/jlusiardi/homekit_python
      Ist leider nur kein Javascript sondern Python und daher nicht mit node testbar.

      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77 frisch resettet (mehrfach) und näher dran leider ohne Erfolg. Gleiche Thematik.

      Aber ok, dann wird das wohl am Eve Energy liegen. Direktes Pairing mit iOS funktioniert tadelos.

      posted in Tester
      P
      pql
    • RE: Test Alpha Homekit-Controller 0.0.x

      @apollon77 Hab jetzt einen USB Stick, gleiches Spiel; Identify funktioniert, Pairing nicht.

      Log-Output ist diesmal aber etwas mehr was den Pairing Connect an geht.. Es kommt auf jeden Fall etwas zurück

      2022-02-15 17:46:01.425  - debug: homekit-controller.0 (3773) Message pairDevice received: {"command":"pairDevice","message":{"deviceId":"BLE-0D:30:8F:xx:xx:xx","pin":"xxx-xx-xxx"},"from":"system.adapter.admin.0","callback":{"message":{"deviceId":"BLE-0D:30:8F:xx:xx:xx","pin":"xxx-xx-xxx"},"id":16,"ack":false,"time":1644943561422},"_id":32016392})
        hap-controller:gatt-connection connect peripheral +16s
        hap-controller:gatt-connection dbc159db8b1b/db:c1:59:db:8b:1b Write for characteristic 0000004f0000100080000026bb765291 0003001100 +538ms
        hap-controller:gatt-connection dbc159db8b1b/db:c1:59:db:8b:1b Received data for characteristic 0000004f0000100080000026bb765291 0200000300010102 +75ms
        hap-controller:gatt-connection disconnect peripheral +0ms
        hap-controller:gatt-connection Peripheral disconnected +2s
      2022-02-15 17:46:04.048  - info: homekit-controller.0 (3773) Use PairMethod 0 to pair BLE-0D:30:8F:xx:xx:xx
      2022-02-15 17:46:04.051  - debug: homekit-controller.0 (3773) BLE-0D:30:8F:xx:xx:xx Start Homekit Device Client initialization
        hap-controller:gatt-connection connect peripheral +7ms
        hap-controller:tlv Add 1 bytes for tag 6: 01 +19s
        hap-controller:tlv Add 1 bytes for tag 0: 00 +1ms
        hap-controller:tlv Add 6 bytes for tag 1: 060101000100 +0ms
        hap-controller:tlv Add 1 bytes for tag 9: 01 +0ms
        hap-controller:gatt-connection dbc159db8b1b/db:c1:59:db:8b:1b Write for characteristic 0000004c0000100080000026bb765291 0002000f000b000106060101000100090101 +435ms
        hap-controller:gatt-connection dbc159db8b1b/db:c1:59:db:8b:1b Received data for characteristic 0000004c0000100080000026bb765291 0200009d0101ff06010203ff78b224faeea2de3cf805707ecd32546d248663b4689e88ff20ccefbeb56632d66398a9baea47555684b3b09ec4afe72c4ed3c33f5ce78c69fa7191cad76c879e22e51321de66442d9c89850c39546c8e3643679ac751d8d539b0c73c56dd8280be4d14215ee81e1eeb14cc05061cb6e486aeb00699207138d0577e288bba6fb6c23c97c3157f69f2ba8da537ad274cab0d5f76cff5b4ae9a828cdac434a42bcbe0132f8c3638a48de223a01d2ba06c92284efbaa3b25c3742ac138b1ad182fa614d12fdfa44cb89ccf3323cf92e8d7627dcdb1ba27403853fea875693785a68ee6731e96172ad3f04677bc57a36352f5b0ff5e +583ms
        hap-controller:gatt-connection Peripheral disconnected +45ms
      2022-02-15 17:46:05.118  - debug: homekit-controller.0 (3773) Response to Command pairDevice: {"success":false,"error":"Cannot pair with device BLE-0D:30:8F:xx:xx:xx because of error undefined (undefined): undefined"}
      2022-02-15 17:46:05.119  - debug: homekit-controller.0 (3773) sendTo "pairDevice" to system.adapter.admin.0 from system.adapter.homekit-controller.0
      
      posted in Tester
      P
      pql
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo