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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,367
» Latest member: talljane
» Forum threads: 2,574
» Forum posts: 13,313

Full Statistics

Online Users
There are currently 44 online users.
» 1 Member(s) | 30 Guest(s)
AhrefsBot, Bing, Bytespider, Crawl, Google, bot, ingersoj

Latest Threads
How can I power multiple ...
Forum: KC868-A series and Uair Smart Controller
Last Post: ingersoj
28 minutes ago
» Replies: 11
» Views: 119
how to use AS ESP32-S3 vo...
Forum: KinCony AS
Last Post: biofects
54 minutes ago
» Replies: 13
» Views: 455
change wake up name
Forum: KinCony AS
Last Post: admin
1 hour ago
» Replies: 13
» Views: 95
Problem with IFTTT automa...
Forum: "KCS" firmware system
Last Post: admin
4 hours ago
» Replies: 6
» Views: 44
A32 Pro ESPHome yaml incl...
Forum: KC868-A32/A32 Pro
Last Post: admin
4 hours ago
» Replies: 18
» Views: 183
KC868-A2 ESP32 I/O pin de...
Forum: KC868-A2
Last Post: admin
4 hours ago
» Replies: 8
» Views: 2,266
Need help with configurat...
Forum: KC868-HxB series Smart Controller
Last Post: admin
Yesterday, 04:32 AM
» Replies: 32
» Views: 395
ESP32 S3 set up issue
Forum: Extender module
Last Post: admin
12-17-2024, 11:43 PM
» Replies: 10
» Views: 68
KC868-A8 Schematic
Forum: KC868-A8
Last Post: admin
12-17-2024, 11:40 PM
» Replies: 7
» Views: 51
"KCS" v2.2.8 firmware BIN...
Forum: "KCS" firmware system
Last Post: admin
12-17-2024, 11:38 PM
» Replies: 2
» Views: 179

  KC868-AK ESPHome demo config for home assistant
Posted by: admin - 11-20-2022, 12:17 PM - Forum: KC868-AK - No Replies

esphome:
  name: kc868-ak
  platform: ESP32
  board: esp32dev
 
 
# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a

wifi:
  ssid: "KinCony"
  password: "a12345678"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "A4 Fallback Hotspot"
    password: "ZvKhDPUYilHj"

captive_portal:



# Example configuration entry
pcf8574:
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x24

  - id: 'pcf8574_hub_in_2'  # for input channel 9-16
    address: 0x25

  - id: 'pcf8574_hub_in_3'  # for input channel 17-24
    address: 0x21

  - id: 'pcf8574_hub_in_4'  # for input channel 25-32
    address: 0x22

  - id: 'pcf8574_hub_in_5'  # for input channel 33-40
    address: 0x26



# Individual outputs

binary_sensor:
  - platform: gpio
    name: "ak-input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input9"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input10"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input11"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input12"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input13"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input14"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input15"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input16"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input17"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input18"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input19"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input20"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input21"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input22"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input23"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input24"
    pin:
      pcf8574: pcf8574_hub_in_3
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input25"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input26"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input27"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input28"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input29"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input30"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input31"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input32"
    pin:
      pcf8574: pcf8574_hub_in_4
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input33"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input34"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input35"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ak-input36"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 3
      mode: INPUT
      inverted: true

# Enable logging
logger:

# Enable Home Assistant API
api:



.txt   KC868-AK_ESPhome.txt (Size: 6.06 KB / Downloads: 303)

Print this item

  KC868-AK ESP32 I/O pin define
Posted by: admin - 11-20-2022, 12:16 PM - Forum: KC868-AK - No Replies

IIC Bus:

SDA:GPIO4
SCL:GPIO5

PCF8574:U14 (DI1-8): 100 100 = 0x24
PCF8574:U31 (DI9-16): 100 101 = 0x25
PCF8574:U56 (DI17-24): 100 001 = 0x21
PCF8574:U57 (DI25-32): 100 010 = 0x22
PCF8574:U58 (DI33-40): 100 110 = 0x26
PCF8574:U32 (DI41-48): 100 011 = 0x23


free GPIO:
GPIO35
GPIO39
GPIO34
GPIO36

-----------------

Ethernet (LAN8720) I/O define:

#define ETH_ADDR        0
#define ETH_POWER_PIN  -1
#define ETH_MDC_PIN    23
#define ETH_MDIO_PIN  18
#define ETH_TYPE      ETH_PHY_LAN8720
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT

--------------------

RS485:
RXD:GPIO16
TXD:GPIO14

RS232:
RXD:GPIO33
TXD:GPIO32

Print this item

  KC101 Tuya Electronic DIY Kit Released
Posted by: admin - 11-16-2022, 03:13 AM - Forum: News - No Replies

We have developed the first DIY product for smart home enthusiasts to cultivate everyone’s interest in electronic technology. “KC101” is 4 channels universal WiFi wireless smart switch with RF 433MHz module, it’s a DIY kit for DIYer. it for your smart home system to remotely and automatically turn ON/OFF home appliances and electronic devices by mobile phone APP. We have opened schematic, components list and all details. Also have made the video tour step by step help you easy to DIY make it.

