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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,419
» Latest member: 8xbetv2comm
» Forum threads: 4,322
» Forum posts: 21,300

Full Statistics

Online Users
There are currently 62 online users.
» 0 Member(s) | 38 Guest(s)
Amazonbot, Applebot, AwarioBot, Baidu, Bytespider, PetalBot, Semrush, bot

Latest Threads
KC868-A4 – Relay 1 clicks...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
11-03-2026, 11:58 PM
» Replies: 3
» Views: 26
⚡ 40 Buttons, 36 Lighting...
Forum: DIY Project
Last Post: lulu01
11-03-2026, 07:34 PM
» Replies: 24
» Views: 2,958
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 03:04 AM
» Replies: 0
» Views: 7
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 01:34 AM
» Replies: 0
» Views: 12
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 12:15 AM
» Replies: 0
» Views: 15
450 Hz allowed on input?
Forum: Development
Last Post: admin
11-02-2026, 09:41 PM
» Replies: 3
» Views: 47
How Do You Handle Relay C...
Forum: KC868-A6
Last Post: lulu01
11-02-2026, 05:41 PM
» Replies: 2
» Views: 34
"KCS" v3.27.4 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
11-02-2026, 06:02 AM
» Replies: 0
» Views: 62
how to check i2c extend c...
Forum: T16M
Last Post: admin
11-02-2026, 12:38 AM
» Replies: 0
» Views: 16
T16M ESPHome yaml for hom...
Forum: T16M
Last Post: admin
11-02-2026, 12:35 AM
» Replies: 0
» Views: 13

  3D files
Posted by: naveenhtic - 11-04-2024, 10:00 AM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - Replies (1)

Please help us with the 3D files of the following parts
1.kc868-e16v2-din-rail-relay-module
2. 5-hole-row-ground-copper-bar-for-distribution-box
3. logic-level-converter-for-dc0v-to-12v
4. rc-absorption-snubber-circuit-module

Print this item

  TUYA LICENSE
Posted by: jeftevag - 11-04-2024, 07:17 AM - Forum: KC868-E16S/E16P - Replies (1)

How do i connect to the 868-E16P with TUYA license installed. I try to use my Iphone with the Smart Life app with the QR code on 868-E16P local website, this redirects me to https://smartapp.smart321.com, and there i get the message "package not found".



Attached Files Image(s)
       
Print this item

  A16 -> TX RX pins
Posted by: lednicazar - 11-03-2024, 07:43 PM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Is it possible to have direct RX / TX pins of the esp32 to be used in ESPHome?

I'm not using RS485 for example, could that be replaced? Any alternatives?

Print this item

  KC868-A8 board esphome + Tuya
Posted by: gnetinternet@gmail.com - 11-03-2024, 02:37 PM - Forum: KC868-A8 - Replies (12)

Hello. I'm configuring the KC868-A8 board with Esphome and the Tuya license. However, I found some errors and would like to share them for a possible solution. KC868-A8 board esphome + Tuya
It's giving an error that I don't know exactly. error image attached.





# Basic Config
esphome:
  name: kc868-a8-contato-web-dht-tuya2
  platform: ESP32
  board: esp32dev

external_components:
  - source:
      type: git
      url: https://github.com/hzkincony/esphome-tuya-iot
      ref: v1.2.0

# Enable logging
logger:
  baud_rate: 0

api:
  encryption:
    key: "It2KB/xCg0EuwXMc1KyiTXRTSjr0hdQXmxQXnwIVmOE="

ota:
  - platform: esphome
    password: "70604538ddb4bdb4362c2d63114dfb1d"


i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a


ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

  # Add web server
web_server:
  port: 80
  auth:
    username: admin
    password: "admin"

text_sensor:
  - platform: homeassistant
    name: "Casa Inteligente"
    id: home_assistant_text
    entity_id: input_text.test


pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x24

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22


time:
  - platform: homeassistant
    id: homeassistant_time


