i did some tests. I have commented this in the trace. Will send it with PM.
without mDNA there is no connection. With mDNA enabled i had to re-pair. After another restart of openHAB the connections stayed alive. Before i noticed that the homekit.json did not have any user included anymore. After re-pairing and re-start the users are still in the homekit.json. I have saved a copy and will see if the homekit users will disappear again from the file at some point. If that happens i notify you. i will keep trace on.
Ok. I noticed, I do not need to do re-pairing, I only have to do a restart of openhab. If I do the restart the items will work again in the Apple Homekit app. If I do not make a restart of openhab all items in apples homekit app stay in “no answer”.
I am running openhab 3 and homekit version 3.0.1. I looked in the UI but did noch find this mDNS setting. Is there a command line way?
Yesterday the homekit connection was again lost during operation, are you interested in the log? Following behaviour:
a) First restart (11:49 openhab_V2.log (1017.7 KB) ): no connection
b) second restart (13:31 openhab_V3.log (202.3 KB) ): connection was there again, everything is working fine.
So it seems not be a pairing problem. Should I issue another topic here within this community or should I leave it in here?
Regarding memory, space, access rights, what kind of information do you need?
Hi Eugen,
there was again a connection lost today. After restarting openhab with sudo shutdown -r restart,everything was fine again. Should I do a complete new installation of openhab with a fresh sd card image?
i cannot explain why “list | grep -i homekit” does not return anything.maybe something with grep. but if you do just “list” you should see homekit.
but before you do clean installation, please try different mDNS settings in homekit setting. now with M3 you should have them.
please make sure you also have set correct IP address in homekit settings via UI.
Wednesday: homekit was working, mDNS was turned OFF (slide control to the left as in image above)
Thursday: homekit app in ios showed “no answer”, after that I turned mDNS ON (slide control to the right): homekit app in ios showed immediatly, that everything is fine
after 2hours: homekit app in ios showed “no answer”, after that I turned mDNS OFF (slide control to the left): homekit app in ios showed immediatly, that everything is fine
Strange.
Network Interface in homekit is set correctly to 192.168.178.22
Openhab is running on port 8080
Phoscon GW is running on port 80
Port in homekit is set to 9123
I have Fritzbox 7530 and a Mesh repeater, Raspberry PI is connected via WLAN. No special settings for ports activated in Fritzbox