[SOLVED] HomeKit Integration - Pairing Problems (iOS 10 - iOS 14)

ok it works now @Wolfgang_S

but it does not solve the following issue:

Sorry but although a picture may say more than 1000 words I do not understand what this picture means / what is expected to see here.

the Apple Home app says the device “openHAB” is not supported
And I don´t know why

do you have a solution now?
I have the same problem.

I have a similar Problem… After creating the homekit.items file, i can see all my shutters in homekit, however, i get a “no answer” in Homekit on the phone. Works in PaperUI, and i copied the channeld from PaperUI. Don’t know where i went wrong.
Config:
Rollershutter SZ_BT “Schlafzimmer Balkontür” [“Rollershutter”] { channel=“rfxcom:rfy:015xxxxxx:shutter” }

if you have ipad or apple tv at home, please make sure there are disconnected from homekit home (just to test, you can connect them later).

btw, which version of openhab and homekit binding you have?

1 Like

Thanks for all your work and great support.

Nothing connected to homekit except my iphone. AppleTV comes later, when my financials are back :slight_smile:
Homekit integration 2.5.5 and openHAB 2.5.5 release build
What bugs me is, i can trigger them via paperUI… But to convince the wife they should run on Siri / homekit

we will get your homekit working. typically, the device are not responsive when

  1. network connection is not working (e.g. firewall blocks the port 9123)
  2. homekit binding is not running
  3. you have a homekit bridge, e.g. apple tv. in this case iphone asks first the bridge for status.

so, 3) is excluded.

let check binding and network connection. do you know how to connect to karaf console? (if not check this https://www.openhab.org/docs/administration/console.html)

in the console, please execute following command

list | grep Homekit

you should get one line with homekit binding. like this

the execute these commands

log:set TRACE io.github.hapjava
log:tail io.github.hapjava

then open the home app on your iphone (right, close it before you start), you should see some messages in karaf… looks like this

if you see this - your homekit binding and network are configured correctly and something is wrong with your items. if you dont see, then try to re-install homekit binding first and then check your firewall settings.

Hello Eugen thanks for helping me out here! Did as i was told:

10:01:38.748 [INFO ] [ver.impl.http.HomekitClientConnection] - 500 /pair-verify
10:01:38.756 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 101, cap: 232) [/192.168.178.20:52336]:
485454502F312E312035303020496E7465726E616C20536572766572204572726F720D0A436F6E74656E742D4C656E6774683A2031390D0A436F6E6E656374696F6E3A206B6565702D616C6976650D0A0D0A6A6176612E6C616E672E457863657074696F6E

10:01:38.769 [INFO ] [erver.impl.http.impl.AccessoryHandler] - Terminated homekit connection from /192.168.178.20:52336
10:01:54.797 [INFO ] [erver.impl.http.impl.AccessoryHandler] - New homekit connection from /192.168.178.20:52337
10:01:54.799 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 158, cap: 1024) [/192.168.178.20:52337]:
504F5354202F706169722D76657269667920485454502F312E310D0A486F73743A206F70656E4841422E5F6861702E5F7463702E6C6F63616C0D0A436F6E74656E742D4C656E6774683A2033370D0A436F6E74656E742D547970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A0D0A0601010320B1FCA5EBC73051F2EBB79384FCB4F1879D127E60B75C27040E655B7A45BA116D

10:01:54.811 [DEBUG] [.impl.pairing.PairVerificationManager] - Starting pair verification for openHAB
10:01:54.856 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /pair-verify
10:01:54.865 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 244, cap: 256) [/192.168.178.20:52337]:
485454502F312E3120323030204F4B0D0A436F6E74656E742D747970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A436F6E74656E742D4C656E6774683A203134300D0A436F6E6E656374696F6E3A206B6565702D616C6976650D0A0D0A060102056546496577DC834295858AECF319E25D091F1D27112AA29520F51CF3E83FDA3E93B51AD619951EB1B0D68E3C5FF9B3F6867FAA4017D84B1604593BDDB7B60ABB324804AE9BB107CED69648D5B1699F9CF19AEAA3B3BF6F71677B774B7ED081CF9C465C6DB8B6032032D220ADA1A3C14F411C899DAA25A8B37578DD8C880AC8343521C28B928C8E07

10:01:54.970 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 247, cap: 1024) [/192.168.178.20:52337]:
504F5354202F706169722D76657269667920485454502F312E310D0A486F73743A206F70656E4841422E5F6861702E5F7463702E6C6F63616C0D0A436F6E74656E742D4C656E6774683A203132350D0A436F6E74656E742D547970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A0D0A05781F725BEC1A8A851650FC4694A1C4B05B55B57951E600719D2473403C280CBE72A86CD90055ECE2705FE35BD6AAB28B327DDC74B67C5B7ACA71F0B11BB06C3A344CD6A84ED00FA5E907FF96D8525E0A769C2E81027BCB7583BF9DA6F9EDBBAF28C53354B62A82CE9EF4C8F9EF2F417F18A41AF8298DB09DA4060103

10:01:54.981 [ERROR] [a.server.impl.connections.HttpSession] - Excepton encountered while verifying pairing
java.lang.Exception: Unknown user: 0461ED8E-A3EB-4205-9465-DBBA7CF9DD9B
at io.github.hapjava.server.impl.pairing.PairVerificationManager.stage2(PairVerificationManager.java:113) ~[bundleFile:?]
at io.github.hapjava.server.impl.pairing.PairVerificationManager.handle(PairVerificationManager.java:51) ~[bundleFile:?]
at io.github.hapjava.server.impl.connections.HttpSession.handlePairVerify(HttpSession.java:127) [bundleFile:?]
at io.github.hapjava.server.impl.connections.HttpSession.handleRequest(HttpSession.java:56) [bundleFile:?]
at io.github.hapjava.server.impl.connections.ConnectionImpl.doHandleRequest(ConnectionImpl.java:56) [bundleFile:?]
at io.github.hapjava.server.impl.connections.ConnectionImpl.handleRequest(ConnectionImpl.java:49) [bundleFile:?]
at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:52) [bundleFile:?]
at io.github.hapjava.server.impl.http.impl.AccessoryHandler.channelRead0(AccessoryHandler.java:17) [bundleFile:?]
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [bundleFile:4.1.42.Final]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [bundleFile:4.1.42.Final]
at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:56) [bundleFile:4.1.42.Final]
at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:365) [bundleFile:4.1.42.Final]
at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) [bundleFile:4.1.42.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044) [bundleFile:4.1.42.Final]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [bundleFile:4.1.42.Final]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [bundleFile:4.1.42.Final]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_65]
10:01:54.996 [INFO ] [ver.impl.http.HomekitClientConnection] - 500 /pair-verify
10:01:55.005 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 101, cap: 232) [/192.168.178.20:52337]:
485454502F312E312035303020496E7465726E616C20536572766572204572726F720D0A436F6E74656E742D4C656E6774683A2031390D0A436F6E6E656374696F6E3A206B6565702D616C6976650D0A0D0A6A6176612E6C616E672E457863657074696F6E

10:01:55.025 [INFO ] [erver.impl.http.impl.AccessoryHandler] - Terminated homekit connection from /192.168.178.20:52337

But cannot really make sense out of this…

thank you Marco,

it is helpful. there is mismatch between device /mobile phone stored in openHAB as bound and the device that tries to connect.

please do following:

  • in the karaf console execute this command
    smarthome:homekit clearPairings

  • in most cases the command above is already sufficient but to make sure the old connection is deleted, please do following steps in addition:

  1. stop openhab
  2. delete file $OPENHAB_USERDATA/jsondb/homekit.json
    (path depends in the installation. in my case it is /var/lib/openhab2/jsondb/homekit.json
  3. start openhab

afterwards you need to do the pairing again, e.g. create new home in home app, add bridge, etc.

Tried that as well… now i can’t delete the Items from the homehit app no more :frowning: Seems like something is completely wrong…

pi@raspberrypi:~ $ cd $OPENHAB_USERDATA
pi@raspberrypi:/var/lib/openhab2 $ cd jsondb/
pi@raspberrypi:/var/lib/openhab2/jsondb $ ls
backup
homekit.json
org.eclipse.smarthome.config.discovery.DiscoveryResult.json
org.eclipse.smarthome.core.thing.link.ItemChannelLink.json
org.eclipse.smarthome.core.thing.Thing.json
pi@raspberrypi:/var/lib/openhab2/jsondb $ rm homekit.json
rm: reguläre Datei (schreibgeschützt) ‘homekit.json’ entfernen? y
rm: das Entfernen von ‘homekit.json’ ist nicht möglich: Keine Berechtigung
pi@raspberrypi:/var/lib/openhab2/jsondb $ sudo rm homekit.json
pi@raspberrypi:/var/lib/openhab2/jsondb $ ls
backup
org.eclipse.smarthome.config.discovery.DiscoveryResult.json
org.eclipse.smarthome.core.thing.link.ItemChannelLink.json
org.eclipse.smarthome.core.thing.Thing.json
pi@raspberrypi:/var/lib/openhab2/jsondb $ sudo systemctl start openhab2.service
Warning: openhab2.service changed on disk. Run ‘systemctl daemon-reload’ to relo ad units.

so, looks good, now please delete your current “home” from home app on iphone and add it again (with PIN code, etc)

did that. same result :frowning:

i see the blinds in the home app, but i am getting “no answer” from the icon. Plus - i can use them via PaperUI, so the connection openHAB->Rolladen is working

my homekit.items:

pi@raspberrypi:/etc/openhab2/items $ cat homekit.items
/************************************************** Gruppen ********************************************/
//–> Räume

//–> Funkionen

/************************************************** Items ********************************************/
//—> Wohnung
//–> Rolladen

Rollershutter SZ_BT “Schlafzimmer Balkontür” [“Rollershutter”] { channel=“rfxcom:rfy:015XXXXX:shutter” }

Rollershutter SZ_FE “Schlafzimmer Fenster” [“Shutters”] { channel=“rfxcom:rfy:c71XXXXX:shutter” }

Rollershutter WZ_BT “Wohnzimmer Balkontür” [“Shutters”] { channel=“rfxcom:rfy:0ddXXXXX:shutter” }

I tried [“Shutters”] as well as [“Rollershutter”] but no luck…

your item configuration is correct. Rollershutter is the right tag.
the issue is not with items configuration but with communication between home app and openhab.
it looks like network connection is fine but for some reason it does not accept your iphone.
it says “Unknown user: 0461ED8E-A3EB-4205-9465-DBBA7CF9DD9B”, where user = iphone.
could you please send me the new logs - as above but newer one, after you did
“smarthome:homekit clearPairings”

and please check what is inside of $OPENHAB_USERDATA/jsondb/homekit.json

new logs:

openhab> log:set TRACE io.github.hapjava

log:tail io.github.hapjava
12:13:48.305 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Received message of length 78. Existing buffer is 0
12:13:48.314 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Attempting to read message of length 78
12:13:48.316 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /accessories
12:13:48.324 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Read complete message
12:13:48.330 [DEBUG] [a.server.impl.http.impl.BinaryHandler] - Sending data [/192.168.178.21:49488]:
HTTP/1.1 200 OK
Content-type: application/hap+json
Content-Length: 818
Connection: keep-alive

{“accessories”:[{“aid”:1,“services”:[{“iid”:1,“type”:“3E”,“characteristics”:[{“iid”:2,“type”:“14”,“perms”:[“pw”],“format”:“bool”,“ev”:false,“description”:“identifies the accessory”},{“iid”:3,“type”:“20”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“manufacturer”,“value”:“openHAB”,“maxLen”:255},{“iid”:4,“type”:“21”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“model”,“value”:“2.5.5”,“maxLen”:255},{“iid”:5,“type”:“23”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“name of the accessory”,“value”:“openHAB”,“maxLen”:255},{“iid”:6,“type”:“30”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“serial number”,“value”:“none”,“maxLen”:255},{“iid”:7,“type”:“52”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“firmware revision”,“value”:“2.5.3”,“maxLen”:255}]}]}]}
12:13:48.335 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Returning 1 results
12:13:48.347 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 936, cap: 1024) [/192.168.178.21:49488]:
960305440E86BAC6E050E6C4FB5FD8D545818EDEE90ABBE1EF43A13A3F8C9F19A27593C9A40666F4C0F4A9377C348C8195AD6AF28487BCCCB550BDCD96C8C5AE9A4E15E7DF53E49E4B6F572AF6FF8D60335E981B5505FAB209DDD13DB847385D0B70F26CE3193994908809C1A94800D9758C15432CB50EA83108D16C84D6A15A22340D7473A03A8744C172650A73029A31463DDBDEC8E0019BF9A1BFEBCE30B40151E1301FEAFA780156010D1E94F29AA018662641537B3FC633175B263AD1007301B0E8F49E3D45DC0757A8EB55FB822D13EBDEFF70EC122028E2DD8589C8491EE96C8EAEDC593E51B7AAAB3B2369BE2EEA86D48AE899C559FEFC4C5660F86ECB06A78736C03C1B9E521364F2E1F0A306C49A96DE826D2C0EE045F3591486A714958A78F086EA8225730343A914ED8F70D3947197BB0BEDAE2B43D4F9F0D43DC25BE6781B34C19D55F7DE5D2598F502C4E70824B55FC7C18E643F58FC6209BC30097833D1DF4356CEA857F2DA3F5A499A5FEEB18016643A78D1023E8EB2853D7367BCE1F18CAC0829847CBF15D2D7C44BC89D167CA88E1A1C25FF6CFD3C84609C8F125544C8B330C574D846CDA597BC7E6D33298320C30DA40BAA7FE5D1F94799326A600204A8A6EE6A68053C6801F23451727AE50DF8B6F977E310620EF6E8BB2C497361D40315194E55F35207E34AF0E82DFB0E93C1B97BDB9F0C15E7677E74D713BE4B351178AAF7519F04D9C9EF653D948000FA1103D45E03B8148933385FCED1176249DB53EEA8624BABFE9FC28632ED49FB0B12781BB98CCB21F2186619E13B0E39EF3B04960CC454238C7221DE394EEF44C33AA7804D35A10053F1AF16DE195F420799BD2D1F4C85DD84F10DF02E14E6A920D624FAB3DDEE77022A5CD6C251B7B066102571B1FB68361DF936364021B9B2F7390574AB382F935B3B4B7CD0C6E2D20531AB390400960158DF5821AA0D5EC1195DE959A284172AB5E8E2BD048B3C063F66986A8AEE36FCDBC2D78D97CE46D295BBFD8A261DE4744BD0C1F11CD03469EF4C2A1D402D9A2701F6F1C1AA0F205D1E072A1FFA0D4EB2C08A0D23E6F430952782AC41E44E0CAF542E60865CE44800691C89DFB1C2D73FFD2C0B258EBC6B0C966E6ED612FA848B9E32872AE2AF282BD5CE64F519FAE0BFAB1FC2D257423BC4BC4F61DA4CF32739F586558A0594A9FF96103A4765825538BD325349E48B3FC3A454F1223A2213A6FABEA23DD24F6BB26ABC3A8BAD721304508E526BD88D6F0C297E6337C4EB8964D8C420515EB8A5061F0799A0A64F5E4FDB811D6835ACFE784004D7

