mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Add description of ""close_comm_on_error". (#17826)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
9d786747e3
commit
2d4be0dce7
@ -48,6 +48,11 @@ modbus:
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
close_comm_on_error:
|
||||
description: Determines if the modbus communication is closed when an error occurs, default is true. Some serial-rs485 adapters send garble to HA when opened, this leads to a disconnect and a new connect, which can continue. If in a running communication the debug log contains a message from pymodbus, with the text "cleaning....", then try this parameter.
|
||||
required: false
|
||||
default: true
|
||||
type: boolean
|
||||
delay:
|
||||
description: Time to delay messages in seconds after connecting. Some modbus devices need a delay typically 1-2 seconds after connection is established in order to prepare the communication. If a device accepts connecting with no response to the requests sent or the device disconnects, this parameter might help.
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user