Jump to content
Flirc Forums
svenove

Shell-commands on Rasbian

Recommended Posts

I'm considering buying a Flirc, to use on my RPi along with my Tellstick to control my lights. Controlling the light is done my sending commands like "telldusd 1 on", etc.

Can I program Flirc so that a key on my remote issues that command on the RPi?

Or, will it just cause problems that I'm not really logged in to the RPi?

Share this post


Link to post
Share on other sites

Flirc can only send keys and key combinations to the PC. You need some software that will watch keyboard input and allows you to run your script when specific key combination is detected.

Share this post


Link to post
Share on other sites

Flirc can only send keys and key combinations to the PC. You need some software that will watch keyboard input and allows you to run your script when specific key combination is detected.

 

Does that mean that if I set my RPi to automatically login, so that it's ready to recieve terminal-commands, I can get FLIRC to write and execute "telldusd 1 on" when recieving a special IR-signal?

Share this post


Link to post
Share on other sites

Does that mean that if I set my RPi to automatically login, so that it's ready to recieve terminal-commands, I can get FLIRC to write and execute "telldusd 1 on" when recieving a special IR-signal?

 

Not directly. Flirc can only send key combinations, not key sequences. A key combination is a key with optional modifiers (like shift, alt and ctrl). After that you still need some software that could intercept pressed key combination and execute specific command. It would probably need to run as a daemon to be able to execute commands without the need for logging into the console.

Share this post


Link to post
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...