12:13:48.347 [DEBUG] [a.server.impl.http.impl.BinaryHandler] - Received data [/192.168.178.22:49414]:
GET /accessories HTTP/1.1
Host: openHAB._hap._tcp.local

12:13:48.381 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /accessories
12:13:48.389 [DEBUG] [a.server.impl.http.impl.BinaryHandler] - Sending data [/192.168.178.22:49414]:
HTTP/1.1 200 OK
Content-type: application/hap+json
Content-Length: 818
Connection: keep-alive

{“accessories”:[{“aid”:1,“services”:[{“iid”:1,“type”:“3E”,“characteristics”:[{“iid”:2,“type”:“14”,“perms”:[“pw”],“format”:“bool”,“ev”:false,“description”:“identifies the accessory”},{“iid”:3,“type”:“20”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“manufacturer”,“value”:“openHAB”,“maxLen”:255},{“iid”:4,“type”:“21”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“model”,“value”:“2.5.5”,“maxLen”:255},{“iid”:5,“type”:“23”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“name of the accessory”,“value”:“openHAB”,“maxLen”:255},{“iid”:6,“type”:“30”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“serial number”,“value”:“none”,“maxLen”:255},{“iid”:7,“type”:“52”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“firmware revision”,“value”:“2.5.3”,“maxLen”:255}]}]}]}
12:13:48.403 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 936, cap: 1024) [/192.168.178.22:49414]:
960313404B199AE2AB2588595A8B9825B172072D5C0130C6D20E5FFA7F07BA62C47B782B5DA746FC02650077B8E0BBDE6C9FD036392EC61DCD5DD0E2D037003D84E4C323598F144CE3904B01CF483670C7368E5E7D8744E75763F654A17092D256E30CA5550C5F0201D2E66924E090347723C8B1DBF95E6AA1BB2C1E98C9561782A93137A14C27C69B0918ED55367B50E41643B46747B23F50B740ACFAAB93382538B1964E88B28FEF706B33B59B6AB79C652AE3CF9F80E778E9CEEEA18BC6AB7BD742DEDE14500654B339B20B00B15AC4E5C705BE37DC217FEC59300FD3A95E622421BCCC9378EAC812C64E965F8B258E998B8F9E8B36A36F06D2C56A65F25A806242CFCCF27F6564F2AE7FABB710B308CE03A00701FFBFADF0285412BB52A889467A1644C463D8F1E8EB0D62FE1CB5925EC2F0916280CBC97B7E46FF66A56E521D9D7E3001524309A65D597B89661E18A3FA280DF1811C4F2601E541C4EC7CCE307C903A460CE6E9E14D279ED272E980642475844EA358DFD54B45295E7B7611EF784C47B18C1870E73AC79027C4BFA2EE7F027EAEAFC10A9FAC3BB98874A32E9654E1B403AF182C1FB6C394E7DEF95CE90264BE7138C1AC8118097EDD0CF515D0E9495F9AB06261AF1F9D58F1175379408601B10C1130903A7B7D722A65C17ADD8DFA77DA321B85656D7215488C530708BA706922F7E1D597939ABC90F48143174258FFACFABD78786288A114FBE3E1FB6F049B4B3B101E31E74B071C3E7C7D81CA6BCD3D6D20794E68BE22D4AB9825CAA8ED21A111E9E5D9D6DD33D7B14ED8390C51E97594B9551D828588F976A4A318535F8916EDB9D780E70BC8E5A83FB0611FBE812E4E76C709A79BB0569F5AED0D6BBBB914023E5CAB48CCDBE87CEF9E6DFD4A17D4810622F80A250FFAE752FC51BF002AF3507770E96B82453DCE991757811F2F76BB5A8F98C0550E0AF278C9777B61597C32DD8388B83E92274062F8C09253C6741C061C0BB9CA1F5944D5FFCDACFFE1C4DAA818D11A154095F8F5BE399FEAD037A3396554F871E18E380570FEDD58A15AFEAB430459B2D0E7B068AABAE0B1668EA507BBFCF9517E856AF0C4FAD0D0B1DDFB412BD9F2AB435F9F9DBCB1F02D3276C657F9B457FE2C66CCE82411E4DEEA5C14B2C05B2CE2F47531F77D29FE32E807BEDE51EFF16B198DA4FE48C775CF1C106DA7C2BC0F7D4E843D69A12B6AB44294399A22F8116800FFBAA81687B49FDE7019DD79AB94E4A84DDC97D5A0FCE00881AE9FB407BA080DDCC3BDE89B5D4DD565FB7282059E1BE453627E7227CBA50FEA10B2

