Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi serial bridge #213

Closed
adrianmihalko opened this issue May 4, 2019 · 2 comments
Closed

Wifi serial bridge #213

adrianmihalko opened this issue May 4, 2019 · 2 comments

Comments

@adrianmihalko
Copy link

adrianmihalko commented May 4, 2019

Describe the problem you have/What new integration you would like

It would be great to have a serial to Wifi bridge in Esphome, like esp-link:

https://github.com/jeelabs/esp-link

Why it would be this a nice component?

  1. You can wirelessly access your serial devices / output
  2. You can make a wireless Rflink 433mhz reader/transmitter if you connect to arduino serial output, then use it in Home Assistant in TCP mode: https://www.home-assistant.io/components/rflink/

Esp-link has more functionality, but for a start a simple read serial on XY pins and forward to TCP port would be more than enough.

Please describe your use case for this integration and alternatives you've tried:

Additional context

@KiLLeRRaT
Copy link

I'm a bit new to all this, but I think this would be a pretty good feature to have.

I guess if there is a bin output from ESPHome then you can use that bin file and flash it manually using ESPLink the first time. Once that's done, you can just OTA using ESPHome from there onwards?

@OttoWinter
Copy link
Member

ESPHome is not a collection of projects, it's a collection of components that communicate through defined interfaces (like sensor, binary_sensor). A component is required to not manage both the front-end (like web server, TCP) and backend (like UART). A wifi-serial would break this abstraction. One potential way would be to have a stream abstraction so it would be serial -> stream -> wifi. But I don't really see enough of a use-case to get this into the core.

Sure it would be possible in custom code (in fact the custom UART interface is already documented and on the website).

@esphome esphome locked and limited conversation to collaborators Jun 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants