-
Notifications
You must be signed in to change notification settings - Fork 38
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
Reachability #9
Comments
It seems that the Apple home app doesn't support this feature. |
@cflurin indeed Home.app doesn't support it. Then it is even more strange behaviour while Philips Hue is able to set "No response" status in Home.app the reachability characteristic does not. Any ideas? I have also come by reachability characteristic in Apple's datasheet for HomeKit but even thought I tried it before somehow it didn't work so I thought I'm doing something wrong and gave up. I have no idea what else it could be as Apple's datasheet doesn't quite give a lot info. |
Please install the latest version from GitHub. Note: at Homebridge start reachable is set true. |
great! thanks for your feedback. |
@ArnieX maybe you can use a "last Will and Testament" if your mqtt client supports that, which helps to see if it is unreachable, instead of writing extra client code. See example of use: |
@tvillingett that is a good idea and less overkill than pinging the device every 60second. |
how do I make it so that the reachability is false when the device is not connected (off or not on the network). |
@CaptiveCreeper Have a look at the documentation https://github.com/cflurin/homebridge-mqtt#set-reachability |
The documentation only shows how to set the reachability. It doesnt say anything about how to make it so that when the device no longer responds that it will show as not reachable |
@CaptiveCreeper Is the idea to use "last will" that I wrote about above not working for you? |
@tvillingett When I was looking into last will at first I apparently skimmed though it too much and misunderstood how it worked. After you responded saying that it should work I looked into it more and now it does work. Sorry for wasting your time with something that was already solved. |
@tvillingett I have also used it on your tip, thanks for that. |
Thanks for your reference @cflurin , and your tips @ArnieX @tvillingett |
Cool! And thank you guys for your inspirations. |
I've added
homebridge/to/set/reachability
Please install from GitHub:
The text was updated successfully, but these errors were encountered: