lprhodes / homebridge-apple-tv

Apple TV 4th & 5th gen plugin for homebridge: https://github.com/nfarina/homebridge
Apache License 2.0
105 stars 15 forks source link

Plugin is *very* broken #54

Open Casuallynoted opened 4 years ago

Casuallynoted commented 4 years ago

Just leaving his issue as a general list of issues with this plugin that make it entirely unusable on modern homebridge, as well as solutions I've found to get past a number of them:

Errors pertaining to Sodium -> Solution: Build from @GioCirque 's repository - https://github.com/GioCirque/homebridge-apple-tv.

Problem here is, that repo likes to pull dependencies in a super weird way, so on my RPi I wound up actually having to install each dependency separately and then remove them from the package.json. It was rough. Suggestion to the dev- merge that code into this repo.

After that has been cleared out, we get...

homebridge-platform-helper package.json does not contain the keyword 'homebridge-plugin' -> Solution: Add that keyword to the plugin's package.json and this error will be gone.

However, now we get where I think we'll be leaving it for the time being...

"Error: Plugin /usr/local/lib/node_modules/homebridge-platform-helper does not export a initializer function from main."

So it looks like the dependency, another homebridge plugin made by the OG dev @lprhodes , is the problem here past this point.