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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,363
» Latest member: melrose63
» Forum threads: 2,574
» Forum posts: 13,303

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 25 Guest(s)
AhrefsBot, Applebot, Bytespider, Crawl, Google, Google-Apps-Script, Yandex, bot, tugra

Latest Threads
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
1 hour ago
» Replies: 32
» Views: 380
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
6 hours ago
» Replies: 10
» Views: 57
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
6 hours ago
» Replies: 16
» Views: 175
KC868-A8 Schematic
Forum: KC868-A8
Last Post: admin
6 hours ago
» Replies: 7
» Views: 41
change wake up name
Forum: KinCony AS
Last Post: admin
6 hours ago
» Replies: 11
» Views: 65
"KCS" v2.2.8 firmware BIN...
Forum: "KCS" firmware system
Last Post: admin
6 hours ago
» Replies: 2
» Views: 158
Dimensions/drawings of bo...
Forum: Schematic and diagram
Last Post: admin
6 hours ago
» Replies: 1
» Views: 18
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: admin
12-16-2024, 10:55 PM
» Replies: 12
» Views: 446
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: admin
12-16-2024, 10:53 PM
» Replies: 5
» Views: 34
M16 SHT31 sensor disconne...
Forum: KC868-M16 / M1 / MB / M30
Last Post: bsarra
12-16-2024, 08:36 PM
» Replies: 4
» Views: 38

  KCS: Add ability to turn off saving output state to NVS?
Posted by: stian - 11-04-2024, 11:21 AM - Forum: KC868-A series and Uair Smart Controller - Replies (7)

Hi, I’m working on a project using the KC868-A16 to drive a relay board, and I really appreciate the KCS firmware available for this device. However, I have a concern: it seems that every output change is saved to NVS storage, which could be an issue. I’ll be frequently changing the output state of the MOSFETs, and I’m worried about potentially wearing out the storage. There might be some balancing implemented but none the less having the option to not persist to NVS would be great.

To clarify, I don’t need the output or input states to persist in NVS; storing them in SRAM would be preferable. Since the KCS firmware source code isn’t publicly available, I can’t modify this behavior myself unless I write my own firmware (something I’m considering).


Does anyone have any thoughts on this?

Print this item

  3D files
Posted by: naveenhtic - 11-04-2024, 10:00 AM - Forum: Schematic and diagram - 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: 33)
Print this item

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

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

KC868-COLB
KC868-H32B Pro
A32 Pro
M30
B16M
F16

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 (1)

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