vniehues / homebridge-saphi-tv

This plug-in provides Homebridge support for Philips TVs running SaphiOS.
Apache License 2.0
9 stars 2 forks source link

Selecting the network port used for TV control #23

Open wlabarron opened 2 years ago

wlabarron commented 2 years ago

Describe Your Problem: On starting Homebridge, the plugin creates two accessories: one named My TV and one named My TV Remote.

  1. What are the two accessories for? Should I be adding them both to HomeKit?
  2. How can I make the accessories use one of the default Homebridge general-purpose ports, specified with the ports key in the main Homebridge config? My Pi is behind a firewall so I'd like it in a consistent range.

Logs:

[10/08/2022, 09:02:36] Living Room TV A9BF is running on port 38191.
[10/08/2022, 09:02:36] Please add [Living Room TV A9BF] manually in Home app. Setup Code: xxx-xx-xxx
[10/08/2022, 09:02:36] Homebridge v1.5.0 (HAP v0.10.2) (Homebridge 543C) is running on port 51943.
[10/08/2022, 09:02:36] Living Room TV Remote 122F is running on port 33217.
[10/08/2022, 09:02:36] Please add [Living Room TV Remote 122F] manually in Home app. Setup Code: xxx-xx-xxx

Environment:

vniehues commented 1 year ago

Hey @wlabarron! Sorry I didn't catch this issue earlier!

  1. The "Remote" Accessory should allow functions like Ambilight Control while the "TV" Accessory basically adds the TV itself and allows to control it using the CC-Remote on your iPhone/iPad.

  2. I actually don't know if there is a way to specify the port (as a user or developer). Did you find any information on that?

wlabarron commented 1 year ago

I'm not sure. I was mostly referring to these lines from the sample config which suggests there is a way, but like you I couldn't see any info about it in the plugin developer documentation.