Insteon v1 switches and other older Insteon devices

I am interested in helping get the Insteon V1 and older switches working with Altsteon :slight_smile: I have made a few changes to the Lua/XML files, but a few (hopefully minor) changes need to be made to the daemon to fully support these switches. I am fairly certain I know the specific low-level command changes that need to be made. Since I am still a “new” member of the forums, I am unable to send a PM, so this is mostly for “fba”, hopefully you see this and we can discuss possible ways of making and testing these changes.

The first change is V1 switches accept a “brightness level” parameter to the “on” command. This is the only way to remotely dim the switches, they do not respond to the “instant_dim” command which seems to be added in later models.

I am open to helping as much as possible, if you send me a PM, I am willing to discuss possible ways I can help. I am just another software engineer trying to get my system working well, and I am willing to put my money where my mouth is :slight_smile:

I am also interested in getting my x10 devices to work with my vera lite but have had little luck getting the usb to serial interface working over the past couple of months.

There is a procedure listed in this forum which outlines the method for installing the luup files but I have not had any success. It seems that everyone who has tried has either succeeded by trial and error or just got lucky.

I have a TrendNet TU-S9 USB to Serial dongle, which appears to be detected by my veralite as a PL2303 device …

+usb 2-1: new full speed USB device using rt3883-ohci and address 3
+pl2303 2-1:1.0: pl2303 converter detected
+usb 2-1: pl2303 converter now attached to ttyUSB0

If you have any info or advice with regard to getting a USB to Serial device working with x10 CM11 interface … please let me know.

Thanks.

I don’t know how to get it to work with the CM11 (I have not used one of those in many years). Altsteon has support in a beta form, which supports X10 devices, but uses the Insteon PLM (not the CM11). See this post for the up-coming X10 http://forum.micasaverde.com/index.php/topic,12338.0.html.

On the plus side, your USB->Serial adaptor seems to work correctly, I just don’t know if there is a “CM11” driver in Vera.

fba, if you are still on the boards please respond, I need some help with the daemon (I can’t send PM messages yet because I am still “new” on the board). I am trying to get a number of older Insteon devices to work and need some changes to the daemon to get it to work properly (see first message in thread).

I am unable to get V1 keypad links to work properly (it always says devcat FF). These devices seem to not respond to the info message properly? See the below log:

[TRACE] [12/29/2012 - 17:43:03] - CLIENT COMMAND : add_device 0a.e6.65
[TRACE] [12/29/2012 - 17:43:03] - Adding : 02620AE6650F0D00. Multi = false
[TRACE] [12/29/2012 - 17:43:03] - Queued ‘get engine version’ request for 0a.e6.65
[TRACE] [12/29/2012 - 17:43:03] - Queued request for info on 0a.e6.65
[TRACE] [12/29/2012 - 17:43:03] - Adding : 02620AE6650F1000. Multi = false
[TRACE] [12/29/2012 - 17:43:03] - Returning new command.
[DEBUG] [12/29/2012 - 17:43:03] - Sending : 02620AE6650F0D00
[TRACE] [12/29/2012 - 17:43:03] - Found the device : 0A.E6.65 (0a.e6.65)
[TRACE] [12/29/2012 - 17:43:03] - Processing SdEcho using base class!
[TRACE] [12/29/2012 - 17:43:03] - Got an ACK.
[TRACE] [12/29/2012 - 17:43:03] - There are 0 byte(s) left in the buffer.
[DEBUG] [12/29/2012 - 17:43:03] - Response : 02 50 0A E6 65 18 D5 6A 23 0D 00
[TRACE] [12/29/2012 - 17:43:03] - Found the device : 0A.E6.65 (0a.e6.65)
[DEBUG] [12/29/2012 - 17:43:03] - Flags : Direct_ACK Hops remaining : 0
[12/29/2012 - 17:43:03] - 0a.e6.65 had 0 hops left!
[TRACE] [12/29/2012 - 17:43:03] - Calling 4 parameter cooked ack.
[TRACE] [12/29/2012 - 17:43:03] - 4 command SD ACK.
[TRACE] [12/29/2012 - 17:43:03] - Calling 2 parameter cooked ack.
[TRACE] [12/29/2012 - 17:43:03] - Cooked SD ack. cmd1 = 0D cmd2 = 00
[12/29/2012 - 17:43:03] - Got engine version 0.
[TRACE] [12/29/2012 - 17:43:03] - To client : 0a.e6.65:001C,00,00 - Insteon version 0.

