Tying once again…
Last working verion HA.0114 from then,
modbus is not longer working properly,syntax had changed , once i have update the syntax , commands are sent BUT, status is not being updated .
Did anyone manage to resolve it?
Old settings which are FULLY working on old version:
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
- 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
New settings -does not update status, nor working with include
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