Python Forum

Full Version: IR coding problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I have wired a device with a 3x4 matrix numeric keyboard. (0-9 and *,#) Tested, works fine. (RPi 3, Python 3.5)
I also have included an IR led to a GPIO pin. Tested, works fine.
I also installed Lirc. Did some mods to various config file as instructed in various posts.

Now i want to press ONE key and send that value to a "FLIRC" connected to my laptop, waiting for input.

I have found numerous posts from people trying to emulate so or so remote device in Python.
But i cannot find the one example where you just send the pressed key with hopefully one command.
Nothing fancy, but what is the right syntax?

thx,
Paul
A schematic would help
Your code attempt as well
Any error messages, and finally
where you think the problem lies.
Perhaps check the python-lirc module on pypi.
Hello,

I have no coding to show, as got no further than "import lirc".
Just looking for somebody who has built a remote from scratch, not trying to emulate an existing one.
I start to suspect that i have to build an IR-key code config-scheme from scratch but how ? (only for 12 keys)

I'll look into this pypi....

thx,
Paul