Smart Home Automation Forum
KC868-HA RS485 Button Adapter Released - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: News (https://www.kincony.com/forum/forumdisplay.php?fid=5)
+--- Thread: KC868-HA RS485 Button Adapter Released (/showthread.php?tid=2403)

Pages: 1 2 3 4 5 6 7


RE: KC868-HA RS485 Button Adapter Released - admin - 08-15-2023

Is it possible to connect KC868-HA-button-controller to KC868-A64-with ESPHome?
-> sure, KC868-A64 download "KCS" v2 newest firmware will support KC868-HA buttons directly, it can work without home assistant.

And is it possible to get feedback to led outputs from Home Assistant to KC868-HA?
-> relay state feedback already can do without home assistant. KC868-HA can control A64's OUTPUT, A64's OUTPUT state can feedback to KC868-HA. without home assistant is better.


RE: KC868-HA RS485 Button Adapter Released - tatu - 08-15-2023

(08-15-2023, 02:50 PM)admin Wrote: Is it possible to connect KC868-HA-button-controller to KC868-A64-with ESPHome?
-> sure, KC868-A64 download "KCS" v2 newest firmware will support KC868-HA buttons directly, it can work without home assistant.

And is it possible to get feedback to led outputs from Home Assistant to KC868-HA?
-> relay state feedback already can do without home assistant. KC868-HA can control A64's OUTPUT, A64's OUTPUT state can feedback to KC868-HA. without home assistant is better.


I use also HMI-panels (Android-tabs) to control Home Assistant entities and lot of scripts, that´s why I need to get feedback from Home Assistant.

-> Turning output on/off in Home Assistant by HMI-tab -> how to get KC868-HA led status change?

And what is the maximum number of KC868-HA that I can connect to one KC868-A64-PLC?


RE: KC868-HA RS485 Button Adapter Released - NicTheModder - 08-15-2023

Thank you for your reply.
Yes indeed I would like to see the 6 inputs in HomeAssistant.
The configuration in HomeAssistant is nearly the same as the one to apply in ESP-Home. Both are YAML-configurations.

Greetings
Nic


RE: KC868-HA RS485 Button Adapter Released - admin - 08-16-2023

And what is the maximum number of KC868-HA that I can connect to one KC868-A64-PLC?        MAX: 20pcs of KC868-HA.
now you do want some KC868-HA connect to Pi's USB-RS485 adapter to read 6 INPUT state in home assistant?


RE: KC868-HA RS485 Button Adapter Released - tatu - 08-16-2023

Best option will be if it is possible to connect KC868-HAs directly to KC868-A64 PLC RS485 port and with ESPHome can read input states and sen states to KC868-HA outputs.


RE: KC868-HA RS485 Button Adapter Released - admin - 08-17-2023

KC868-HA connect to KC868-A64 by RS485.
KC868-A64 conenct to router by ethernet.
in home assistant , you want to see 6 digital input state (KC868-HA) , right?


RE: KC868-HA RS485 Button Adapter Released - admin - 08-17-2023

KC868-HA just send RS485 command for TOGGLE relay, so it will not send ON/OFF binary state. just when press the button or release button, send same command. for example:
01 10 00 0A 00 06 0C 01 01 00 00 00 00 00 00 00 00 00 00 75 4F
01 10 00 0A 00 06 0C 01 01 00 00 00 00 00 00 00 00 00 00 75 4F

these are two command when pressed button and released button. they just send same command for TOGGLE relay.

so if you want use many digital input port, you can connect with KC868-AI board, that will have 48CH digital input ports.


RE: KC868-HA RS485 Button Adapter Released - tatu - 08-17-2023

(08-17-2023, 07:54 AM)admin Wrote: KC868-HA just send RS485 command for TOGGLE relay, so it will not send ON/OFF binary state. just when press the button or release button, send same command. for example:
01 10 00 0A 00 06 0C 01 01 00 00 00 00 00 00 00 00 00 00 75 4F
01 10 00 0A 00 06 0C 01 01 00 00 00 00 00 00 00 00 00 00 75 4F

That will be just fine to my use, how to get ESPHome to read this command?
And send command to KC868-HA to toggle indicator outputs on/off?


RE: KC868-HA RS485 Button Adapter Released - admin - 08-17-2023

do you only want to know the button have pressed?

And send command to KC868-HA to toggle indicator outputs on/off? i don't understand. HA's OUTPUT port use for LED indicator, that's feedback from kincony's relay controller.


RE: KC868-HA RS485 Button Adapter Released - tatu - 08-17-2023

(08-17-2023, 02:03 PM)admin Wrote: do you only want to know the button have pressed?


Yes, exactly. With that data it´s easy to create scripts and automations in Home Assistant.

[quote pid="8454" dateline="1692281022"]
And send command to KC868-HA to toggle indicator outputs on/off?    i don't understand.  HA's OUTPUT port use for LED indicator, that's feedback from kincony's relay controller.
[/quote]

I want to send feedback from Home Assistant ESPHome to KC868-HA indicator outputs (on/off)

Sorry for my bad english, I know it´s hard to understand but hope you figure it out what I mean.