HomeGenie Forum
Automation Program Plugins and Wizard Scripting => Help => Topic started by: Marco on January 02, 2015, 11:39:49 AM
-
Hi all,
happy new year!!!
I installed the last lubuntu OS in my bananapi (http://www.lemaker.org/resources/9-76/lubuntu_for_bananapi.html (http://www.lemaker.org/resources/9-76/lubuntu_for_bananapi.html)), then Mono-runtime(lubuntu have repository for mono :) ) and homegenie from this version "http://sourceforge.net/projects/homegenie/files/homegenie-beta_1.00.r441_all.deb" and updated to the last r452.
configured LIRC for bananapi:
add in "hardware.conf" this parameters:
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/event0"
START_LIRCD="true"
copied inside lircd.conf generic configuration of remote control from
http://lirc.sourceforge.net/remotes/devinput/lircd.conf.devinput (http://lirc.sourceforge.net/remotes/devinput/lircd.conf.devinput)
riavviato lirc
# /etc/init.d/lirc restart
I'm able to read the data from my remote control:
# irw /dev/lircd
0000000080010009 00 KEY_8 devinput
0000000080010009 00 KEY_8 devinput
The problem is when I want use the remote control in HG: http://www.homegenie.it/docs/remotes.php (http://www.homegenie.it/docs/remotes.php)
HG not read the data from remote control, doesn't appear poup....
Someone can help me?some idea?
Thank you
Marco
-
Hi,
I tried different ways but nothing to do..
I find only this difference of permission files, but after change it, don't read again..
Bananapi with sd image "HomeGenie 1.00 beta rev. 411" update to the last version r4.53
/dev/input$ ls -lg
total 0
lrwxrwxrwx 1 root 6 Jan 1 2010 bp2ir -> event0
drwxr-xr-x 2 root 120 Jan 1 2010 by-id
drwxr-xr-x 2 root 100 Jan 1 2010 by-path
crw-rw---T 1 input 13, 64 Jan 1 2010 event0
crw-rw---T 1 input 13, 65 Jan 1 2010 event1
crw-rw---T 1 input 13, 66 Jan 1 2010 event2
crw-rw---T 1 input 13, 63 Jan 1 2010 mice
crw-rw---T 1 input 13, 32 Jan 1 2010 mouse0
root@lemaker:/dev/input#
lubuntu OS and manual installation update homegenie to the last version r4.53
/dev/input$ ls -lg first to change permission:
total 0
drwxr-xr-x 2 root 80 Jan 1 2010 by-id
drwxr-xr-x 2 root 100 Jan 1 2010 by-path
crw-r----- 1 root 13, 64 Jan 1 2010 event0
crw-r----- 1 root 13, 65 Jan 1 2010 event1
crw-r----- 1 root 13, 66 Jan 1 2010 event2
crw-r----- 1 root 13, 63 Jan 1 2010 mice
crw-r----- 1 root 13, 32 Jan 1 2010 mouse0
Where and how homegenie read the data from lirc and IR files?
@Gene, I think posted in wrong session.."Troubleshooting and Support" is better, but I can't change it.
thank ;)
Marco
-
Hi Marco,
Banana PI IR hardware only works with "devinput" remote definition.
So when adding a remote in HG search for "devinput". Not all remotes will work, but common ones should.
I'm using a Samsung TV remote with BPi which works ok.
Cheers,
g.
-
Hi Genie,
I tested this:
cancel all information inside lircd.conf
/etc/lirc# > lircd.conf
Enable in homegenie lirc configuration and select "devinput" see image
read inside lircd.conf and the configuration is ok (the file was empty and now is full of information)
/etc/lirc# nano lircd.conf
# generated by devinput.sh
begin remote
name devinput
bits 16
eps 30
aeps 100
one 0 0 etc.....
restarted the system and I tried to use the remote control...don't works again, HomeGenie will not be able to receive events from my IR remote..
I think is a problem of permission file.. some advice?
Thank
Marco
-
Hi Marco,
do you have a file named .lircrc in the /root/ folder?
If you don't have it create the /root/.lircrc file with the following content:
begin
prog = homegenie
button = KEY_1
repeat = 3
config = KEY_1
end
then restart HG.
g.
-
Hi Gene,
after your advice now HomeGenie is able to receive events from my IR remote. ;D
Do you think is not generated this file when install homegene?
Thank
Marco
-
actually you found a bug! =) next update will fix it, thanks for reporting.
g.