# Individual outputs
switch:
  - platform: gpio
    name: "light1"
    id: light1
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output1", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output1", false);

  - platform: gpio
    name: "light2"
    id: light2
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output2", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output2", false);

  - platform: gpio
    name: "light3"
    id: light3
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output3", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output3", false);

  - platform: gpio
    name: "light4"
    id: light4
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output4", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output4", false);

  - platform: gpio
    name: "light5"
    id: light5
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output5", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output5", false);

  - platform: gpio
    name: "light6"
    id: light6
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output6", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output6", false);

  - platform: gpio
    name: "light7"
    id: light7
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output7", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output7", false);

  - platform: gpio
    name: "light8"
    id: light8
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true
    restore_mode: RESTORE_DEFAULT_ON
    on_turn_on:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output8", true);
    on_turn_off:
      - lambda: !lambda |-
          id(tuya_iot_component).property_report("output8", false);

binary_sensor:
  - platform: gpio
    name: "input1"
    on_press:
      then:
        - switch.toggle: light1
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input2"
    on_press:
      then:
        - switch.toggle: light2
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input3"
    on_press:
      then:
        - switch.toggle: light3
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input4"
    on_press:
      then:
        - switch.toggle: light4
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input5"
    on_press:
      then:
        - switch.toggle: light5
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input6"
    on_press:
      then:
        - switch.toggle: light6
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input7"
    on_press:
      then:
        - switch.toggle: light7
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "input8"
    on_press:
      then:
        - switch.toggle: light8
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true


  - platform: gpio
    name: "a8-s3"
    pin:
      number: 32
      inverted: true

  - platform: gpio
    name: "a8-s4"
    pin:
      number: 33
      inverted: true

one_wire:
  - platform: gpio
    pin: GPIO14

sensor:
  - platform: dallas_temp
    name: "Temperatura QCC"
    id: temperatura_1
    address: 0x06136e7e1f64ff28  # Endereço específico do sensor
    accuracy_decimals: 1  # Precisão do sensor em casas decimais
    update_interval: 30s  # Intervalo de atualização dos dados

 
  - platform: dht
    pin: GPIO13  # Ajuste para o pino que você está usando
    model: DHT22  # Substitua pelo modelo do seu sensor (DHT11, DHT22, AM2301, etc.)
    temperature:
      name: "Temperatura externa"
    humidity:
      name: "Umidade externa"
    update_interval: 30s  # Ajuste o intervalo de atualização conforme necessário

tuya_iot:
  id: tuya_iot_component
  product_id: xxx
  device_id: xxx
  device_secret: xxx
  region: us # eu, us, eus, weu, in, cn
  # eu: Central Europe Data Center
  # us: US West Data Center
  # eus: US East Data Center
  # weu: Western Europe Data Center
  # in: India Data Center
  # cn: Chinese Data Center

  on_event:
    - event_name: property/set
      then:
        - lambda: !lambda |-
              // Append the required switch in switch_map to respond to commands issued by Tuya.
              static std::map<float, switch_::Switch*> switch_map {
                { 1, id(light1) },
                { 2, id(light2) },
                { 3, id(light3) },
                { 4, id(light4) },
                { 5, id(light5) },
                { 6, id(light6) },
                { 7, id(light7) },
                { 8, id(light8) },
              };
 ......>



Attached Files Thumbnail(s)
   
Print this item

  KC868-ATC Tuya HRC Zehner rs232 integration
Posted by: PHNijborg - 11-03-2024, 12:47 PM - Forum: KC868-ATC / Tuya adapter V2 - Replies (1)

Hello,

I have purchased the KC868-ATC V1.4 and want to use the rs232 functionality to control a Heat recovery system.
I use the tuya app to control my house, however i am not sure how to convert this app and KC868-ATC to the full protocol functionallity in the pdf...

Anyone any ideas?

I have a tuya developer account and Arduino IDE, i have created a IDE code, but doesn't work, the connection to tuya is missing i think...



Attached Files
.pdf   Protocol_Eng.pdf (Size: 1.34 MB / Downloads: 2718)
Print this item

