Max2Play Home 2016 (en) › Forums › Max2Play Projects and Builds › Using Squeezplayer to turn on/off Stereo via IR
Tagged: IR, LIRC, Remote Control
This topic contains 4 replies, has 3 voices, and was last updated by luke premium 5 years, 9 months ago.
-
Posted in: Max2Play Projects and Builds
-
1. Juli 2016 at 20:09 #21063
So I have a good old Soundsystem which has no wireless. So I’m using a Digi+ board to take care of that. Now I would like that if I turn on the player, that a IR signal is generated which turns my Stereo on and vice versa.
I am just waiting to receive all my parts to build a receiver and transmitter. I do understand how to read out the remote and such and there is a lot of support online for that.What I’m not quite sure about is how I get the on/off signal to trigger my IR signal. Yes, der is LIRC, but how can I use it? I don’t know much about scripts and such. Also I read here about the squeezelite options and came across this
-i [<filename>] Enable lirc remote control support (lirc config file ~/.lircrc used if filename not specified)
How do I go from there? And my question is, does it lirc remote control go the way I need it to? Or does it just enable me to remote control my squeezlite player?
6. Juli 2016 at 16:11 #21271Hi luke,
There has been some previous discussion on IR here: https://www.max2play.com/en/forums/topic/infrared-remote-for-max2play-rpi-squeezebox/
This might help your endeavour.7. Juli 2016 at 19:59 #21302Hi Heiner. Thanks for your input.
It seems like everyone is interested in using a Remote to control the Raspi… but I want to do it the other way around. I have it all up and running with LIRC. I’m just looking for a simple way to trigger this commandirsend SEND_ONCE remote key_power
when the player gets switched on or off. I think it should be possible… somehow10. September 2016 at 6:35 #22963Yes I did actually. I’m using a plugin for the squeezebox server. It’s code.google.com/archive/p/sbnetio
Just adapt his „how to“ a bit that you put your command into an script and than run those. Works like a charm for me. -
You must be logged in to reply to this topic.