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

Trying to use emulator/simulator with BitFocus Companion? Downloaded application, but when install and run it, seems empty? #380

Closed
Jibun-no-Kage opened this issue Aug 1, 2024 · 3 comments

Comments

@Jibun-no-Kage
Copy link

Jibun-no-Kage commented Aug 1, 2024

Trying to use emulator/simulator with BitFocus Companion? Downloaded application, but when install and run it, seems empty? Do I need to load something into the simulator to get it to respond to say port 8060 like a typical Roku TV/device would?

@Jibun-no-Kage
Copy link
Author

Jibun-no-Kage commented Aug 1, 2024

I opened developer tools, and can see the emulator is listening on port 8060... but if I second a command from BitFocus Companion, say ECP 'power on' sequence, the simulator does not respond at all? I am running the Windows version of the simulator in Windows 11 Pro.

Start up with Developer Tools enabled...
image

Issue ECP command, i.e. power up, or down, or volume up or down... nothing. I have tried the actual IP address of the Windows 11 device, the localhost IP (i.e. 127.0.0.1), nothing. I explicitly enabled network communication on the Windows 11 system to be both public and private to port 8060... per the simulator installation process/sequence.

Any suggestions?

@Jibun-no-Kage
Copy link
Author

Sending ECP commands directly via the 8060 port via a Linux based system...

# telnet 192.168.1.34 8060
Trying 192.168.1.34...
Connected to 192.168.1.34.
Escape character is '^]'.

HTTP/1.1 400 Bad Request
Connection: close

Connection closed by foreign host.
# curl "http://192.168.1.34:8060/query/media-player"
# curl -d '' "http://192.168.1.34:8060/keyup/left"
#

Appears the simulator is not responding to any ECP commands I am sending. Al though telnet believes the target system is listening on port 8060. So I am trying to use the simulator in some way it is not designed to do? Thought is emulators or simulators a Roku device, no? So basic ECP commands should work?

@lvcabral lvcabral changed the title Trying to use emulator/siumulator with BitFocus Companion? Downloaded application, but when install and run it, seems empty? Trying to use emulator/simulator with BitFocus Companion? Downloaded application, but when install and run it, seems empty? Dec 4, 2024
@lvcabral
Copy link
Owner

@Jibun-no-Kage you need to have an app running to control it via ECP. Load a Roku app and you can control it.
try to load https://lvcabral.com/brs/apps/pong-roku.zip using the Open from URL option, and play the game using your device.

Image

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