Author Topic: PLM Code as of today(3-January-2008)  (Read 4871 times)

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
PLM Code as of today(3-January-2008)
« on: December 29, 2007, 01:10:20 am »
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

« Last Edit: January 04, 2008, 04:33:50 am by 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.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: PLM Code as of today...
« Reply #1 on: December 29, 2007, 01:19:16 am »
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

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: PLM Code as of today(Dec 28)...
« Reply #2 on: January 01, 2008, 02:45:33 am »
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

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: PLM Code as of today(Dec 28)...
« Reply #3 on: January 01, 2008, 02:50:43 am »
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

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: PLM Code as of today(Dec 28)...
« Reply #4 on: January 01, 2008, 06:51:27 pm »
dammit, I need a PLM and a lamplinc! aaaaaaa!

-Thom

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: PLM Code as of today(Dec 28)...
« Reply #5 on: January 02, 2008, 12:36:44 am »
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

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: PLM Code as of today(3-January-2008)
« Reply #6 on: January 04, 2008, 04:34:41 am »
Bump, New Code in FIRST MESSAGE

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.