PDA

View Full Version : Girder2Girder on Same PC



dProximis
March 3rd, 2008, 03:42 PM
I'm trying to do something funky and want to know if the following is possible:

- Same physical PC
- 2 versions of Girder running: 1 x 3.3 and 1 x 4/5
- Send events (quickly) from v3.3 to v4/5

If memory serves, Girder2Girder isn't available on v3.3 correct? I've found Internet Event Server to be slow-ish. What are my options?

Thanks,
dp

Ron
March 3rd, 2008, 03:47 PM
Any reason why you would do this?

dProximis
March 3rd, 2008, 04:42 PM
Sure Ron. I'll answer your question if you answer mine.

- I want to use Insteon for home automation.
- In order to do so, I have to upgrade to v4/5 (since I understand there is no Insteon plugin for v3.3 correct?)
- I'm a Tira owner and have had no luck getting the Tira plugin working with v4/5.
- I have the Tira working seamlessly with v3.3.

Bottom line is that I'm trying to cheap out and avoid buying a new IR device. If I can make v3.3 trigger v4/5 events, I'm $50 ahead of the curve.

Your turn.

dp

Ron
March 3rd, 2008, 04:51 PM
Well Sadly home electronics is not very helpful with your problem. I've tried many times. So my apologies for that one, I'm as frustrated as you about that.

I assume the $50 you refer to are the cost to buy a USB-UIRT.

Anyway did you try using event.exe to send events to Girder 4/5? Create an 'file execute' action in Girder 3.3 that responds to the required events and triggers the event.exe app of Girder 4/5. That should do it.

dProximis
March 3rd, 2008, 05:40 PM
Thanks Ron. Yes... the $50 refers to savings on purchase of a new IR device.

Good ol' event.exe works like a charm. Appreciate the advice.

Tell me, has anyone approached Slava about donating his plug-in source to the "community"? I'm certain I'm not the only Tira owner who's reluctant to upgrade to Girder v4/5 because doing so necessitates purchase of a new $45+ piece of IR hardware. If Slava's unable to deliver a working plug-in, he could make the code open source and benefit from additional sales of the hardware. No?

dp

Ron
March 3rd, 2008, 06:55 PM
I think that was asked before, but please feel free to ask him again.

quixote
March 4th, 2008, 07:41 AM
Save yourself the headache and shell out for a USBUIRT. It remains one of the only pieces of hardware that I don't regret buying. Also, Mr. Rhees provides top notch customer support when needed.

johnp
October 20th, 2008, 09:22 AM
I am trying to do a similar thing but with different needs.

I want to use a main Girder Server if you will to round up and disburse requests to play various media files on many different PCs. One of those PCs is itself.

I tried to use Girder2Girder communications and that seems to work for the remote PCs running the Communication Server, but the requests do not get processed when I try to direct the girder2girder request back to myself.

What is most confusing is that sometimes it will work and others not. I have not been able to come up with a solid reason why the requests do not get through. I have disabled the Windows Firewall completely and remain frustrated.

One clue is that the logs show connections to all the remote servers at startup, but not to the local/loopback server.

Any ideas on how to accomplish this reliably or at least troubleshoot what is going on would be helpful.

Solosid
October 20th, 2008, 12:50 PM
I'm Interested in if this is possible as I'm running a nokia 770 of a second user account on he same Pc through remote desktop.
I've tried sending usbuirt commands from the 770 using the Girder test button and nothing happens

they work from the main screen?

would I be missing a setting somewhere as its a different user account?

cheers

Mark

jwilson56
October 20th, 2008, 01:11 PM
Are you running two Girders on the machine your RDP to? If so why?

