PDA

View Full Version : Design question regarding muliti zone setup.



Mortie
February 16th, 2005, 05:40 AM
Hi,

I've got a question regarding a multi zone setup.

What you you guys perfer to do in this senario:
I've got a CAV6.6, meaning that the source equipment will be controlled from differen zones. This is handled with different remotes with different IR codes, so I know where the code is comming from. That way I'm able to route, say the radio to correct zone.
Now, in this setup there will be several IR codes that mean "Radio Preset Up".
What is the best way to handle this?
Multiple Eventstrings for the command?
-Or have separate comand in a source structure with a goto action? This provides better readability, but is there a performance issue?

I also have several Multigroups with goto actions. Is this the way to handle it?
I can ofcourse copy the commands into the multi group, but that's a maintanance hell if I am to replace a soure equipment.
If I use goto then I only have one command, and I only have to change IR codes in one place.

The Girder structure with zones and sources looks something like this:
Equipment
-Radio
Preset +
Preset -
-XBOX
1
2
Display
Zones
-Livingroom
Radio + (goto Preset + under equipment\radio)
-Master Bedroom
Radio + (goto Preset + under equipment\radio)
(and so on)

Basically I'm looking for best practice, since I'm brand spanking new to Girder :-)

Thank you for any and all input!

//Morten

Mastiff
February 16th, 2005, 08:55 AM
I would go for several event strings on one command, it's gonna be a pain to maintain it in other cases. Goto can be pretty touchy, I have had all my links deleted a couple of times, and believe me, that is not something you want to spend a weekend on!

Edit: Of course LUA would be the best way, but defining LUA actions and all that isn't what you want to do first when you start with Girder...

Mortie
February 16th, 2005, 09:15 AM
Hey there fellow norwegian :-)

Thank you for your input.

How do you handle mulitigroups?

Say you have different mulitgroups that executes the same command.
To you copy the commands to each mulitgroup instead of using gotos?

btw, just saw your edit, I think I can get my way around LUA
With LUA actions do you mean, create girder event strings for my actions, and then use
everntrigger for all other places, such as in multi groups to call that action?

//Morten

Mastiff
February 17th, 2005, 09:08 AM
Hei! Har du sett min nye htpc-artikkelserie på www.hardware.no? Det blir litt om Girder og NetRemote senere i serien...

I would suggest that you define the actions in a LUA file and then use the single commands to call those actions. At least that's what the big LUA boys would do. But I'm not an expert on the subject, I only know that this is the way it's done.

Mortie
February 17th, 2005, 09:35 AM
Hi,

that is what I've ended up doing.
Thank you for putting me on the right track.

I've created Event handlers, that I send parameters to.
I desided to use events so that they can be raised remotly through the Internet Event Server.
I'm planing on writing a Internet Event Server/Client plugin for MediaPortal (mediabortal.sourceforge.net) so that one can can have a two way communication between MP and Girder.

(I'll have a look at the articles)

//Morten

maxtrash
February 17th, 2005, 02:15 PM
Just wanted to say that it would be brilliant if you're able to create a mediaportal plugin. It's going to be the de facto open source HTPC application IMHO so i'm very exited to see what you might do!

Ron
February 17th, 2005, 06:36 PM
Media portal GML's

http://nolanparty.com/mediaportal.sourceforge.net/phpBB2/viewtopic.php?t=4634&highlight=girder

Mortie
February 18th, 2005, 04:00 AM
I totally agree with you maxtrash, MP will be awesome, heck it's great even now.
I run all my tv through it already.

//M

maxtrash
February 19th, 2005, 12:29 AM
Mortie:

you know about this thread?

http://nolanparty.com/mediaportal.sourceforge.net/phpBB2/viewtopic.php?t=4732&start=15

Mortie
February 19th, 2005, 05:05 AM
Yes, I'm aware of Samuels work.

What I want is the ability to talk to Girder on a remote computer, as I have a Home Automation server separate from my HTPC.

So I thought that I'd intergrate Girders Internet Event Server and client into MP, so that one can send comands to MP, and also get messages back to Girder.

Girder -> MP well mainly be sending commands that represents keypresses.

For the Mp -> Girder updates I sure will have a look at Samuels process plugin.

//Morten

Helza
June 28th, 2005, 01:20 AM
This is a very interesting project.. any updates? :)

Aviatika
July 19th, 2005, 04:32 AM
I've played with Girder, Netremote, MediaPortal for the past month, fulltime! Girder is on a seperate PC, connected to my home automation bus system, enabling me to remotely control anything from netremote. I am trying to get a friendly interface on my TV's for my wife and kid by using MediaPortal.

No success yet, MP can't talk to Girder. And the other problem is, I have to run IR commands in my hometheater as well, and Winlirc is definetely not my answer. I already switch TV's, camera's and backgroundmusic on with movement.

Any PVR scedulers that can talk to Girder? Looks like Girder is going to stay the main focus point here.......

Aviatika :o