12:48:20.080 [INFO ] [erver.impl.http.impl.AccessoryHandler] - New homekit connection from /192.168.178.20:52464
12:48:20.096 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 158, cap: 1024) [/192.168.178.20:52464]:
504F5354202F706169722D76657269667920485454502F312E310D0A486F73743A206F70656E4841422E5F6861702E5F7463702E6C6F63616C0D0A436F6E74656E742D4C656E6774683A2033370D0A436F6E74656E742D547970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A0D0A06010103202C10C819A11DA5BF03EE700C509BA1DADCDEADE328134EE09CED106BC3BC1E3A

12:48:20.135 [DEBUG] [.impl.pairing.PairVerificationManager] - Starting pair verification for openHAB
12:48:20.188 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /pair-verify
12:48:20.199 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 244, cap: 256) [/192.168.178.20:52464]:
485454502F312E3120323030204F4B0D0A436F6E74656E742D747970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A436F6E74656E742D4C656E6774683A203134300D0A436F6E6E656374696F6E3A206B6565702D616C6976650D0A0D0A060102056536AB6E6C9D44B5D8B42C4FB05493DDA028AD371A2D515A78422B842792A3422CD37DE46B7EC534DE945DC321539748ADC14227CAEF742D3C1DD52C3B7448A2CBC6D9359ABF32F68D6BCE8C71D3F17FB353A88B10A4EAA4B58B1330792AEAA5E856FC8632B50320FA8233383331B1F5F612897E2617A4334024A5FC1999747406381468D6ED4141

12:48:20.235 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 247, cap: 1024) [/192.168.178.20:52464]:
504F5354202F706169722D76657269667920485454502F312E310D0A486F73743A206F70656E4841422E5F6861702E5F7463702E6C6F63616C0D0A436F6E74656E742D4C656E6774683A203132350D0A436F6E74656E742D547970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A0D0A057832FB29428CA1860A7AF067D74E66C4F5E870157AB109EA23AD052AACDD3D95C44C6E3A49A37214877F33D7C41C2A6D2FA525217575754DB3BA2BF2A4F98137F41C598712E4AF82D63FB207931AB6B0ED9951BD1053D2D2CA3819F3E5AA05DBD74F7851B5A76B7DC9FBD62D08F00604171E61A991566A89B6060103

12:48:20.272 [DEBUG] [.impl.pairing.PairVerificationManager] - Completed pair verification for openHAB
12:48:20.279 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /pair-verify
12:48:20.295 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 105, cap: 256) [/192.168.178.20:52464]:
485454502F312E3120323030204F4B0D0A436F6E74656E742D747970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A436F6E74656E742D4C656E6774683A20330D0A436F6E6E656374696F6E3A206B6565702D616C6976650D0A0D0A060104

12:48:20.311 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 78, cap: 512) [/192.168.178.20:52464]:
3C00B38658B64EF7FEFEED86015FE53196D9E39FD7FFA674737A09CA1C76C0D1657E8C9D0C63348A5160396BCB3139FDEB9E8E9F01128A81579DDBBD5E0722E454A6FD3F2DCCC837C6CECF4FC7AB

12:48:20.318 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Received message of length 78. Existing buffer is 0
12:48:20.323 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Attempting to read message of length 78
12:48:20.330 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Read complete message
12:48:20.335 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Returning 1 results
12:48:20.344 [DEBUG] [a.server.impl.http.impl.BinaryHandler] - Received data [/192.168.178.20:52464]:
GET /accessories HTTP/1.1
Host: openHAB._hap._tcp.local

12:48:20.381 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /accessories
12:48:20.400 [DEBUG] [a.server.impl.http.impl.BinaryHandler] - Sending data [/192.168.178.20:52464]:
HTTP/1.1 200 OK
Content-type: application/hap+json
Content-Length: 818
Connection: keep-alive

