Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,573
» Latest member: DevilForce
» Forum threads: 4,344
» Forum posts: 21,362

Full Statistics

Online Users
There are currently 149 online users.
» 0 Member(s) | 138 Guest(s)
Amazonbot, Applebot, Baidu, Google, PetalBot, Yandex, bot

Latest Threads
How is energy value deter...
Forum: N60
Last Post: marekd1
30 minutes ago
» Replies: 0
» Views: 3
KC868-A8v3 ESPHome yaml f...
Forum: KC868-A8v3
Last Post: admin
Today, 03:04 AM
» Replies: 0
» Views: 22
[arduino code examples fo...
Forum: KC868-A8v3
Last Post: admin
Today, 02:58 AM
» Replies: 0
» Views: 14
[arduino code examples fo...
Forum: KC868-A8v3
Last Post: admin
Today, 02:54 AM
» Replies: 0
» Views: 11
N20 energy
Forum: N20
Last Post: admin
Today, 12:30 AM
» Replies: 3
» Views: 53
ds3231 added to esphome, ...
Forum: KC868-A16v3
Last Post: admin
Yesterday, 01:28 PM
» Replies: 1
» Views: 38
KCS debounce option for K...
Forum: KC868-A16
Last Post: admin
Yesterday, 01:24 PM
» Replies: 3
» Views: 80
HAv2 + ESPHome - Avoiding...
Forum: KC868-HA /HA v2
Last Post: admin
Yesterday, 05:03 AM
» Replies: 4
» Views: 120
Does KCS v3 on CO16 opera...
Forum: CO16
Last Post: admin
11-18-2026, 11:33 PM
» Replies: 1
» Views: 35
[arduino code examples fo...
Forum: F32
Last Post: admin
11-18-2026, 04:27 AM
» Replies: 0
» Views: 33

  KC868-A16 IR Input
Posted by: cyberrailpete - 04-20-2025, 05:33 AM - Forum: KC868-A16 - Replies (11)

Hello.

I have a KC868-A16 - Great board. I have a number of IR sensors that need to send back state via MQTT to different topics so have had to write custom sketch in Aurdino IDE.

Problem is the sensor never goes inactive. I have tested the IR with a meter and voltage drop on digital out when active and high when inactive.

KC868-A16 seems to be 12v on the input which is weird. Help please!

Print this item

  RF Transmitter not working in ESPHome
Posted by: johnsmith8439 - 04-19-2025, 04:20 PM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (4)

Hello,
I installed ESPHome on the KC868-AG. RF receiver works, I can receive RF signals from the smart plug's remote:

[23:17:05][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='10010010001010100110110110010011'
[23:17:05][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='10010010001010100110110110010011'
[23:17:05][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='10010010001010100110110110010011'
[23:17:05][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='1001001000101010011011011001001'

But transmitter doesn't work, I cannot control the smart plug with RF using the transmitter.

The log after using transmitter:
[23:29:02][D][button:010]: 'Smart Plug On' Pressed.
[23:29:02][W][component:239]: Component api took a long time for an operation (287 ms).
[23:29:02][W][component:240]: Components should block for at most 30 ms.
[23:29:02][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='10010010001010100110110110010011'
[23:29:02][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='10010010001010100110110110010011'
[23:29:02][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='10010010001010100110110110010011'
[23:29:02][I][remote.rc_switch:261]: Received RCSwitch Raw: protocol=2 data='1001001000101010011011011001001'

Here is my ESPHome code:

Code:
remote_transmitter:
  - id: transmitter_ir
    pin: GPIO2
    carrier_duty_percent: 50%
  - id: transmitter_rf
    pin: GPIO22
    carrier_duty_percent: 50%
remote_receiver:
  # see https://esphome.io/components/remote_transmitter.html#setting-up-infrared-devices
  # for details on discovering the correct codes for your devices
  - id: receiver_ir
    pin:
      number: GPIO23
      inverted: True
    dump: rc_switch
  # see https://esphome.io/components/remote_transmitter.html#setting-up-rf-devices
  # for details on discovering the correct codes for your devices
  - id: receiver_rf
    pin:
      number: GPIO13
    dump: rc_switch
    # Settings to optimize recognition of RF devices
    tolerance: 50%
    filter: 250us
    idle: 4ms
    buffer_size: 2kb   
button:
  - platform: template
    name: "Door Chime"
    on_press:
      - remote_transmitter.transmit_rc_switch_raw:
          transmitter_id: transmitter_rf
          protocol: 5
          code: "001010100010100000"
          repeat:
            times: 10
            wait_time: 0s
  - platform: template
    name: "Smart Plug On"
    on_press:
      - remote_transmitter.transmit_rc_switch_raw:
          transmitter_id: transmitter_rf
          protocol: 2
          code: "10010010001010100110110110010011"
          repeat:
            times: 10
            wait_time: 0s
  - platform: template
    name: "Smart Plug Off"
    on_press:
      - remote_transmitter.transmit_rc_switch_raw:
          transmitter_id: transmitter_rf
          protocol: 2
          code: "01000100101011010110100011010011"
          repeat:
            times: 10
            wait_time: 0s

Print this item

  Input protection
Posted by: wchpikus - 04-19-2025, 02:51 PM - Forum: Development - Replies (5)

Hello
One of binary input stop working..
I checked and translator was damage.
I do not know-how how, but it could be protect emc or overload. 
I just replace them, but I wojny about induction when I will connect them to 20m ftp.

Print this item

  Kc-868-a32 uart
Posted by: wchpikus - 04-18-2025, 06:51 PM - Forum: KC868-A32/A32 Pro - Replies (3)

Hello
What ping are used to rs485?
Failed config

uart: [source /config/esphome/rolety-kc868-a32.yaml:27]
  - id: uart_modbus
    baud_rate: 9600
    tx_pin: 9
    
    This pin cannot be used on ESP32s and is already used by the flash interface (function: Flash Data 1).
    rx_pin: 8

Regards

Print this item

  Soil moisture sensors
Posted by: xarouli5 - 04-18-2025, 06:03 PM - Forum: KC868-AIO - Replies (10)

I bought the next sensor to experiment:

Soil Moisture Sensor 
https://a.aliexpress.com/_ExqUPDK

Powered 3.3v, gnd and tried AO on AI (9-16) & DO on DI (1-8). No change seen on inputs of AIO when I dipped sensor in water and out.

Any ideas?

Print this item

  24V Support
Posted by: yawniek - 04-18-2025, 05:06 PM - Forum: Suggestions and feedback on KinCony's products - Replies (2)

Hi, 

It would be good to be able to see more prominently which products support 24V input voltage and which products do not support it. 
Sometimes the board notes 12V but they work with 24V and sometimes not. 

Could you clarify which products support 24V and maybe put input voltage more clearly into descriptions?

Thank You
Y

Print this item

  [arduino code examples for A6v3]-12 Read DS18B20 by 1-wire
Posted by: admin - 04-18-2025, 05:33 AM - Forum: KC868-A6v3 - No Replies

here is ESP32 DS18B20 arduino library for KC868-A6v3.

.zip   esp32-ds18b20-main.zip (Size: 6.49 KB / Downloads: 863)

Print this item

  KC868-AP JSON not valid
Posted by: simpl3x - 04-17-2025, 11:49 AM - Forum: KC868-AP / ADR - Replies (5)

Have KC868-AP

Code:
Board Model
KC868_AP
Software Version
v2.2.12
Build Date
Feb 28 2025 14:41:30
Serial Number
C82E18C85DFC

I try integrate it to Home Assistant over MQTT, but it not working. 
I have this template:
Code:
mqtt:
  light:
  - name: 'KC868-AP-1-DIMM-1'
    unique_id: KC868-AP-1-DIMM-1
    schema: template
    command_topic: "KC868_AP/C82E18C85DFC/SET"
    state_topic: "KC868_AP/C82E18C85DFC/STATE"
    command_on_template: >
      {% if brightness is defined %}
      {"dac1":{"value":{{(brightness / 255  * 100) | int - 1}}}
      {% else %}
      {"dac1":{"value":255}}
      {% endif %}
    command_off_template: >
      {"dac1":{"value":0}}
    state_template: >
      {% if value_json.dac1.value == 0 %}
      off
      {% else %}
      on
      {% endif %}
    brightness_template: >
      {{ (value_json.dac1.value / 99 * 255) | int }}
when I change dimmer value in HA, message received on device and dimmer value is changed, but light state in HA still Unknown.
I try to check status JSON in linter and it have mistake:
Code:
{"input1":{"value":false},"input2":{"value":false},"input3":{"value":false},"input4":{"value":false},"input5":{"value":false},"input6":{"value":false},"input7":{"value":false},"input8":{"value":false},"input9":{"value":false},"input10":{"value":false},"input11":{"value":false},"input12":{"value":false},"input13":{"value":false},"input14":{"value":false},"input15":{"value":false},"input16":{"value":false},"input17":{"value":false},"input18":{"value":false},"output1":{"value":false},"output2":{"value":true},"dac1":{"value":0},"dac2":{"value":0},"dac3":{"value":0},"dac4":{"value":0},"dac5":{"value":0},"dac6":{"value":0},"dac7":{"value":0},"dac8":{"value":0},"dac9":{"value":0},"dac10":{"value":0},"dac11":{"value":0},"dac12":{"value":0},"dac13":{"value":0},"dac14":{"value":0},"dac15":{"value":0},"dac16":{"value":0},}
after  "dac16":{"value":0}, has extra comma.
if I publish valid JSON in status topic without extra comma HA gets status of dimmer channel correct:

Code:
{"input1":{"value":false},"input2":{"value":false},"input3":{"value":false},"input4":{"value":false},"input5":{"value":false},"input6":{"value":false},"input7":{"value":false},"input8":{"value":false},"input9":{"value":false},"input10":{"value":false},"input11":{"value":false},"input12":{"value":false},"input13":{"value":false},"input14":{"value":false},"input15":{"value":false},"input16":{"value":false},"input17":{"value":false},"input18":{"value":false},"output1":{"value":false},"output2":{"value":true},"dac1":{"value":0},"dac2":{"value":0},"dac3":{"value":0},"dac4":{"value":0},"dac5":{"value":0},"dac6":{"value":0},"dac7":{"value":0},"dac8":{"value":0},"dac9":{"value":0},"dac10":{"value":0},"dac11":{"value":0},"dac12":{"value":0},"dac13":{"value":0},"dac14":{"value":0},"dac15":{"value":0},"dac16":{"value":0}}

Print this item

  KC 868-A32
Posted by: simona - 04-16-2025, 10:02 AM - Forum: KC868-A32/A32 Pro - Replies (2)

i am trying to enable one of my A32 Board modbus slave using the firmware if i go to protocol> general it will log me out .What is the issue. Other boards work well but one doesnt

Print this item

  DS18B20 temp sensor
Posted by: windpomp - 04-16-2025, 06:07 AM - Forum: KC868-A6 - Replies (7)

Good day how do I connect a DS18B20 temperature sensor to a KC868-A6 so that I can monitor it through smart home app

Print this item