Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-25-2015, 01:16 AM   #1
LQ Newbie
Registered: Sep 2015
Posts: 1

Rep: Reputation: Disabled
lirc_web wont send irexec command

so i've installed lirc_web got it running everything works great except im using it to send ir and rf signals. So i've configured the rf remote and the lircrc conf and using irw and irexec everything works however when i try to use the web interface it doesn't work.i've enabled simulate events, i've verified its sending the ir signal for the remote but its not activating the script. any help is greatly appreciated.
also i cant get lircd to include remotes with the lirc.conf.d dir, or the include way. the only way is to include all remotes in lircd itself.
Also um running rasbian 4.1.7 on RBPI B+.

heres my lircd.conf

# Please make this file available to others
# by sending it to <>
# this config file was automatically generated
# using lirc-0.9.0-pre1(default) on Thu Sep 17 22:31:44 2015
# contributed by 
# brand:                       RC-65 PLUS~RFOUTLETS
# model no. of remote control: 
# devices being controlled by this remote:
begin remote
  name       outlets
  bits           16
  eps            30
  aeps          100

  header       8975  4439
  one           569  1667
  zero          569   550
  ptrail        557
  repeat       8968  2232
  pre_data_bits   16
  pre_data       0xE144
  gap          107591
  toggle_bit_mask 0x0

      begin codes
          Fanon                    0xA25D
          Fanoff                   0x629D
          LampOn                   0xE21D
          Lampoff                  0x12ED
          TvOn                     0x926D
          TvOff                    0x52AD
      end codes
heres my lircrc also it wanted this file in home or /etc/lirc/lirc/lircrc which seemed wrong but its the only place it wokrs.

   prog    = irexec
   button  = FanOn
   repeat  = 4
   config  = /home/pi/scripts/fanon

   prog    = irexec
   button  = FanOff
   repeat  = 4
   config  = /home/pi/scripts/fanoff

   prog    = irexec
   button  = LampOn
   repeat  = 4
   config  = /home/pi/scripts/lampon

   prog    = irexec
   button  = LampOff
   repeat  = 4
   config  = /home/pi/scripts/lampoff

   prog    = irexec
   button  = TvOn
   repeat  = 4
   config  = /home/pi/scripts/tvon

   prog    = irexec
   button  = TvOff
   repeat  = 4
   config  = /home/pi/scripts/tvoff
and heres one of the scripts im trying to run there all the same except for number sent

/var/www/rfoutlet/codesend 4527411 > /tmp/check.txt 2>&1
I've just added the last part of that script and theres been no file created yet. i've tried the site 4 times over the past ten minutes.

once again everything works seperatly and with the actually remotes. but from the web i only get the ir send not the irexec command to follow it.

Last edited by ghost5825; 09-25-2015 at 01:34 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Expect script: 2 questions: Send ssh response to txt, and send command with quotes Kgeil Linux - General 6 02-19-2015 12:52 PM
[SOLVED] how to send the output of send command to a file auma78 Linux - Newbie 2 01-23-2011 12:06 AM
Postfix Wont Send Mail carlosinfl Linux - Server 7 01-12-2011 07:53 AM
[SOLVED] Nagios issues command but wont send email Mistro Linux - Newbie 9 12-30-2009 04:03 PM
kmail wont send suttree Linux - Software 20 06-21-2004 06:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration