HONEY Documents
HOMESHOPFACEBOOK
  • Get Started
  • HONEY Modbus IO
    • MODEBUS-IO 8 IN 8 OUT ( Relay ) [ HONEY-E32-8DI-8RO ]
      • การตั้งค่า WiFi Config
      • Modbus Protocol
      • การใช้งานร่วมกับ +WECON HMI
      • การใช้งานร่วมกับ +SAMKOON HMI
      • การใช้งานร่วมกับ +Node-RED (Modbus-TCP)
      • การใช้งานร่วมกับ +Home Assistant
      • การใช้งานร่วมกับ +V-BOX IIoT (V-net)
      • PIN Define ( Arduino )
    • RESTApi for Modbus IO
Powered by GitBook
On this page
  • การควบคุมบอร์ด Modbus IO ผ่าน HOME Assistant ( Modbus TCP )
  • วิธีการใช้งานผ่าน Modbus IO ( Home Assistant )
  1. HONEY Modbus IO
  2. MODEBUS-IO 8 IN 8 OUT ( Relay ) [ HONEY-E32-8DI-8RO ]

การใช้งานร่วมกับ +Home Assistant

การเชื่อมต่อ HOME Assistant กับบอร์ด HONE Modbus IO

การควบคุมบอร์ด Modbus IO ผ่าน HOME Assistant ( Modbus TCP )

ตัวอย่างการ config

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: 10y

วิธีการใช้งานผ่าน Modbus IO ( Home Assistant )

Previousการใช้งานร่วมกับ +Node-RED (Modbus-TCP)Nextการใช้งานร่วมกับ +V-BOX IIoT (V-net)

Last updated 1 year ago