From db1ad4af47a2bf6daf62451891363644cb5700d6 Mon Sep 17 00:00:00 2001 From: Oscar Carlsson Date: Mon, 28 Feb 2022 09:29:01 +0100 Subject: [PATCH] Update the RFXTRX integration documentation for newer ser2net versions (#21825) --- source/_integrations/rfxtrx.markdown | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/_integrations/rfxtrx.markdown b/source/_integrations/rfxtrx.markdown index 80d989f2600..28e114c5521 100644 --- a/source/_integrations/rfxtrx.markdown +++ b/source/_integrations/rfxtrx.markdown @@ -58,10 +58,27 @@ Not all protocols as advertised are enabled on the initial setup of your transce You can host your device on another computer by setting up ser2net and example configuration for ser2net looks like this and then using host/port in your Home Assistant configuration. +Configuration example for ser2net older than 4.x.x (check with command `ser2net -v`): + ```text 50000:raw:0:/dev/ttyUSB0:38400 8DATABITS NONE 1STOPBIT ``` +Configuration example for ser2net 4.x.x: + +```yaml +# Example /etc/ser2net.yaml for proxying USB/serial connections +connection: &rfxtrx + accepter: tcp,5000 + enable: on + options: + kickolduser: true + telnet-brk-on-sync: true + connector: serialdev, + /dev/ttyUSB0, + 38400n81,local +``` + ## Settings options To configure options for RFXtrx integration go to **Configuration** >> **Devices & Services** and press **Options** on the RFXtrx card.