maxileith / homebridge-appletv-enhanced

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

pairing process not showing up #480

Closed zhiaozhou closed 2 months ago

zhiaozhou commented 3 months ago

Preconditions

Current Situation

Hi, I have installed homebridge 1.8.3 and appletv-enhanced 1.4.0 on my synology nas but have two problems.

  1. There's no "child bridge" option. image

  2. The plugin does not seem to be working since there's nothing in my log panel, let alone the pairing process.

Logs

[7/4/2024, 12:56:23 AM] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 9722) is running on port 51447.
[7/4/2024, 12:57:52 AM] [Homebridge UI] Changes to config.json saved.
[7/4/2024, 12:57:55 AM] [Homebridge UI] Homebridge restart request received
[7/4/2024, 12:57:55 AM] [Homebridge UI] Sending SIGTERM to process...
[7/4/2024, 12:57:55 AM] [HB Supervisor] Stopping services...
[7/4/2024, 12:57:55 AM] Got SIGTERM, shutting down Homebridge...
[7/4/2024, 12:58:00 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[7/4/2024, 12:58:05 AM] [HB Supervisor] OS: Linux 4.4.302+ x64
[7/4/2024, 12:58:05 AM] [HB Supervisor] Node.js v20.9.0 /volume2/@appstore/Node.js_v20/usr/local/bin/node
[7/4/2024, 12:58:05 AM] [HB Supervisor] Homebridge Path: /volume2/homebridge/node_modules/homebridge/bin/homebridge
[7/4/2024, 12:58:05 AM] [HB Supervisor] UI Path: /var/packages/homebridge/target/app/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js
[7/4/2024, 12:58:06 AM] [Homebridge UI] Homebridge UI v4.56.4 is listening on :: port 8581
[7/4/2024, 12:58:07 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /volume2/homebridge/node_modules --strict-plugin-resolution
[7/4/2024, 12:58:07 AM] [HB Supervisor] Started Homebridge v1.8.3 with PID: 1945
[7/4/2024, 12:58:07 AM] Loaded config.json with 0 accessories and 1 platforms.
[7/4/2024, 12:58:07 AM] Loaded 0 cached accessories from cachedAccessories.
[7/4/2024, 12:58:07 AM] ---
[7/4/2024, 12:58:07 AM] The plugin "homebridge-appletv-enhanced" requires Node.js version of ^20.14.0 || ^18.20.3 which does not satisfy the current Node.js version of v20.9.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[7/4/2024, 12:58:07 AM] Loaded plugin: homebridge-appletv-enhanced@1.4.0
[7/4/2024, 12:58:07 AM] Registering platform 'homebridge-appletv-enhanced.AppleTVEnhanced'
[7/4/2024, 12:58:07 AM] ---
[7/4/2024, 12:58:07 AM] Loading 1 platforms...
Setup Payload:
X-HM://0024EROTJGL76
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     
    │ 568-33-127 │     
    └────────────┘     

[7/4/2024, 12:58:07 AM] Homebridge v1.8.3 (HAP v0.12.2) (Homebridge 9722) is running on port 51447.

Configuration

{
    "platform": "AppleTVEnhanced",
    "name": "AppleTVEnhanced"
}

Operating System

Linux

Operating System: Bits

64-bit

Operating System: Distribution

Linux NAS

Operating System: Distribution Version

4.4.302+

Docker

no

Docker Image

None

Docker Image Tag

No response

Homebridge Version

1.8.3

Homebridge Config UI Version

4.56.4

Homebridge Storage Path

/var/lib/homebridge

Homebridge Apple TV Enhanced Version

1.4.0

Node Version

20.9.0

NPM Version

10.1.0

Python Version

3.8.15

PIP Version

No module named pip

HDMI Hops

No response

Audio Output

no

Same Subnet

yes

Additional Context

No response

github-actions[bot] commented 3 months ago

❗ Action required

There are a few problems with your opened issue. Please fix them by editing the issue:

Often the problem you are experiencing will be solved by simply making your environment compliant with the requirements (fulfilling the pre-checks).

🔍 Have you already considered the following?

🔁 Rerun

After editing the issue, the checks will be run again.

Under no circumstances should the issue be adjusted untruthfully. If the issue cannot fulfill the pre-checks, your environment is simply not supported.

If you do not adjust the issue accordingly, the issue will be automatically closed after 60 days of inactivity.

maxileith commented 3 months ago

It seems like you haven't configured the plugin at all. Please open the config and adjusted to your needs. The default config should be fine for most setups. However, you need to open the config editor and save even if you want the default config.