From: Garicooper <gar...@gm...> - 2014-12-16 20:18:30
|
i tried everything but it looks my A/C is quite hard to learn for... First, my syntax of irsend was good, this command works "irsend SEND_ONCE /etc/lirc/ac.conf KEY_POWER" In raw mode, i could capture the key and include it in my conf, but this does not works... TV is really simple to do, but AC is a real pain to learn ... You ever heard about http://www.analysir.com/ ? On Tue, Dec 16, 2014 at 6:23 PM, Jeff Sadowski <jef...@gm...> wrote: > > also when you update your config file that lircd is using lircd need > restarted > Sorry I keep forgetting little steps. Lirc was a pain for me to learn. > > > On Tue, Dec 16, 2014 at 10:21 AM, Jeff Sadowski <jef...@gm...> > wrote: > > I took your config file you posted renamed the remote and ran irrecord > > -a name_of_file > > it output > > > > begin remote > > > > name AC > > bits 56 > > flags SPACE_ENC|CONST_LENGTH > > eps 30 > > aeps 100 > > > > header 3318 1601 > > one 489 1158 > > zero 489 341 > > ptrail 490 > > gap 190123 > > toggle_bit_mask 0x0 > > > > begin codes > > KEY_POWER 0x28C600080840BF > > end codes > > > > end remote > > > > > > On Tue, Dec 16, 2014 at 10:16 AM, Jeff Sadowski <jef...@gm...> > wrote: > >> rename your remote maybe use AC instead of /etc/lirc/clim2.conf it > >> would be easier also make sure the lirc deamon is using that file as > >> the config file. > >> > >> On Tue, Dec 16, 2014 at 10:11 AM, Jeff Sadowski < > jef...@gm...> wrote: > >>> with irsend you need lircd running > >>> I run lird as follows > >>> > >>> /usr/sbin/lircd -o /run/lirc/lircd.socket > >>> --pidfile=/run/lirc/lircd.socket.pid --listen=0.0.0.0:9876 > >>> /etc/lirc/lircd.conf --allow-simulate --driver iguanaIR --device > >>> /var/run/iguanaIR/socket --nodaemon > >>> > >>> from a systemd file > >>> > >>> the /etc/lirc/lircd.conf file contains the remotes > >>> > >>> my /etc/lirc/lircd.conf looks like (first few remote codes) > >>> > >>> begin remote > >>> > >>> name DVD > >>> bits 8 > >>> flags RC6|CONST_LENGTH > >>> eps 30 > >>> aeps 100 > >>> > >>> header 2674 856 > >>> one 436 413 > >>> zero 436 413 > >>> pre_data_bits 13 > >>> pre_data 0x0EFB > >>> gap 105871 > >>> toggle_bit_mask 0x0 > >>> rc6_mask 0x10000 > >>> > >>> begin codes > >>> KEY_POWER 0x38 > >>> KEY_MENU 0x2E > >>> KEY_EJECT 0xBD > >>> ... > >>> KEY_AB 0xC4 > >>> end codes > >>> > >>> end remote > >>> > >>> I use irsend as follows > >>> > >>> irsend -d /run/lirc/lircd.socket SEND_ONCE DVD KEYPOWER > >>> > >>> irsend LIST "" "" > >>> will show remotes in your config file > >>> > >>> irsend LIST <remote> "" > >>> will show known codes to send > >>> > >>> maybe that will give you a few things to try > >>> > >>> On Tue, Dec 16, 2014 at 1:16 AM, Garicooper <gar...@gm...> > wrote: > >>>> Thanks for your answer. > >>>> > >>>> I'm on raspberry Pi, with the last raspbian, and last lirc version. > >>>> > >>>> The article looks interresting but they didn't explain the way to > learn the > >>>> IR code. > >>>> > >>>> I'm really sorry, i'm totally noob on LIRC and expect this 2 command > i do > >>>> know nothing... :( > >>>> > >>>> With this command "mode2 -d /dev/lirc0 > /tmp/climpoweroff.txt" i > could > >>>> capture the poweroff button on a txt file, i clean it and then > integrate to > >>>> another conf file > >>>> > >>>> Here is the result : http://pastebin.com/bAhEtH0n > >>>> > >>>> But when i try to execute it i get this error > >>>> irsend: command failed: SEND_ONCE /etc/lirc/clim2.conf KEY_POWER > >>>> irsend: unknown remote: "/etc/lirc/clim2.conf" > >>>> > >>>> With this command "sudo irrecord -d /dev/lirc0 /etc/lirc/ac.conf" i > tried to > >>>> learn the remote, but i couldn't generate more than 2 or 3 dots.... > >>>> > >>>> Thanks for your help > >>>> > >>>> On Tue, Dec 16, 2014 at 8:51 AM, Bengt Martensson < > bu...@be...> > >>>> wrote: > >>>>> > >>>>> On 12/16/14 06:44, Garicooper wrote: > >>>>> > > >>>>> > Hi, > >>>>> > I succeed to create config file for my tv but now i'm trying to > create > >>>>> > one for my A/C Fujitsu > >>>>> > > >>>>> > ( > http://www.amazon.fr/ATLANTIC-3800W-MURAL-INVERTER-ASYA12LK/dp/B00504OYOE) > >>>>> > > >>>>> > When i start the learning process, i can't fill the 2 lines of > dots, i > >>>>> > could only generate 1 or 2 dots...even if i try to push every > button, > >>>>> > the only one which works is the power, and just for 1 or 2 dots. > >>>>> [...] > >>>>> > >>>>> Hi Nicolas, > >>>>> > >>>>> Airconditioner codes are known to be very long, complicated, and > hard to > >>>>> learn. There are however a number of Internet sources that have been > >>>>> investigating these signals, like > >>>>> > http://www.remotecentral.com/cgi-bin/mboard/rc-discrete/thread.cgi?4894 > >>>>> (For more, just google for, say, fujitsu ariconditioning ir code). > The > >>>>> codes therein can be translated to Lirc format. Let us know if you > need > >>>>> more help. > >>>>> > >>>>> BTW, when asking support questions, please include more details, like > >>>>> the version of Lirc, your distro, your hardware (in particular!), > etc. > >>>>> > >>>>> Greets, > >>>>> > >>>>> Bengt > >>>>> > >>>>> > >>>>> > ------------------------------------------------------------------------------ > >>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > >>>>> from Actuate! Instantly Supercharge Your Business Reports and > Dashboards > >>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & > more > >>>>> Get technology previously reserved for billion-dollar corporations, > FREE > >>>>> > >>>>> > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > >>>> > >>>> > >>>> > ------------------------------------------------------------------------------ > >>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > >>>> from Actuate! Instantly Supercharge Your Business Reports and > Dashboards > >>>> with Interactivity, Sharing, Native Excel Exports, App Integration & > more > >>>> Get technology previously reserved for billion-dollar corporations, > FREE > >>>> > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > |