Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-HA RS485 Button Adapter Released
#21
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.
Reply
#22
(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?
Reply
#23
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
Reply
#24
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?
Reply
#25
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.
Reply
#26
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?
Reply
#27
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.
Reply
#28
(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?
Reply
#29
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.
Reply
#30
(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.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)