Python Forum
IR coding problem - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: IR coding problem (/thread-7390.html)



IR coding problem - DPaul - Jan-08-2018

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


RE: IR coding problem - Larz60+ - Jan-08-2018

A schematic would help
Your code attempt as well
Any error messages, and finally
where you think the problem lies.


RE: IR coding problem - Gribouillis - Jan-08-2018

Perhaps check the python-lirc module on pypi.


RE: IR coding problem - DPaul - Jan-09-2018

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