Posts: 6,209
Threads: 803
Joined: Oct 2020
Reputation:
151
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.
Posts: 27
Threads: 0
Joined: Jul 2023
Reputation:
0
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
Posts: 6,209
Threads: 803
Joined: Oct 2020
Reputation:
151
08-16-2023, 12:21 AM
(This post was last modified: 08-16-2023, 12:22 AM by admin.)
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?
Posts: 15
Threads: 2
Joined: Apr 2023
Reputation:
0
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.
Posts: 6,209
Threads: 803
Joined: Oct 2020
Reputation:
151
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?
Posts: 6,209
Threads: 803
Joined: Oct 2020
Reputation:
151
08-17-2023, 07:54 AM
(This post was last modified: 08-17-2023, 07:55 AM by admin.)
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.
Posts: 6,209
Threads: 803
Joined: Oct 2020
Reputation:
151
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.