Jump to content
Flirc Forums

Controlling a headless instance of Squeezeslave/Squeezelite on a Pi


Juggler

Recommended Posts

I have a Raspberry Pi (with HiFiBerry Digi) running Squeezeslave. This is connected to my amp and I'd like to be able to control everything with my Harmony.

 

I have a FLIRC, but am at a loss as to how to send commands from FLIRC to either Squeezeslave or Squeezelite running as daemons. I think I understand that FLIRC appears as a keyboard... so maybe a my more general question is how do I send keyboard commands to a daemon?

 

cheers,

  J.

Link to comment
Share on other sites

Hi,

 

This is more of a OS-level issue than Flirc one. I think you would get more answers from Squeezeslave/lite community. I don't even know how those daemons can be controlled remotely. Does they have a TCP or Unix socket open that allows to receive commands? Is there some CLI command that is able to send commands to the daemon?

 

You may want to look at triggerhappy daemon. It has ability to capture input events and execute scripts/binaries assigned to specific key combinations. That way you can separate the issue from the Flirc/keyboard input itself and work out a way to control your daemons :rolleyes: with some scripting.

  • Like 1
Link to comment
Share on other sites

To be honest I didn't know that Raspbian had thd installed by default either. Good job connecting everything. If you have time please post some more details on the setup you've came up with - it may be helpful if someone comes here with similar question :).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...