bschlenk / homebridge-roku

Control your Roku media player from your iOS devices using Apple's HomeKit.
MIT License
79 stars 24 forks source link

Accessory disappears in homebridge #160

Open Haglerd opened 4 years ago

Haglerd commented 4 years ago

Any one have the same issue where the remote will show up when you start homebridge in the control center and in the Home app, but then it disappears?

I had alarm dot com and roku disappearing after a few minutes of loading. I removed alarm dot com as it was the latest thing I added, but that didn't help. The strange thing is it was still showing up in config ui x, but not in homekit. Any ideas? Everything else is working fine, I don't see any errors or nothing, it just disappears and doesn't show back up. I can restart and it will show up again for a few minutes, but then it disappears again. I had it working once, but since then it hasn't worked. I restarted, deleted the persist folders, uninstalled the plugin, made sure I don't have "app map" in the config, all that, but still nothing... any ideas?

Haglerd commented 4 years ago

Only strange thing I see is this warning: HAP Warning: Characteristic undefined not in required or optional characteristics for service 0000008A-0000-1000-8000-0026BB765291. Adding anyway.

I did just find this in the log as well. [RokuHomebridge][39m Auto discovery of Roku devices failed [RokuHomebridge][39m Completed Add Accessory:

Haglerd commented 4 years ago

Anyone, anything?

bschlenk commented 4 years ago

Can you try again with v3.0.1?

That UUID corresponds to a TemperatureSensor, maybe it's coming from a different plugin?

Haglerd commented 4 years ago

@bschlenk The dependency issue I was having went away. I upgraded and now it is disappearing again. For awhile it was working. Now my roku tv has disappeared along with the alarm.com plugin if that matters. Prior to the update it had stopped disappearing.

Also, I'm not sure if this helps, but it does still show up in homebridge UI-X and work there. Even though it doesn't show in the app.

Update: As of now it isn't disappearing. However, it doesn't show up in the remote section of the iphone, just in the home app.

I'm looking into logging to figure out how to get those to you. The only thing I'm doing different as of now is I started it as a service instead of just running it from the CMD prompt.

Update2: I'm not sure how these logs work, but I used config-ui-x to get the logs in C:\Users\user.homebridge\homebridge.logs I looked for Roku, Warning, and Error. I didn't see anything though.

Roku showed me this: "[37m[6/1/2020, 6:48:13 PM] [39mLoaded plugin: homebridge-roku@3.0.1 [37m[6/1/2020, 6:48:13 PM] [39mRegistering accessory 'homebridge-roku.Roku'"

Warning showed me this: "[37m[6/1/2020, 6:44:31 PM] [39m[33mWarning: skipping plugin found at 'C:\Users\user\node_modules\homebridge-xbox-tv' since we already loaded the same plugin from 'C:\Users\user\AppData\Roaming\npm\node_modules\homebridge-xbox-tv'.[39m"

JoshuaMaiorino commented 2 years ago

I’m having the same problem. I’m the latest version of home bridge and the plug-in. I tried running the plug-in as “child-bridge” and had the same results.