Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New plugin: IR Receiver and Sender (38khz) #24

Open
enesbcs opened this issue Feb 9, 2019 · 6 comments

Comments

@enesbcs
Copy link
Owner

commented Feb 9, 2019

No description provided.

@happytm

This comment has been minimized.

Copy link

commented Feb 11, 2019

I assume you are going to use Lirc for this. I am using Lirc with Flask server for this.Some reference links below:

https://gist.github.com/prasanthj/c15a5298eb682bde34961c322c95378b#file-lirc-pi3-txt-L39

https://lb.raspberrypi.org/forums/viewtopic.php?t=173863
https://github.com/scotty3785/pi_tv_remote ( I use this setup right now )

http://lirc.sourceforge.net/remotes/ (remote control database)
https://github.com/bbtinkerer/LircNodeJsWeb

Thanks

@enesbcs

This comment has been minimized.

Copy link
Owner Author

commented Mar 11, 2019

Sadly i am unable to make it work any Python LIRC examples showed at http://www.lirc.org/api-docs/html/irw_8py-example.html Only things i got is some error messages even if i reinstalled python3-lirc package:

NameError: name 'RawConnection' is not defined

So it will be harder than i thought...

@happytm

This comment has been minimized.

Copy link

commented Jul 2, 2019

I followed instructions at following link to install LIRC on raspberry pi 3 with stretch OS. I know some other links are not correct but link below worked for me.

https://gist.github.com/prasanthj/c15a5298eb682bde34961c322c95378b#file-lirc-pi3-txt-L39

Then I used link below to use IR transmitter and it works well. I can control all devices in the range via web.Only problem is it uses Flask server.

https://github.com/scotty3785/pi_tv_remote

Thanks

@enesbcs

This comment has been minimized.

Copy link
Owner Author

commented Jul 3, 2019

I see, but sadly the LIRC python bindings is not really useful, based on its documentation i've failed to do any simple rawread. :( The pi_tv_remote is working using the command line interface which can be OK for sending, but not usable for receiving... And the most example i've found playing around the lirc conf and a set of predefined buttons, which is not really what i need. I need rawsend and rawread function to implement something similar, that ESPEasy using.

@enesbcs

This comment has been minimized.

Copy link
Owner Author

commented Jul 27, 2019

Sorry, this LIRC examples is not suitable for me. Raw PyLIRC examples is simply not working, and generic LIRC examples works with predefined devices and KEY codes (and requires several conf files) which is not really what we need.. we need something that reads any raw IR code from any IR device... Sadly i cannot found any IR raw read example that works with Python. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.