Update Kwb sensor component configuration (#7127)

This commit is contained in:
Klaas Schoute 2018-10-28 18:06:43 +01:00 committed by Fabian Affolter
parent a7b9f4b625
commit c8e634a819

View File

@ -42,20 +42,33 @@ Telnet terminal server with a serial-ethernet converter:
raw: False raw: False
``` ```
Configuration variables: Take a good look at which configuration variables are for `TCP` use or for `serial` use.
*Required if used with a serial-ethernet converter* {% configuration %}
raw:
- **host**: The IP-address of the serial server description: Should the raw serial output be shown as a sensor.
- **port**: The TCP-port of the serial server required: false
- **type**: tcp default: false
type: boolean
*Required if used directly with a serial port* name:
description: The name of the device used in the frontend.
- **device**: The serial device of the machine required: false
- **type**: serial default: KWB
type: string
*Optional for both cases* device:
description: (For serial use) The serial device of the machine.
- **name**: The name of the device used in the frontend required: true
- **raw**: Should the raw serial output be shown as a sensor type: string
host:
description: (For tcp use) The IP-address of the serial server.
required: true
type: string
port:
description: (For tcp use) The TCP-port of the serial server.
required: true
type: integer
type:
description: "Type of sensor, you can choose between: `serial` and `tcp`."
required: true
type: string
{% endconfiguration %}