{“accessories”:[{“aid”:1,“services”:[{“iid”:1,“type”:“3E”,“characteristics”:[{“iid”:2,“type”:“14”,“perms”:[“pw”],“format”:“bool”,“ev”:false,“description”:“identifies the accessory”},{“iid”:3,“type”:“20”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“manufacturer”,“value”:“openHAB”,“maxLen”:255},{“iid”:4,“type”:“21”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“model”,“value”:“2.5.5”,“maxLen”:255},{“iid”:5,“type”:“23”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“name of the accessory”,“value”:“openHAB”,“maxLen”:255},{“iid”:6,“type”:“30”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“serial number”,“value”:“none”,“maxLen”:255},{“iid”:7,“type”:“52”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“firmware revision”,“value”:“2.5.3”,“maxLen”:255}]}]}]}
12:48:20.412 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 936, cap: 1024) [/192.168.178.20:52464]:
960301C11B4B8D456FB7A09D144ECDFF50F10CE91F7E3C7B8725833B3E1419248FD32A1C7E48AD9B2B2DA90DA5BC56EBCE73316CB9E6C29BE69B66D9184BE860497A18DCC9FD73B5FE1E05C712FF95EADF21A6B09FC0068F2237A0CAFFBA35C1161EE3785C6A6581C6FCE99AE9FE30370E13FF613D8A058DFF33AE3B01F197091547D7EBA7E50084DA28F1DA352F88240AAE79726FCD7CF116BA74DC89DF64E6F87EDB87E0F2F981316BB95B3D922490AC1E9934752F20002BFA307B77FCC0292D6D8943568383B196AD3AC50520339AC588A01DFDDFC521DE25C71A210751AA7F15E7AA05EF182AC8EBCCCDB290ABB8297B772356B9898A60324811382E1C4500C7A73271A40BEA537059834203D4C71350D9D3677087E11A0AAF684C5CB1ECFB74FEE0113EE616A5A10010668F2078183B81B5CE7E3456B8BA9700AF51014CCD50417018F43E0591BF4616E592B5C3C8422876B437FBEBAC208150B056CD8AE3308B23C3F0AAE1011C515B3A5F81EF4366B080852BC2C7388E59FE379E8D3C6D22C953C8AA91E44D1E2BBA40A15EE6C48AE7F011DEF91F56357F6A633FF2F268BD7282C2EE20CAD788798B4440A4C66993F0486F4C163640ED66DEF952173782A954269C5F73A9D941B637784C414EF790E794D5948ECC07B7A6EA9815530997967FF3191CDDE7ED71F20DF0A42F8CA417A572FBA460D9E5B270CD5F18C9AE78CB232E231D8BEF517C6A6B699917E2BDE048EDBB9071A3B9021C93F0BC81ABF5336DEB5573800F9554CFFD178FFC8E1088D93345DD5544B00A0867E014A785AF3BCD6DCE72AD4174B9E29F7BE07BCEBBA0557FC9FC7E2E55E1F261F16FEB287DADD69F928C3EAA80D7B43D8039E33DDE9D3D1576E2C509FBD0845516D5662812CFFDB454EF7FC2A4E44F399B59C4B88A611224D4E5A169D3791494491BCDD147E254D9829D0B832CFFE563D4EBD159A762A43DEC92DC7D82E68F9CA47E10C2310522FD5B708B2202509CACFB6854CBB35CC274DA226E9865B96FABD08D78E7C7908916C8AA5DF3BD6FDCBC55FAB68A48901460698A8A2A8BB99ECD3F17CB7616BBFD0F557B69862CB0B9C897BF87C88F8B789C9D995B77C679BDC8081C31435AB97527DD0623C2A5030244F99AEDD7C45EFF5F203CFB8697873E82299EC6D0F4C38CC30418F30451898CBB1271B370AEFAC4757E728B96CBF3CFD1C801F25DAA8703DB428930B33C1E7CF85D9A8139F392CF810219A605B32B78AB808475B8E21544489AC33673015E1146DE03764F681A9683231B3D51A8E266FA596204A74177013C1F7DE57A

13:56:56.713 [INFO ] [erver.impl.http.impl.AccessoryHandler] - Terminated homekit connection from /192.168.178.20:52464
13:57:06.509 [INFO ] [erver.impl.http.impl.AccessoryHandler] - New homekit connection from /192.168.178.20:52505
13:57:06.516 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 158, cap: 1024) [/192.168.178.20:52505]:
504F5354202F706169722D76657269667920485454502F312E310D0A486F73743A206F70656E4841422E5F6861702E5F7463702E6C6F63616C0D0A436F6E74656E742D4C656E6774683A2033370D0A436F6E74656E742D547970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A0D0A0601010320F4F880E5EBDA25FD7ECC9231FC4985EFD54A554067B9370D1F42A7696979C925

13:57:06.525 [DEBUG] [.impl.pairing.PairVerificationManager] - Starting pair verification for openHAB
13:57:06.785 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /pair-verify
13:57:06.800 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 244, cap: 256) [/192.168.178.20:52505]:
485454502F312E3120323030204F4B0D0A436F6E74656E742D747970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A436F6E74656E742D4C656E6774683A203134300D0A436F6E6E656374696F6E3A206B6565702D616C6976650D0A0D0A060102056539CC054D6122F526BC8EA97CB162B8223CBFA704D76A2164E5DAB3CB000176D96F34AEB810D1E565C8A6B289739D2C0CB6DB3C1CE6971AAA6A8D9384CD07FA3D132C6F69C4A747C86991321EA84A0C62317AAD0434AFDA07FAE452DD82E70C2B7E6C1C6B410320CE2E85A5BF80A15A4B5BE3F5197441D5319020714751FCFB06632BF5303C8D42

