07-24-2023, 03:43 AM (This post was last modified: 08-22-2023, 02:49 AM by admin.)
Note: This protocol document use for KinCony smart controller:
KC868-AM ASR A2 A4 A4S A6 A8 A8M A8S A16 A16S E16S A32 A32M A64 A128 AG AK AI AIO AP
Different board will have different channel of digital output, digital input , ADC, DAC, so the protocol is same , just according to the hardware resource to set channel number.
(07-24-2023, 03:43 AM)admin Wrote: Note: This protocol document use for KinCony smart controller:
KC868-AM ASR A2 A4 A4S A6 A8 A8M A8S A16 A16S E16S A32 A32M A64 A128 AG AK AI AIO AP
Different board will have different channel of digital output, digital input , ADC, DAC, so the protocol is same , just according to the hardware resource to set channel number.
Does this protocol work with KCS firmware V1.0.27 ?
this is "auto off" option for relay, you can set this in KCS config webpage. so that you turn on relay by mqtt command, it will auto off after some seconds you have preset.
Good day sir, what is the UID for KC868-A16S?
i want to use mqtt but i do not know where to find my A16S UID. Can you give mqtt example code? thank you.
04-04-2024, 02:23 AM (This post was last modified: 04-04-2024, 02:51 AM by NewONE.)
sir i changed the uid to my board serial number, but homeassistant and the kc868 a16 board not communicating. please check what is problem with code . i am using KC868-A26S
good day sir, i delete these codes from config:
mqtt:
broker: 10.10.10.237
port: 1883
username: mqtt
password: 123
04-04-2024, 06:09 AM (This post was last modified: 04-04-2024, 06:14 AM by NewONE.)
I find this code below is working using mqtt on a16s board.
- name: 'output-1'
unique_id: output-1
state_topic: 'KC868_A16S/E05A1B5A547C/STATE'
command_topic: 'KC868_A16S/E05A1B5A547C/SET'
payload_on: '{"output1":{"value":true}}'
payload_off: '{"output1":{"value":false}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0
Now i am trying to add the binary input of the A16S board using mqtt to home assisstant.
but still not successful.
Sir can you provide config yaml code for using the binary input, sensor, adc?