Wink how to use KinCony cloud server
Posted by: admin - 11-03-2024, 01:14 AM - Forum: "KCS" v2 firmware system - Replies (10)

1. KinCony cloud server support KinCony Devices list (constantly update):

KC868-COLB
KC868-H32B Pro
A32 Pro
M30
MB
B24M
B24
B8M
B8
B16M
B16
F8
F16
F24
T16M
T32M
T64M
T128M
TA
N10
N20
N30
N60
DM16
AIO-Hybrid
KC868-A16v3
KC868-A8v3
KC868-A6v3
KC868-A2v3

2. KinCony cloud service function:
remote control or monitor sensor state by browser (mobile phone / Windows PC / Apple MAC computer)

3. price of KinCony cloud server:

5usd/year for one board
free 2 years only for KinCony official online shop customer. (shop.kincony.com)

if you buy products from KinCony offical shop. You can send email (web@kincony.com) to us, tell us your "order number" and "order photo" , "board model" and "serial number" or "UID". We will add your board serial number to our cloud server.

how to use KinCony cloud server:

a. login by KinCony cloud server webpage: https://mq.kincony.com/qq/login
b. register user name and password
c. login with your user name and password
d. add your device by SCAN QRcode or INPUT your serial number.

how to generate your QRcode by yourself:
use this STRING https://mq.kincony.com/qq/device/qrcode?did=xxxxx  xxxxx replace
for example your board's serial number is: d3671a7ba2618996a7b56b3c
so you can paste this URL to your web browser: https://mq.kincony.com/qq/device/qrcode?...96a7b56b3c
Then it will create the QRcode photo, you can download, maybe you can print a label, stick on your board.

e. Now you can remote control your board.

Print this item

  RS485 usage
Posted by: charlesjabged - 11-02-2024, 10:46 PM - Forum: KC868-AK - Replies (7)

I just received the keyboard and i am trying to read button state with modbus. I try to use this: https://www.kincony.com/forum/attachment.php?aid=2240
but it is really unclear to me.

I try coils, inputs reg, and holding with:
1 stop bit, no parity, 9600 baud.

I have 3 others devices that work well on the same modbus line ( with different MB address ).

Can you help me with the correct way to poll button status ? (i will do a request every 1sec).

thank you in advance.

Print this item

  Temp Sensors
Posted by: silicondt - 11-02-2024, 10:37 PM - Forum: KC868-AIO - Replies (1)

Can anyone tell me if the KC868-AIO supports more than two temp sensors?

From the videos it looks like it has two GPIO ports for temp sensors, but not sure if that means only can use two?
Or can multiple temp sensors be hooked to each port ?

We have a project that needs 4 temp sensors. Would we have to use analog temp sensors if we needed more than 2?

Thanks!

Print this item

  Need recomendation
Posted by: silicondt - 11-02-2024, 09:57 PM - Forum: DIY Project - Replies (3)

Hello we have a project that will have 25 mag locks.
When you provide 24v the mag lock will engage.
These will lock and unlock wine cabinets.

Each mag lock has two outputs. A door sensor and a mag sensor.
These outputs are dry closes contact.

We will be running 6 conductor wire to each mag lock.

So basically we need 25 relays, and 50 dry contact inputs.

We want to use "home assistant". so the board needs to integrate well with it.

Would the KC868-AIO be the best board for this?

Bonus question - I see I can add temp sensors. Can I only add two? We need 4 total.

Thanks!

Print this item

  temperature/humidity modbus module
Posted by: mod5 - 11-02-2024, 06:01 AM - Forum: Suggestions and feedback on KinCony's products - Replies (3)

i would like to suggest a module like https://shop.kincony.com/products/rs485-...e-by-sht30
It should be modbus, becouse 1wire couses problems for longer distances
For european clients, we use 60mm round flush-mounted box and that product cant fit  there.
Mabye you can just did some KC868-HAv2 additional functionality?

Print this item