Smart Home Automation Forum

Full Version: on relays via modbus rs485
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Olá, estou com dificuldade para ativar os relés da placa KC868 - através do pool modbus consigo ler as entradas analógicas, ler as entradas digitais, mas não consigo ativar os relés. Você poderia me enviar a documentação.
if you downlaoded KCS firmware and enabled MODBUS setting in KCS webpage. then you can use this modbus protocol, here is document:
https://www.kincony.com/forum/showthread.php?tid=2528
My problem still persists, I can read the analogues, read the digital inputs, and read the status of the coil. But I can't activate the coils and I can't activate the ADC analogues. In other words, I can't activate it, only have feedbeck
these days , i will test it, then feedback to you.
(06-20-2024, 12:32 PM)admin Wrote: [ -> ]these days , i will test it, then feedback to you.

thank you very much. If you could also perform the temperature sensor test, reading the value on the kc868-a6 board via modbus, I would be grateful
KCS fimrware not support RS485 sensor directly.
if your A6 board work with ESPHome, you can config yaml for modbus controller work with your RS485 temperature sensor.
(06-20-2024, 12:40 PM)admin Wrote: [ -> ]KCS fimrware not support RS485 sensor directly.
if your A6 board work with ESPHome, you can config yaml for modbus controller work with your RS485 temperature sensor.

I expressed myself wrong, I placed a ds18b20 sensor on the board, and I would like to read the temperature value via modbus, if possible. but I am waiting for the activation of the coils and the ADC to return
here is tested result with modbus pull:
[attachment=5456]
enable RS485 modbus RTU protocol on KCS webpage firstly. then you can use relay ON/OFF command for testing.
[attachment=5457]
[attachment=5458]
you can see the relay1 is ON. here is modbus pull setting:
[attachment=5459]
[attachment=5460]

here is read ADC value command:
[attachment=5461]
read 4 registers by modbus pull:
[attachment=5462]
[attachment=5463]
ADC1 have connect with 3.3v dc from KC868-A6 board.