13:57:06.873 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 247, cap: 1024) [/192.168.178.20:52505]:
504F5354202F706169722D76657269667920485454502F312E310D0A486F73743A206F70656E4841422E5F6861702E5F7463702E6C6F63616C0D0A436F6E74656E742D4C656E6774683A203132350D0A436F6E74656E742D547970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A0D0A0578559AE1925031844F7BE63430A109A6EF2725DE93A91694A95ED40E678975F849FC2B656E474D9A75F059D83A712D7BEB252181A7620A54300FCE34E8E4C70D0844CC4A6FD6003C8463D35D0D190B80FA5837F4258E4482466C5F8A1F82E83FFE52461BD5939446B9BE19D06C39BFDE65F8FADADC758EE832060103

13:57:06.961 [DEBUG] [.impl.pairing.PairVerificationManager] - Completed pair verification for openHAB
13:57:06.971 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /pair-verify
13:57:06.983 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 105, cap: 256) [/192.168.178.20:52505]:
485454502F312E3120323030204F4B0D0A436F6E74656E742D747970653A206170706C69636174696F6E2F70616972696E672B746C76380D0A436F6E74656E742D4C656E6774683A20330D0A436F6E6E656374696F6E3A206B6565702D616C6976650D0A0D0A060104

13:57:07.064 [TRACE] [.server.impl.http.impl.LoggingHandler] - READ PooledUnsafeDirectByteBuf(ridx: 0, widx: 78, cap: 512) [/192.168.178.20:52505]:
3C00B2A1F4AC77E3F6372BCBDCC8D30C6E3458048940AF7C175BD6769185211410E442A1A3FDDFB5EDF365C3B947921E9C593D0330197812EF02AF45F2FB2AD84351C6DF2B581EFDE878A1862782

13:57:07.069 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Received message of length 78. Existing buffer is 0
13:57:07.075 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Attempting to read message of length 78
13:57:07.080 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Read complete message
13:57:07.085 [TRACE] [ions.LengthPrefixedByteArrayProcessor] - Returning 1 results
13:57:07.093 [DEBUG] [a.server.impl.http.impl.BinaryHandler] - Received data [/192.168.178.20:52505]:
GET /accessories HTTP/1.1
Host: openHAB._hap._tcp.local

13:57:07.131 [INFO ] [ver.impl.http.HomekitClientConnection] - 200 /accessories
13:57:07.141 [DEBUG] [a.server.impl.http.impl.BinaryHandler] - Sending data [/192.168.178.20:52505]:
HTTP/1.1 200 OK
Content-type: application/hap+json
Content-Length: 818
Connection: keep-alive

