efka
(efka)
February 22, 2017, 2:51pm
1
Hello
I just came across OH2 from a youtube video and wanted to try it out.
I got a AVM Dect 200 wallplug. I created all the things in OH2 PaperUI and can now switch on/off the power on the device through the PaperUI.
Now i thought as i got an iphone i wanted to add the device to be able to use siri with homekit. So i downloaded the homekit integration. Configured the it in Services and changed “Network Interface” to the local ip of my windows pc and saved it.
Now if i want to connect to it through the “Home” app i see the openHAb device and i type in the Pin i see in the Config file. Its spins but eventually its says that i cant connect to it sadly.
Did i missed something thats needed to be done ?
Thanks in advance! Would be really cool if i get it working! My parents would love to use it
r27
(Ra)
February 22, 2017, 3:09pm
2
You have to tag item as [ “Switchable” ] so it is available for HomeKit. help.
efka
(efka)
February 22, 2017, 3:17pm
3
thanks for the reply. Found that too but i dont really understand where. In the GUI there is no box where i could enter that.
I opened the json script from my Item and that the code that in there:
{
“Bad”: {
“class”: “org.eclipse.smarthome.core.items.ManagedItemProvider$PersistedItem”,
“value”: {
“groupNames”: [],
“itemType”: “Switch”,
“tags”: [],
“label”: “Bad Steckdose”,
“category”: “Light”
}
}
}
do i need to do it there? or somewhere else?
r27
(Ra)
February 22, 2017, 3:25pm
4
I use /conf/items/.items file to manually configure my items or Habmin UI > Configuration > Items > “item”> Tags
Habmin can be installed from Paper UI > addons> user interfaces.
Editing JSON should also work.
efka
(efka)
February 22, 2017, 3:42pm
5
so i changed the json to this
{
“Bad”: {
“class”: “org.eclipse.smarthome.core.items.ManagedItemProvider$PersistedItem”,
“value”: {
“groupNames”: [],
“itemType”: “Switch”,
“tags”: [ “Switchable” ],
“label”: “Bad Steckdose”,
“category”: “Light”
}
}
}
trying to connect to homekit results in the same. So spinning and spinning and after minutes an error that he cant connect
r27
(Ra)
February 22, 2017, 3:50pm
6
Try to remove brackets - “tags”: “Switchable”
efka
(efka)
February 22, 2017, 4:03pm
7
still not connecting even without the brackets. Also added it in the category PowerOutlet but still nothing
efka
(efka)
February 22, 2017, 4:46pm
9
2017-02-22 17:37:45.084 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2017-02-22 17:37:45.158 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2017-02-22 17:37:45.172 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui
2017-02-22 17:37:45.186 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2017-02-22 17:37:45.272 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing ‘avmfritz:FRITZ_Powerline_546E_Solo:192_168_178_17’ to inbox.
2017-02-22 17:37:45.277 [INFO ] [ng.fritzbox.internal.FritzboxBinding] - Fritzbox conditional deActivate: false
2017-02-22 17:37:45.323 [INFO ] [b.core.service.AbstractActiveService] - FritzBox refresh Service has been started
2017-02-22 17:37:48.042 [INFO ] [b.core.service.AbstractActiveService] - FritzboxTr064 Refresh Service has been started
2017-02-22 17:37:48.058 [WARN ] [nhab.io.homekit.internal.HomekitImpl] - Could not find existing MAC in org.eclipse.smarthome.storage.json.JsonStorage. Generating new MAC. This will require re-pairing of iOS devices.
2017-02-22 17:37:48.104 [INFO ] [com.beowulfe.hap.HomekitRoot ] - Added accessory openHAB
2017-02-22 17:37:48.207 [INFO ] [com.beowulfe.hap.HomekitRoot ] - Added accessory Outlet
2017-02-22 17:37:48.207 [INFO ] [pl.http.impl.NettyHomekitHttpService] - Bound homekit listener to /0:0:0:0:0:0:0:0:9124
2017-02-22 17:37:48.209 [INFO ] [pl.http.impl.NettyHomekitHttpService] - Resetting connections
2017-02-22 17:37:48.211 [INFO ] [ap.impl.jmdns.JmdnsHomekitAdvertiser] - Advertising accessory openHAB
2017-02-22 17:37:48.211 [INFO ] [ap.impl.jmdns.JmdnsHomekitAdvertiser] - Registering _hap._tcp.local. on port 9124
2017-02-22 17:37:48.235 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2017-02-22 17:38:11.486 [INFO ] [com.beowulfe.hap.HomekitRoot ] - Added accessory openHAB
2017-02-22 17:38:11.501 [INFO ] [com.beowulfe.hap.HomekitRoot ] - Added accessory Outlet
2017-02-22 17:38:11.501 [INFO ] [pl.http.impl.NettyHomekitHttpService] - Resetting connections
2017-02-22 17:44:13.134 [INFO ] [com.beowulfe.hap.HomekitRoot ] - Added accessory openHAB
2017-02-22 17:44:13.148 [INFO ] [com.beowulfe.hap.HomekitRoot ] - Added accessory Outlet
2017-02-22 17:44:13.148 [INFO ] [pl.http.impl.NettyHomekitHttpService] - Resetting connections
used the "log:set TRACE com.beowulfe.hap
Maybe the homekit listener is false?
http://grabilla.com/07216-fd921d96-5610-4cf3-b0a2-36de791d1e76.png
these are my homekit settings. the 192.168.178.32 is the local ip of my pc which is running the oh server
r27
(Ra)
February 22, 2017, 4:52pm
10
Make sure that Windows doesn’t have firewall enabled. Clear pairings - smarthome:homekit clearPairings- and try again. If you have another iOS device try it.
efka
(efka)
February 22, 2017, 5:09pm
11
Windows Firewall is disabled. I added the java.exe to my AVG anti virus. Clear parings and allowunauthenticated to true still no connecting possible