Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant add as a bridge #2

Open
mountbatt opened this issue Jun 14, 2020 · 20 comments
Open

Cant add as a bridge #2

mountbatt opened this issue Jun 14, 2020 · 20 comments

Comments

@mountbatt
Copy link

mountbatt commented Jun 14, 2020

Hi, i am not able to add Bridge4KT as a new Bridge to Homekit on my iPhone. It says (in German) "Cant make a connection to this device". Do you have any idea? I tried it several times with different new generated keys etc … Thanks

Everythin in my setup (iOS, Zway etc are on the latest stable release versions)

@drheck
Copy link

drheck commented Jun 30, 2021

I have an equal problem:

  1. After downloading the app, i could not add the app to my installed apps.
    Solution: I have copied the plugin-files manually into the directory: /opt/z-way-server/automation/userModules/Bridge4KT
    After this i can open the app get the ID for homekit.
  2. After adding as new device, i got the following error:
    Device could added
    Failed with OSStatus code 200500 (internal server error)

I have the newest z-way version 3.1.4 and IOS 14.6

Could please help?
kind regards,
Peter

@ralphwetzel
Copy link
Owner

Hi!
There's been a breaking change in the HomeKit server implementation introduced with z-way 3.1.4.
Therefore the app from the z-way appstore will fail to install. Behind the scenes there's a javascript runtime error...
Unfortunately I can't do anything to solve this.

Based on some comments in the HomeKit script I yet have the impression that this change has been reverted; so this app should become operational again with the next release of z-way-server.

To be used until then & as a workaround - initially for myself - I updated the files here in the repository to overcome this breaking change. I guess, that's why @drheck managed to successfully install the app by hand.

To debug the error @drheck is facing, I'd need an extract of your /var/log/z-way-server.log file as support...

@drheck
Copy link

drheck commented Jul 5, 2021 via email

@ralphwetzel
Copy link
Owner

@drheck: Unfortunately the attachment didn't find it's way into this thread. You may send it via PM:

Author: Ralph Wetzel <bridge4kt@gmx.com>

@drheck
Copy link

drheck commented Jul 5, 2021

z-way-server.zip

@ralphwetzel
Copy link
Owner

@drheck: Thank you for the log file.
I found 'something' that looks like a bug in the heating module. As I don't have one of those devices running currently, I'm not able to test this modification. Yet you could give it a try...

@drheck
Copy link

drheck commented Jul 5, 2021

Hi Ralph,
i have installed the new sources. No i could add your app as a bridge in homekit.
But there are only rollershutter/window covering bridged.
Here is the output in the app:
(#7) Devolo Radiator Thermostat: 0002.0005.0175 / 04.08.04 / 05ae3c90 >> 04.08.04: Thermostat
(#10) Schalter Stehlampe Couch: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device
(#25) RolladenSchlafzimmer25: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#28) SteckdosenPumpe: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device
(#29) Rolladen Garage: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#30) Rolladen1Esszimmer: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#33) Rolladen2Esszimmer: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#34) Rolladen3Esszimmer: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#35) Rolladen4Esszimmer: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#39) Rolladen2Küche: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#40) Rolladen2Wohnzimmer: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#44) Rolladen1Wohnzimmer: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#45) Rolladen1Küche_45: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#46) RolladenFlur _46: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#48) Fibaro Double Switch 2: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device
(#54) RolladenHWRaum54: 010f.0303.1000 / 04.11.06 / 306cc41e >> 04.11.06: WindowCovering
(#55) Schalter Speisekammer55: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device
(#58) Fibaro Double Switch 2: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device
(#61) Terrasse Fibaro Double Switch 2: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device
(#62) Keller Flur Hobby Fibaro DS 2: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device
(#63) Fibaro Dimmer 2: 010f.0102.1000 / 04.11.01 / 4099870f >> 04.11.01: Lightbulb
(#64) KücheFlurEG Fibaro DS 2: 010f.0203.1000 / 04.10.01 / 8996dde7 >> Unknown Device

I have this installation an a second raspberry and i have to shutdown my production system in order to move the zway-usb stick.
So i c
z-way-server.zip
an test next time tomorrow...

regards,
Peter

@ralphwetzel
Copy link
Owner

Hello Peter,
I've updated the device definitions to detect the Fibaro DS2.
It should be enough to restart your server; if detection still fails, you need to download devices.json to update your definitions locally.

@drheck
Copy link

drheck commented Jul 6, 2021

Hi Ralph,
now all devices are detected, but i can not add as a bridge.
Logfile attached.
z-way-server.zip

@ralphwetzel
Copy link
Owner

Hi!
Thank you once again. By that I was able to detect / fix another issue. => v1.4
R.

@drheck
Copy link

drheck commented Jul 7, 2021 via email

@ralphwetzel
Copy link
Owner

I‘ve updated the files here in the repository. You could test with this latest version (which is labeled 1.4).
R.

@drheck
Copy link

drheck commented Jul 7, 2021 via email

@drheck
Copy link

drheck commented Jul 7, 2021 via email

@ralphwetzel
Copy link
Owner

Sorry for the inconvenience & thanks for your patience.
The latest fix was incomplete - unfortunately. Should be done now.
This yet helped to find a bug in the implementation of another device; fixed as well.

@ralphwetzel
Copy link
Owner

@drheck: Any update on this issue?

@drheck
Copy link

drheck commented Jul 15, 2021

I have tried it, but can not add to homekit.
logfile attached.
Uploading z-way-server.zip…

@ralphwetzel
Copy link
Owner

ralphwetzel commented Jul 15, 2021 via email

@drheck
Copy link

drheck commented Jul 15, 2021

Please give me a private Email for the attachments

@ralphwetzel
Copy link
Owner

PM: #2 (comment)

Repository owner deleted a comment from drheck Jul 15, 2021
Repository owner deleted a comment from drheck Jul 15, 2021
Repository owner deleted a comment from drheck Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants