Code Monkey home page Code Monkey logo

tekmar-packetserv's People

Contributors

dependabot[bot] avatar willcodeforcats avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jamestalmage

tekmar-packetserv's Issues

Feature Request: Allow RS232 servers.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.