Talk About the Latest in Home Automation/Home Electronics
Home Automation Forum

Smarthome Forum
Shop All INSTEON Products
Login or Register
 
Home | Profile | Register | Active Topics | Search | FAQ | Smarthome
 All Forums
 General Discussion
 INSTEON
 Insteon program gouping linking issues
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

techoguy
Starting Member

USA
4 Posts

Posted - 09/03/2012 :  10:01:53 AM  Show Profile  Reply with Quote
Hi All,
I've been pounding my head against the wall for days over this.

The problem I'm having is trying to manually update the link databases within my own software. I can successfully update Switchlincs, Keypadlincs, PLMs, and Smartlinc. But anything that is only a responder or only a controller won't accept the extended command i'm sending it.

The devices I currently have that I can't update are a Lamplinc, motion sensor, and Fanlinc. All my devices have been purchased within the last couple of months so they are the newer versions.

here is an example of a extended command sent to the FanLinc and it's response (note: The Link data was copied from the database):

Sent: 0262 14CD07 1F2F00 0002 0FFF 08 AA 08 1C90A2 FF1C02A4
-----------<FL> <ED><DbR/W> <add> <Flg><Gp><KPID> <ON><RR><Gp><?>
Received: 025014CD071E5222AB2FFD

I always receive a NAK returned message from these devices. What am I missing? I've been searching all over the internet, reading through al the insteon command tables and guides for days now and trying all kinds of different things and have not come up with anything!
So I'm hoping someone out there can help point me in the right direction.

Thanks in advance!

BLH
Advanced Member

3756 Posts

Posted - 09/03/2012 :  10:23:55 AM  Show Profile  Reply with Quote
Fanlincs use the latest I2CS {I2 With Checksum} protocol.
I believe you will have to calculate the correct Checksum for it to accept the command.
Go to Top of Page

techoguy
Starting Member

USA
4 Posts

Posted - 09/03/2012 :  10:39:50 AM  Show Profile  Reply with Quote
Thanks BLH,
That makes sense.
That must be D14. I have noticed that those are different.

Do you know how the CS is calculated for these devices?

Thanks!
Go to Top of Page

BLH
Advanced Member

3756 Posts

Posted - 09/03/2012 :  10:44:02 AM  Show Profile  Reply with Quote
Here is a link to data some have figured out.
http://www.madreporite.com/insteon/i2cs.html

I have the I2CS Developers Notes as I belong to the Developers Group.
Due to a NDA can't say too much else.
Go to Top of Page

techoguy
Starting Member

USA
4 Posts

Posted - 09/03/2012 :  10:58:07 AM  Show Profile  Reply with Quote
BLH,
That's perfect.
Thanks for pointing me in that direction.

I'm not sure if you can or want to say,

But is paying for the developers access worth it? Most of what I read is that there isn't much more information there than what you can find in the open. So it doesn't sound like it's worth the money to join ( I wouldn't need the PLMs that come with it).
Go to Top of Page

techoguy
Starting Member

USA
4 Posts

Posted - 09/03/2012 :  12:39:27 PM  Show Profile  Reply with Quote
If anyone is interested I made a quick excel sheet that calculates the Check Sum for me. This allows me to change the all-link database entries on the I2CS devices.

In Row 1 put the message you want to send (byte CMD1,CMD2,D1-D13 in its own column)

In Row 2, put =HEX2DEC(A1) and copy or drag over to column O.

Paste =DEC2HEX(256-MOD(SUM(A2:O2),256)) into cell A3.

Cell A3 will be the checksum which is D14.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Smarthome Forum © 2000-2012 SmartLabs, Inc Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07