News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

MAME Plugin Progress Thread

Started by tschak909, December 10, 2007, 07:47:59 AM

Previous topic - Next topic

aaron.b

Get this file: http://plutohome.com/gsdcode.tar.gz

Untar it, and add it to your database: mysql pluto_main < gsdcode

This contains all the Ruby code for all our GSD devices.  Look in InfraredGroup table, and see also Manufacturer table, to see the infrared groups.  I know the GSD for EIB and for Bang & Olufsen use some of the Ruby objects which interface back to LinuxMCE and retrieve device lists, send messages, etc.


Matthew

Quote from: aaron.b on December 19, 2007, 04:14:56 PM
This contains all the Ruby code for all our GSD devices.  Look in InfraredGroup table, and see also Manufacturer table, to see the infrared groups.  I know the GSD for EIB and for Bang & Olufsen use some of the Ruby objects which interface back to LinuxMCE and retrieve device lists, send messages, etc.

I'm not a Ruby programmer. So before I start learning enough Ruby to understand which LMCE API the Ruby code and objects are calling, if someone can point at that LMCE API itself, that would help me. But that Ruby code dump is certainly a bottom line example of how to do it. Thanks.

ddamron

aaron.b,

Thank you so much for that!  I'll dig into that now!  Don't want to discuss my insteon in this thread...

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.

ddamron

Thom,

How's the MAME Plugin coming??

I've made a ton of progress on my Insteon today.  Tomorrow, I should be able to get it to automagically add new lighting devices...

If all goes well, it'll snap into the Lighting wizard, asking you which light is blinking...

I still have a bit of work, but i'd say it's 90% there. (to what I want it to be)

Hope you're having the same success with MAME...

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.

tschak909

am off it temporarily. I'm in Texas...my laptop doesn't have a working back-light, so I have to get to a place with a decent monitor so i can continue working on it.


ddamron

Sorry to hear that..

When you do get back to it, Good Luck!

Merry Christmas

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.

bulek

Quote from: ddamron on December 24, 2007, 07:58:44 AM
...

If all goes well, it'll snap into the Lighting wizard, asking you which light is blinking...

I still have a bit of work, but i'd say it's 90% there. (to what I want it to be)

...

Dan

Hi,

can anyone please give some more info how you implement light flashing or light selection procedure ? do you have to implement it by yourself or is a part of LMCE ?

Thanks in advance,

regards,

Bulek.
Thanks in advance,

regards,

Bulek.

ddamron

Bulek,

That's what I'm working on right now...

From what I can figure, you send an event Report Child Devices to the system..

AFAIK, it should kick in the apropriate wizard...
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

please move this out into a different thread. :-)

-Thom

ddamron

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.

bulek

Thanks in advance,

regards,

Bulek.

tschak909

am sorry, have been having health problems. I'm trying to continue work on this plugin.

-Thom

tschak909

I have sent a message to aaron.b asking for a little bit of help, but... I have writtten the first pass of the code that lives in the DCE router for the new media type.. Oddly enough, even though the plugin instantiates, and it says it is activated, even going as far as saying it's Registered: Yes, in the admin...

it doesn't seem to jump into my Register() method at all...nor any of the other commands (I see no log messages for them.) I have added appropriate schema to MediaType, MediaType_DesignObj, DeviceTemplate_Mediatype.. am I missing anything here?

I have attached a URL to the code here, and am wondering if anyone else can successfully compile it on their systems? or maybe shed some insight into why this isn't functioning???

http://www.localeconcept.com/pub/development/MAME_Plugin_Player.tar.gz

-Thom

hari

Quote from: tschak909 on January 06, 2008, 08:26:29 PM
I have sent a message to aaron.b asking for a little bit of help, but... I have writtten the first pass of the code that lives in the DCE router for the new media type.. Oddly enough, even though the plugin instantiates, and it says it is activated, even going as far as saying it's Registered: Yes, in the admin...

it doesn't seem to jump into my Register() method at all...nor any of the other commands (I see no log messages for them.) I have added appropriate schema to MediaType, MediaType_DesignObj, DeviceTemplate_Mediatype.. am I missing anything here?

I have attached a URL to the code here, and am wondering if anyone else can successfully compile it on their systems? or maybe shed some insight into why this isn't functioning???

http://www.localeconcept.com/pub/development/MAME_Plugin_Player.tar.gz

-Thom


did you also compile the dcerouter after running sql2cpp? Don't know if it's needed but may be worth a try.

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

tschak909

if that's required, that's just ($#@($#@ retarded!

-Thom