Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Each Input Being Displayed As An Accessory? #74

Closed
tronny87 opened this issue May 5, 2020 · 8 comments
Closed

Each Input Being Displayed As An Accessory? #74

tronny87 opened this issue May 5, 2020 · 8 comments

Comments

@tronny87
Copy link

tronny87 commented May 5, 2020

Ever since upgrading to 2.0.4, my TV now appears in HomeKit as 6 different accessories (each Input is being listed as its own)

Any help is appreciated.

@normen
Copy link
Owner

normen commented May 5, 2020

Just wait a bit, maybe restart one or two of your iDevices. HomeKit is a distributed database that gets updated successively.

@normen normen closed this as completed May 5, 2020
@tronny87
Copy link
Author

tronny87 commented May 5, 2020

I have restarted all my iDevices several times since the update took place, as well as restarted homebridge several times. The issue seems to be within the plugin.

@normen
Copy link
Owner

normen commented May 5, 2020

I am pretty sure it's what I say. With the next update of this plugin theres dynamic updates of the channels, then you will see that more often (if you change your TV channels or connected devices often). When accessories change their services HomeKit is sometimes slow to pick up on that, especially when theres a lot of them (like 50 TV channels).

@normen
Copy link
Owner

normen commented May 5, 2020

I found that force-quitting the iOS Home app that you see the "ghost devices" in is the most reliable way to get rid of those.

@tronny87
Copy link
Author

tronny87 commented May 5, 2020

I downgraded to v2.0.3 and it fixed itself. Upgraded back to 2.0.4 and it's back to normal

@tronny87
Copy link
Author

tronny87 commented May 5, 2020

I only use my 4 HDMI inputs + Netflix. With dynamic updates, will it then consistently display my source in the Home app? I have seen very rarely it will say the actual source. Most of the time it just says "On". I have also tried to rename my HDMI inputs within the Home app, but then they always eventually revert to their default names (HDMI1, HDMI2, etc)

@normen
Copy link
Owner

normen commented May 5, 2020

The issue with that was that you probably had a homebridge boot where the CEC device wasn't accessible. So when the TV reported the CEC device as input the plugin didn't know what it was. You probably saw "HDMI" when you manually switched to e.g. "HDMI 2".

The new plugin version 2.1 behaves like the old one with an option to continually update channels via the channelupdaterate parameter. But come to think of it I guess I'll just enable a scan every 30 seconds or so by default.. Shouldn't be too much strain on the network or homebridge.

@normen
Copy link
Owner

normen commented May 5, 2020

Since v2.1.1 the default behavior of the plugin is that it will update the channel/input list every 30 seconds. That means that this issue might come up more often if the TV intermittently reports CEC devices or you otherwise change inputs often.

The best quickfix for this iOS/HomeKit display issue is still to force-quit the offending Home app.

To avoid this issue your options are:

  1. Disable automatic updating by setting channelupdaterate to false in config.json
  • this will only scan the channels when homebridge is booted, you can decide which devices are listed by timing the boot
  1. If the offending devices are CEC devices, remove extInput:cec from the list of sources
  • this will keep the device list relatively stable but you won't see the current input in HomeKit if it is a CEC input (you can still select the corresponding HDMI inputs though)
  1. Keep your channel list short
  • If you don't watch cable TV anyway, remove the dvb input, 50 TV channels less to synchronize means HomeKit gets it done quicker
  1. Keep your TV in your Favorites and enable "show as one device"
  • this way you simply won't see the ghost devices as they're grouped with the TV and they won't make the TV appear in the favorites as it's already there 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants