openhab / openhab-addons

Add-ons for openHAB
https://www.openhab.org/
Eclipse Public License 2.0
1.88k stars 3.59k forks source link

HomeKit: Configuration issue interface/mac address for addon and homebridge #2462

Closed psyciknz closed 7 years ago

psyciknz commented 7 years ago

Just trying to set up homekit. I did have it going but now it seems to have stopped.

I'm unclear on a couple of the configuration items. In homebridge (on one machine) the config.json, there's provision for a mac address.
What address is this? Is this the homebridge machine, or my openhab machine or some random mac address?

In the homekit addon configuration, it wants a port and a network interface. The port is the port for the homebridge machine (55189 or something mine is), and the ip address is the local ip address of the openhab machine for finding the bridge? or is it the address of the bridge machine?

Oh and does the pin in openhab have to max the pin in homebridge?

Also I do see this error in openhab: 12:59:28.679 [WARN ] [homekit.internal.HomekitAuthInfoImpl] - Could not find existing MAC in org.eclipse.smarthome.storage.json.JsonStorage. Generating new MAC. This will require re-pairing of iOS devices.

psyciknz commented 7 years ago

I followed the instructions in https://github.com/openhab/openhab2-addons/issues/1822#issuecomment-297860690 to resolve the issue