[Image: KC101-6_2.jpg]
[Image: apps.png]
[Image: pcb_kit.JPG]
[Image: KC101_Component-list_pix1000.jpg]
[Image: KC101_V13_pix1000.jpg]
[Image: KC101_tuya_app_1.JPEG][Image: KC101_tuya_app_2.JPEG]

Print this item

  How to appear MODBUS energy meter data to Home assistant
Posted by: Dober - 11-13-2022, 01:47 AM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hello!

I install kc868 meter 4py to my distribution box and i connect it to my COLB with RS485 port.
I managed to get the readings  to the smart board controller software.

How to connect it with home assistant to appear the data?

Print this item

  how to use tasmota firmware for KC868-A4
Posted by: admin - 11-12-2022, 12:54 AM - Forum: KC868-A4 - No Replies

Print this item

  Pin define and pcb
Posted by: XaLex2 - 11-11-2022, 06:55 PM - Forum: KC868-A6 - Replies (9)

Hi there!
 Your products are very interesting and quite comfortable in use but finding technical data about product is utterly frustrating
   Could you make it clear, what pins on mcu are corresponded to the upper side? I mean where are the temperature sensors pins on pcb? There is not the place which is the only where I can find all the data about product. I have to get through all your webite, to find any info pice by pice: picture with pinout is on home page, schematic diagramm is on absolutely different page, pins defines is on the forum. And all of this info conflicts to each other. 
 

  where is the temp sensor inputs on the picture? Why  in the description   it's sad there are only two analog inputs, but on the picture and pcb i can see 4 ones? What are the io-1 and  io-2 on the picture of the board? Are they temp sensor input? ok, but why they have absolutely different name wich aren't somewhere else? why is all the info so inconsistent?

  And why dont't you place all the information related to product the right on the product page?



Attached Files Thumbnail(s)
   
Print this item

  KC868-E16 V2 Extend Din Rail Relay Module Released
Posted by: admin - 11-10-2022, 10:08 PM - Forum: News - No Replies

We have designed new version KC868-E16 V2 extend relay module. Now every relay have COM, NO, NC port and use by metal manual control switch buttons.
[Image: KC868-E16V2_5_pix800.jpg]
[Image: KC868-E16V2_7.jpg]

[Image: KC868-E16V2_3_pix800.jpg]

Print this item

  I have question for A16
Posted by: Baam - 11-10-2022, 03:23 AM - Forum: KC868-A16 - Replies (1)

Hi Kincony,
I was buy K868-A16 board. rev 1.5
I need an Arduino source to communicate with the Ethernet port.
Tasmato or Home assistant is not helpful.
Is there an example source for socket communication with the LAN port? (i don't use wifi..because of the reliability..)
Please guide me.

thank you,

Print this item

  KC868-H8 update firmware
Posted by: FeNiX - 11-09-2022, 12:35 PM - Forum: KC868-HxB series Smart Controller - Replies (3)

Hi
Can I use AT32F415RBT7 MCU Chip with my KC868-H8 board if I want to have MQTT support with new firmware in my board?

Print this item

  KC868-A4 hardwareupdate
Posted by: plc - 11-09-2022, 09:20 AM - Forum: KC868-A4 - Replies (5)

Hello admin,

thanks a lot for these really nice PCB, which allow lot of powerful projects!

I've checked the circuits of KC868-A4 (and other KC868-versions) and you are right, the direct GPIO-communication is easier to handle for Arduino-newbies than bus-connected parts.
Nevertheless I found out some optimization for KC868-A4-hardware. Maybe you can use it for an future hw-update.

  • cancel RS232 (saves lot of space + USB-C is sufficient for controlling the PCB directly)
  • change IRD/IRS & 433MT/433MR to 1x I2C-bus (2x ordinary 4-Pin-connectors, i.e. for display & other I2C-parts)
  • add a connector for an accurate working I2C-DS3231 RTC-modul
  • make the 2x 0-10V-DAC jumperable also to 2x 0-5V (to control 0-5V-devices)
  • a relay OR mosfet option would be great (or to get only 1 PCB => 2x relay + 2x mosfet)
  • ESP32 on a socket => stackable ESP32 (allows different ESP32-versions (i.e. with external antenna) and change of controller, if there is a problem). I know it's more expensive, but fast changing a small ESP32 is a superior feature. I.e. a company can send only the small ESP32-modul to consumer, if somthing went wrong.

I intend to rebuild an individual PLC, which controls a heating system (7 kW oven with water heat exchanger) with some DS18B20-sensors, 24V-pump (0-5V-speedcontrol) and safety features. Actual I have to resolder some parts of KC868-A4 to get an I2C-display and RTC, but with the mods it would be nearly a 1:1 change. Also I think it goes more flexible.

best regards
plc

Print this item