PiClock
PiClock copied to clipboard
The remote control works incorrectly.
When you press the button, it is an endless turning of pages on the clock.
All other commands of the remote control correctly.
https://drive.google.com/file/d/1w3wbx3bP2eGtwj77UM_yU2t1ldVy__4O/view?usp=sharing
For example, if you set the commands to execute Python files into the /etc/lirc/irexec.lircrc file, everything works fine.
Switching the mouse and keyboard normal.
I use the remote HX1838
Here are my settings:
lircd.conf.txt
lirc_options.conf.txt
changes in /etc/lirc/lirc_options.conf
device = /dev/lirc0
uinput = False
Do not help.
Python version Python 2.7.13 The clock page switches infinitely. What could be the problem?
Added imitation of keystrokes install xautomation
sudo apt-get install xautomation
Edit file irexec.lircrc
sudo nano /etc/lirc/irexec.lircrc
Change strings config
begin prog = irexec button = KEY_LEFT config = sudo -u pi DISPLAY=:0 xte 'key Left' end
begin prog = irexec button = KEY_RIGHT config = sudo -u pi DISPLAY=:0 xte 'key Right' end