Provide ability to Create/Register IP-based Serial Port directly in Vera UI

Vera can automatically “detect”, and register, Local USB-Serial ports. This works reasonably well.

There are cases though where the Serial Port is “remote”, running on some IP Host/Port combination somewhere.

eg. [tt]ser2net[/tt] on a remote Box, WIZnet 110SR Hardware running remotely (etc)

In each case, the configuration of these boxes is done completely outside of Vera, and we simply need to be able to register an IP Address and Port combination with Vera to get a “Remote” serial port (so that TV’s, Amps, Alarm Panels etc can be attached)

More “specific” Serial port registrations, like the GC100 one, can be handled via a Device-specific plugin, but it doesn’t make sense to proliferate a bunch of these for “standard” devices using only Host/Port combo’s (no security)

Can you add a feature to let folks “(Add Serial Port)”, providing only the IP-Address and Port combination?

I second that! Thanks.

I third that! Thanks.

I agree that this feature would be used by users and I’ve added a mantis feature request for it: http://bugs.micasaverde.com/view.php?id=769

Thanks CJ, appreciated. Will check back in a month or so, and write a “manual” version if none exists at that time.

Attached are some stubs for a short-term workaround for this problem until something more formal is built into Vera.

The code is hardwired to port 5000, and would need to be parametized (or simply edited for the desired port) as this is the port used by the WIZnet SR110 Ethernet-Serial device I use.

Once installed, the “ip” address needs to be configured before it’ll start. An error will result during startup if this isn’t set.

The code is rough and ready, but I’ve successfully used it to wire up my TV.

Don’t forget to goto the Serial Port configuration and set the rest of the settings, as the Plugin doesn’t do it all just yet (its a stub)

Thanks! :slight_smile:

You’re welcome. The old mechanism was too error prone, and took me a while to work out with @strangely. This should save a bunch of pain until the real thing comes along.

@CJ, Aaron closed out

http://bugs.micasaverde.com/view.php?id=769

as he wasn’t clear on what was being asked for. It doesn’t look like I have the permissions to re-open the case (and provide a Backpointer to this discussion).

Can you re-open it?

rev’d the IPSerial code to better support UI4, as well as provide the ability to specify the Port# through configuration (it defaults to 5000 per before) for those running other types of IP Serial attached devices… and needing this MiOS work-around.

It also supports multi-port Ethernet-to-Serial devices now, like the WIZnet WIZ125SR, using a comma-separated list of port#'s.

MCV, CJ: Can you please re-open

 http://bugs.micasaverde.com/view.php?id=769

with the extra info from this thread? It would be better if this were more native functionality in MiOS’s native Serial Port dialog.

They should at least add it as a plugin in the MiOS marketplace!

Well, I now have the Mantis privs to open/assign/edit things so I updated the entry myself :slight_smile:

Uh oh :slight_smile:

I have only had my Vera for about a month. I have only added plugins from the Mios MarketPlace and only added Zwave devices.

The WIZnet SR110 has been configured and tested with my Windows PC using two instance of HyperTerminal (one Serial and one IP) and works fine.

The files D_IPSerial.xml and I_IPSerial.xml have been downloaded and added to the LUUP files of the Vera from the development window. I have attempted to add a device via the development window but I keep keeping a “XML Error” when I click the “Create Device” button.

For the Device Type I used “urn:schemas-micasaverde-com:device:MultiIO:1”. I entered the device xml file (D_IPSerial.xml ), implementation xml file (I_IPSerial.xml), IP address and MAC address.

Any help would be much appreciated. Do I need to modify the XML files? The port is correct but I’m not sure what the UDN code is in the device files.

Thanks,
Rory

When creating the device, fill in the fields per this:
http://code.mios.com/trac/mios_ipserial/wiki/Installation-UI4

or the generic version of it:
http://wiki.micasaverde.com/index.php/Install_LUUP_Plugins

No other fields need to be entered, other than described in the above links.

That said, given the error message you’re getting, I’d suspect that there was an issue in the way the Plugin files were downloaded and that you may not have the XML version of them. Please re-download the ZIP version, and then expand. I updated the plugin over the weekend, and converted the install instructions to use a ZIP-file link instead, which should give you a clean set of files.

[quote=“guessed, post:15, topic:165367”]When creating the device, fill in the fields per this:
http://code.mios.com/trac/mios_ipserial/wiki/Installation-UI4

or the generic version of it:
http://wiki.micasaverde.com/index.php/Install_LUUP_Plugins

No other fields need to be entered, other than described in the above links.

That said, given the error message you’re getting, I’d suspect that there was an issue in the way the Plugin files were downloaded and that you may not have the XML version of them. Please re-download the ZIP version, and then expand. I updated the plugin over the weekend, and converted the install instructions to use a ZIP-file link instead, which should give you a clean set of files.[/quote]

Sorry maybe a stupid question but how can I setup multiple IP-serial devices? Is the only way to install the files under a different name?

Regards,

Mark

It should work fine with the same name. You just need to create new instances of the device using the device file names D_IPSerial.xml and I_IPSerial.xml as detailed here:

http://wiki.micasaverde.com/index.php/Install_LUUP_Plugins (UI4)

You will not need to do step 2 if you already created one instance! In the description field just name it something unique to help you identify each one.

[quote=“strangely, post:17, topic:165367”]It should work fine with the same name. You just need to create new instances of the device using the device file names D_IPSerial.xml and I_IPSerial.xml as detailed here:

http://wiki.micasaverde.com/index.php/Install_LUUP_Plugins (UI4)

You will not need to do step 2 if you already created one instance! In the description field just name it something unique to help you identify each one.[/quote]

Ai of course, sorry… Thnx!!

Has anyone tested the IPSerial plugin with a Digi PortServer? Does it work with it?

Thanks!

Cant see why not so long as you match the baud rate, data bits and stop bits! I have 3 different devices connected to IP serial devices and they all work fine.