From 8e4f825ab7996ffa3a2df1bfc121720216b6fceb Mon Sep 17 00:00:00 2001 From: R Huish Date: Sun, 19 Mar 2017 20:51:20 +0000 Subject: [PATCH] Expanded detail in RFLink TCP mode (#2292) * Expanded detail in RFLink TCP mode * Update rflink.markdown * Updated as per Landrash comments * Update rflink.markdown --- source/_components/rflink.markdown | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/source/_components/rflink.markdown b/source/_components/rflink.markdown index e33633485f4..ff64c8cf84d 100644 --- a/source/_components/rflink.markdown +++ b/source/_components/rflink.markdown @@ -12,7 +12,7 @@ ha_category: Hub ha_release: 0.38 --- -The `rflink` component support devices that use [Rflink gateway firmware](http://www.nemcon.nl/blog2/), for example the [Nodo Rflink Gateway](https://www.nodo-shop.nl/nl/21-rflink-gateway). Rflink gateway is an Arduino firmware that allows communication with 433 Mhz devices using cheap hardware (Arduino + 433 Mhz tranceiver). +The `rflink` component support devices that use [Rflink gateway firmware](http://www.nemcon.nl/blog2/), for example the [Nodo Rflink Gateway](https://www.nodo-shop.nl/nl/21-rflink-gateway). Rflink gateway is firmware for the Arduino MEGA 2560 that allows communication with 433 Mhz devices using cheap hardware (Arduino + 433 Mhz tranceiver). The 433 Mhz spectrum is used by many manufacturers mostly using their own protocol/standard and includes devices like: light switches, blinds, weather stations, alarms and various other sensors. @@ -60,7 +60,17 @@ To expose the usb/serial interface over TCP on a different host (Linux) the foll $ socat /dev/ttyACM0,b57600 TCP-LISTEN:1234,reuseaddr ``` -Other methods of exposing the serial interface over TCP are possible (eg: ESP8266 or using Arduino Wifi shield). Basically the serial stream should be directly mapped to the TCP stream. +Other methods of exposing the serial interface over TCP are possible (eg: ESP8266 or using Arduino Wifi shield). Essentially the serial stream should be directly mapped to the TCP stream. + +Tested with Wifi serial bridge [esp-link V2.2.3](https://github.com/jeelabs/esp-link/releases/tag/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. + +

+Due to different logical levels, a voltage level shifter is required between the 3.3V NodeMCU and 5V Arduino MEGA 2560 pins. +

+ +

+When re-flashing the Arduino MEGA, disconnect the ESP8266 to avoid programming difficulties. +

```yaml # Example configuration.yaml entry