-
Notifications
You must be signed in to change notification settings - Fork 9
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
Roku TV is not discovered with SSDP #17
Comments
Are you able to successfully ping your device from your computer (by getting it's IP from the device menus and using port |
Ping works:
And if I create a |
I wonder there should be a feature to set the IP manually for cases like this. regardless, I would love to be able to investigate the issue further. LMK if you come up with any more information or a solution @Glavin001. Thanks for the report |
I think the I've been trying to get SSDP to detect my Roku for a few days without success. At this point, I am giving up on SSDP and assuming the IP will need to be manually configured. I had hoped I was missing something obvious about enabling SSDP support on Roku, however I did not find any articles to support this. |
SSDP should be enabled by default. I've read that it could be a router setting, I was reading the thread this morning... https://forums.roku.com/viewtopic.php?t=60236 You could use network diagnostic tools with Wire Shark to further debug but if it's quicker to expose the Thanks for the help, a PR would be 👌 |
@sgnl Do you have any guidelines for how you would like Device exposed directly? I can put together a PR but would rather not invest time in a method you are not interested in pursuing. |
@sgnl specifically, would you consider breaking apart the module to export two functions Discover and Device as well as keys? This would unfortunately be a backwards-incompatible change as the module export is no longer directly a method that can be used to initiate discovery. This would change the discovery to Creating a new device by IP address would be: |
See the mentioned PR. Hopefully it's useful! very "beta" because I haven't written any tests for it nor actually tested against my Roku device. With that caveat... SHOULD WORK 🐸 const Nodeku = require('nodeku');
const device = Nodeku.Device('127.0.0.1')
device.ip();
// or …
Nodeku.Discovery(timeoutNumberValueHere).then(device => device.ip())
// still valid cause it's essentially `.Discover()`
Nodeku().then(device => device.ip()) |
Just realized I didn't expose the "keys", I will have an update for that asap |
Running the following always times out
Logs
Info
Roku TV
Roku version: 7.7.0
Related to #7
The text was updated successfully, but these errors were encountered: