Page 1 of 1
AppleTV and PS4
Posted:
Sun Apr 23, 2017 8:14 pm
by pmgendon
Hey guys,
I was wondering if there is any way to integrate an AppleTV 4th gen and a PS4 in indigo?
thanks
pm
Re: AppleTV and PS4
Posted:
Mon Apr 24, 2017 3:59 am
by durosity
What do you want to accomplish? If it’s just control then probably the easiest option would be a Logitech Harmony Hub. AFAIK there’s no way of reading current states from the AppleTV or PS4 (unless it’s a jailbroken AppleTV 2).
Re: AppleTV and PS4
Posted:
Sat Dec 22, 2018 8:07 am
by davinci
Re: AppleTV and PS4
Posted:
Sat Dec 22, 2018 8:44 am
by durosity
davinci wrote:
Awesome! Who wants to write a plugin?
Re: AppleTV and PS4
Posted:
Tue Dec 25, 2018 3:18 am
by davinci
That would be nice.
I found an "easier" library to directly access Apple TV. Looks promising. Not sure if it is required to install the python libraries or if they can be integrated.
https://github.com/postlund/pyatv
Re: AppleTV and PS4
Posted:
Thu Dec 27, 2018 11:31 am
by jay (support)
davinci wrote:That would be nice.
I found an "easier" library to directly access Apple TV. Looks promising. Not sure if it is required to install the python libraries or if they can be integrated.
https://github.com/postlund/pyatv
Requires Python 3, so while you might be able to get it to work in a round about way, it won't likely be a generic plugin integration.
Re: AppleTV and PS4
Posted:
Fri Dec 28, 2018 2:11 pm
by davinci
Thanks for the clarification.
Is it possible to use a Python script inside of Indigo (external script)?
I have to find a way to install it on Mac, because the guide only covers Linux.
Re: AppleTV and PS4
Posted:
Fri Dec 28, 2018 2:48 pm
by jay (support)
You're gonna want to be VERY careful.
3rd party Python installers will often screw up Python paths that cause the built-in Python 2.7 (and therefore Indigo's Python integration) to break.
Re: AppleTV and PS4
Posted:
Sat Dec 29, 2018 9:44 am
by davinci
Yes I am aware of this. Is it possible to use those libraries without actually installing? Kind of like sandboxing. I know it works for individual python files but I'm not sure about this.
It might be overkill for my use case since I only need the GUID and I can wake up Apple TV anyway. The script can also read the GUID.
Re: AppleTV and PS4
Posted:
Sun Dec 30, 2018 6:42 am
by davinci
I can't get it to run. I was testing in a virtual machine but it can't find the Apple TV.
Any ideas how to get the GUID without setting up a real linux?
Re: AppleTV and PS4
Posted:
Mon Dec 31, 2018 5:43 pm
by jay (support)
I found a post on the net that indicated that you should use the ATV's serial number as the GUID (which you can get in the About screen). Give that a try.