[RELEASE] Send IP2IR - Control all of your IR devices from your Dashboard

So does this create a button for each remote you want to replace or does it just change the code it's sending?

This app doesn't create any buttons on its own, you would need to create a virtual button or a virtual switch (better because it can be used with Google Assistant) for each code you want to send.

Is there a user guide other than the instructions here and on the github site? Sorry if I'm missing them. I'm not sure what to put in the parent app's required fields of the Advanced Config section.
Also, is there a way to specify the emitter on the IP2IR being used? I have zones that I want to keep separate.
Otherwise, this is really awesome!

This is where you put in the actual IR codes for numbers 0 through 9 so you don't have to keep entering them again and again in each child app.

As for seperate zones, there is no way to send IR to a certain emitter on the same unit. If you have multiple units you could always install multiple instances of the app to keep them seperate.

Thanks

1 Like

Totally makes sense now - thanks.

May look for a second cheap eBay option..

1 Like

Bryan, thank you for making your code available. My receiver won't maintain a connection with my router (it dropped after a few weeks) so I decided to go the IR route; hence, I really appreciate the time and effort you put into this code.

To the bug, my receiver requires the on signal to be sent twice, but when I turn off the virtual switch the command is not sent when I have one time selected for off. The error in the code is on line 239. On that line it should be xTimesOff.

			if(xTimesOn == "1") {
				speaker.speak(msgToSendOff)
			}
			if(xTimesOff == "2") {
				speaker.speak(msgToSendOff)
				pauseExecution(Delay)
				speaker.speak(msgToSendOff)
			}

Nice catch!

New version on Github...

V1.1.9 - 04/16/19 - Fixed a bug, thank you @NickP!

Thanks for this driver. It was a bit pricey for the device especially as I use it simply so I can press a button next to my bed to decrease the TV volume. However it has really helped improve my sleep.

My kids watch TV in the livingroom that has a shared 18ft tall wall with my bedroom. The scenes in shows get loud at times. Rather then having to get out of bed to call down to them to turn off the TV or fuss with Google to broadcast a message, I reach over and tap the bedside button a couple times.

I also have a few led candles I plan to add, wouldn't have gotten the device just for the candles, but now that I have it, why not.

I am likely to incorporate this driver as a user with 5 or 6 global caches around the house to run AV equipment in different rooms. I have a workflow question and please excuse by stream of conscious thoughts that follow. Do you think it is possible to incorporate the features of this driver into Alexa voice control such that I can say "Alexa turn Bedroom to channel 5-1-0" and have the channel change to 510 in the bedroom? I have 4 rooms to control, and figure channel 001 to 999. As I type this, I guess I would want volume control as well.

