Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"KCS" v2 firmware MQTT protocol document
#1
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.


Attached Files
.pdf   KC868-A-series-protocol-MQTT_firmware_V2.pdf (Size: 115.15 KB / Downloads: 814)
Reply
#2
(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 ?
Reply
#3
sure.
Reply
#4
Is it possible to turn an output on with timer via MQTT? E.g. turn on output1 for 1 second (then turn automatically off)?
Reply
#5
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.
Reply
#6
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.
Reply
#7
everboard will have a UID. you can check on config webpage, there is serial number.
   
Reply
#8
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

because it results to ERROR.

is my code right sir??

please advise, thank you sir.


Attached Files Image(s)
           
Reply
#9
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?

please advise sir... thank you.
Reply
#10
State topic: KC868_A64/B48A0A404664/STATE

just subscrip state topic, when digital input state changed, will auto feedback mqtt message.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)