jensweigele / ioBroker.yahka

Yet another HomeKit adapter for ioBroker
MIT License
131 stars 47 forks source link

Yahka not working anymore #289

Closed r0bs3 closed 2 years ago

r0bs3 commented 2 years ago

GERMAN:

Hallo zusammen, mein yahka Adapter (0.12.0) funktioniert leider nicht mehr. Er schaltet keine Objekte mehr. Habe schon verschiedene Lichter getestet, Steckdosen und auch ein Testdatenpunkt angelegt. In der Home App auf dem iPad erscheinen die einzelnen Geräte automatisch, dort schalten diese um aber im iobroker schaltet kein Datenpunkt und damit auch die eigentlichen Geräte nicht 😞 Im Log ist nichts zu finden, was auf einen Fehler hin deutet. Ich habe auch schon eine zweite cleane iobroker Instanz installiert. Dort habe ich das gleiche Verhalten. Hat jemand eine Idee?

ENGLISH:

Hello all, unfortunately my yahka adapter does not work anymore. It does not switch any objects anymore. Have already tested various lights, sockets and also created a test data point. In the home app on the iPad the individual devices appear automatically, there they switch but in the iobroker no data point switches and thus the actual devices do not 😞 There is nothing in the log to indicate an error. I have also already installed a second clean iobroker instance. There I have the same behavior. Does anyone have any ideas?

jensweigele commented 2 years ago

Schalte mal den Adapter in den Verbose Mode und aktiviere das Verbose-Logging auf dem Adapter. Hast du etwas geändert an deinem System, damit das passiert ist?

r0bs3 commented 2 years ago

Den Verbose Logging habe ich bei der Instanz aktiviert. Muss ich noch irgendwo etwas aktivieren? Es gibt keine Fehler im iobroker Log.

Die erstellten Geräte werden in der Home App auf dem iPhone auch sofort angezeigt. Der Status schaltet in der Home App auf dem iPhone auch um, aber nicht im iobroker bzw. am eigentlichen Gerät.

Bislang lief alles problemlos. Ich wollte jetzt neue Geräte hinzufügen und seitdem tritt das Problem auf. Die bereits angelegten Geräte konnte ich schalten, nur die neuen funktionierten nicht mehr. Also habe ich yahka komplett neu installiert und wollte alle Geräte neu einrichten. Seitdem geht kein einziges Gerät mehr.

Am Aufbau habe ich nix geändert, jedoch habe ich eine Unifi Dream Machine Pro im Netzwerk hinzugefügt. Vielleicht werden die Requests hier blockiert.

jensweigele commented 2 years ago

Du müsstest den Adapter noch auf loglevel "debug" stellen. Dann mal ins Log schauen was passiert wenn du in HomeKit etwas machst - am besten mal Log mit Konfig hier posten.

r0bs3 commented 2 years ago

Im Log kommt leider nichts an, wenn ich im HomeKit etwas schalte.

