andreknieriem / photobooth

A photobooth Web-Application for raspberry pi with gphoto2
https://photobooth.andrerinas.de/
MIT License
299 stars 163 forks source link

IR Remote Take Photo #274

Open lugaru90 opened 3 years ago

lugaru90 commented 3 years ago

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:

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

andi34 commented 3 years ago

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