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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,937
» Latest member: pvana
» Forum threads: 3,922
» Forum posts: 19,957

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 25 Guest(s)
AhrefsBot, Amazonbot, Bing, Google, Sogou web, bot

Latest Threads
Http protocol
Forum: News
Last Post: Saif Kitany
3 hours ago
» Replies: 15
» Views: 150
N60 Sensor channel label
Forum: N60
Last Post: marekd1
7 hours ago
» Replies: 8
» Views: 102
B32M Smart Controller Wir...
Forum: B32M
Last Post: admin
Today, 02:54 AM
» Replies: 0
» Views: 15
B32M Smart Controller ESP...
Forum: B32M
Last Post: admin
Today, 02:53 AM
» Replies: 0
» Views: 17
B24M Smart Controller Wir...
Forum: B24M
Last Post: admin
Today, 02:51 AM
» Replies: 0
» Views: 17
B24M Smart Controller ESP...
Forum: B24M
Last Post: admin
Today, 02:51 AM
» Replies: 0
» Views: 29
B24 Smart Controller Wiri...
Forum: B24
Last Post: admin
Today, 02:48 AM
» Replies: 0
» Views: 15
B24 Smart Controller ESP3...
Forum: B24
Last Post: admin
Today, 02:47 AM
» Replies: 0
» Views: 19
B16M Smart Controller Wir...
Forum: B16M
Last Post: admin
Today, 02:44 AM
» Replies: 0
» Views: 18
B16M Smart Controller ESP...
Forum: B16M
Last Post: admin
Today, 02:43 AM
» Replies: 0
» Views: 22

  KC868-A2v3 ESP32-S3 IO pins define
Posted by: admin - 04-20-2025, 05:44 AM - Forum: KC868-A2v3 - No Replies

IIC Bus:

SDA:GPIO48
SCL:GPIO47

24C02 EPROM i2c address: 0x50
DS3231 RTC i2c address: 0x68
SSD1306 display: i2c address:0x3c
-----------------

1-wire (pull-up resistance on PCB):
1-wire(TMP1):GPIO18
1-wire(TMP2):GPIO8


free GPIOs (without pull-up resistance on PCB):
free gpio-1:GPIO4
free gpio-2:GPIO5
free gpio-3:GPIO6
free gpio-4:GPIO38
-----------------

Ethernet (W5500) I/O define:

clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41

interrupt_pin: GPIO2
reset_pin: GPIO1

--------------------
RS485:
RXD:GPIO15
TXD:GPIO7

4G module:
RXD:GPIO9
TXD:GPIO10

--------------------
SD Card:
SPI-MOSI:GPIO12
SPI-SCK:GPIO13
SPI-MISO:GPIO14
SPI-CS:GPIO11
SPI-CD:GPIO21

--------------------
Relay1:GPIO40
Relay2:GPIO39

--------------------
digital input-1:GPIO16
digital input-2:GPIO17

Print this item

  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: 473)

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