Skip to content

Feature Request: Allow RS232 servers. #26

@jamestalmage

Description

@jamestalmage

It would be great to allow RS232 to Ethernet devices. Like this one. There's a RS232-only version that only costs $25 (I assume it performs just as well as the RS232/RS485/RS422 version I bought).

From what I can tell, the device works great, no caveats. I started on a basic Homebridge plugin for the 482 before thinking to check if something was available for HA (python noob, so I default to JS). I modeled it off the same python toolkit from Tekmar that it looks like you modeled yours after. I think the conversion would be pretty easy. Just open a TCP socket and start reading and writing bytes the way you do now, just to a socket instead of a serial port.

I almost think you should move most of the packetserve code into the main plugin (the tekmar specific stuff: byte stuffing, escaping, packetizing, etc), and just have packetserv essentially be a dumb serial-to-ethernet device like the one I bought above. Users could use packetserve for non-Tekmar RS232/485 devices, and purchasers of serial-to-ethernet devices could avoid needing to install that add-on entirely. (just a thought)

Back to the main request - It would be great to make this work with 3rd party ethernet-to-serial devices

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions