Hey,
from version 0.1185 modbus syntax is no longer working
Changing into the new syntax work BUT device status is not being updated… ( home assistance coils status remain as before)
Any idea how to resolve this issue?
new settings:
type: serial
method: rtu
port: /dev/ttyUSB0
#port: /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_0133D18C-if00-port0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
timeout: 4
#retry_on_empty: true
#retries: 10
message_wait_milliseconds: 100
switches:
- name: SW001
slave: 3
address: 0
write_type: coil
- name: SW002
slave: 3
address: 1
write_type: coil
- name: SW003
slave: 3
address: 2
write_type: coil
- name: SW004
slave: 3
address: 3
write_type: coil
- name: SW005
slave: 3
address: 4
write_type: coil
- name: SW006
slave: 3
address: 5
write_type: coil
- name: SW007
slave: 3
address: 6
write_type: coil
- name: SW008
slave: 3
address: 7
write_type: coil
old settings:
type: serial
method: rtu
#port: /dev/ttyUSB0
port: /dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_0133D18C-if00-port0
baudrate: 9600
stopbits: 1
bytesize: 8
parity: N
timeout: 4
#delay_before_tx: 100
#delay_between_queries: 100
#message_wait_milliseconds: 50
# Example configuration.yaml entry for a rs485 connection
- platform: modbus
coils:
#====================================Module #1=============================
# First Floor
- name: Switch01
slave: 10
coil: 0
- name: Switch02
slave: 10
coil: 1
- name: Switch03
slave: 10
coil: 2
- name: Switch04
slave: 10
coil: 3
- name: Switch05
slave: 10
coil: 4
- name: Switch06
slave: 10
coil: 5
- name: Switch07
slave: 10
coil: 6
- name: Switch08
slave: 10
coil: 7