Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"KCS" v2.2.7 firmware BIN file download
#1
Here is "KCS" firmware for KinCony KC868-A series (ESP32) board.
How to download and use, online guide: https://www.kincony.com/esp32-kcsv2-firmware.html

v2.2.7 improvement:
1. Fix the problem that the mqtt command does not support the simultaneous processing of multiple commands
2. Fixed mqtt instructions run_rf, run_ir, set_beep returning wrong json format

for example:

{"output1":{"value":true},"dac1":{"value":250}}
   
   

{"output1":{"value":true},"output2":{"value":false},"output3":{"value":true},"output4":{"value":false},"dac1":{"value":125}}
   
   

these can write in one payload.


Attached Files
.zip   KCS_KC868_A2_V2.2.7.zip (Size: 795.11 KB / Downloads: 82)
.zip   KCS_KC868_A4_V2.2.7.zip (Size: 781.84 KB / Downloads: 71)
.zip   KCS_KC868_A4S_V2.2.7.zip (Size: 805.51 KB / Downloads: 56)
.zip   KCS_KC868_A6_V2.2.7.zip (Size: 779.98 KB / Downloads: 113)
.zip   KCS_KC868_A8_V2.2.7.zip (Size: 788.99 KB / Downloads: 86)
.zip   KCS_KC868_A8M_V2.2.7.zip (Size: 805.09 KB / Downloads: 44)
.zip   KCS_KC868_A8S_V2.2.7.zip (Size: 806.68 KB / Downloads: 42)
.zip   KCS_KC868_A16_V2.2.7.zip (Size: 796.18 KB / Downloads: 169)
.zip   KCS_KC868_A16S_V2.2.7.zip (Size: 806.71 KB / Downloads: 67)
.zip   KCS_KC868_A32_V2.2.7.zip (Size: 786.3 KB / Downloads: 73)
.zip   KCS_KC868_A32M_V2.2.7.zip (Size: 804.48 KB / Downloads: 41)
.zip   KCS_KC868_A64_V2.2.7.zip (Size: 786.33 KB / Downloads: 45)
.zip   KCS_KC868_A128_V2.2.7.zip (Size: 786.2 KB / Downloads: 38)
.zip   KCS_KC868_AG_V2.2.7.zip (Size: 764.38 KB / Downloads: 49)
.zip   KCS_KC868_AI_V2.2.7.zip (Size: 788.88 KB / Downloads: 64)
.zip   KCS_KC868_AIO_V2.2.7.zip (Size: 805.97 KB / Downloads: 38)
.zip   KCS_KC868_AK_V2.2.7.zip (Size: 766.88 KB / Downloads: 56)
.zip   KCS_KC868_AM_V2.2.7.zip (Size: 781.78 KB / Downloads: 58)
.zip   KCS_KC868_AP_V2.2.7.zip (Size: 784.24 KB / Downloads: 49)
.zip   KCS_KC868_ASR_V2.2.7.zip (Size: 761.25 KB / Downloads: 60)
.zip   KCS_KC868_E16S_V2.2.7.zip (Size: 791.03 KB / Downloads: 59)
.zip   KCS_KC868_UAIR_V2.2.7.zip (Size: 767.57 KB / Downloads: 40)
Reply
#2
Hello,

I have purchased the KC868-A16 ESP32 board, and I plan to use it for electrical automation in the process of converting a bus into a camper. The KCS firmware seems to fit quite well, but I have a few questions:

Is it possible to separate the Monitor from the administrative part? Specifically, I would like to run just the control system with monitoring functionality, without the rest. The idea is to have the Monitor accessible within the network without requiring login.

Is it possible to map the remote control of a VEVOR Webasto device? The remote is bidirectional and provides feedback on the device settings.

If I need to write my own program, is there any way to extract the mapped settings from the remote control?

Thank you!
Reply
#3
you can write your own arduino code for your requirements. all hardware resource have demo source code.
KCS firmware not support that now.
Reply
#4
Wink 
I just want to ask if this is a bug or I just missed something?

(1) The ADC data on my home assistant is not updating automatically when I adjust my potentiometer connected to Channel 4 (CH4). The A16 was integrated to HA thru MQTT with KCS firmware.

   

But I observed that the data on HA will be updated only when i click any output switch on home assistant. Its like ADC values on KCS is not throwing data to MQQT unless there is someone that will trigger to update the TOPIC state

(2) May I get file editor code to integrate the 3 pcs DHT temperature reading by MQTT? My board is A16
   
Reply
#5
1. Click the gear button to set the minimum threshold for data reporting
2. Go to "sensor" webpage, set all gpios for DHT11, then you will see the value.
Reply
#6
1. Click the gear button to set the minimum threshold for data reporting
>>> Got it works perfectly.


2. Go to "sensor" webpage, set all gpios for DHT11, then you will see the value.
>>> What Im asking is may I get yaml file for this 3 DHT11 sensor so that I can add it to my dashboard?
Reply
#7
just define 1-wire bus pin define and DHT11 code to your ymal:
https://esphome.io/components/one_wire.html
https://esphome.io/components/sensor/dht.html
Reply
#8
Hi Admin,

I found out my answer to my own question no. 2.

Here is what I paste and it works:

  - name: 'sensor1-A16'
    unique_id: sensor1-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'C'
    value_template: '{{ value_json.sensor1.temperature }}'

