Andreas Demmelbauer e14e282bec | 4 år sedan | |
---|---|---|
README.md | 4 år sedan | |
datenblatt-154380-kingbright-l-934f3bt-ir-emitter-940-nm-50-3-mm-radial-bedrahtet.pdf | 4 år sedan | |
ir-remote-timer.py | 4 år sedan | |
ir-remote-timer.service | 4 år sedan | |
requirements.txt | 4 år sedan |
sudo apt install git python3-pip lirc
cd /home/pi
git clone https://git.notice.at/redplanet/ir-remote-timer.git
cd ir-remote-timer
pip3 install -r requirements.txt
sudo cp ir-remote-timer.service /lib/systemd/system/ir-remote-timer.service
sudo systemctl daemon-reload
Use irrecord
to create a lirc Config file. You need an ir receiver for that.
sudo irrecord -d /dev/lirc0
and copy the generated file in
/etc/lirc/lircd.conf.d/your-remotes-name.lircd.conf
remove devinput
mv /etc/lirc/lircd.conf.d/devinput.lircd.conf /etc/lirc/lircd.conf.d/devinput.lircd.conf.dist
Add following lines to /etc/modules
lirc_dev
lirc_rpi gpio_out_pin=22
https://indibit.de/raspberry-pi-mit-lirc-infrarot-befehle-senden-irsend/