Skip to content

Instantly share code, notes, and snippets.

@jackrobotics
Created May 30, 2022 02:45
Show Gist options
  • Save jackrobotics/2b9c641f4660e73b8070641b87ec7ecc to your computer and use it in GitHub Desktop.
Save jackrobotics/2b9c641f4660e73b8070641b87ec7ecc to your computer and use it in GitHub Desktop.
modbus:
- name: "HONEY_MODBUS_IO"
type: tcp
host: 192.168.1.180
port: 502
delay: 5
timeout: 2
switches:
- name: "Y0"
address: 0
write_type: coil
verify:
input_type: coil
scan_interval: 10
- name: "Y1"
address: 1
write_type: coil
verify:
input_type: coil
scan_interval: 10
- name: "Y2"
address: 2
write_type: coil
verify:
input_type: coil
scan_interval: 10
- name: "Y3"
address: 3
write_type: coil
verify:
input_type: coil
scan_interval: 10
- name: "Y4"
address: 4
write_type: coil
verify:
input_type: coil
scan_interval: 10
- name: "Y5"
address: 5
write_type: coil
verify:
input_type: coil
scan_interval: 10
- name: "Y6"
address: 6
write_type: coil
verify:
input_type: coil
scan_interval: 10
- name: "Y7"
address: 7
write_type: coil
verify:
input_type: coil
scan_interval: 10
binary_sensors:
- name: "X0"
address: 0
input_type: discrete_input
scan_interval: 10
- name: "X1"
address: 1
input_type: discrete_input
scan_interval: 10
- name: "X2"
address: 2
input_type: discrete_input
scan_interval: 10
- name: "X3"
address: 3
input_type: discrete_input
scan_interval: 10
- name: "X4"
address: 4
input_type: discrete_input
scan_interval: 10
- name: "X5"
address: 5
input_type: discrete_input
scan_interval: 10
- name: "X6"
address: 6
input_type: discrete_input
scan_interval: 10
- name: "X7"
address: 7
input_type: discrete_input
scan_interval: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment