HTTP Based Control
-
I would like to be able to control my retropie via HTTP. What I mean by this is I would like to be able to send a web request to the Pi to launch an emulator before I pick up the remote. This would allow tight home automation integration. So with one "click" I can turn the TV on the correct input, the amp and launch the emulator I want to play.
Is this something that is possible?
-
Just responding to make sure this thread isn't ignored.
I don't have a solution, but have you considered controlling a PSU via HTTP? I know there are several PSUs with network connectivity.
Just plug the pi, TV, and amp into it, and when you turn it on all three should start right up.
I don't know about launching the emulator via http. You could create a simple startup script to launch an emulator. I would research unix auto-start bash scripts and terminal commands for launching the emulator you care about.
-
@ghctim you could use node.js with a launching script, or hack it from one of the mobile gamepad modules. You'll have to figure out the custom code for your implementation though
-
Unless something has changed, ES is just a pretty wrapper around es_systems.cfg which tells you where the roms are, and what command to run to launch the emulator. RetroPie did a bunch of work to help customize the launching but seems like you could write an HTTP server that could receive a request then stop ES, run the launch command, then restart ES afterward all based on the data in es_systems.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.