Re: CLI tool for IR blasting using multiple Arduino Nanos running GIRS?
Bengt Martensson <[email protected]> Mon, 5 Dec 2022 11:54:46 +0100
| Newsgroups | gmane.comp.hardware.lirc |
|---|---|
| Message-ID | <[email protected]> |
Hi Jan, sorry it took me so long to answer. On 12/3/22 16:13, Jan Ceuleers wrote: > Still: I would like to avoid using LIRC for what I consider to be a very > simple task: I have several Arduino Nanos running GIRS firmware, and I > need a CLI tool for sending IR sequences to set-top boxes. I have used > IrScrutiniser to learn the IR remote signals that need to be sent. If I understand you correcty, the Harchardware project https://github.com/bengtmartensson/HarcHardware is what you are looking for. It is really included, and used by, IrScrutinizer, so you have it already. (The standard install on Linux installs a symbolic link harchardware (typically in /usr/local/bin) that can be used as command. With that, you can issue commands like (assuming that /dev/ttyUSB0 is an Arduino with Girs) $ harchardware --arduino --device /dev/ttyUSB0 transmit --protocol RC5 --names D=0,F=12 which will turn on or off a Philips TV. There are tons of other options, use the help function to list them. There is also a discussions/questions area https://github.com/bengtmartensson/HarcHardware/discussions for Harchardware. Please use the current IrScrutinizer snapshot on Github; nearly identical to the upcoming release 2.4.0. > In my view LIRC is rather a convoluted piece of software that is hard to > configure and that has proved to be fragile over the many years that I > have used it (both for receiving and for blasting), ... Lirc was conceived and implemented (for the main parts) in the previous century. IMHO, it was badly designed from the start, build very heavily into Linux, and this surely has not improved with the years. Greetz, Bengt