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

[Bug] Homebridge loses accessories when AppleTV isn't found #21

Open
normen opened this issue Apr 12, 2018 · 7 comments
Open

[Bug] Homebridge loses accessories when AppleTV isn't found #21

normen opened this issue Apr 12, 2018 · 7 comments

Comments

@normen
Copy link

normen commented Apr 12, 2018

When the AppleTV isn't found during startup HomeKit will remove the associated devices which results in broken scenes and other issues.

The plugin could hold the homebridge startup when AppleTV isn't found or it could simply add the switches for HomeKit anyway and continue to try and connect in the background (this probably ties in with #18)

@normen normen changed the title Homebridge loses accessories when AppleTV isn't found [Bug] Homebridge loses accessories when AppleTV isn't found Apr 12, 2018
@skop1986
Copy link

I have the same mistake. I can't solve this problem

@DarKOrange75
Copy link

Same problem, I guess the problem would be solved if the Apple TV was found, please add a retry function to the Apple TV discovery.

@skop1986
Copy link

When the AppleTV isn't found during startup HomeKit will remove the associated devices which results in broken scenes and other issues.

The plugin could hold the homebridge startup when AppleTV isn't found or it could simply add the switches for HomeKit anyway and continue to try and connect in the background (this probably ties in with #18)
I solved this problem by adding an apple tv to the manual. It works great!

img_5793

@normen
Copy link
Author

normen commented Dec 11, 2018

I solved this problem by adding an apple tv to the manual. It works great!

Can you explain this a bit more? What do you mean exactly by "adding an apple tv to the manual"?

@skop1986
Copy link

skop1986 commented Dec 11, 2018

I solved this problem by adding an apple tv to the manual. It works great!

Can you explain this a bit more? What do you mean exactly by "adding an apple tv to the manual"?

for manual pairing, use the following:
https: / / github.com / edc1591/node-appletv
when you get there credentials just paste it into config.js
"platforms": [
{
"platform": "AppleTV",
"name": "Apple TV",
"devices": [
{
"id": "lounge",
"name": "Room",
"credentials": ".............."
}
],
"accessories": [
{
"deviceID": "lounge",
"name": "Up",
"command": "up"
}
],
"showPairSwitches": false
}
]
when credentials are received node-appletv can be deleted, it is no longer needed
npm r -g node-appletv

@normen
Copy link
Author

normen commented Dec 11, 2018

Okay, but thats a solution for a different problem :)

This is about when the AppleTV is already paired.

@NajibNour
Copy link

Any solution found on this?

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

4 participants