how to add RS485 relay board to ESPHome by Modbus Controller Switch

Поделиться
HTML-код
  • Опубликовано: 15 окт 2024
  • forum article:
    www.kincony.co...
    KinCony "KCS" firmware Relay Module Modbus protocol document:
    www.kincony.co...
    visit for more:
    KinCony's website: www.kincony.com
    Aliexpress Online Store: kincony.aliexp...
    Facebook: / kincony.smarthome
    Twitter: / kincony

Комментарии • 27

  • @محمدرزق-ح1ح
    @محمدرزق-ح1ح Год назад +1

    excellent
    I am very happy about that
    I hope you have switches that work with the mod bus
    Suggest making a playlist for the mod bus with Homeassistant
    Controller, switches and sensors

    • @KinCony
      @KinCony  Год назад +1

      thanks, next video will be modbus energy meter.

  • @GiuseppeLabriola
    @GiuseppeLabriola Год назад

    Sempre il numero 1!

  • @PGPLAYS99
    @PGPLAYS99 Год назад

    Just the video I was looking for. Keep it up

  • @MichalKubinec
    @MichalKubinec Год назад

    Hello, I like your products, but I can't find information on how you managed the EMI

    • @KinCony
      @KinCony  Год назад

      what's EMI?

    • @MichalKubinec
      @MichalKubinec Год назад

      @@KinCony electromagnetic interference while switching off some devices with relays. With the Arduino I had to use TVS diodes to kill these voltage spikes

    • @KinCony
      @KinCony  Год назад

      maybe you have connect with AD load, but it's important with PCB design to kill that.@@MichalKubinec

  • @mindracing
    @mindracing Год назад

    Very well explained. Thank you.

  • @scottaberdonian7374
    @scottaberdonian7374 Год назад

    Hi Kin. Have you tried to make audio products like DSP or DACS, or AMPLIFIERS?

    • @KinCony
      @KinCony  Год назад +1

      i am audio fans of AMPLIFIERS :)

  • @AlonsoVPR
    @AlonsoVPR 3 месяца назад

    Same 2 terminals for Modbus Daisychain?

    • @KinCony
      @KinCony  3 месяца назад

      yes, end terminal just add 120 ohm "Terminal resistance".

  • @Jan-sn3tv
    @Jan-sn3tv Год назад

    is it possible to communicate between 2 esphome boards with rs485? i want to have communication save if homeassistant is offline ;)

    • @KinCony
      @KinCony  Год назад

      sure, no problem. two "MASTER".

    • @Jan-sn3tv
      @Jan-sn3tv Год назад

      @@KinCony no i think that is not possible at the moment. i want 2 kincony boards flashed with esphome. and they should communicate to each other with modbus. so for example you can push button on board1 and at board2 is relay on.

    • @KinCony
      @KinCony  Год назад

      @@Jan-sn3tv Don't control at the same time at a certain moment

  • @ersheikismail8293
    @ersheikismail8293 Год назад

    Great update....

  • @guilhermeroneto
    @guilhermeroneto Год назад

    No 120 Ohm resistor needed?

    • @KinCony
      @KinCony  Год назад

      if use multi device , need it

  • @nikhilps5234
    @nikhilps5234 Год назад

    How kincony firmware and esphome code work simultaneously on same A16 board

    • @KinCony
      @KinCony  Год назад

      RS485 “MASTER" work by ESPHome, RS485 "SLAVE" work by KinCony firmware.

  • @dariotielens8062
    @dariotielens8062 Год назад

    would this be a correct config with 4 A16 boards?
    uart:
    id: mbus
    tx_pin: GPIO13
    rx_pin: GPIO16
    baud_rate: 9600
    modbus:
    id: modbus1
    uart_id: mbus
    send_wait_time: 200ms
    modbus_controller_board2:
    - id: a16-Board2
    address: 1
    modbus_id: modbus1
    update_interval: 1s
    modbus_controller_board3:
    - id: a16-Board3
    address: 2
    modbus_id: modbus1
    update_interval: 1s
    modbus_controller_board4:
    - id: a16-Board4
    address: 3
    modbus_id: modbus1
    update_interval: 1s
    switch:
    - platform: modbus_controller_board2
    name: 'modbus_board2-switch1'
    address: 0 # 0:relay1 1:relay2 ......
    register_type: coil
    bitmask: 1c
    ....
    switch:
    - platform: modbus_controller_board2
    name: 'modbus_board2-switch16'
    address: 15 # 0:relay1 1:relay2 ......
    register_type: coil
    bitmask: 1
    #Board 3
    switch:
    - platform: modbus_controller_board3
    name: 'modbus_board3-switch1'
    address: 0 # 0:relay1 1:relay2 ......
    register_type: coil
    bitmask: 1c
    ....
    switch:
    - platform: modbus_controller_board3
    name: 'modbus_board3-switch16'
    address: 15 # 0:relay1 1:relay2 ......
    register_type: coil
    bitmask: 1
    #Board 4
    switch:
    - platform: modbus_controller_board4
    name: 'modbus_board4-switch1'
    address: 0 # 0:relay1 1:relay2 ......
    register_type: coil
    bitmask: 1c
    ....
    switch:
    - platform: modbus_controller_board4
    name: 'modbus_board4-switch16'
    address: 15 # 0:relay1 1:relay2 ......
    register_type: coil
    bitmask: 1

    • @KinCony
      @KinCony  Год назад

      you can post your question to our forum: www.kincony.com/forum it's easy to answer questions