michbeck100 / pimatic-hap

Pimatic homekit bridge
GNU General Public License v2.0
30 stars 10 forks source link

Does not work 100% on iOS 11 #76

Closed 0xFelix closed 6 years ago

0xFelix commented 6 years ago

I set up a new and fresh instance of pimatic and installed pimatic-hap. After that I configured some switches and sensors and paired pimatic-hap to an iOS 11 device. All switches and sensors can be seen/read/switched, but on all devices a "!" is shown and the Home app says the device does not respond. Despite the warnings everything works and switches can be toggled etc.. I tested the same setup on an iOS 10 device, everything works there and no "!" are shown. What could be the problem?

michbeck100 commented 6 years ago

I‘ve seen the same behavior on my iOS 11 devices, both iPhone and iPad. But after a while of doing nothing about it, it’s gone and everything works without problems.

1janwillem commented 6 years ago

Hi,

I am experiencing the same problem, after the install of iOS 11 all was still working, but after the recently released new version of pimatic-hap all the switches/thermostats offered through pimatic-hap give an exclamation mark in the Home app in iOS11. They do work, both ways.

wrmulf commented 6 years ago

I can confirm, that the issues appeared with the latest update from v0.10.0 to v0.11.0.

michbeck100 commented 6 years ago

Could you please comment which plugins you use, that are supported by pimatic-hap. I have the feeling that the problem is related to a single plugin. I will test this by disabling one device after another and check if it gets better. The "!" problem seems to occur for all devices if just one device is not answering properly. Otherwise you can always go back to the last version using this tutorial: https://forum.pimatic.org/topic/1114/updated-how-to-install-a-plugin-from-github-using-npm-or-git

wrmulf commented 6 years ago

I use two instances of pimatic on two different rasbperry pis (one is called pi, the other one rb). Both are added to the same HomeKit-Account. Devices of both pimatic instances are rendered unreachable.

pi uses amazing-dash-button, hue-zll, shell-execute and rflink. rb uses amazing-dash-button, hue-zll, shell-execute, homeduino and led-light.

Both pimatic instances have echo and hap enabled.

michbeck100 commented 6 years ago

Should be fixed now. The problem was that with KhaosT/HAP-NodeJS@445b340 setting Service.BridgingState was removed from hap-nodejs (as of version 0.4.26).

michbeck100 commented 6 years ago

Fix was released with 0.11.1

0xFelix commented 6 years ago

Works fine now!

1janwillem commented 6 years ago

Works indeed! Thx for the fix!