![]() ![]() Intmsbetweenkeys=500 #two presses of a key sooner that this makes it delete previous key and write the next one (a->b->c->1->a->. If then #if same key pressed multiple times, delete previous char write a, delete a write b, delete b write c. Parin2pos=$((parin2 % parin1len)) #position modĬhar=$ #char key to simulate Then open it using terminal: nano cecremote.shĬopy - paste this in the file: #!/bin/bash If not, make sure you've got CEC enabled on your TV (see this WIKI for more info).įor my TV, pressing the Source button a couple of times helped (so it kind-of flips trough all the sources and circles back to the Raspberry Pi, detects CEC and connects to it).Ĭreate the file cecremote.sh and mark it as executable using terminal: touch cecremote.sh I know plenty of ways to overdo it with a Crestron processor, just looking for something simple and bulletproof if possible. Would be inserted between a CEC-enabled device and a TV that is too old for CEC. If you see this kind of messages, then this should work for you. Just wondering if anybody knows of a simple box that will take in a CEC command over HDMI, and send out HDMI + RS232 or IR. Watch out for new lines, especially of this form: something something **key pressed: 8** something something ![]() Press numeric keys (as they are most likely to be supported) on your TV Remote. Test if you can receive TV Remote button presses with cec-client using terminal: cec-client ![]() You can modify the script for your TV Remote, see Modification below.įirst you need to install cec-client and xdotool using terminal: sudo apt-get install cec-client xdotool These are the keys supported by my TV Remote. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |