Code Monkey home page Code Monkey logo

homebridge-roku-tv's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

homebridge-roku-tv's Issues

Plugin is connected to tv and shows Roku Channels but unable to see/control from Home App

Hey I am new to homebridge and I am using HOOBS. I have installed the plugin. I am running version 1.08. I have connection to tv and it seems to be working when I look in the logs but it is not showing up in my home app. I am not getting any errors. It's just not showing up in homekit or the apple remote. I am sure that I am missing something simple. I just need help seeing what it is that I a missing. Thanks for any help!

Logs look like this except I deleted a few of the lines so that it would fit here.

6/10/2020,1:57:39 AM [RokuTV] Roku Tv Ip is: http://192.168.40.236:8060
6/10/2020, 1:57:39 AM [RokuTV] Adding Input ESPN with info ID: 48699473, TYPE: appl
6/10/2020, 1:57:39 AM [RokuTV] Adding Input Antenna TV with info ID: 1999107456, TYPE: tvin
6/10/2020, 1:57:39 AM [RokuTV] Adding Input Prime Video with info ID: 1570, TYPE: appl
6/10/2020, 1:57:39 AM [RokuTV] Adding Input 4K Spotlight with info ID: 51616165, TYPE: appl
6/10/2020, 1:57:39 AM [RokuTV] Adding Input Google Play Movies & TV with info ID: 50424312,
6/10/2020, 1:57:39 AM [RokuTV] Adding Input Pluto TV - It's Free TV with info ID: 52395296,
6/10/2020, 1:57:39 AM Living Room is running on port 35801.`

Config:
"platforms": [
{
"pollingInterval": 30000,
"platform": "RokuTV",
"plugin_map": {
"plugin_name": "homebridge-roku-tv-plugin"
}
I have also tried this way which is the default way when I install the plugin on hoobs.

{
"platform": "RokuTV",
"plugin_map": {
"plugin_name": "homebridge-roku-tv-plugin"
},
"pollingInterval": 30000,
"excludedApps": []
}
Here is the full config if that helps.
config (3) copy.txt

Unable to Find Roku Tv on my network

I am new to Homebridge (sorry!). I installed the plugin but have not seen anywhere what I am supposed to do to get my TV connected. I have a TCL Roku TV.

[RokuTV] Error: Could not find any Roku devices after 10 seconds
at RokuFinder. (/usr/local/lib/node_modules/homebridge-roku-tv-plugin/node_modules/roku-client/lib/discover.ts:136:11)
at RokuFinder.emit (events.js:310:20)
at Timeout.done (/usr/local/lib/node_modules/homebridge-roku-tv-plugin/node_modules/roku-client/lib/discover.ts:55:12)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)

Any help would be much appreciated, thanks!

Set specific TV based on IP

Rather than discover, is there a way to Fix which IP it uses for the TV?
I have 2 TV, one 4K that has Homekit native, and a 32" that doesn't. before unless the 32" was unplugged, it would discover that TV. now that the 4K has HomeKit, every time I delete the accessory and restart, it will find the 4K Tv.
I just need to point this plugin towards a specific IP and I can have both tvs work correctly in Homekit.

Error: Accessories must be created with a non-empty displayName.

This is the error I am getting in my log. Maybe someone could help.

[5/26/2020, 1:40:52 PM] [RokuTV] Error: Accessories must be created with a non-empty displayName.
at new Accessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:230:29)
at new PlatformAccessory (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:69:9)
at RokuTvPlatform.withRokuAccessory (/homebridge/node_modules/homebridge-roku-tv-plugin/src/roku-tv-platform.ts:105:25)
at RokuTvPlatform.discoverDevices (/homebridge/node_modules/homebridge-roku-tv-plugin/src/roku-tv-platform.ts:76:12)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)

Potential incompatibility with HOOBS when registering Platform

Hi JarekToro,

Thank you for creating this plugin.

Sorry I'm a noob here.

But how do you set this up?

I entered pollingInterval in the config file.

What else should I put there?

On the log, I am getting "Your config.json is requesting the platform "RokuTV" which has not been published by any installed plugins."

I am running a HOOBS server.

Thank you for your help!

Lot of error while TV in sleep mode

I found a lot of errors in my log file this morning. Not sure of the importance, but it seemed to be related with my TV going into sleep mode.

(node:1916) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2337) (node:1916) UnhandledPromiseRejectionWarning: FetchError: request to http://10.0.0.31:8060/query/device-info failed, reason: connect ETIMEDOUT 10.0.0.31:8060 at ClientRequest.<anonymous> (/usr/lib/node_modules/homebridge-roku-tv-plugin/node_modules/node-fetch/lib/index.js:1455:11) at ClientRequest.emit (events.js:310:20) at Socket.socketErrorListener (_http_client.js:426:9) at Socket.emit (events.js:310:20) at emitErrorNT (internal/streams/destroy.js:92:8) at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) at processTicksAndRejections (internal/process/task_queues.js:84:21)

If I restart Homebridge, I got this alert:

[5/26/2020, 07:03:24] [Télévision] Error: Could not find any Roku devices after 10 seconds at RokuFinder.<anonymous> (/usr/lib/node_modules/homebridge-roku-tv-plugin/node_modules/roku-client/dist/discover.js:129:24) at RokuFinder.emit (events.js:310:20) at Timeout.done (/usr/lib/node_modules/homebridge-roku-tv-plugin/node_modules/roku-client/dist/discover.js:61:19) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)

I have to turn on my TV and restart Homebridge to ge back to normal.

I think that it might be related with the TV cutting the WiFi connection when in sleep mode or something like that.

Frequently Re-Add Accessory

I don't have any logs to correspond with a particular problem, but sometimes the device just says "No Response" and then needs to be re-added in HomeKit. It's the only way I've found to get it working again and its immediately discoverable. Perhaps something is changing in the device state where it needs to be discovered again.

Blank name after restart

I gave a name to my TV in the Home application. Each time I restart Homebridge (for any reason), my TV is empty and named Other. I tried to add a name value in the config file, but it has no impact (except in the log file).

Compatibility issues with HB 1.5.0 and node.js v16

HomeBridge 1.5.0 forced me to update to node.jos v16. After that the Roku plugin stopped working. Since then I have deleted the plugin and re-added without success. The plugin reports no error in log, but I cannot add TV to Homekit via setup code. I'm guessing this is due to home bridge and node updates but have no idea.

Configuration

Hi JarekToro,

Thank you for creating this plugin.

Sorry I'm a noob here.

But how do you set this up?

I entered pollingInterval in the config file.

What else should I put there?

On the log, I am getting "Your config.json is requesting the platform "RokuTV" which has not been published by any installed plugins."

I am running a HOOBS server.

Thank you for your help!

Multiple TVs snd ip seting

I have 3 roku tvs one supporting HomeKit natively the other 2 are not when ever hoobs reboots it sets the tv in use so it who'd be helpful if you can use a local ip address to set the tv in use

Tv not showing up in HomeKit

I ended up having to delete my tv in HomeKit and re add it but now it won't show up in homekit. This is my output.

12/6/2020, 7:35:10 PM [RokuTV] Roku Tv Ip is: http://10.0.0.176:8060
12/6/2020, 7:35:10 PM [RokuTV] Adding Input FandangoNOW Movies & TV with info ID: 48607027, TYPE: menu
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Cable box with info ID: 1295095987, TYPE: tvin
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Apple_TV with info ID: 1295095988, TYPE: tvin
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Media player with info ID: 1295095989, TYPE: tvin
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Netflix with info ID: 1569, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Hulu with info ID: 1539389, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Prime Video with info ID: 1570, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input VUDU with info ID: 46827348, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Google Play Movies & TV with info ID: 50424312, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Roku Media Player with info ID: 1539170, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Spotify Music with info ID: 47007153, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Roku TV Intro with info ID: 49656412, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input SHOWTIME with info ID: 1723749, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input HBO with info ID: 51380504, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Xfinity Stream Beta with info ID: 1450572510, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Roku Tips & Tricks with info ID: 1567837607, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input WOW Presents Plus with info ID: 1457037068, TYPE: appl
12/6/2020, 7:35:10 PM [RokuTV] Adding Input Home with info ID: 1450575459, TYPE: Home
12/6/2020, 7:35:10 PM External port pool ran out of ports. Fallback to random assign.
12/6/2020, 7:35:10 PM Bedroom is running on port 40955.
12/6/2020, 7:35:10 PM Please add [Bedroom] manually in Home app. Setup Code: 031-45-154

crashes homebridge on start

Screenshot 2023-02-04 at 8 11 54 PM

Nothing special about my setup - installed plugin, did not do any configuration - TCL Roku TV is in the other room on the wifi network.

Siri commands

I apologize if this info is somewhere already (I looked but didn't find it)...

I am able to turn my TV on and off via Siri, but is it also possible to use Siri to change inputs or channels? If so, how would I go about switching named inputs, as well as channels, via Siri? I tried a few logical commands but didn't work.

Thanks! Great plugin, btw!!

Blocking activities and quieting down debug messages

Thank you for creating this plugin!

So far, everything has been working great and love being able to control my TV via HomeKit.

A few things, is there a way to remove all of the different sources/channels from the activities listing?

I only need a few to show up and would love an Include or an Exclude feature for this.

Also, I notice every time the plugin polls the Roku TV it shows up in the logs. Is there any way to have only the polls that don't succeed show up in order to quiet down all the clutter?

Thanks again so much and appreciate the work!

Unable to find TCL TV on Network

Have been using the homebridge-roku-3.0.0-alpha1 with my TCL TV running RokuOS for sometime now, but wanted to switch to something that seems to be under active development. I removed the homebridge-roku plugin and config and installed homebridge-roku-tv. After configuring the polling interval (30000ms), I restarted Homebridge but received the error below:

[5/26/2020, 7:55:49 AM] [RokuTV] Error: Could not find any Roku devices after 10 seconds
    at RokuFinder.<anonymous> (/homebridge/node_modules/homebridge-roku-tv-plugin/node_modules/roku-client/lib/discover.ts:136:11)
    at RokuFinder.emit (events.js:310:20)
    at Timeout.done (/homebridge/node_modules/homebridge-roku-tv-plugin/node_modules/roku-client/lib/discover.ts:55:12)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)

I have validated that the RPi running Homebridge (192.168.4.10) is able to connect to the RokuTV (192.168.20.11) via tcp-8060 (I believe this is the port Roku uses for UPnP/discovery). I also checked to ensure "control by mobile apps" is enabled (I had to do this to make the other plugin work previously). My network does consist of multiple VLANs, but there are currently no firewall rules in place between them to restrict traffic.

This it the output if I go to http://192.168.20.11:8060) via a web browser on my network:

1 0 urn:roku-com:device:player:1-0 65" TCL Roku TV Roku http://www.roku.com/ Roku Streaming Player Network Media 65R615 7000X http://www.roku.com/ YS00NU235632 uuid:298c001e-9403-1098-8070-c0d2f39cc337 image/png 360 219 8 device-image.png urn:roku-com:service:ecp:1 urn:roku-com:serviceId:ecp1-0 ecp_SCPD.xml urn:dial-multiscreen-org:service:dial:1 urn:dial-multiscreen-org:serviceId:dial1-0 dial_SCPD.xml

Unfortunately, this is the first Homebridge plugin that I've had issues with, so I'm not entirely familiar with the best way to go about debugging/troubleshooting this issue. If there is any information that I can gather, please let me know and I'll get it.

v1.0.8 broken (v1.0.7 worked)

Unfortunately, my Homebridge auto-updated this plugin from v1.0.7 to v1.0.8, and now it's broken. v1.0.7 was working perfectly!!

Is there anyway you can make v1.0.7 available again? This was one of my favorite plugins!

Also, I didn't know Homebridge would auto-update plugins... is there a way to prevent this?

So bummed right now. :(

multiple tvs?

only one will show up in homekit with this plugin?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.