photobooth icon indicating copy to clipboard operation
photobooth copied to clipboard

IR Remote Take Photo

Open lugaru90 opened this issue 4 years ago • 1 comments

Hi all,

great project, loving it!

Can you take a photo by pressing a key on a IR Remote? I've got the following setup:

  • Raspberry PI 4
  • tsop4838 IR Receiver with LIRC installed
  • RM-E6A Remote Controller
  • Photobooth 2.1

Testing with irw the Remote controller sends KEY_ENTER and KEY_SPACE successfully on the console. Also the Webinterface reacts to Space(32) / Enter (13).

So more or less a simple question: How can i forward the KEY_ENTER signal from the remote to Photoboot?

Thanks a lot

lugaru90 avatar May 18 '21 20:05 lugaru90

https://github.com/andreknieriem/photobooth/blob/master/config/config.inc.php#L50-L53

If you have it connected to your Pi you need to access the Webinterface on your Pi. If you like to use a tablet to access Photobooth you would have to connect the IR Receiver to your tablet.

Maybe the hardware button feature might be interesting for you? https://github.com/andi34/photobooth/wiki/FAQ#can-i-use-hardware-button-on-my-raspberry-pi-to-take-a-picture

andi34 avatar Jul 06 '21 20:07 andi34