`

2021-09-24 15:45:45.542 - info: host.3c0bd2127fbe instance system.adapter.yahka.0 started with pid 8720 -- 2021-09-24 15:45:46.139 - debug: yahka.0 (8720) Redis Objects: Use Redis connection: 0.0.0.0:9001 2021-09-24 15:45:46.147 - debug: yahka.0 (8720) Objects client ready ... initialize now 2021-09-24 15:45:46.147 - debug: yahka.0 (8720) Objects create System PubSub Client 2021-09-24 15:45:46.148 - debug: yahka.0 (8720) Objects create User PubSub Client 2021-09-24 15:45:46.148 - debug: yahka.0 (8720) Objects client initialize lua scripts 2021-09-24 15:45:46.152 - debug: yahka.0 (8720) Objects connected to redis: 0.0.0.0:9001 2021-09-24 15:45:46.154 - debug: yahka.0 (8720) objectDB connected 2021-09-24 15:45:46.155 - debug: yahka.0 (8720) Redis States: Use Redis connection: 0.0.0.0:9000 2021-09-24 15:45:46.157 - debug: yahka.0 (8720) States create System PubSub Client 2021-09-24 15:45:46.157 - debug: yahka.0 (8720) States create User PubSub Client 2021-09-24 15:45:46.159 - debug: yahka.0 (8720) States connected to redis: 0.0.0.0:9000 2021-09-24 15:45:46.159 - debug: yahka.0 (8720) statesDB connected 2021-09-24 15:45:46.211 - info: yahka.0 (8720) starting. Version 0.13.1 in /opt/iobroker/node_modules/iobroker.yahka, node: v12.22.5, js-controller: 3.3.15 2021-09-24 15:45:46.220 - info: yahka.0 (8720) adapter ready, checking config 2021-09-24 15:45:46.220 - debug: yahka.0 (8720) creating bridge 2021-09-24 15:45:46.223 - info: yahka.0 (8720) adding Büro Licht with UUID: 68404733-0ee7-4d39-8189-b8a42e2bb7ec 2021-09-24 15:45:46.224 - debug: yahka.0 (8720) [Büro Licht] adding Service Büro Licht 2021-09-24 15:45:46.225 - info: yahka.0 (8720) adding Testdevice with UUID: eaeb8117-2a96-44da-addb-4dc4c8ec6083 2021-09-24 15:45:46.225 - debug: yahka.0 (8720) [Testdevice] adding Service Testdevice 2021-09-24 15:45:46.226 - info: yahka.0 (8720) publishing bridge Yahka-0 on 0.0.0.0 using ciao ` Komisch ist, dass neu angelegt Objekte im Yahka Adapter auch sofort in der HomeKit App erscheinen. Nur der Request scheint auf dem ioBroker Host nicht anzukommen :(
jensweigele commented 2 years ago

Schick mal bitte einen Screenshot deiner Config. Das sieht alles sehr seltsam aus

r0bs3 commented 2 years ago

Was noch komischer ist, ich habe es jetzt durch probieren geschafft, bei einem Zimmer (Kinderzimmer) das Licht per yahka Adapter zu schalten. Im Log ist auch das entsprechende Event zu finden.

021-09-24 16:15:55.318 - debug: yahka.0 (8945) Objects client ready ... initialize now 2021-09-24 16:15:55.318 - debug: yahka.0 (8945) Objects create System PubSub Client 2021-09-24 16:15:55.319 - debug: yahka.0 (8945) Objects create User PubSub Client 2021-09-24 16:15:55.319 - debug: yahka.0 (8945) Objects client initialize lua scripts 2021-09-24 16:15:55.326 - debug: yahka.0 (8945) Objects connected to redis: 0.0.0.0:9001 2021-09-24 16:15:55.329 - debug: yahka.0 (8945) objectDB connected 2021-09-24 16:15:55.329 - debug: yahka.0 (8945) Redis States: Use Redis connection: 0.0.0.0:9000 2021-09-24 16:15:55.332 - debug: yahka.0 (8945) States create System PubSub Client 2021-09-24 16:15:55.332 - debug: yahka.0 (8945) States create User PubSub Client 2021-09-24 16:15:55.337 - debug: yahka.0 (8945) States connected to redis: 0.0.0.0:9000 2021-09-24 16:15:55.338 - debug: yahka.0 (8945) statesDB connected 2021-09-24 16:15:55.403 - info: yahka.0 (8945) starting. Version 0.13.1 in /opt/iobroker/node_modules/iobroker.yahka, node: v12.22.5, js-controller: 3.3.15 2021-09-24 16:15:55.416 - info: yahka.0 (8945) adapter ready, checking config 2021-09-24 16:15:55.416 - debug: yahka.0 (8945) creating bridge 2021-09-24 16:15:55.419 - info: yahka.0 (8945) adding Licht Kinderzimmer with UUID: 10f3a6e4-502f-418f-b29f-66ab2e01c29f 2021-09-24 16:15:55.420 - debug: yahka.0 (8945) [Licht Kinderzimmer] adding Service Licht Kinderzimmer 2021-09-24 16:15:55.421 - debug: yahka.0 (8945) added subscription for: [state]knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke 2021-09-24 16:15:55.422 - debug: yahka.0 (8945) reading state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke] 2021-09-24 16:15:55.422 - info: yahka.0 (8945) adding Licht Büro Decke with UUID: 88cabe90-2ccd-451a-9382-b47655f091c2 2021-09-24 16:15:55.422 - debug: yahka.0 (8945) [Licht Büro Decke] adding Service Licht Büro Decke 2021-09-24 16:15:55.423 - info: yahka.0 (8945) adding Licht Eingang Decke with UUID: 6eb29711-be7b-499a-8c5a-69802869b3c2 2021-09-24 16:15:55.423 - debug: yahka.0 (8945) [Licht Eingang Decke] adding Service Licht Eingang Decke 2021-09-24 16:15:55.423 - info: yahka.0 (8945) publishing bridge Yahka-0 on 192.168.1.8 using hapBonjour 2021-09-24 16:15:55.436 - debug: yahka.0 (8945) change event from ioBroker via [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke]{"val":0,"ack":false,"ts":1632492916529,"q":0,"from":"system.adapter.yahka.0","user":"system.user.admin","lc":1632492916529} 2021-09-24 16:15:55.436 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] got a change notify event, ioValue: 0 2021-09-24 16:15:55.436 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] forwarding value from ioBroker (0) to homekit as (0) 2021-09-24 16:15:55.436 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] got a set event, hkValue: false 2021-09-24 16:15:55.436 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] set was initiated from ioBroker - exiting here 2021-09-24 16:15:55.438 - debug: yahka.0 (8945) read state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke]: {"val":false,"ack":false,"ts":1632492916529,"q":0,"from":"system.adapter.yahka.0","user":"system.user.admin","lc":1632492916529} 2021-09-24 16:15:55.438 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] initializing homekit with value from ioBroker (false) to homekit as (0) 2021-09-24 16:15:55.438 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] got a set event, hkValue: false 2021-09-24 16:15:55.438 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] set was initiated from ioBroker - exiting here 2021-09-24 16:16:13.058 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] got a get event 2021-09-24 16:16:13.058 - debug: yahka.0 (8945) reading state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke] 2021-09-24 16:16:13.060 - debug: yahka.0 (8945) read state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke]: {"val":false,"ack":false,"ts":1632492916529,"q":0,"from":"system.adapter.yahka.0","user":"system.user.admin","lc":1632492916529} 2021-09-24 16:16:13.060 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] forwarding value from ioBroker (false) to homekit as (0) 2021-09-24 16:16:20.639 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] got a get event 2021-09-24 16:16:20.639 - debug: yahka.0 (8945) reading state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke] 2021-09-24 16:16:20.641 - debug: yahka.0 (8945) read state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke]: {"val":false,"ack":false,"ts":1632492916529,"q":0,"from":"system.adapter.yahka.0","user":"system.user.admin","lc":1632492916529} 2021-09-24 16:16:20.641 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] forwarding value from ioBroker (false) to homekit as (0) 2021-09-24 16:16:32.902 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] got a get event 2021-09-24 16:16:32.902 - debug: yahka.0 (8945) reading state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke] 2021-09-24 16:16:32.903 - debug: yahka.0 (8945) read state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke]: {"val":false,"ack":false,"ts":1632492916529,"q":0,"from":"system.adapter.yahka.0","user":"system.user.admin","lc":1632492916529} 2021-09-24 16:16:32.904 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] forwarding value from ioBroker (false) to homekit as (0) 2021-09-24 16:16:44.591 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] got a get event 2021-09-24 16:16:44.591 - debug: yahka.0 (8945) reading state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke] 2021-09-24 16:16:44.592 - debug: yahka.0 (8945) read state from ioBroker [knx.0.Licht.Schalten.Kinderzimmer_2_Licht_Decke]: {"val":false,"ack":false,"ts":1632492916529,"q":0,"from":"system.adapter.yahka.0","user":"system.user.admin","lc":1632492916529} 2021-09-24 16:16:44.592 - debug: yahka.0 (8945) [Licht Kinderzimmer.On] forwarding value from ioBroker (false) to homekit as (0)

Das Büro Licht, welches ich zum ersten Test angelegt hatte funktioniert weiterhin nicht. Ich habe jetzt noch ein Deckenlicht im Flur angelegt, auch das funktioniert nicht 2021-09-24_16h22_33 2021-09-24_16h23_16 2021-09-24_16h23_37 2021-09-24_16h24_37 2021-09-24_16h24_54

jensweigele commented 2 years ago

Du musst den Haken vor "On" setzen, damit die Eigenschaft auch aktiv ist (daher ist der Hintergrund grau). Falls das dein Problem löst, schließe bitte das Ticket.

r0bs3 commented 2 years ago

Oh Gott, danke! Manchmal sieht man den Wald vor lauter Bäumen nicht. Geht jetzt