Hello all!
I updated to supervisor-2021.06.0 and see that Modbus sensors are unavailable.
Asked my friend to check what happened - he updated the code to this:
modbus:
name: modbus_usb
type: serial
method: rtu
port: /dev/ttyUSB0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
close_comm_on_error: true
binary_sensors:
sensors:
- name: 1_ValveHeat
slave: 1
address: 7
scan_interval: 30
input_type: holding
- name: 1_TmpNTC
slave: 1
address: 1
data_type: uint
scale: 0.1
precision: 1
unit_of_measurement: "C"
scan_interval: 30
input_type: holding
- name: 1_UstFan
slave: 1
address: 6
data_type: uint
unit_of_measurement: "%"
scan_interval: 30
input_type: holding
- name: 1_TimeLan
slave: 1
address: 10
data_type: uint
unit_of_measurement: " sec"
scan_interval: 30
input_type: holding
But it’s not helped:
2021-06-14 23:36:08 ERROR (SyncWorker_13) [homeassistant.components.modbus.modbus] Pymodbus: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 2 bytes (0 received)
How fix? What to do more? Please, help!