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
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
thanks, next video will be modbus energy meter.
Sempre il numero 1!
thanks
Just the video I was looking for. Keep it up
ok
Hello, I like your products, but I can't find information on how you managed the EMI
what's EMI?
@@KinCony electromagnetic interference while switching off some devices with relays. With the Arduino I had to use TVS diodes to kill these voltage spikes
maybe you have connect with AD load, but it's important with PCB design to kill that.@@MichalKubinec
Very well explained. Thank you.
you are welcome
Hi Kin. Have you tried to make audio products like DSP or DACS, or AMPLIFIERS?
i am audio fans of AMPLIFIERS :)
Same 2 terminals for Modbus Daisychain?
yes, end terminal just add 120 ohm "Terminal resistance".
is it possible to communicate between 2 esphome boards with rs485? i want to have communication save if homeassistant is offline ;)
sure, no problem. two "MASTER".
@@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.
@@Jan-sn3tv Don't control at the same time at a certain moment
Great update....
No 120 Ohm resistor needed?
if use multi device , need it
How kincony firmware and esphome code work simultaneously on same A16 board
RS485 “MASTER" work by ESPHome, RS485 "SLAVE" work by KinCony firmware.
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
you can post your question to our forum: www.kincony.com/forum it's easy to answer questions