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

PLM Code as of today(3-January-2008)

Started by ddamron, December 29, 2007, 01:10:20 AM

Previous topic - Next topic

ddamron

I'm putting this here for a backup, just in case my system gets munched again.

Pete, and all the beta testers... it's basically a copy & paste into the appropriate GSD Commands... their all labelled.

Dan

Code is attached. in txt file.

NOTE**** This has been updated as of Jan 3, 2008

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

Anyone wanting to test this, you'll need to create a device template called PLM.

Don't forget to check Implements DCE

I created a command group called 'Insteon PLM' to add the commands:

add Ruby Internal commands.. and Discoverable Interfaces..


Device Data needs #37 (COM Port on PC) and #78 (COM Port BaudRate)
Both required,
#37 allowed to modify,
#78 Use Master Device List Defaults.

Haven't quite finished the PnP stuff..

Pete, can you document the PnP Script (I lost it) and your PnP settings?

Thanks

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

I found a few bugs in that last code update.

I'll be submitting new code here shortly. (Hopefully, with X10 Support)

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

Oh, I guess I should explain how I have the spidering working...

Once you start the code, it goes out and attemps to spider the network.
Give it a few minutes, it does a LOT of Insteon communication...
If you go into the log, and watch it, you can see when it's finished...

When it's finished, load up the web admin, go into Generic Serial Devices, and click the advanced button of the PLM

At the top, then click 'Send Command to this device'
select the command 'Report Child Devices' and send it.
All the sensed insteon devices are then reported to lmce..
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

dammit, I need a PLM and a lamplinc! aaaaaaa!

-Thom

ddamron

Thom,

It's kinda hard to run the code without a PLM..

LOL

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

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.