I am trying to figure out how hard it would be to do this. I use Simple Control on iOS tablets in the rooms to manually press buttons to turn on AV equipment in rooms, change channels, volume, etc., for many years. I also just started playing with the Simple Control Alexa skills to turn the AV equipment in the rooms on and off (not through Hubitat) and so far I have that working (which is very cool). But I would like to run this stuff through Hubitat Dashboards and Alexa for voice control. I can probably figure out through the direct Simple Control Alexa skills (or can program Simple Control "button presses" that I can trigger via Alexa to handle a large part of what I want to accomplish, but I would rather use this driver to tie in Hubitat for when I do not want to use voice, and then trigger actions based on voice control to operate equipment and change channels and volume.

FiOS, which I use, has a direct Alexa skill to change channels. However I cannot get it to work on my network because of the way my Untangle firewall, FiOS router, and network is set up. It is too complicated so I am told to fix that (would require a second back end router and mappings and other bull**** I don't want to deal with - plus I don't want to be tied to the FiOS Alexa skill anyway. SO I was thinking maybe this is a pathway through this driver and if I am going to go through all the work to setup 5 or 6 Global Caches and get all the IR programmed I would like to know my voice control options to change channels and volume through "human speak" that is wife friendly and without Simple Control involved (because as of now, I have Hubitat Dashboards / app and Simple Control app for iOS tablets - but no app for my Android phone).

Figured this would be a good place to ask because I am pretty sure this driver is the entry point. Thanks!

I do this now with Google Assistant. Within the app be sure to setup virtual devices and not buttons. That way they can be controlled with either Google or Echo devices. Then just say, "Turn on Living Room Fox" or "Turn Master Bedroom Fox on". Just like you would any other device.

1 Like

Thanks. I know I can set up specific tiles for specific channels. I was curious if I can set it on the fly by simply speaking the numbers in succession and the blaster will blast out the numbers in response. Otherwise I would have to speak one number at a time, allow the command execute, and go with the next number. I was looking to have the automation recognize the three numbers and then send out the associated commands for the sequence of numbers on the fly. It's a little bit more involved I suppose. Obviously I couldn't have tiles for the numbers I speak on the fly I was referencing the Alexa part of the automation.

I need some help and I will apologize in advance if the problem, as I suspect, is my lack of understanding some basics. I have entered 3 ir codes in the lines 1*-3* in the advanced config section of the parent app. It required entries in the remaining lines so I entered 0's. I have created a virtual switch with a 1 second return to off. The switch is not "connected" to anything but I presume I will do that when the child app is created? When I return to the parent app and attempt to create a child I get an "Unexpected error, Error: No signature of method: user_app_BPTWorld_Send_IP2IR_Child_258.display() is applicable for argument types: () values: [] Possible solutions: split(groovy.lang.Closure), findAll(), inspect(), dump()". Can someone give me a hand? TIA

1 Like

Hi,
Sounds like you didn't install and setup the driver. The Driver is what 'connects' to your IP2IR device.

Thanks

Thanks for the response. I did install the driver but I'm not sure about "setup". I just attempted to delete and reinstall it but I get a message that it can't be deleted because it's in use by ip2ir. I did reboot the hub yesterday also. No change.

From the instructions...

  1. Go to 'Devices' and 'Add Virtual Device'. 'Device Name'=IP2IR Telnet , 'Type'=IP2IR Telnet (created in step one)

Yes, I did do that and I have the device on the device list. I set the driver to IP2IR Telnet, saved the device, entered the ip address for the unit (just double checked that), saved preferences and hit initialize. All that was done on my initial install yesterday although possibly not in that exact order. It all remains that way on the device detail page. Status shows "opening" and that is the only event (shown multiple times, apparently every time I have re-hit initialize) in the device event log. Still get the error when I try to create the child app.

please show me your debug log when you hit initialize. Should look like this...

ip2ir

Rereading you question and trying to figure out what's going on, I noticed this line.

Advanced config is for entering in Digits 1 through 0 and an 'enter' key from a remote. IE. comcast remote. Not to send an 'On' or 'Off' command. That is why they are all required.

If you are just entering in a Zero '0' on the line, that will for sure mess up the app. If you just want to test, copy the same send command on each line. And on that note, please show me one of your send commands.

Thanks

OK. I just deleted everything I had in advanced config, recopied one send command (below) which I got from Global Cache web site and entered it in all the advanced config lines. Still get the same error. I'm going to reboot everything and I'll let you know what happens. I appreciate you sticking with me. Thanks.
sendir,1:1,1,38000,1,1,48,16,48,16,16,48,48,16,16,48,16,48,48,16,16,48,16,48,16,48,16,48,16,1327,48,16,48,16,16,48,48,16,16,48,16,48,48,16,16,48,16,48,16,48,16,48,16,3375","0000 006D 0000 0018 0030 0010 0030 0010 0010 0030 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 052F 0030 0010 0030 0010 0010 0030 0030 0010 0010 0030 0010 0030 0030 0010 0010 0030 0010 0030 0010 0030 0010 0030 0010 0D2F

Just rebooted hub and my computer. Still getting the same error.