Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


IR remote ctrl stop working
#5
(10-25-2021, 09:00 AM)Pixxel Wrote: hi, 
the problem will be somewhere other than in the IR remote control settings. I used LIRC + R_attenu earlier (because allo relay attenuator) and everything worked until moode version 7. After the 7 series was released, then it stopped working stably. It was as if moode froze the processes after a moment of inactivity. I spent many tens of hours solving the problem, but nothing helped. It always behaves the same:/

Every time Moode updates I need to do something to get the IR to work again. On in place updates check rc.local and config.txt. On full re install I wrote a script that might help. Istart by putting my files into a sudirectory of home I call PC. The lirc reinstall line became critical around moode 5.0.
Code:
Setup Code:

sudo apt-get update
sudo apt-get install -y lirc


sudo cp /home/pi/PC/home/pi/.lircrc /home/pi/.
sudo cp /home/pi/PC/boot/ssh /boot/.
sudo cp -r /home/pi/PC/etc/lirc/* /etc/lirc/.

# do final change for ir remote and re install
sudo sed -i -e "\$adtoverlay=gpio-ir,gpio_pin=18" /boot/config.txt
sudo apt-get install -y lirc
sudo sed -i -e "\$isudo -u pi irexec -d &" /etc/rc.local
sudo reboot
Reply


Messages In This Thread
IR remote ctrl stop working - by Pixxel - 10-21-2021, 11:24 AM
RE: IR remote ctrl stop working - by Sehnsucht - 10-23-2021, 05:47 PM
RE: IR remote ctrl stop working - by Pixxel - 10-25-2021, 09:00 AM
RE: IR remote ctrl stop working - by Macdelf - 10-25-2021, 02:25 PM
RE: IR remote ctrl stop working - by Pixxel - 10-26-2021, 06:56 AM

Forum Jump: