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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,310
» Latest member: biofrankpharma
» Forum threads: 3,629
» Forum posts: 18,736

Full Statistics

Online Users
There are currently 24 online users.
» 0 Member(s) | 10 Guest(s)
AhrefsBot, Amazonbot, Bing, Bytespider, Google, bot

Latest Threads
KC868-M16v2 configure yam...
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
6 hours ago
» Replies: 120
» Views: 25,177
Replacing ESP32 with Kinc...
Forum: KC868-A16
Last Post: admin
Yesterday, 11:43 PM
» Replies: 1
» Views: 13
N30 Energy entry not work...
Forum: N30
Last Post: admin
Yesterday, 11:43 PM
» Replies: 11
» Views: 76
KC868-Server ESP32 Ethern...
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
Yesterday, 11:41 PM
» Replies: 7
» Views: 68
Single Moment switch
Forum: DIY Project
Last Post: admin
Yesterday, 11:37 PM
» Replies: 1
» Views: 16
Help with Product Slectio...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
Yesterday, 12:06 AM
» Replies: 5
» Views: 58
Loxone RS485
Forum: KinCony integrate with Loxone home automation
Last Post: admin
Yesterday, 12:03 AM
» Replies: 9
» Views: 1,119
adaptor V2 and KC868 h32b...
Forum: KC868-ATC / Tuya adapter V2
Last Post: admin
12-23-2025, 01:19 AM
» Replies: 1
» Views: 20
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
12-23-2025, 01:18 AM
» Replies: 1
» Views: 17
easy way to export/import...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
12-23-2025, 01:09 AM
» Replies: 7
» Views: 5,642

Question KC868-A8-V1.5
Posted by: halaszlacii - 03-26-2023, 02:16 PM - Forum: KC868-A series and Uair Smart Controller - Replies (12)

Hello.I have a panel mentioned in the title.I would like to use it in Homeassistant with tasmota firmware.However, the template code I found for it does not work.Could you help me with a suitable code?I would like to use the inputs and outputs and I would also like to use a temperature sensor (DS18B20).Thank you very much



Attached Files Thumbnail(s)
   
Print this item

  KC868-AIO ESP32 All in One board released
Posted by: admin - 03-26-2023, 02:14 PM - Forum: News - No Replies

We have designed KC868-AIO (ESP32 ALL IN ONE) board for home automation DIYer. it can easy integrate to home assistant by ESPHome. the hardware have 32CH mosfet output + 58CH digital input + 16CH analog output + 19CH analog input, support RS485 + Ethernet + WiFi + Bluetooth + 4G SIM7600 module + DS3231 RTC module.
[Image: KC868-AIO-1_01.jpg]
[Image: KC868-AIO-1_02.jpg]
[Image: KC868-AIO-1_03.jpg]
[Image: KC868-AIO-1_04.jpg]
[Image: KC868-AIO-1_05.jpg]
[Image: KC868-AIO-1_06.jpg]

Print this item

  ESPHOME KC868-E16S
Posted by: rodrigomallmann - 03-26-2023, 01:19 PM - Forum: KC868-E16S/E16P - Replies (11)

Olá, tudo bem, estou tentando implementar o esphome via home assistant no KC868-E16S, porem quando inicia a compilação esta dando um erro conforme imagem em anexo, e no final do processo de instalacao quando tento acionar o relay pelo switch touch o relay nao fica armado. Poderia me orientar onde eu estou errando no processo. Um detalhe importante, se instalo a versao web, o equipamento funciona normalmente.



Attached Files Thumbnail(s)
       
Print this item

  How can I control somfy rolling shutter over home assistant frequency 433.42 MHz
Posted by: engmohades - 03-25-2023, 11:14 PM - Forum: DIY Project - Replies (1)

Please, How can I control somfy rolling shutter over home assistant
frequency 433.42 MHz



Attached Files Thumbnail(s)
   
Print this item

  Relay
Posted by: lori72 - 03-24-2023, 07:31 PM - Forum: KC868-A4S - Replies (7)

Hi, I can't understand which doors are to be configured to command the relays from ESP32. 
can you help me. From the example file I can't understand, thanks

Print this item

  KC868-AIO configure yaml for ESPhome
Posted by: admin - 03-24-2023, 12:11 AM - Forum: KC868-AIO - Replies (25)

   

.txt   KC868-AIO-ESPHome.txt (Size: 20.73 KB / Downloads: 1800)

Print this item

  KC868-AIO ESP32 I/O pin define
Posted by: admin - 03-24-2023, 12:09 AM - Forum: KC868-AIO - Replies (10)

ESP32 ANALOG_A1 GPIO36 For (Analog Multiplexer: cd74hc4067) to extend "analog input" 1-16

ESP32 ANALOG_A2  GPIO39  analog input 17
ESP32 ANALOG_A3  GPIO34  analog input 18
ESP32 ANALOG_A4  GPIO35  analog input 19

IIC Bus:A

SDA-A:GPIO4
SCL-A:GPIO16

PCF8575:U40 (output 1-16): 100 100 = 0x24
PCF8575:U41 (output 17-32): 100 101 = 0x25

PCF8575:U42 (output 33-38): 100 110 = 0x26

cd74hc4067
S0-A: PCF8575->U42->P10 (output 33)
S1-B: PCF8575->U42->P11 (output 34)
S2-C: PCF8575->U42->P12 (output 35)
S3-D: PCF8575->U42->P13 (output 36)

free LEDs:

LED-D7: PCF8575->U42->P14 (output 37)
LED-D8: PCF8575->U42->P15 (output 38)
-----------------------------------------------------------------------------------

PCF8575:U35 (input 1-16): 100 001 = 0x21
PCF8575:U37 (input 17-32): 100 010 = 0x22

PCF8575:U38 (input 33-48): 100 011 = 0x23
PCF8575:U42 (input 49-58): 100 110 = 0x26

PCF8575->U42->P0 (input 49)
PCF8575->U42->P1 (input 50)
PCF8575->U42->P2 (input 51)
PCF8575->U42->P3 (input 52)
PCF8575->U42->P4 (input 53)
PCF8575->U42->P5 (input 54)
PCF8575->U42->P6 (input 55)
PCF8575->U42->P7 (input 56)
PCF8575->U42->P14 (input 57)
PCF8575->U42->P15 (input 58)

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

PCA9685: address 0x00
-----------------------------------------------------------------------------------------

Button-S1: reset
Button-S2: GPIO0
Button-S3: PCF8575->U42->P14 (input 57)
Button-S4: PCF8575->U42->P15 (input 58)

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


DS18B20/DHT11/DHT21/LED strip -(TP1): GPIO14
DS18B20/DHT11/DHT21/LED strip -(TP2): GPIO5

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

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(A): GPIO32
TXD(B): GPIO33

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

4G GSM Module / Extend serial port:

RXD: GPIO13
TXD: GPIO15

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

DS3231 RTC module: IIC address 0x68
EEPROM's default I2C address is 0x57

Print this item

  KC868-AIO datasheet PDF
Posted by: admin - 03-24-2023, 12:08 AM - Forum: KC868-AIO - No Replies


.pdf   KC868-AIO.pdf (Size: 18.41 MB / Downloads: 2717)

Print this item

  Interruptions from PCF8574
Posted by: istopnic - 03-23-2023, 02:06 PM - Forum: KC868-A16 - Replies (1)

Is it possible to use interruptions on the I2C bus. As I understand, the pins of interruptions from PCF8574 is not connect anywhere.
Which ESP pin can be used to interrupt?

Print this item

  [Arduino source code for KC868-AIO]-08 DIGITAL_INPUT
Posted by: KinCony Support - 03-23-2023, 01:24 AM - Forum: KC868-AIO - No Replies

[Arduino source code for KC868-AIO]-08 DIGITAL_INPUT

Code:
#include "Arduino.h"
#include "PCF8575.h"

// Set i2c address

PCF8575 pcf8575_IN1(0x21,4,16);
PCF8575 pcf8575_IN2(0x22,4,16);
PCF8575 pcf8575_IN3(0x23,4,16);
PCF8575 pcf8575_IN4(0x26,4,16);

unsigned long timeElapsed;
void setup()
{
    Serial.begin(115200);
  pcf8575_IN1.begin();
  pcf8575_IN2.begin();
  pcf8575_IN3.begin();
  pcf8575_IN4.begin();
   
  pcf8575_IN1.pinMode(P0,INPUT);
  pcf8575_IN1.pinMode(P1,INPUT);
  pcf8575_IN1.pinMode(P2,INPUT);
  pcf8575_IN1.pinMode(P3,INPUT);
  pcf8575_IN1.pinMode(P4,INPUT);
  pcf8575_IN1.pinMode(P5,INPUT);
  pcf8575_IN1.pinMode(P6,INPUT);
  pcf8575_IN1.pinMode(P7,INPUT);
  pcf8575_IN1.pinMode(P8,INPUT);
  pcf8575_IN1.pinMode(P9,INPUT);
  pcf8575_IN1.pinMode(P10,INPUT);
  pcf8575_IN1.pinMode(P11,INPUT);
  pcf8575_IN1.pinMode(P12,INPUT);
  pcf8575_IN1.pinMode(P13,INPUT);
  pcf8575_IN1.pinMode(P14,INPUT);
  pcf8575_IN1.pinMode(P15,INPUT);

  pcf8575_IN2.pinMode(P0,INPUT);
  pcf8575_IN2.pinMode(P1,INPUT);
  pcf8575_IN2.pinMode(P2,INPUT);
  pcf8575_IN2.pinMode(P3,INPUT);
  pcf8575_IN2.pinMode(P4,INPUT);
  pcf8575_IN2.pinMode(P5,INPUT);
  pcf8575_IN2.pinMode(P6,INPUT);
  pcf8575_IN2.pinMode(P7,INPUT);
  pcf8575_IN2.pinMode(P8,INPUT);
  pcf8575_IN2.pinMode(P9,INPUT);
  pcf8575_IN2.pinMode(P10,INPUT);
  pcf8575_IN2.pinMode(P11,INPUT);
  pcf8575_IN2.pinMode(P12,INPUT);
  pcf8575_IN2.pinMode(P13,INPUT);
  pcf8575_IN2.pinMode(P14,INPUT);
  pcf8575_IN2.pinMode(P15,INPUT);
 
  pcf8575_IN3.pinMode(P0,INPUT);
  pcf8575_IN3.pinMode(P1,INPUT);
  pcf8575_IN3.pinMode(P2,INPUT);
  pcf8575_IN3.pinMode(P3,INPUT);
  pcf8575_IN3.pinMode(P4,INPUT);
  pcf8575_IN3.pinMode(P5,INPUT);
  pcf8575_IN3.pinMode(P6,INPUT);
  pcf8575_IN3.pinMode(P7,INPUT);
  pcf8575_IN3.pinMode(P8,INPUT);
  pcf8575_IN3.pinMode(P9,INPUT);
  pcf8575_IN3.pinMode(P10,INPUT);
  pcf8575_IN3.pinMode(P11,INPUT);
  pcf8575_IN3.pinMode(P12,INPUT);
  pcf8575_IN3.pinMode(P13,INPUT);
  pcf8575_IN3.pinMode(P14,INPUT);
  pcf8575_IN3.pinMode(P15,INPUT);

  pcf8575_IN4.pinMode(P0,INPUT);
  pcf8575_IN4.pinMode(P1,INPUT);
  pcf8575_IN4.pinMode(P2,INPUT);
  pcf8575_IN4.pinMode(P3,INPUT);
  pcf8575_IN4.pinMode(P4,INPUT);
  pcf8575_IN4.pinMode(P5,INPUT);
  pcf8575_IN4.pinMode(P6,INPUT);
  pcf8575_IN4.pinMode(P7,INPUT);
 
  pcf8575_IN4.pinMode(P8,OUTPUT);
  pcf8575_IN4.pinMode(P9,OUTPUT);
  pcf8575_IN4.pinMode(P10,OUTPUT);
  pcf8575_IN4.pinMode(P11,OUTPUT);
  pcf8575_IN4.pinMode(P12,OUTPUT);
  pcf8575_IN4.pinMode(P13,OUTPUT);
 
  pcf8575_IN4.pinMode(P14,INPUT);
  pcf8575_IN4.pinMode(P15,INPUT);
}

void loop()
{

uint16_t var_rcv = 0;

var_rcv = pcf8575_IN1.digitalReadAll();
if (var_rcv!=65535)
  {
    Serial.print("input16-input1 state:");
    Serial.println(var_rcv,BIN);
  }

var_rcv = pcf8575_IN2.digitalReadAll();
if (var_rcv!=65535)
  {
    Serial.print("input32-input17 state:");
    Serial.println(var_rcv,BIN);
  }

var_rcv = pcf8575_IN3.digitalReadAll();
if (var_rcv!=65535)
  {
    Serial.print("input48-input33 state:");
    Serial.println(var_rcv,BIN);
  }

var_rcv = pcf8575_IN4.digitalReadAll();
if (var_rcv!=65535)
  {
    Serial.print("input64-input49 state:");
    Serial.println(var_rcv,BIN);
  }
   delay(500);
}



Attached Files
.zip   KC868-AIO-PCF8575_DI_XU.zip (Size: 940 bytes / Downloads: 640)
Print this item