Author Topic: GSD and Message Interceptors: Need more info..  (Read 2969 times)

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
GSD and Message Interceptors: Need more info..
« on: December 30, 2007, 11:56:10 pm »
I (again) was doing more research...
Found http://wiki.linuxmce.org/index.php/Message_Interceptors many times, but it just clicked last night, this MIGHT be what I need to intercept scenario information...

Calling all devs (and devs to be):  Any tips, suggestions, comments, speculation would be greatly appreciated!

I've attempted a few MessageSend commands.. but I don't have enough information about Scenarios..

Here's what I would like to do:

Intercept the actual FIRE SCENARIO command... and have DCE pass that to me.
The other half of that is to figure out all devices IN those scenarios... so I can set up groups..


Of course, I'm in Ruby.. so I'll have to interpret the wrapped result..

It seems the more I learn, the more I want to do... lol

Thanks ahead of time guys!

The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: GSD and Message Interceptors: Need more info..
« Reply #1 on: December 31, 2007, 03:27:19 am »
Scenarios are called Command Groups by the DCE Router itself.

They are stored in the CommandGroup table, and are done via by firing an Execute Command Group command from the CORE->DCERouter device. All you need is the PK_CommandGroup # from the CommandGroup table.

-Thom

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: GSD and Message Interceptors: Need more info..
« Reply #2 on: December 31, 2007, 04:28:10 am »
ummm....

That's the command I want to intercept... EXECUTE COMMAND GROUP from the CORE -> DCERouter..
In a nutshell, I want to INTERCEPT that command, so I can fire a GROUP insteon command..
I don't really care if DCERouter processes the command too.. by the time it sends me all the 'commands' in that group, I should have executed the group command already.

I didn't know that was the command sent to DCERouter to execute scenarios, Thanks mang!

I'll root around the DCE again, looking for that command... also anything relating to that command.. It would be SUPER if I could get a list of commands in a command group..

Thom, Again, you've proven yourself worthy!

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.