JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

What device are you using to send and receive IR signals?

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> X10 and Home Automation
View previous topic :: View next topic  
Author Message
bluto



Joined: 29 Nov 2016
Posts: 15

                    
PostPosted: Tue May 06, 2025 12:58 pm    Post subject: What device are you using to send and receive IR signals? Reply with quote

...for Home Automation

Currently I use a Raspberry Pi 4, LIRC and some cobbled together IR receiver & transmitter components hanging off the GPIO pins. LIRC is used to decode several dozen different NEC1 button presses to trigger HA actions and also used to send out a few IR commands (turn on/of receiver, set to HDMI 1, etc.).

I would like to upgrade this arrangement to a thin client PC* and eliminate the GPIO mess. I wouldn't mind staying with LIRC if a suitable transceiver could be obtained. I like the look of the `USB Infrared Toy v2` device but it looks like it is sold out in most places that used to sell them.

Looking at Globalcache devices, they seem to be up for handling the transmitting of IR signals just fine but possibly not onboard decoding of received signals.

Any recommendations of a suitable device would be most appreciated!


*The thin client PC that I purchased does have a real serial port onboard.
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1518
Location: Munich, Germany

                    
PostPosted: Wed May 07, 2025 6:02 am    Post subject: Reply with quote

Hmm, the question is a little bit too broad to give a simple one-sentence answer. Most importantly, what is your home automation "eco system"? Many (including myself) use Homeassistant. There are also other alternatives.

Raspie 4 or similar (I use a BananaPi 5 myself) make a good host for homeassistant -- but be sure to have the root file system on a reliable disk, not a micro-SD.

Lirc is a vastly overrated project suffering from fundamentally bad design, and is 25 years old. Stay away.

I prefer to have IR transmission and reception handed by a non-multitasking board, like Arduino, see for example this project, that does transmission, reception and learning. (Yes, there is a Lirc driver available Wink )

The IrToy is not available any longer, but IrDroid has 2/3 of the functionality for 3/2 of the price... Plus a housing.

The GlobalCache devices work, I have several in my possession. The GC-100 can only handle one simultaneous connections; better use a more modern model. The Homeassistant GlobalCache integration is severly broken; I have written a new implementation, unfortunately I have not quite completed it and published it through the normal channels. (Shame on me!! Evil or Very Mad )

For decoding, in the context of sending commands to a HA system, see this project.

Let me know what you are thinking. Of course you have further questions...


Last edited by Barf on Fri May 09, 2025 12:40 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bluto



Joined: 29 Nov 2016
Posts: 15

                    
PostPosted: Wed May 07, 2025 2:22 pm    Post subject: Reply with quote

Thanks for the information. I just ordered a couple Arduinos to try out with Girs!

I was a little vague with my question because I did not want my current choice of HA system to influence the answers. Right now I am using openHAB on a Pi 4 with some home-brew IR components hanging off of the GPIO pins. I use LIRC along with it's openHAB binding to decode received signals (all NEC1) and send them to 1 rule with a big case statement that executes the appropriate action based on what button press is received. For sending IR signals I just have rules that call the irsend command line for the few commands that need to be sent out. This all works really well but as I stated I want to move off of the Pi and thus needed something to replace my current IR via GPIO solution.

I agree that LIRC is a big pain in the rear and was thus hoping that something like Globalcache would at least handle decoding of simple NEC1 signals onboard and report something like"NEC1,DEVICE123,BUTTON1,PRESSED'.

But if I can get the Arduino/Girs solution to play nicely with LIRC, I will certainly be happy with that arrangement.
Back to top
View user's profile Send private message
Barf
Expert


Joined: 24 Oct 2008
Posts: 1518
Location: Munich, Germany

                    
PostPosted: Thu May 08, 2025 12:50 am    Post subject: Reply with quote

Nice that you were able to do something with my answer.

GlobalCache is good for sending, but does not really have a solution for receiving/decoding. (However, for example iTach does a decent job when capturing.)

Quote:
... handle decoding of simple NEC1 signals onboard and report something like"NEC1,DEVICE123,BUTTON1,PRESSED'.

This Arduino sketch (included in AGirs) does exactly that. I use it in conjunktion with the dispatcher, a daemon program running on the home automation host, since around 10 years.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> X10 and Home Automation All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control