Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: Global Cache GC-100 (Serial)? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: December 14 2008 at 15:00 | IP Logged Quote ficklma1

Hi,

I'm wondering if PH supports the GC-100 serial interface. If so, how do I send commands to the serial port via PH?


Back to Top View ficklma1's Profile Search for other posts by ficklma1
 
BeachBum
Super User
Super User
Avatar

Joined: April 11 2007
Location: United States
Online Status: Offline
Posts: 1880
Posted: December 14 2008 at 15:08 | IP Logged Quote BeachBum

I’ve heard of others using Global Cache. Setup has it listed as a Controller. Once you are there I would assume it will list Com ports.

__________________
Pete - X10 Oldie
Back to Top View BeachBum's Profile Search for other posts by BeachBum
 
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: December 14 2008 at 15:16 | IP Logged Quote ficklma1

I've set it up as a controller. I just can't seem to figure out how to send serial commands to it. If I create a macro, there's nothing related to the GC-100 listed as a device to send something to.
Back to Top View ficklma1's Profile Search for other posts by ficklma1
 
jbbtex
Senior Member
Senior Member


Joined: February 15 2007
Location: United States
Online Status: Offline
Posts: 181
Posted: December 14 2008 at 15:29 | IP Logged Quote jbbtex

I don't think Dave has added that functionality to GC-100 support.

However, you can communicate with the GC-100 serial port by using Lantronix Redirector. Last I saw there is still a free version.

It redirects one of the com ports on your computer to your LAN. Choose the port number you want to use and tell it the IP for your GC-100 and that's it.

I tried it in an attempt to connect a CG-IRE. The redirector worked great but I never had any luck decoding the incoming IR commands.

In order for PH to talk to the serial port you'll have to create a macro along the lines of Tony's CID macros.

__________________
Brady

"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
Back to Top View jbbtex's Profile Search for other posts by jbbtex
 
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: December 14 2008 at 17:32 | IP Logged Quote ficklma1

Thanks Pete and Brady!

That's what I was afraid of. I hope Dave puts that functionality in soon. I'm planning on communicating to my Denon equipment via serial. Things like MVUP<CR> to move the master volume up, etc. This will also send back what the current volume is set to. I can then show that on my XLobby screen.

Brady, I'll give the Lantronix Redirector a go to at least test out some functions.

Thanks again.
Back to Top View ficklma1's Profile Search for other posts by ficklma1
 
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: December 15 2008 at 14:02 | IP Logged Quote ficklma1

Dave,

Do you have an ETA to when this functionality will be in PH?

__________________
Mark
Back to Top View ficklma1's Profile Search for other posts by ficklma1
 
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: December 16 2008 at 17:21 | IP Logged Quote ficklma1

Does anyone have examples of how to send data out to a serial port via PH? I've searched through the forum for the CID macro(lots of various messages return), but so far haven't been able to see an example.

__________________
Mark
Back to Top View ficklma1's Profile Search for other posts by ficklma1
 
nadler
Super User
Super User


Joined: February 25 2006
Location: United States
Online Status: Offline
Posts: 354
Posted: December 16 2008 at 17:44 | IP Logged Quote nadler

Try doing a search on RS232. There should be a couple
of examples on the board. Here is one -

http://www.power-home.com/forum/forum_posts.asp?
TID=874&KW=RS+232
Back to Top View nadler's Profile Search for other posts by nadler
 
nadler
Super User
Super User


Joined: February 25 2006
Location: United States
Online Status: Offline
Posts: 354
Posted: December 16 2008 at 17:56 | IP Logged Quote nadler

This might help you more. It's a macro I use to control
the Up volume on my Denon:
      
insert into macroheader values ('RVOL UP','RECEIVER MUTE
OFF',0,0,1);
insert into macrodetail values ('RVOL
UP',1,38,'',0,'ph_comopen(2,1,9600,"N",8,1,1,0,0,0,0,0,0
,"?","")',0,'');
insert into macrodetail values ('RVOL
UP',2,15,'[LOCAL2]',NULL,'"MV"+(ph_getglobal_n("RVOL")+5
)+"\013"',0,'');
insert into macrodetail values ('RVOL
UP',3,38,'',1,'ph_comsendstring(2,"[LOCAL2]")',0,'');
insert into macrodetail values ('RVOL
UP',4,10,'RVOL',NULL,'(ph_getglobal_n("RVOL")+5)',0,'');
insert into macrodetail values ('RVOL
UP',5,38,'',NULL,'ph_comclose(2)',0,'');

It reads a global variable RVOL and then adds 5 to that
number and raises the volume relative to what it was
previously. It then sets thee RVOL global variable to
the new higher value. I have other macros which control
vol down, on, off, tuner up/down etc. But they are all
similar.

Back to Top View nadler's Profile Search for other posts by nadler
 
ficklma1
Groupie
Groupie


Joined: December 08 2007
Location: United States
Online Status: Offline
Posts: 59
Posted: December 17 2008 at 14:07 | IP Logged Quote ficklma1

Hi nadler,

Cool! That is exactly what I've been looking for. Are you using a GC-100 or do you have a direct RS232 connection from your PC to the Denon receiver?

If you don't mind, would you send me the macros you have for the Denon?

__________________
Mark
Back to Top View ficklma1's Profile Search for other posts by ficklma1
 
nadler
Super User
Super User


Joined: February 25 2006
Location: United States
Online Status: Offline
Posts: 354
Posted: December 17 2008 at 14:30 | IP Logged Quote nadler

The Denon is connected to the PC using the RS232 port on
the PC and Denon. It's 3 rooms away from the PC. I
used Cat5 and a Cat5 -> RS232 connector on each end.

All the macros will take a while to collect, export and
post, but I will do it and post it to the Repository on
the board when I get a chance.

For now, all you have to do is change
the"MV"+(ph_getglobal_n("RVOL")+5
) in the macro above to the RS232 command that you want
to send to your Denon and it should work.

Noel
Back to Top View nadler's Profile Search for other posts by nadler
 
nadler
Super User
Super User


Joined: February 25 2006
Location: United States
Online Status: Offline
Posts: 354
Posted: December 19 2008 at 13:47 | IP Logged Quote nadler

Macros to control a Denon Receiver via RS232 are now
posted in the repository forum section.

Noel
Back to Top View nadler's Profile Search for other posts by nadler
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

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