offshorelkp.blogg.se

Flirc case
Flirc case










We'll later tell our program to watch for the FLIRC sending the letter a, and then respond with our replacement IR code. These are key presses, so we're telling the FLIRC when it sees your remote button press, send the keyboard code for the letter a. For each button you want to manage, run the following command and follow the on-screen instructions (replace the letters with unique keyboard keys as needed).Program the FLIRC for your main remote (the remote that will initiate the IR signals) create the file "wpa_nf" on the root of the sd card, fill with the following and edit in your SSID and passwordĬtrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev.create the file "ssh" on the root of the sd card.Install Raspberry PI OS Lite 32-bit on your sd card.These instructions also assume you're just going to use SSH to log into the Pi, you don't need to connect it to a monitor. This should work with any Linux machine, but these instructions are specifically for the Raspberry Pi Zero W running Raspberry Pi OS Lite 32-bit. This program will then watch the FLIRC for the key codes, and send your different IR codes in response. Then setup the FLIRC to learn these button presses and send keyboard key codes. In the case of an LG remote, and most others as well, you can program the remote to control an arbitrary brand's devices (I successfully used Phillips). If your amplifier isn't supported, you can use this with a FLIRC device to detect the volume up IR commands from the LG remote, and then send the proper IR command to your amplifier. Use CaseĪn example use case is LG's Magic Remote, which doesn't have a learning function, but does have support for controlling the volume on external devices it supports. This is a small program designed to use a FLIRC device to watch for specific IR codes, then transmit different IR codes in response.












Flirc case