PDA

View Full Version : PPC Display



harleydude
October 29th, 2004, 02:21 PM
I see there is an IR code to turn the display off:

5001 0000 0000 0002 FC19 0003 0004 0000

Is there a code to turn the display back on? I would like to be able to turn the display on to provide popups to the user.

What version of NR is required?

Thanks
Rick

Jlee
October 29th, 2004, 02:28 PM
You can only turn the display back on by pressing a hard button. It's been available since early versions of 1.0, maybe earlier.

harleydude
October 29th, 2004, 05:52 PM
True, but if I have the unit sitting next to me on the table and a call comes in, I would like to have the display turned on and be able to see the CID info without having to touch the unit.

Rick

Ben S
October 29th, 2004, 07:35 PM
Gotcha. So something you could call from Lua, within an OnVariableChange, for instance?

harleydude
October 29th, 2004, 08:20 PM
Bingo!! Thats exactly what I would like to do.

Rick

Mastiff
October 29th, 2004, 09:37 PM
Harleydude, just out of pure interest (since I'm building a system for CID myself now with a couple of cheap modems - one for CID and one as an answering machine) are you using the CID script from the Girder download, or are you using something else?

harleydude
October 30th, 2004, 02:53 AM
I have a Panasonic phone system installed here in the house. The CID is received by it and sent to my computer via RS232. A small VB app monitors the COM port and passes the CID to HomeSeer, which in turns provides the info to NR through the hsGirder plug-in. HomeSeer also voices the CID with TTS, makes it visible on my web site and stores the info for later retreival while I am not home.

Rick

Promixis
October 30th, 2004, 05:09 AM
Rick,

Off topic, but have you made any changes to your lcars ccf lately?

harleydude
October 30th, 2004, 07:41 AM
Yes, I am working on it now. I have most of my integration with HomeSeer working, just need to get the JRMC stuff implemented then I will post to the forums. Once the PPC version is done I will start working on the 800x600 version. I already have most of the screens laid out, will just need to chop them up and move them to a ccf.

Thanks for asking.

Rick

jwilson56
November 10th, 2004, 03:04 PM
Well I am also looking for the same thing as I have just finished my CID page for Nowplaying. If would be nice to get NR to handle this.

If not:

Anyone know of an external program that can turn the monitor ON from a networked computer via a command line maybe?

John

jwilson56
November 10th, 2004, 04:45 PM
Ok.... how do we execute an external program like "MonitorCtrl..exe ON" using the

OnVariableChange function?

Any help from you LUA experts would be appreciated. Thanks

John

harleydude
November 10th, 2004, 07:29 PM
Create a file in the same directory as your ccf and give it the same name as for ccf file with the extension .lua. Paste the following code into that file:



function OnVariableChange()
local pn = NetRemote.GetVariable("CIDEvent")
if (pn=="Incoming") then
NetRemote.ExecuteAction(-999,4,1,"D:\\Development\\Misc\\MonitorCtrl\\MonitorCtrl.ex e MON")
NetRemote.SetVariable("CIDEvent", "")
end;
end;


Change the path of the file to match the location of your MonitorCtrl.exe.

This should work for you. Be sure to reload your ccf when done editing the file.

Rick

jwilson56
November 11th, 2004, 07:48 AM
What variable is it going to be monitoring for change in order to have it trigger? I would assume I will have to add something to my CCF with the right variable in it.

John

Jlee
November 11th, 2004, 07:51 AM
The variable is CIDEvent and it's expected to be a value of 'Incoming'.

jwilson56
November 11th, 2004, 01:46 PM
Gotcha... good news is that it works!!!!! I can now turn the monitor back on.

Thanks

John