{“accessories”:[{“aid”:1,“services”:[{“iid”:1,“type”:“3E”,“characteristics”:[{“iid”:2,“type”:“14”,“perms”:[“pw”],“format”:“bool”,“ev”:false,“description”:“identifies the accessory”},{“iid”:3,“type”:“20”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“manufacturer”,“value”:“openHAB”,“maxLen”:255},{“iid”:4,“type”:“21”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“model”,“value”:“2.5.5”,“maxLen”:255},{“iid”:5,“type”:“23”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“name of the accessory”,“value”:“openHAB”,“maxLen”:255},{“iid”:6,“type”:“30”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“serial number”,“value”:“none”,“maxLen”:255},{“iid”:7,“type”:“52”,“perms”:[“pr”],“format”:“string”,“ev”:false,“description”:“firmware revision”,“value”:“2.5.3”,“maxLen”:255}]}]}]}
13:57:07.155 [TRACE] [.server.impl.http.impl.LoggingHandler] - WRITE PooledUnsafeDirectByteBuf(ridx: 0, widx: 936, cap: 1024) [/192.168.178.20:52505]:
96035AE6F7C2B39F7EEEB0F99EAC5B70D1E1F34EFDA89AF34734AF563D6688A7CD5C8B88FD9C1B4077569649E5D252CD8B811B620DCA96203DB2EED77143137410741BA8D41883887A961EF591EC0F7D7F534A79ADA2D369FFA7294037908A4BB5871EAAD3DFAC21503F76A3787B8648602CA56851EF903EBEC8EC08EFA57F9437E28AB5C54C7B2232A7CF89A1B33AFECDC7E3F52B76F2CB4142D39EAC2D709E0991F9EFC152C6EC66A20AE35225A763C701D005319038B0BA0AC19A3AA6C1C76E78A1217F4B0C0FFF6249B43D7D87A9E931E27E1587633E0AC3E362D837802B5C4484CCB61E988EF089921EAC6898A16B15CA28723DE1FE2706097F8691D943A19A00C64D499FAC139A9901C248F472299FED6C7B890639C7AD9FBAE699C3079054D7556DA0C404932862043A3E0DF82F9017CAF83B044774DCD062771BCBDB21C15355535646BA2C179E0E1D8A4A23718189640C954714EE8F4284A76B80571CF0FB41F80AE436BD3EAF6BFD0FC0ADBEA2FDBF05F0ED5038E6AE7DBFF567DA2D7453797F172466FC3F74488CED97500F8D8F0D4BCED58F635DAA69FBBDF6903DA5F1C985723B646933A694325A2862A54F907A57D6FB941C47B86E06BED0207D251FF9D345EA08E52052420216139524173EE42C285D0CC210C1CAB80AE0F577B848682C5DEE9FC602DFEF464B5ACECA73158580E851FD055BC66AC9CDAC1CDEB0732B0D81671EEC8907040DDBCBB12126CA83F9BACD474AA5E278B4832CDF448666C7098F861CF2283563A2E00519DB971DFA940FB3A5EAAEA9358A3F53E3B3B3D428EF584633DA8BCBAAF7F8B2AA45DDADC2D69F4A91CEA70EF32CCB3CC4CB723177CB764F66C498CCE40A4C0F76E27061C1F6991E2FAE0F757D6DCD2F96C8B52C6DFE5A6BE998C443CCF5D1FE9DFA52F375AD81ADBF5489D717A943675A7350C32184A8B4A9A4D1608E6F858C9F2E0C79B0BDD6EAEB3F371D5264ECC909C0C303B00BCE325ACC1992FA35BF92317BC6EEFFC37E4F021671C2401425148AC105FF4C9CAC0E91CFF743D285A1BC6E9C1E2FA88972C424131C2F900DFCD299E8569C52089EEB3FD1E919E3EFDF088233FEDA1247248A5C297F2E33B8930FF8C7267CFEB4EC2AF2FCC71CB75676A22648665514ABC468223500515EFAC0562B4BF5527640C713EB98C60AECBD703D0AB96C43772C47FD64BC19841E6C32C1E20A69185BFF035F6574068A7D9778DC73DAC1494B4E5EEF5E82491834B9C87E0634B6A604DAB227FD4157ED3C7948D08A6D29856603375151F0FB8E658FEC5B92E6721042F064F8CF

and homekit.json:

/etc/openhab2/items $ cat $OPENHAB_USERDATA/jsondb/homekit.json
{
“privateKey”: {
“class”: “java.lang.String”,
“value”: “XXXXXXXXXXXThArRLw4u1grnLaCCjTdgEXczGDTQ\u003d”
},
“salt”: {
“class”: “java.lang.String”,
“value”: “-119622890873576420256539058607497566286”
},
“user_96:5d:d5:71:3e:c10461ED8E-A3EB-4205-9465-DBBA7CF9DD9B”: {
“class”: “java.lang.String”,
“value”: “XXXXXXXXXXX3Vvg54Nb3OdXLqzCfmLgHOXQflVOPM\u003d”
},
“user_96:5d:d5:71:3e:c1A0B0277D-E346-43F6-89A7-FB1BA34B5A4A”: {
“class”: “java.lang.String”,
“value”: “XXXXXXXXXXXXuRPO1fUGX/sxXWNb6jSLp3++Rg\u003d”
},
“mac”: {
“class”: “java.lang.String”,
“value”: “XX:XX:XX:71:3e:XX”
}

Anonymized what looked like secure data…

And Eugen, thank you for taking the time to untangle this for me! Highly appreciated!

the log looks good. you have 2 clients connected to it.
however, there are no accessories.
im afraid, im was wrong. Rollershutter tag is wrong. it must be either [Blinds] or [WindowCovering]

so, keep openhab running and add following lines to items config

Rollershutter legacy_window_covering	"Legacy Window Rollershutter"			["WindowCovering"]
Rollershutter window_covering 		"Window Rollershutter"  	{homekit = "WindowCovering"}

(both are alternative ways to tag homekit items)

after few seconds rollershutters should appear in home app

ok, this is the new homekit.items:

/************************************************** Items ********************************************/
//—> Wohnung
//–> Rolladen

Rollershutter legacy_window_covering “Legacy Window Rollershutter” [“WindowCovering”]
Rollershutter window_covering “Window Rollershutter” {homekit = “WindowCovering”}

Rollershutter SZ_BT “Schlafzimmer Balkontür” [“Blinds”] { channel=“rfxcom:rfy:015XXXXX:shutter” }

Rollershutter SZ_FE “Schlafzimmer Fenster” [“Blinds”] { channel=“rfxcom:rfy:c71XXXXX:shutter” }

Rollershutter WZ_BT “Wohnzimmer Balkontür” [“Blinds”] { channel=“rfxcom:rfy:0ddXXXXX:shutter” }

I have, as predicted, 3 new items in my homekit app, all No answer… I am starting to think there is something wrong with my binding, but i have installed the homekit integratiopn, changed the pin and that’s that. do i need to add something in that config too? Did i miss something?