Good evening I am new to setting up Modbus with HA. The issue I am having is that I can activate all 8 of the relays from HA but they will only stay active on the waveshare control relay board for 60 seconds. Now if I use Modbus pole the and activate the relays they will stay on until I turn them off. Also with Modbus pole the TXD and RXD light flash showing data activity. When i switch back to HA they flash one time with command of the relay. I have tried adding scan intervals. I am not doing something right here at all. I have been working at this for a few days and at a loss. I would greatly apricate any advice I have included a copy of my yaml file
modbus:
-
name: “Waveshare_TCP”
type: tcp
host: “192.168.50.142”
port: 502delay: 0
message_wait_milliseconds: 0
timeout: 5
switches:- name: “outdoor lights”
address: 0
slave: 1
write_type: coil
scan_interval: 15 - name: “relay 2”
address: 1
slave: 1
write_type: coil
scan_interval: 15 - name: “relay 3”
address: 2
slave: 1
write_type: coil
scan_interval: 15 - name: “relay 4”
address: 3
slave: 1
write_type: coil
scan_interval: 15 - name: “relay 5”
address: 4
slave: 1
write_type: coil
scan_interval: 15 - name: “relay 6”
address: 5
slave: 1
write_type: coil
scan_interval: 15 - name: “relay 7”
address: 6
slave: 1
write_type: coil
scan_interval: 15 - name: “relay 8”
address: 7
slave: 1
write_type: coil
scan_interval: 15
- name: “outdoor lights”
