No description
This repository has been archived on 2026-11-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C++ 70.4%
  • Python 29.6%
Find a file
2022-11-03 12:53:40 +01:00
components/stream_server add binary sensor to check if client is connected 2022-11-03 12:53:40 +01:00
README.md add binary sensor to check if client is connected 2022-11-03 12:53:40 +01:00

Stream server for ESPHome

Custom component for ESPHome to expose a UART stream over WiFi or Ethernet. Can be used as a serial-to-wifi bridge as known from ESPLink or ser2net by using ESPHome.

This component creates a TCP server listening on port 6638 (by default), and relays all data between the connected clients and the serial port. It doesn't support any control sequences, telnet options or RFC 2217, just raw data.

Usage

Requires ESPHome v1.18.0 or higher.

external_components:
  - source: github://oxan/esphome-stream-server

stream_server:

You can set the UART ID and port to be used under the stream_server component.

uart:
   id: uart_bus
   # add further configuration for the UART here

stream_server:
   uart_id: uart_bus
   port: 1234

# optional binary sensor, to indicate if the socket is connect
binary_sensor:
  - platform: stream_server
    stream_server: uart_bus