Remove configuration details
This commit is contained in:
parent
7b60f6ca77
commit
352d3532e7
1 changed files with 2 additions and 21 deletions
|
@ -3,27 +3,8 @@ homeassistant.components.modbus
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
Modbus component, using pymodbus (python3 branch).
|
Modbus component, using pymodbus (python3 branch).
|
||||||
|
|
||||||
Configuration:
|
For more details about this component, please refer to the documentation at
|
||||||
|
https://home-assistant.io/components/modbus.html
|
||||||
To use the Modbus component you will need to add something like the following
|
|
||||||
to your configuration.yaml file.
|
|
||||||
|
|
||||||
#Modbus TCP
|
|
||||||
modbus:
|
|
||||||
type: tcp
|
|
||||||
host: 127.0.0.1
|
|
||||||
port: 2020
|
|
||||||
|
|
||||||
#Modbus RTU
|
|
||||||
modbus:
|
|
||||||
type: serial
|
|
||||||
method: rtu
|
|
||||||
port: /dev/ttyUSB0
|
|
||||||
baudrate: 9600
|
|
||||||
stopbits: 1
|
|
||||||
bytesize: 8
|
|
||||||
parity: N
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue