maxileith / homebridge-appletv-enhanced

Homebridge plugin that exposes Apple TVs with features that should be native to Apple HomeKit.
MIT License
199 stars 3 forks source link

MacOS LibreSSL error #767

Closed DiscJokk closed 2 days ago

DiscJokk commented 3 days ago

Preconditions

Current Situation

Thank you for a very useful and well made plugin.

I installed this plugin yesterday, along with Homebridge, as I want to automate Homekit switches with the Apple TV on/off as the condition.

I followed along this video tutorial, as I am a complete noob on this area: https://www.youtube.com/watch?v=_8ObNKMJO84

I got to installing the plugin, and started searching for the Apple TV in my home network - but my device cannot be found as the child bridge of the plugin shuts down repeatedly (or at least that's what I think is the reason for not finding my Apple TV., see the logs provided.)

I really like this to work, as there was a lot of work involved in setting up Homebridge. If I get this to work, it would be very helpful for me - I look forward to using your plug in.

Therefore please help me fix my issue. Thank you for your time and effort.

If there is some info missing I'll try to post it.

tvOS 18.1 MacOS 15.1.1

Logs

[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] Launched child bridge with PID 16325
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] Loaded homebridge-appletv-enhanced v1.10.1 child bridge successfully
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Platform: Finished initializing platform: Apple TV Enhanced
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Update check: The update checker is configured to check for updates between 3:00 and 3:59, excluding betas. Auto updating is turned on.
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [S] Update check: You are using the latest version of AppleTV Enhanced (excluding betas): 1.10.1
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Starting python check.
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Using "python3" as the python executable.
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: plugin dir exists.
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: OpenSSL 3.3.6 is installed and compatible.
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Python 3.9.6 is installed and supported by the plugin.
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Virtual environment already exists.
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Virtual environment is using the configured python environment. Continuing ...
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Venv pip version: 24.3.1
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Checking if there is an update for venv pip ...
[11/26/2024, 9:42:33 PM] [Apple TV Enhanced] [I] Python check: Venv pip is up to date
[11/26/2024, 9:42:34 PM] [Apple TV Enhanced] [I] Python check: Python requirements are satisfied.
[11/26/2024, 9:42:34 PM] [Apple TV Enhanced] [S] Python check: Finished
[11/26/2024, 9:42:34 PM] [Apple TV Enhanced] [I] Platform: Starting device discovery ...
[11/26/2024, 9:42:39 PM] [Apple TV Enhanced] Child bridge process ended
[11/26/2024, 9:42:39 PM] [Apple TV Enhanced] Process Ended. Code: 1, Signal: null
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] Restarting Process...
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] Launched child bridge with PID 16354
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] Loaded homebridge-appletv-enhanced v1.10.1 child bridge successfully
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] [I] Platform: Finished initializing platform: Apple TV Enhanced
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] [I] Update check: The update checker is configured to check for updates between 3:00 and 3:59, excluding betas. Auto updating is turned on.
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] [S] Update check: You are using the latest version of AppleTV Enhanced (excluding betas): 1.10.1
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] [I] Python check: Starting python check.
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] [I] Python check: Using "python3" as the python executable.
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] [I] Python check: plugin dir exists.
[11/26/2024, 9:42:46 PM] [Apple TV Enhanced] [I] Python check: OpenSSL 3.3.6 is installed and compatible.
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Python check: Python 3.9.6 is installed and supported by the plugin.
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Python check: Virtual environment already exists.
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Python check: Virtual environment is using the configured python environment. Continuing ...
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Python check: Venv pip version: 24.3.1
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Python check: Checking if there is an update for venv pip ...
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Python check: Venv pip is up to date
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Python check: Python requirements are satisfied.
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [S] Python check: Finished
[11/26/2024, 9:42:47 PM] [Apple TV Enhanced] [I] Platform: Starting device discovery ...
[11/26/2024, 9:42:53 PM] [Apple TV Enhanced] Child bridge process ended
[11/26/2024, 9:42:53 PM] [Apple TV Enhanced] Process Ended. Code: 1, Signal: null

Configuration

The config.json command cannot be found:

"zsh: command not found: config.json"

Operating System

Mac Os

Operating System: Bits

64-bit

Operating System: Distribution

zsh: no matches found: /etc/*-release

Operating System: Distribution Version

zsh: no matches found: /etc/*-release

Docker

no

Docker Image

None

Docker Image Tag

zsh: command not found: docker

Homebridge Version

1.8.5

Homebridge Config UI Version

4.63.0

Homebridge Storage Path

/Users/joachimhansen/.homebridge

Homebridge Apple TV Enhanced Version

1.10.1

Node Version

22.11.0

NPM Version

10.9.0

Python Version

3.9.6

PIP Version

24.2.4

HDMI Hops

HDMI cable

Audio Output

no

Same Subnet

yes

Additional Context

Skärmavbild 2024-11-27 kl  20 59 51 Skärmavbild 2024-11-27 kl  21 00 39
maxileith commented 3 days ago

This is your answer: https://github.com/maxileith/homebridge-appletv-enhanced/issues/62#issuecomment-1885149832

DiscJokk commented 3 days ago

Thank you for the quick response.

I will try to brew install openssl@1.1

DiscJokk commented 3 days ago

Hello again,

I installed homebrew and I tried the brew install openssl@1.1 command, but the version has been disabled as of 10/24. I tried to run the brew install openssl@3 command instead, but it didn't solve my problem - the child bridge still turns on and off.

What should I do now? Sorry if there is a lot of info missing, I am very much new to this.

maxileith commented 2 days ago

Maybe that: https://www.reddit.com/r/homebridge/s/qFVP70PiBW

Not a Mac guy, so I can't really help on that. Besides that, MacOS is not officially supported by the plugin. Since I am not a Mac guy and the only thing I can do is google around as well, I am gonna close this issue. Sorry.

DiscJokk commented 1 day ago

Hello! I tried to install the latest version of Python and the child bridge became stable and my Apple TV was identified. Now I can continue with the setup. So I guess the issue is solved.

Thank you for your time and effort and a good weekend to you!