home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.75k stars 7.19k forks source link

RFlink integration via ESPHome serial bridge #19207

Closed jeroen85 closed 2 years ago

jeroen85 commented 3 years ago

Feedback

Following up on the description in the current documentation:

Tested with Wifi serial bridge esp-link V2.2.3 running on a NodeMCU (ESP8266 Wifi module) with ESP8266 TXD0 (pin D10) and RXD0 (pin D9) connected to Arduino MEGA 2560 RX (Pin 2) and TX (Pin 3) respectively.

It is also very easy to create an serial bridge esp-link with use of ESPHome, by use of the following custom component: ESPHome stream server

Add this to your ESPhome yaml

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

logger:
  baud_rate: 0

uart:
  - rx_pin: RX
    tx_pin: TX
    baud_rate: 57600
    data_bits: 8
    parity: NONE
    stop_bits: 1
    id: uart_rflink

stream_server:  
  uart_id: uart_rflink
  port: 1234  

I might be worth to add this description to the documentation.

URL

https://www.home-assistant.io/integrations/rflink/

Version

2021.9.2

Additional information

No response

probot-home-assistant[bot] commented 3 years ago

Hey there @javicalle, mind taking a look at this feedback as it has been labeled with an integration (rflink) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

klaasnicolaas commented 3 years ago

Pieces of code for ESPHome would rather belong on the esphome website, a reference would be an option in the Home Assistant documentation.

frenck commented 2 years ago

I agree with @klaasnicolaas on that one. This is more a starting point for ESPHome, once that is in, we can certainly link to it.