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

How's Insteon working?

Started by ddamron, January 05, 2008, 01:38:56 PM

Previous topic - Next topic

hodge

I'm interested in playing with the home automation section of LinuxMCE, I'll look ta picking up some hardware and give this a try sometime soon.  Used to have an old x10 system back in the day but got rid of it.  I'm interested in trying out Insteon.

ddamron

Great to hear!  Make sure you get a PLM 2412S - not a PLC 2414..
I've got a few problems logged with mantis that will make it better too...
Let me know how you make out...
PM me if you have problems, or, just post here... that way, everyone can benifit.
Installation is in the wiki.. just search for Insteon.

Regards,

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.

hodge

PLM and a lamplinc is on the way.  I think I got rid of my old x10 stuff because I can't find it anywhere.   :(

hodge

Finally got around to doing some testing.  Right I have everything configured but I'm getting this error when i view the interfaces page:

COM Port on PC     Error: top parent device not found

Might want to throw something on the wiki to select a room and controller.

Also you have it checking the 'Implements DCE' checkbox and changing 'Comm Method' to  RS232 then edit Ruby.  After the ruby window closes you have them hit F5 to update the Device template window which resets those settings.

Right now this is what I'm getting in the log file..

Quote2340:01   01/18/08 17:33:19.536      Failed loading code: Error loading code:
error: (eval):2338: compile error
(eval):7: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0689
        ^
(eval):13: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0040 0015 0040 0015 0015 0015 0689
        ^
(eval):19: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0015 0015 0015 0015 0015 0015 0015 0015 0040 0015 0040 0015 0040 0015 0015 0015 0040 0015 0040 0015 0040 0015 0040 0015 0015 0015 0689
        ^
(eval):25: syntax error, unexpected tINTEGER, expecting kEND
0000 006D 0000 0022 00AC 00AC 0015 0040 0015 0040 0015 0040 0015 0015  <0xb5846b90>

Its pointing to the D after 0000 006

Hodge

hodge

Interesting, I must have screwed something up because it had a bunch of extra commands in there.  I created a new group and it didn't have them in there.  Scanning right now.

ddamron

Hodge,
Thanks for your feedback...

Let me know how it works for you..

Regards,

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.

hodge

Well When it was starting up it was sending out the 02 6B 40 but I was getting back a '00 E0' Response.  Turns out my PLM needs the baud rate set at 19200.  Its working great now.  Discovered my lamplinc and is working perfectly so far.  I'll have to buy a few more fancy modules so I can play some more.

Hodge

ddamron

Heh, no problem.. Glad to see it's working for you!
I take it the spider didn't do anything...
it won't with only 1 module...
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.

JimmyGosling

Hey Dan,
first off, thanks for offering this code.  I'm just getting into LinuxMCE right now and it's great to see that there is already some Insteon support. 

In any case, pertaining to the tutorial.  I had a little trouble reading this line:
QuoteThis driver supports ONLY the Powerlinc Modem model (PLM)# 2412S. If you have a 2414, this code will NOT work. You have a Powerlinc CONTROLLER. or PLC

Correct me if I'm wrong, but are you trying to say
QuoteThis driver supports ONLY the Powerlinc Modem model (PLM)#2412S. The code will NOT work for a model #2414 also known as a Powerlinc CONTROLLER (PLC)

Just a small point, but I thought it might be helpful.
My Setup: [url="http://wiki.linuxmce.org/index.php/User:JimmyGosling"]http://wiki.linuxmce.org/index.php/User:JimmyGosling[/url]

ddamron

Quote from: JimmyGosling on February 14, 2008, 08:21:14 PM
Hey Dan,
first off, thanks for offering this code.  I'm just getting into LinuxMCE right now and it's great to see that there is already some Insteon support. 

In any case, pertaining to the tutorial.  I had a little trouble reading this line:
QuoteThis driver supports ONLY the Powerlinc Modem model (PLM)# 2412S. If you have a 2414, this code will NOT work. You have a Powerlinc CONTROLLER. or PLC

Correct me if I'm wrong, but are you trying to say
QuoteThis driver supports ONLY the Powerlinc Modem model (PLM)#2412S. The code will NOT work for a model #2414 also known as a Powerlinc CONTROLLER (PLC)

Just a small point, but I thought it might be helpful.

Thanks Jimmy, my Grammar is upstairs in the bedrume..

Wiki updated..
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.

JimmyGosling

Not at all, I'm very impressed with your documentation skill, especially when considering it's a second language (I thought I read that somewhere)
My Setup: [url="http://wiki.linuxmce.org/index.php/User:JimmyGosling"]http://wiki.linuxmce.org/index.php/User:JimmyGosling[/url]

ddamron

Heh, Engrish are de unly lanuage i no.
The reference was to my first attempt at Ruby programming.. hehe

mesa only spek engrish
;)
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.

JimmyGosling

It's all very clear to me now.  lol
My Setup: [url="http://wiki.linuxmce.org/index.php/User:JimmyGosling"]http://wiki.linuxmce.org/index.php/User:JimmyGosling[/url]

ddamron

Quote from: hodge on January 19, 2008, 08:02:47 PM
Well When it was starting up it was sending out the 02 6B 40 but I was getting back a '00 E0' Response.  Turns out my PLM needs the baud rate set at 19200.  Its working great now.  Discovered my lamplinc and is working perfectly so far.  I'll have to buy a few more fancy modules so I can play some more.

Hodge

YES Hodge, your ABSOLUTELY RIGHT.

I don't know WHY I did that, must have been a brain fart.

I have modified the wiki accordingly.

Thanks again!

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.

JimmyGosling

Well I screwed up.  I don't have a RS232 port.  I only have USB.  So I've gone and purchased the wrong thing.

So perhaps I need to send it back for the USB version, perhaps I don't, you tell me.

I had an old serial to usb converter cable laying around, and I noticed that drivers are already installed.  So I hooked that up and ran through the process.  I've ran through the setup and everything looked good with the exception of it well working.

dmesg | grep tty tells me [11770.691620] usb 5-1: pl2303 converter now attached to ttyUSB0
Do I still need to wait for that USB implementation to come out.  When it does come out, is this going to even work, or do I need to
1: go and purchase a serial pci card
2: exchange my device for the USB

thanks
My Setup: [url="http://wiki.linuxmce.org/index.php/User:JimmyGosling"]http://wiki.linuxmce.org/index.php/User:JimmyGosling[/url]