Author Topic: How to make Vera recognize your USB-to-Serial Adapter  (Read 74423 times)

Offline johnfdl

  • Full Member
  • ***
  • Posts: 111
  • Karma: +3/-0
Re: How to make Vera recognize your USB-to-Serial Adapter
« Reply #60 on: July 18, 2016, 11:31:09 am »
Sorry to unearth an old thread.  But I am trying to get my USB/Serial cable to be recognized by My Veralite on UI7.  I am trying to follow the instructions in the first post, but my lack of knowledge with linux leaves me at a disadvantage. 

I am ssh'd iinto my vera and ran the commands
 run dmesg > /tmp/dmesg-pre
 - plug your adapter into Vera's usb port
 - run dmesg > /tmp/dmesg-post
 - run diff -u /tmp/dmesg-pre /tmp/dmesg-post

I then get this:
--- /tmp/dmesg-pre
+++ /tmp/dmesg-post
@@ -172,3 +172,6 @@
 usb 2-1: USB disconnect, address 2
 pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
 pl2303 2-1:1.0: device disconnected
+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

Does this mean it is working?  I ask because I don't see a Vera device for the serial/usb cable....should I?
« Last Edit: July 18, 2016, 01:55:36 pm by johnfdl »

Offline Auto-M8r

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: How to make Vera recognize your USB-to-Serial Adapter
« Reply #61 on: May 29, 2017, 09:25:47 pm »
Sorry to unearth an old thread.  But I am trying to get my USB/Serial cable to be recognized by My Veralite on UI7.  I am trying to follow the instructions in the first post, but my lack of knowledge with linux leaves me at a disadvantage. 

I am ssh'd iinto my vera and ran the commands
 run dmesg > /tmp/dmesg-pre
 - plug your adapter into Vera's usb port
 - run dmesg > /tmp/dmesg-post
 - run diff -u /tmp/dmesg-pre /tmp/dmesg-post

I then get this:
--- /tmp/dmesg-pre
+++ /tmp/dmesg-post
@@ -172,3 +172,6 @@
 usb 2-1: USB disconnect, address 2
 pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
 pl2303 2-1:1.0: device disconnected
+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

Does this mean it is working?  I ask because I don't see a Vera device for the serial/usb cable....should I?

did you ever get this to work? I am struggling with the same issue

Offline LibraSun

  • Hero Member
  • *****
  • Posts: 560
  • Karma: +2/-0
Re: How to make Vera recognize your USB-to-Serial Adapter
« Reply #62 on: March 10, 2018, 09:41:09 pm »
Time warp forward to 2018, and I'm still alive, running a Vera Plus under UI7, and just tonight *FINALLY* plugged in my X10 PLI using the same serial-to-USB setup mentioned way back at the top of the thread.

So far, things are looking promising, having followed all of the steps listed at https://github.com/bwssytems/vera-x10-cm11a-controller and using the files downloaded from there.

I'm about to grab a random X10 device from my trusty old collection, dust it off, plug it in within earshot, and try sending it some ON/OFF commands, just like the old days!

If it works (would be the first time I got any Vera to "speak X10" but I'm optimistic), I'll certainly update this reply with details!

Fingers crossed,

 - Libra

UPDATE 1
Oops, my PLI is not a CM11A, it's an Insteon 2412s, with a serial cable connected to VeraPlus via a serial-to-USB adapter.

UPDATE 2
I've written to Brad, (dev of the X10 plug-in) explaining that the parent Device it created has disappeared from my system, leaving (4) orphaned child Devices named "X10-A1", "X10-A2", etc. They don't do anything (yet).

More UPDATES as I make progress on this experiment... :-)

UPDATE 3
Good news and bad news. The bad news is I never got the (manually-installed) "CM11A PLI" plug-in to work. I even tried installing the (identical, but installed from the App Market) "X10 CM11" plug-in, but no joy.
So, in desperation, and since I actually *do* have an Insteon PLM plugged in to Vera Plus, I tried "Add Device+" using the category "Insteon Device", under which there's an X10 section (WHO KNEW???).
The good news is that immediately after setting up a new Device set to channel "A" and device number "2" (the appliance module I chose for testing) -- and making sure Develop Apps > Serial Port > "Used by..." was set to "Insteon" -- I was able to click "On" and "Off" and the module produced its distinctive CLUNK with each command!

SUCCESS! :-D
« Last Edit: March 11, 2018, 01:35:12 am by LibraSun »
Vera Model I running UI4 (Firmware 1.1.1338), died in 2015
Vera Plus running UI7 (Firmware 1.7.2935)