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
Code:
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# 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
flags SPACE_ENC|CONST_LENGTH
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.
Code:
begin
prog = irexec
button = FanOn
repeat = 4
config = /home/pi/scripts/fanon
end
begin
prog = irexec
button = FanOff
repeat = 4
config = /home/pi/scripts/fanoff
end
begin
prog = irexec
button = LampOn
repeat = 4
config = /home/pi/scripts/lampon
end
begin
prog = irexec
button = LampOff
repeat = 4
config = /home/pi/scripts/lampoff
end
begin
prog = irexec
button = TvOn
repeat = 4
config = /home/pi/scripts/tvon
end
begin
prog = irexec
button = TvOff
repeat = 4
config = /home/pi/scripts/tvoff
end
and heres one of the scripts im trying to run there all the same except for number sent
fanon
Code:
#!/bin/bash
/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.