mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Remove configuration details
This commit is contained in:
parent
7b60f6ca77
commit
352d3532e7
@ -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…
x
Reference in New Issue
Block a user