For reference of others that bought KC868-A16, i will post my whole KC868-16 MQQT integration to home assistant below.


Now, I have another encountered problem, the temperature data on my Home Assistant is not updating, see image below:
   

I put a tested to input different numbers from 0.1 to 10, but still not updating, see image below for reference.
   
---------------------------------------------
Sharing my complete code for KC868-A16 for this community/forum to help each other:
KC868-A16 integrate to home assistant by MQTT





# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes
 
  # Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


mqtt:

  switch:

  - name: 'output-1-A16'
    unique_id: output-1-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output1":{"value":true}}'
    payload_off:  '{"output1":{"value":false}}'
    value_template: '{{ value_json.output1.value }}'
    state_on: true
    state_off: false

  - name: 'output-2-A16'
    unique_id: output-2-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output2":{"value":true}}'
    payload_off:  '{"output2":{"value":false}}'
    value_template: '{{ value_json.output2.value }}'
    state_on: true
    state_off: false
   
  - name: 'output-3-A16'
    unique_id: output-3-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output3":{"value":true}}'
    payload_off:  '{"output3":{"value":false}}'
    value_template: '{{ value_json.output3.value }}'
    state_on: true
    state_off: false
   
  - name: 'output-4-A16'
    unique_id: output-4-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output4":{"value":true}}'
    payload_off:  '{"output4":{"value":false}}'
    value_template: '{{ value_json.output4.value }}'
    state_on: true
    state_off: false
   
  - name: 'output-5-A16'
    unique_id: output-5-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output5":{"value":true}}'
    payload_off:  '{"output5":{"value":false}}'
    value_template: '{{ value_json.output5.value }}'
    state_on: true
    state_off: false
   
  - name: 'output-6-A16'
    unique_id: output-6-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output6":{"value":true}}'
    payload_off:  '{"output6":{"value":false}}'
    value_template: '{{ value_json.output6.value }}'
    state_on: true
    state_off: false
   
  - name: 'output-7-A16'
    unique_id: output-7-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output7":{"value":true}}'
    payload_off:  '{"output7":{"value":false}}'
    value_template: '{{ value_json.output7.value }}'
    state_on: true
    state_off: false
   
  - name: 'output-8-A16'
    unique_id: output-8-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    command_topic: 'KC868_A16/AC1518FCC8P9/SET'
    payload_on:  '{"output8":{"value":true}}'
    payload_off:  '{"output8":{"value":false}}'
    value_template: '{{ value_json.output8.value }}'
    state_on: true
    state_off: false

*****************i deleted the output 9-16 because I maxed the allowed text of 10000 characters*********
*************just copy and paste the output 8 and rename accordingly*****************


  binary_sensor:

  - name: 'input-1-A16'
    unique_id: input-1-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input1.value }}'
    payload_on: true
    payload_off: false

  - name: 'input-2-A16'
    unique_id: input-2-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input2.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-3-A16'
    unique_id: input-3-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input3.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-4-A16'
    unique_id: input-4-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input4.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-5-A16'
    unique_id: input-5-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input5.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-6-A16'
    unique_id: input-6-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input6.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-7-A16'
    unique_id: input-7-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input7.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-8-A16'
    unique_id: input-8-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input8.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-9-A16'
    unique_id: input-9-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input9.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-10-A16'
    unique_id: input-10-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input10.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-11-A16'
    unique_id: input-11-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input11.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-12-A16'
    unique_id: input-12-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input12.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-13-A16'
    unique_id: input-13-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input13.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-14-A16'
    unique_id: input-14-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input14.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-15-A16'
    unique_id: input-15-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input15.value }}'
    payload_on: true
    payload_off: false
   
  - name: 'input-16-A16'
    unique_id: input-16-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    value_template: '{{ value_json.input16.value }}'
    payload_on: true
    payload_off: false   
   
  sensor:
 
  - name: 'analog-1-A16'
    unique_id: analog-1-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'v'
    value_template: '{{ value_json.adc1.value }}'
   
  - name: 'analog-2-A16'
    unique_id: analog-2-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'v'
    value_template: '{{ value_json.adc2.value }}'

  - name: 'analog-3-A16'
    unique_id: analog-3-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'v'
    value_template: '{{ value_json.adc3.value }}'

  - name: 'analog-4-A16'
    unique_id: analog-4-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'meter'
    #value_template: '{{ value_json.adc4.value }}'
    value_template: '{{ (value_json.adc4.value  * 0.00122) |round(2) }}'


  - name: 'sensor1-A16'
    unique_id: sensor1-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'C'
    value_template: '{{ value_json.sensor1.temperature }}'

  - name: 'sensor2-A16'
    unique_id: sensor2-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'C'
    value_template: '{{ value_json.sensor2.temperature }}'

  - name: 'sensor3-A16'
    unique_id: sensor3-A16
    state_topic: 'KC868_A16/AC1518FCC8P9/STATE'
    unit_of_measurement: 'C'
    value_template: '{{ value_json.sensor3.temperature }}'
Reply
#9
can you test with this firmware whether work well.

.zip   KCS_KC868_A16_V2.2.8.zip (Size: 763.42 KB / Downloads: 13)
Reply
#10
(12-13-2024, 03:58 AM)admin Wrote: can you test with this firmware whether work well.

Thanks Admin, this v2.2.8 is OK. Already solved. Thanks for the fast feedback.

   
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)