Homekit cannot add to IOS

  • Platform information:
    • Hardware: Pi 3
    • OS: raspbian
    • openHAB version: 2.5.9-1
  • Issue of the topic:

Installed the HomeKit addon configured per document https://www.openhab.org/addons/integrations/homekit/ When opening Home on the Phone it can find the openhab server, but when adding the devices, it tells me it cannot add the devices? device unreachable?

When connecting from a system on the Wifi network I can connect to the port, a tool like “fing” it does not see the port but a browser ends up in the logging

When I list the items that should be available in karaf that seems correct, I can see the items I expected.

Any suggestions on where to look are appriciated

homekit.cfg
org.openhab.homekit:port=9124 org.openhab.homekit:pin=031-45-154 org.openhab.homekit:useFahrenheitTemperature=false org.openhab.homekit:thermostatTargetModeCool=CoolOn org.openhab.homekit:thermostatTargetModeHeat=HeatOn org.openhab.homekit:thermostatTargetModeAuto=Auto org.openhab.homekit:thermostatTargetModeOff=Off org.openhab.homekit:networkInterface=0.0.0.0 org.openhab.homekit:name=openHAB

homekit.json

`{
“privateKey”: {
“class”: “java.lang.String”,
“value”: “r9lNf/E0uDfQox9rNTqHuEZVazSacJK5guntGWPjKeA\u003d”
},

  "salt": {
    "class": "java.lang.String",
    "value": "89833987841209730753753634900488742324"
  },
  "accessory_count": {
    "class": "java.lang.String",
    "value": "11"
  },
  "mac": {
    "class": "java.lang.String",
    "value": "2a:44:91:e9:57:2e"
  },
  "revision": {
    "class": "java.lang.String",
    "value": "1"
  }
}

openhab.log
2020-10-20 20:19:21.632 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007 2020-10-20 20:19:24.347 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.140:8080 2020-10-20 20:19:24.353 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.140:8443 2020-10-20 20:19:26.429 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel 2020-10-20 20:19:26.660 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder 2020-10-20 20:19:26.947 [INFO ] [openhab.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui 2020-10-20 20:19:27.469 [INFO ] [mekit.internal.HomekitChangeListener] - Created 11 HomeKit items. 2020-10-20 20:19:37.561 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null 2020-10-20 20:19:42.999 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller 2020-10-20 20:19:43.002 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false. 2020-10-20 20:35:52.885 [WARN ] [.server.impl.connections.HttpSession] - Unrecognized request for /
`

the configuration and log looks ok for me.
at which stage it stops in home app? after you have entered the PIN ?

Yes after the PIN, says its looking for devices and after a while it says cannot add device. Could it have something to do with the Item configuration that is not correct?

Dimmer dimmer_kitchen_main "Dimmer Main [%d %%]" <light> {channel="zwave:device:dba7b941:node17:switch_dimmer", homekit="Lighting"}

try first with less homekit devices. you can add them afterwards.