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

Sdílet
Vložit
  • čas přidán 2. 04. 2023
  • forum article:
    www.kincony.com/forum/showthr...
    KinCony "KCS" firmware Relay Module Modbus protocol document:
    www.kincony.com/forum/showthr...
    visit for more:
    KinCony's website: www.kincony.com
    Aliexpress Online Store: kincony.aliexpress.com
    Facebook: / kincony.smarthome
    Twitter: / kincony
  • Jak na to + styl

Komentáře • 27

  • @PGPLAYS99
    @PGPLAYS99 Před rokem

    Just the video I was looking for. Keep it up

  • @user-so5uo1xx5t
    @user-so5uo1xx5t Před rokem +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  Před rokem +1

      thanks, next video will be modbus energy meter.

  • @GiuseppeLabriola
    @GiuseppeLabriola Před rokem

    Sempre il numero 1!

  • @mindracing
    @mindracing Před rokem

    Very well explained. Thank you.

  • @ersheikismail8293
    @ersheikismail8293 Před rokem

    Great update....

  • @scottaberdonian7374
    @scottaberdonian7374 Před rokem

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

    • @KinCony
      @KinCony  Před rokem +1

      i am audio fans of AMPLIFIERS :)

  • @Jan-sn3tv
    @Jan-sn3tv Před rokem

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

    • @KinCony
      @KinCony  Před rokem

      sure, no problem. two "MASTER".

    • @Jan-sn3tv
      @Jan-sn3tv Před rokem

      @@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  Před rokem

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

  • @nikhilps5234
    @nikhilps5234 Před rokem

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

    • @KinCony
      @KinCony  Před rokem

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

  • @AlonsoVPR
    @AlonsoVPR Před měsícem

    Same 2 terminals for Modbus Daisychain?

    • @KinCony
      @KinCony  Před měsícem

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

  • @MichalKubinec
    @MichalKubinec Před 11 měsíci

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

    • @KinCony
      @KinCony  Před 11 měsíci

      what's EMI?

    • @MichalKubinec
      @MichalKubinec Před 11 měsíci

      @@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  Před 11 měsíci

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

  • @guilhermeroneto
    @guilhermeroneto Před rokem

    No 120 Ohm resistor needed?

    • @KinCony
      @KinCony  Před rokem

      if use multi device , need it

  • @dariotielens8062
    @dariotielens8062 Před rokem

    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  Před rokem

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