Solosid
October 20th, 2008, 01:33 PM
I'm hoping to run one but I cannot get the same gml's to load even when I
save it to a set file and open both from there...the screen is different (actions missing, usbuirt not enabled correctly,

??

cheers
Mark

jwilson56
October 20th, 2008, 02:12 PM
Why are you trying to run Girder in each session?

Solosid
October 20th, 2008, 02:43 PM
I have no idea...

what should be the correct set up
girder auto loads in the taskbar? on the 770
i opened that up to test the usbuirt commands?
i have one pc with 2 users this was my way around the password issue
is

should i be designing everything on the main screen and sending it to the NR on the 770?

cheers

Mark

jwilson56
October 20th, 2008, 04:46 PM
Well why don't you describe what your trying to do.

Now Playing setup consists of a server PC that has Girder 5, JRMC and Netremote on it. I do not RDP into that PC but rather into another PC that I run SageTV on for my HTPC and it runs Netremote on a second login session. But you should be able to just run a single instance of Girder (under lets say account #1) and all your home automation tasks are done with that including all the IR and X10. Your Netremote clients can be run in either account session and they connect to that Girder. So I don't see a reason to have more than one Girder running at a time.

The Nokia is not actually running Netremote at all but rather just using it like a thin client into your Windows session.

Solosid
October 21st, 2008, 06:46 AM
Well why don't you describe what your trying to do.


I have 1pc running Vista HP on that pc I have girder5 NR2 NR designer

I have two user accounts 1. Main 2. Nokia

the Main is not passworded and is used on 2off 19" elo touchscreens

the Nokia is a account i set up for the RDP to use

in both cases Girder shows in the notification area....(is this the same instance of Girder?...or two running?)


when i open girder up from the 'Notif Area' on the 'Nokia' and test send the IR commands...eg AMP OFF...nothing happens


when this is done from 'Main' the amp turns off

1. Is there a setting that would be different with two user accounts?

2. Do I need to set up a girder to girder event?

or

3. Is it me?...i need to learn/read more


Cheers

Mark

jwilson56
October 21st, 2008, 07:32 AM
I presume you want to send the IR signals via a NR button (like power on and off)? If so then it will just interact with the Main account running Girder.

Try creating a CCF with a button and have that button send an event when pushed.

Then have that event (you can see that event in the Log screen) trigger an IR send (from the Action menu) on Girder.

Then test that from both accounts using that NR CCF. Both accounts should be able to send that event to the one instance of Girder running in the Main account. When it receives the event the IR will be sent. At least that is how I do my IR.

BTW what IR device are you using for Girder?

Solosid
October 21st, 2008, 11:21 AM
BTW what IR device are you using for Girder?

usbuirt to a repeater that has jack style plugs with skicky nodes


Mark

Solosid
October 21st, 2008, 12:37 PM
is it possible for somebody to post what a send event to girder
event string should look like?


cheers
Mark

johnp
October 21st, 2008, 12:50 PM
This can be found in the help file...



Requires Girder Pro.

[n] = g2g.SendEvent([event], [device], [mod], [p1], [p2], [p3], [p4])

[n] = g2g.ClientSendEvent([name], [event], [device], [mod], [p1], [p2], [p3], [p4])

[n] = g2g.SendTable([table], [destvar])

[n] = g2g.ClientSendTable([name], [table], [destvar])

[n] = g2g.RunLua([chunk])

[n] = g2g.ClientRunLua([name], [chunk])

[n] = g2g.PushGML([filepath])

[n] = g2g.ClientPushGML([name], [gmlfilepath])

[n] = g2g.UnloadGML([guid])

[n] = g2g.ClientUnloadGML([name], [guid])

[n] = g2g.TransferFile([filepath])

[n] = g2g.ClientTransferFile([name], [filepath])

[n] = g2g.Ping()

[n] = g2g.ClientPing([name])

n: Number. The number of clients for which transactions were queued. 0 means an error occurred.

name: String. The Server Name or the IP address of the remote Girder.
event: String. The eventstring of the remote event to be generated.
device: Number (default is the "Lua: Girder to Girder" Event Device). The device number for the event.
mod: Number (default 0). The event modifier of the event 0 = None; 1 = Down; 2 = Up; 4 = Repeat.
p1..p4: String (optional). Payload strings for the event.
table: Table. The table that will be sent to the remote Girder(s).
destvar: String. The name of the variable which will hold the table on the remote Girder(s).
chunk: String. Lua code to be compiled and executed on the remote Girder(s).
gmlfilepath: String. Path and name of a GML file to be sent to and loaded in the remote Girder(s).
filepath: String. Path and name of a non-GML file to be copied to the Upload directory on the remote Girder(s).
guid: String. GUID of the GML file to be unloaded from the remote Girder(s). Note this can be obtained from a local copy of the GML file using guid = g2g.GetGmlInfo([filename]).

jwilson56
October 21st, 2008, 12:54 PM
usbuirt to a repeater that has jack style plugs with skicky nodes


Mark

Ok first things first.... can you send the IR from Girder itself via an Action tree item?

Solosid
October 21st, 2008, 03:06 PM
Ok first things first.... can you send the IR from Girder itself via an Action tree item?

hi john,
thanks for your patience...
that what i tried first

1. open girder on nokia 770
2. highlight event
3. hit test button

nothing...

do the same the elo's...right everytime

that why i have asked if the file paths are different on different user accounts?


i will have another go tomorrow...

jwilson56
October 21st, 2008, 05:53 PM
No you don't need to be able to send IR from a RDP session into Girder... I would presume that you want to run a NR skin for the Nokia like my Now Playing right? If you can send IR from the main account running Girder then it will work. Do you have MSN? Maybe we could chat there.. or goto Cocoontech.com chat room... I am always there

Solosid
October 22nd, 2008, 12:42 PM
Hi John,
I have joined Cocoontech...

I have solved the problem...

When the second user account logged in it automatically started a girder session. I think this confused things...

but you do know the lesson won't stop here...


cheers

Mark