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

Can’t add to home #8

Closed ghost closed 3 years ago

ghost commented 3 years ago

Describe Your Problem: Homebridge is added as a bridge but can find the TV when added device to Home app

37DAD048-4B80-49A1-A7D7-BF79B8734AF6

Just sticks on this page.

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

{ "name": "TV", "ip_adress": "000.000.00.0 (does say IP) ", "wol_adress": "wol://00:00:00:00:00:00 (does say Mac)", "has_tv_channels": true, "channel_setup_popup_time": 2250, "startup_time": 15, "timeout": 4, "input_delay": 498, "api_version": 6, "api_port_no": 1925, "protocol": "http", "polling_interval": 40, "has_ambilight": false, "has_ambihue": true, "ambi_poweroff": true, "ambi_poweron": false, "inputs": [ { "name": "Apple TV", "type": "SOURCE", "position": -2 }, { "name": "Xbox", "type": "SOURCE", "position": -1 }, { "name": "PC", "type": "SOURCE", "position": 0 } ], "_bridge": { "username": "0E:BB:C4:42:E3:BC", "port": 45401 }, "platform": "SaphiTV" } ]

Screenshots:

Environment:

vniehues commented 3 years ago

Hey @ashleymoat, Thanks for reaching out!

Did you try restarting your Homebridge? After the restart there should be two sets of entries like these in the logs: image

You should then be able to add them like you tried.

If they're not present, the plugin fails to initialize the accessories. I would need to check that. If these lines however are present in your logs, your local network might be at fault. Can you add other external accessories?

Your config looks good to me. Which version of homebridge are you using? (you entered the plugin version there)

ghost commented 3 years ago

DA2A3C3A-B236-48E7-8E22-D9BD3B678611

Sorry version 1.3.1 Yes other products seem to add ok. Your beta version does, just not the live version.

thanks

vniehues commented 3 years ago

Oh damn... Just to clarify, you have the current beta version running without issues but the live version did not work?

I'll try to release the current beta sometime next week but I want to test it further before doing so.

ghost commented 3 years ago

DBEA42DF-9F01-4D04-8B58-CA4B9DABD718

I get this error when running the beta. But nothing showing in home app today. Thought I saw a remote to add yesterday though

vniehues commented 3 years ago

Strange. I will look into this error today but I get that Error (it's only a warning) as well and it's running and connecting perfectly on my network. I'll do some digging and update you later

vniehues commented 3 years ago

I was able to reproduce your error on the current version and I also fixed it. I needed to change my Homebrige network settings to use 'Ciao' as mDNS advertiser and I specified the network interface it should use. That fixed it in my case. I also observed that the TV did show up for < 5 seconds before disappearing. This makes me believe that I had your exact error. image

Please report back how this went for you!

Version tested: latest beta

ghost commented 3 years ago

That worked perfectly. Thank you for your help. Much appreciated

vniehues commented 3 years ago

Thanks for the feedback! I'm glad it's working for you :)