Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remote Control Question
#1
I'm currently tinkering with a GC-100-06 and hope to replace my Harmony Hubs that I currently have in use. If I am understanding this correctly, I can use practically any remote I want with the GC-100-06 (using RS232 into my TV) in conjunction with CQC to control what I am doing with the Harmony Hub?

For example, I have the following

Watch TV
  1. Turn on TV
  2. Switch input to TV
  3. Starting Channel is Channel 2
Watch Apple TV
  1. Turn on TV
  2. Switch input to HDMI1
Watch Security Camera
  1. Turn on TV
  2. Switch input to HDMI2
My assumption is that I can store the IR commands from my TV and from my Apple TV in CQC and then have the programming in CQC. While the Harmony Hub does the job, it is very flaky and is cloud based. Also, the programming interface is really terrible.

Another assumption is that I can use a standard universal remote to execute the program stored in CQC? This one, for example.

One thing I would like to do that is similar to what a buddy with Control4 has set up:
  • Door bell ring or NVR polygon detection at front door.┬áIf TV is on,┬áswitch to picture in picture with┬ásecurity camera HDMI in PIP, then send IR code to NVR to display only front door camera. Or just switch to the HDMI input that shows all cameras. Could come up with a variety of these scenarios with alarm sensors as well (eg, fence gate, driveway sensor, etc.). Could also just have it display this for like 10 - 30 seconds, then go back to whatever was showing (e.g., live tv).
Reply
#2
I found an example from someone using OpenHAB of PIP'ing the security camera feed which illustrates the above. The blog post is here, and while using OpenHAB, I think I could do the same with CQC and GC-100-6.
Reply
#3
I found another one. Blog here.
Reply
#4
You can send sequences of IR commands as required. If it takes more than a single command, then likely you'd want to create a global action that combines the commands, and possibly takes a parameter that the action will use to drive what it does. This will greatly reduce redundant grunt work.

So, for instance, a global action that sets a channel. It takes a channel number, and then looks at the first character and builds up the name of the IR command to send. Then looks at the next character and sends that one. And so forth. It's a little clunking doing that sort of logic in an action (variable length value) but it's doable. Then you can just invoke the action with a channel number and it will issue the appropriate commands, instead of doing that all over the place.

You will have to train in the commands to create 'device models' for the devices you want to control. That will require a GC-100 compatible IR learner, which is the GC IRL. When you create device models with that guy, and save them, they show up as loadable in the GC-100 driver for blasting.
Dean Roddey
Explorans limites defectum
Reply
#5
I did exactly this with my TV that used to have PIP. Albeit with serial and not IR, but that has no bearing on this. Camera would detect motion (no NVR in this scenario) and send a http get command to CQC. CQC would then check if the TV was on, and then turn on PIP so the image would be visible. 1m later, CQC would turn of PIP.

I did a similar thing with phone calls and Kodi. If we were watching a movie and the phone rang CQC would take the CID and put a message up on the screen (kodi message feature) and we would know who was calling and decide if we wanted to interrupt the movie or not.

Once you have the IR commands, CQC does not care what the command is (IR, Serial etc) it will just send them out as you command.
Mykel Koblenz
Illawarra Smart Home
Reply
#6
I have 4 different TV's and my Sony receiver controlled by 4 different GC-100's using IR.  Actually I went with an GC Itach (IP2IR) on the last one, and it works fine as well.

I found that http://files.remotecentral.com/ is a great resource for the Pronto codes, which CQC allows you to insert for the various commands you want to use in the Client Interface.

I probably should of done what Dean suggested and did a global action, but did mine like the triggered event below: (which turns on the Cameras if motion is detected using the GC-100 - It first checks to see if DirecTV is on, if so, it pauses the programming, then switches input to the turner, changes the channel, and then after a period of time, either switches back or turns off.  As you can see, I put alot of pauses between the commands in order to make it work properly (a lot of trial and error).

Code:
If
System::Equals
   P1=$(CQCVar.FrontMotion)
   P2=True
   P3=Case

If
System::Equals
   P1=$(DTV1.Game_Power)
   P2=True
   P3=Case

Devices::FieldWrite
   P1=DTV1.Game_UserCommand
   P2=Pause
   P3=True

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Antenna:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D6:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D5:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Enter:1
   P3=False

Else

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.PowerOn:1
   P3=False

System::Pause
   P1=20000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Antenna:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D6:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D5:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Enter:1
   P3=False

End

Else

If
System::Equals
   P1=$(DTV1.Game_Power)
   P2=True
   P3=Case

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Component:1
   P3=False

Else

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Component:1
   P3=False

System::Pause
   P1=2500

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.PowerOff:1
   P3=False

End

End
Reply
#7
(07-14-2019, 11:52 AM)Dean Roddey Wrote: You can send sequences of IR commands as required. If it takes more than a single command, then likely you'd want to create a global action that combines the commands, and possibly takes a parameter that the action will use to drive what it does. This will greatly reduce redundant grunt work.

So, for instance, a global action that sets a channel. It takes a channel number, and then looks at the first character and builds up the name of the IR command to send. Then looks at the next character and sends that one. And so forth. It's a little clunking doing that sort of logic in an action (variable length value) but it's doable. Then you can just invoke the action with a channel number and it will issue the appropriate commands, instead of doing that all over the place.

You will have to train in the commands to create 'device models' for the devices you want to control. That will require a GC-100 compatible IR learner, which is the GC IRL. When you create device models with that guy, and save them, they show up as loadable in the GC-100 driver for blasting.

Thanks. I'm waiting for my GC-IRL to arrive.
Reply
#8
(07-14-2019, 05:38 PM)znelbok Wrote: I did exactly this with my TV that used to have PIP.  Albeit with serial and not IR, but that has no bearing on this.  Camera would detect motion (no NVR in this scenario) and send a http get command to CQC.  CQC would then check if the TV was on, and then turn on PIP so the image would be visible.  1m later, CQC would turn of PIP.

I did a similar thing with phone calls and Kodi.  If we were watching a movie and the phone rang CQC would take the CID and put a message up on the screen (kodi message feature) and we would know who was calling and decide if we wanted to interrupt the movie or not.

Once you have the IR commands, CQC does not care what the command is (IR, Serial etc) it will just send them out as you command.

Thanks
Reply
#9
(07-14-2019, 09:53 PM)kblagron Wrote: I have 4 different TV's and my Sony receiver controlled by 4 different GC-100's using IR.  Actually I went with an GC Itach (IP2IR) on the last one, and it works fine as well.

I found that http://files.remotecentral.com/ is a great resource for the Pronto codes, which CQC allows you to insert for the various commands you want to use in the Client Interface.

I probably should of done what Dean suggested and did a global action, but did mine like the triggered event below: (which turns on the Cameras if motion is detected using the GC-100 - It first checks to see if DirecTV is on, if so, it pauses the programming, then switches input to the turner, changes the channel, and then after a period of time, either switches back or turns off.  As you can see, I put alot of pauses between the commands in order to make it work properly (a lot of trial and error).

Code:
If
System::Equals
   P1=$(CQCVar.FrontMotion)
   P2=True
   P3=Case

If
System::Equals
   P1=$(DTV1.Game_Power)
   P2=True
   P3=Case

Devices::FieldWrite
   P1=DTV1.Game_UserCommand
   P2=Pause
   P3=True

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Antenna:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D6:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D5:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Enter:1
   P3=False

Else

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.PowerOn:1
   P3=False

System::Pause
   P1=20000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Antenna:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D6:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.D5:1
   P3=False

System::Pause
   P1=1000

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Enter:1
   P3=False

End

Else

If
System::Equals
   P1=$(DTV1.Game_Power)
   P2=True
   P3=Case

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Component:1
   P3=False

Else

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.Component:1
   P3=False

System::Pause
   P1=2500

Devices::FieldWrite
   P1=GC4.Invoke
   P2=E472VLE.PowerOff:1
   P3=False

End

End


Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Remote Control Recommendation? gReatAutomation 14 5,469 11-12-2019, 11:06 AM
Last Post: zpollock
  Control Garage door via z-wave and CQC? ghurty 5 4,115 08-01-2019, 09:40 AM
Last Post: gReatAutomation
  BOND Ceiling Fan Control gReatAutomation 3 1,316 07-29-2019, 04:33 PM
Last Post: kblagron
  Neeo remote on kickstarter potts.mike 33 18,913 06-20-2018, 07:50 PM
Last Post: dogman
  Bond Fan Control bobskie708 5 13,549 03-17-2018, 12:23 PM
Last Post: batwater
  Question on CQC / WSE 2016 / Port 443 kblagron 3 4,465 11-15-2017, 09:06 PM
Last Post: Dean Roddey
  What is being used for TV Serial control bobskie708 14 6,376 08-16-2017, 08:38 PM
Last Post: potts.mike
  remote or Corp Apartment HA in my future IVB 19 8,533 04-21-2017, 11:52 AM
Last Post: IVB
  LG smart TV Control potts.mike 10 4,530 06-22-2016, 05:13 PM
Last Post: DaveB
  Nuvo Grand Concerto ip control lleo 24 7,900 04-07-2016, 08:19 PM
Last Post: Dean Roddey

Forum Jump:


Users browsing this thread: 1 Guest(s)