Ticket #185 (new enhancement)

Opened 7 years ago

Last modified 7 years ago

Support for a virtual COM-port allowing other Homeautomation software use a TellStick Net

Reported by: stephane dierick <sdierick@…> Owned by:
Priority: minor Milestone: Some future release / Patches welcome
Component: telldus-core Version: 2.1.0
Keywords: Cc:
Blocked By: Blocking:
Platform: Windows Sensitive:
Verified by Telldus: no

Description

I would suggest to develop a specific driver that could:

  • From one side, emulate a viruel USB/COM port so it could be used by the several existing home automation softwares (homeseer,...)
  • At the other side, convert the instruction sent to virtual COM port into TCP requests for the Telldus Net. That could be implemented in SOAP or RAW TCP or UDP depending what the telldusnet device is supporting easyly.

Check that GPL project:

 http://com0com.sourceforge.net/doc/UsingCom0com.pdf

Part of this master project based on virtual com port pairing:

 http://sourceforge.net/projects/com0com/

Problems:

  • Windows based software
  • Need to be adapted because we don't want to connect like This

PC.A--virtualCOM------tcp------virtualCOM--PC.B
but
PC.A--virtualCOM------tcp (or UDP??)------TelldusNet

Change History

comment:1 Changed 7 years ago by micke prag <micke.prag@…>

  • Milestone set to Some future release / Patches welcome

Since this project is released under GPL we cannot use any code in our project.
We have to rewrite the same functionality in our code or use the software "as is".

comment:2 Changed 7 years ago by carlos alarcon <caralarfer@…>

Maybe it can be useful  http://www.dest-unreach.org/socat/doc/socat-ttyovertcp.txt
It telles how to configure a Host with a Serial Device so it will wait for TCP connections from another host that will be mapped into the serial device.

So it could be set in the other way. The Net opens up a listen socket on a port, and from the Server (PC) we connect to that socet and send it all to Serial device which would be use by Telldus-core as used today

Info about RS-232 to Ethernet, here:  http://blog.philippklaus.de/2011/08/make-rs232-serial-devices-accessible-via-ethernet/

Last edited 7 years ago by carlos alarcon <caralarfer@…> (previous) (diff)
Note: See TracTickets for help on using tickets.