[DEBUG] [12/29/2012 - 17:43:03] - Cleared active command.
[TRACE] [12/29/2012 - 17:43:03] - There are 0 byte(s) left in the buffer.
[TRACE] [12/29/2012 - 17:43:03] - No active command!?
[TRACE] [12/29/2012 - 17:43:04] - Returning new command.
[DEBUG] [12/29/2012 - 17:43:04] - Sending : 02620AE6650F1000
[TRACE] [12/29/2012 - 17:43:04] - Found the device : 0A.E6.65 (0a.e6.65)
[TRACE] [12/29/2012 - 17:43:04] - Processing SdEcho using base class!
[TRACE] [12/29/2012 - 17:43:04] - Got an ACK.
[TRACE] [12/29/2012 - 17:43:04] - There are 0 byte(s) left in the buffer.
[DEBUG] [12/29/2012 - 17:43:04] - Response : 02 50 0A E6 65 18 D5 6A 23 10 00
[TRACE] [12/29/2012 - 17:43:04] - Found the device : 0A.E6.65 (0a.e6.65)
[DEBUG] [12/29/2012 - 17:43:04] - Flags : Direct_ACK Hops remaining : 0
[12/29/2012 - 17:43:04] - 0a.e6.65 had 0 hops left!
[TRACE] [12/29/2012 - 17:43:04] - Calling 4 parameter cooked ack.
[TRACE] [12/29/2012 - 17:43:04] - 4 command SD ACK.
[TRACE] [12/29/2012 - 17:43:04] - Calling 2 parameter cooked ack.
[TRACE] [12/29/2012 - 17:43:04] - Cooked SD ack. cmd1 = 10 cmd2 = 00
[12/29/2012 - 17:43:04] - Got ID request on 0a.e6.65. (ignored)
[DEBUG] [12/29/2012 - 17:43:04] - Cleared active command.
[TRACE] [12/29/2012 - 17:43:04] - There are 0 byte(s) left in the buffer.
[TRACE] [12/29/2012 - 17:43:04] - No active command!?
[TRACE] [12/29/2012 - 17:43:13] - CLIENT COMMAND : 0a.e6.65 info
[TRACE] [12/29/2012 - 17:43:13] - To client : 0a.e6.65:0007,00,FF,FF - DevCat : FF SubCat : FF

[TRACE] [12/29/2012 - 17:43:32] - **** Polling device ‘0a.e6.65’.
[TRACE] [12/29/2012 - 17:43:32] - Queued request for info on 0a.e6.65
[TRACE] [12/29/2012 - 17:43:32] - Adding : 02620AE6650F1000. Multi = false
[TRACE] [12/29/2012 - 17:43:32] - Next poll in 600 second(s).
[TRACE] [12/29/2012 - 17:43:32] - Returning new command.
[DEBUG] [12/29/2012 - 17:43:32] - Sending : 02620AE6650F1000
[TRACE] [12/29/2012 - 17:43:32] - Found the device : 0A.E6.65 (0a.e6.65)
[TRACE] [12/29/2012 - 17:43:32] - Processing SdEcho using base class!
[TRACE] [12/29/2012 - 17:43:32] - Got an ACK.
[TRACE] [12/29/2012 - 17:43:32] - There are 0 byte(s) left in the buffer.
[TRACE] [12/29/2012 - 17:43:33] - Waiting for command response. (Timeout = 1)
[DEBUG] [12/29/2012 - 17:43:33] - Response : 02 50 0A E6 65 18 D5 6A 23 10 00
[TRACE] [12/29/2012 - 17:43:33] - Found the device : 0A.E6.65 (0a.e6.65)
[DEBUG] [12/29/2012 - 17:43:33] - Flags : Direct_ACK Hops remaining : 0
[12/29/2012 - 17:43:33] - 0a.e6.65 had 0 hops left!
[TRACE] [12/29/2012 - 17:43:33] - Calling 4 parameter cooked ack.
[TRACE] [12/29/2012 - 17:43:33] - 4 command SD ACK.
[TRACE] [12/29/2012 - 17:43:33] - Calling 2 parameter cooked ack.
[TRACE] [12/29/2012 - 17:43:33] - Cooked SD ack. cmd1 = 10 cmd2 = 00
[12/29/2012 - 17:43:33] - Got ID request on 0a.e6.65. (ignored)
[DEBUG] [12/29/2012 - 17:43:33] - Cleared active command.
[TRACE] [12/29/2012 - 17:43:33] - There are 0 byte(s) left in the buffer.
[TRACE] [12/29/2012 - 17:43:33] - No active command!?
[TRACE] [12/29/2012 - 17:46:07] - CLIENT COMMAND : 0a.e6.65 on
[TRACE] [12/29/2012 - 17:46:07] - To client : Unknown command ‘on’.

[quote=“jimbo333, post:3, topic:173529”]I don’t know how to get it to work with the CM11 (I have not used one of those in many years). Altsteon has support in a beta form, which supports X10 devices, but uses the Insteon PLM (not the CM11). See this post for the up-coming X10 http://forum.micasaverde.com/index.php/topic,12338.0.html.

On the plus side, your USB->Serial adaptor seems to work correctly, I just don’t know if there is a “CM11” driver in Vera.[/quote]

Thanks for responding Jimbo333, I’ll keep searching for a solution.

I am seeing the same behavior with a RemoteLinc 2 which reports the following:

Cmd : 1C.2A.1E get_insteon_version
1C.2A.1E:001C,02,01 - Insteon version 1.

Cmd : 1C.2A.1E info
1C.2A.1E:0007,00,FF,FF - DevCat : FF SubCat : FF

Haven’t tickled the old keyboard in anger for a few years but used to do some heavy Unix development in C and C++ and I’m more than willing to help however I can.

Regards

Andy

Andy,

I have been trying to get ahold of “fba”, the guy who started and runs altsteon. Unfortunantly I have been trying for over a month now with no luck, I will hope he comes back again soon. The alsteon daemon is “closed source”, so there is no easy way to modify it. However, if I am unable to get ahold of fba soon, I will have no choice but to start from scratch and try and re-implement the daemon. I will give it another 2 weeks or so, if I still can’t get ahold of him, I will welcome any coding help I can get :slight_smile: I have done enough with the Insteon protocol to know there is a lot of “learned” knowledge when implementing a controller that just is not really documented anywhere, I suspect it will be a lot of work.