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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,905
» Latest member: buysnaps
» Forum threads: 3,898
» Forum posts: 19,881

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 21 Guest(s)
AhrefsBot, Amazonbot, Applebot, Baidu, Bing, Bytespider, Crawl, Google, Sogou web, bot

Latest Threads
n30 not showing kwh consu...
Forum: N30
Last Post: kiloptero
39 minutes ago
» Replies: 0
» Views: 1
Current and Power not add...
Forum: N60
Last Post: admin
9 hours ago
» Replies: 3
» Views: 11
"KCS" v3.24.3 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
11 hours ago
» Replies: 0
» Views: 24
KC868-16A crashing in inf...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Today, 01:51 AM
» Replies: 1
» Views: 5
A24 configure yaml for ES...
Forum: KinCony A24
Last Post: admin
Yesterday, 12:12 AM
» Replies: 25
» Views: 7,194
KC868-A4 with Tuya app
Forum: "KCS" v2 firmware system
Last Post: admin
Yesterday, 12:04 AM
» Replies: 1
» Views: 10
N60 N30 N20 N10 ARM CPU f...
Forum: N30
Last Post: admin
Yesterday, 12:02 AM
» Replies: 10
» Views: 197
Connecting Nextion NX3224...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
Yesterday, 12:00 AM
» Replies: 3
» Views: 81
T16M
Forum: News
Last Post: admin
04-11-2026, 11:58 PM
» Replies: 1
» Views: 10
T16M en panne
Forum: News
Last Post: lulu01
04-11-2026, 04:29 PM
» Replies: 4
» Views: 24

  [Arduino IDE demo source code for KC868-AI]--#02-KC868-AI_IR receive_code
Posted by: KinCony Support - 07-06-2022, 01:04 AM - Forum: KC868-AI - No Replies

[Arduino IDE demo source code for KC868-AI]--#02-KC868-AI_IR receive_code

Code:
#include <WiFiUdp.h>


#include "PinDefinitionsAndMore.h"
#include <IRremote.h>

void setup()
{
  Serial.begin(115200);
  Serial.println();
  IrReceiver.begin(IR_RECEIVE_PIN, ENABLE_LED_FEEDBACK, USE_DEFAULT_FEEDBACK_LED_PIN);

}

void loop()
{

    if (IrReceiver.decode()) {

        // Print a short summary of received data
        IrReceiver.printIRResultShort(&Serial);
        if (IrReceiver.decodedIRData.protocol == UNKNOWN) {
            // We have an unknown protocol here, print more info
            IrReceiver.printIRResultRawFormatted(&Serial, true);
        }
        Serial.println();
     IrReceiver.resume(); // Enable receiving of the next value
    }
  delay(30);
 
}



Attached Files
.zip   IR.zip (Size: 3.16 KB / Downloads: 619)
Print this item

  [Arduino IDE demo source code for KC868-AI]--#01-KC868-AI_pcf8574_digital input_code
Posted by: KinCony Support - 07-06-2022, 01:03 AM - Forum: KC868-AI - No Replies

[Arduino IDE demo source code for KC868-AI]--#01-KC868-AI_pcf8574_digital input_code

Code:
/*
KeyPressed on PIN1
by Mischianti Renzo <http://www.mischianti.org>

https://www.mischianti.org/2019/01/02/pcf8574-i2c-digital-i-o-expander-fast-easy-usage/
*/

#include "Arduino.h"
#include "PCF8574.h"

// Set i2c address
PCF8574 pcf8574_1(0x24);
PCF8574 pcf8574_2(0x25);
PCF8574 pcf8574_3(0x21);
PCF8574 pcf8574_4(0x22);
PCF8574 pcf8574_5(0x26);
PCF8574 pcf8574_6(0x23);
unsigned long timeElapsed;
void setup()
{
    Serial.begin(115200);
    delay(1000);

pcf8574_1.pinMode(P0, INPUT);
pcf8574_1.pinMode(P1, INPUT);
pcf8574_1.pinMode(P2, INPUT);
pcf8574_1.pinMode(P3, INPUT);
pcf8574_1.pinMode(P4, INPUT);
pcf8574_1.pinMode(P5, INPUT);
pcf8574_1.pinMode(P6, INPUT);
pcf8574_1.pinMode(P7, INPUT);

pcf8574_2.pinMode(P0, INPUT);
pcf8574_2.pinMode(P1, INPUT);
pcf8574_2.pinMode(P2, INPUT);
pcf8574_2.pinMode(P3, INPUT);
pcf8574_2.pinMode(P4, INPUT);
pcf8574_2.pinMode(P5, INPUT);
pcf8574_2.pinMode(P6, INPUT);
pcf8574_2.pinMode(P7, INPUT);

pcf8574_3.pinMode(P0, INPUT);
pcf8574_3.pinMode(P1, INPUT);
pcf8574_3.pinMode(P2, INPUT);
pcf8574_3.pinMode(P3, INPUT);
pcf8574_3.pinMode(P4, INPUT);
pcf8574_3.pinMode(P5, INPUT);
pcf8574_3.pinMode(P6, INPUT);
pcf8574_3.pinMode(P7, INPUT);

pcf8574_4.pinMode(P0, INPUT);
pcf8574_4.pinMode(P1, INPUT);
pcf8574_4.pinMode(P2, INPUT);
pcf8574_4.pinMode(P3, INPUT);
pcf8574_4.pinMode(P4, INPUT);
pcf8574_4.pinMode(P5, INPUT);
pcf8574_4.pinMode(P6, INPUT);
pcf8574_4.pinMode(P7, INPUT);

pcf8574_5.pinMode(P0, INPUT);
pcf8574_5.pinMode(P1, INPUT);
pcf8574_5.pinMode(P2, INPUT);
pcf8574_5.pinMode(P3, INPUT);
pcf8574_5.pinMode(P4, INPUT);
pcf8574_5.pinMode(P5, INPUT);
pcf8574_5.pinMode(P6, INPUT);
pcf8574_5.pinMode(P7, INPUT);

pcf8574_6.pinMode(P0, INPUT);
pcf8574_6.pinMode(P1, INPUT);
pcf8574_6.pinMode(P2, INPUT);
pcf8574_6.pinMode(P3, INPUT);
pcf8574_6.pinMode(P4, INPUT);
pcf8574_6.pinMode(P5, INPUT);
pcf8574_6.pinMode(P6, INPUT);
pcf8574_6.pinMode(P7, INPUT);


    Serial.print("Init pcf8574...");
    if (pcf8574_1.begin()){
        Serial.println("pcf8574_1_OK");
    }else{
        Serial.println("pcf8574_1_KO");
    }

  Serial.print("Init pcf8574...");
  if (pcf8574_2.begin()){
    Serial.println("pcf8574_2_OK");
  }else{
    Serial.println("pcf8574_2_KO");
  }

  Serial.print("Init pcf8574...");
  if (pcf8574_3.begin()){
    Serial.println("pcf8574_3_OK");
  }else{
    Serial.println("pcf8574_3_KO");
  }

  Serial.print("Init pcf8574...");
  if (pcf8574_4.begin()){
    Serial.println("pcf8574_4_OK");
  }else{
    Serial.println("pcf8574_4_KO");
  }

  Serial.print("Init pcf8574...");
  if (pcf8574_5.begin()){
    Serial.println("pcf8574_5_OK");
  }else{
    Serial.println("pcf8574_5_KO");
  }

  Serial.print("Init pcf8574...");
  if (pcf8574_6.begin()){
    Serial.println("pcf8574_6_OK");
  }else{
    Serial.println("pcf8574_6_KO");
  }


}

void loop()
{
uint8_t val1 = pcf8574_1.digitalRead(P0);
uint8_t val2 = pcf8574_1.digitalRead(P1);
uint8_t val3 = pcf8574_1.digitalRead(P2);
uint8_t val4 = pcf8574_1.digitalRead(P3);
uint8_t val5 = pcf8574_1.digitalRead(P4);
uint8_t val6 = pcf8574_1.digitalRead(P5);
uint8_t val7 = pcf8574_1.digitalRead(P6);
uint8_t val8 = pcf8574_1.digitalRead(P7);

uint8_t val9 = pcf8574_2.digitalRead(P0);
uint8_t val10 = pcf8574_2.digitalRead(P1);
uint8_t val11 = pcf8574_2.digitalRead(P2);
uint8_t val12 = pcf8574_2.digitalRead(P3);
uint8_t val13 = pcf8574_2.digitalRead(P4);
uint8_t val14 = pcf8574_2.digitalRead(P5);
uint8_t val15 = pcf8574_2.digitalRead(P6);
uint8_t val16 = pcf8574_2.digitalRead(P7);

uint8_t val17 = pcf8574_3.digitalRead(P0);
uint8_t val18 = pcf8574_3.digitalRead(P1);
uint8_t val19 = pcf8574_3.digitalRead(P2);
uint8_t val20 = pcf8574_3.digitalRead(P3);
uint8_t val21 = pcf8574_3.digitalRead(P4);
uint8_t val22 = pcf8574_3.digitalRead(P5);
uint8_t val23 = pcf8574_3.digitalRead(P6);
uint8_t val24 = pcf8574_3.digitalRead(P7);


uint8_t val25 = pcf8574_4.digitalRead(P0);
uint8_t val26 = pcf8574_4.digitalRead(P1);
uint8_t val27 = pcf8574_4.digitalRead(P2);
uint8_t val28 = pcf8574_4.digitalRead(P3);
uint8_t val29 = pcf8574_4.digitalRead(P4);
uint8_t val30 = pcf8574_4.digitalRead(P5);
uint8_t val31 = pcf8574_4.digitalRead(P6);
uint8_t val32 = pcf8574_4.digitalRead(P7);

uint8_t val33 = pcf8574_5.digitalRead(P0);
uint8_t val34 = pcf8574_5.digitalRead(P1);
uint8_t val35 = pcf8574_5.digitalRead(P2);
uint8_t val36 = pcf8574_5.digitalRead(P3);
uint8_t val37 = pcf8574_5.digitalRead(P4);
uint8_t val38 = pcf8574_5.digitalRead(P5);
uint8_t val39 = pcf8574_5.digitalRead(P6);
uint8_t val40 = pcf8574_5.digitalRead(P7);

uint8_t val41 = pcf8574_6.digitalRead(P0);
uint8_t val42 = pcf8574_6.digitalRead(P1);
uint8_t val43 = pcf8574_6.digitalRead(P2);
uint8_t val44 = pcf8574_6.digitalRead(P3);
uint8_t val45 = pcf8574_6.digitalRead(P4);
uint8_t val46 = pcf8574_6.digitalRead(P5);
uint8_t val47 = pcf8574_6.digitalRead(P6);
uint8_t val48 = pcf8574_6.digitalRead(P7);


 
if (val1==LOW) Serial.println("KEY1 PRESSED");
if (val2==LOW) Serial.println("KEY2 PRESSED");
if (val3==LOW) Serial.println("KEY3 PRESSED");
if (val4==LOW) Serial.println("KEY4 PRESSED");
if (val5==LOW) Serial.println("KEY5 PRESSED");
if (val6==LOW) Serial.println("KEY6 PRESSED");
if (val7==LOW) Serial.println("KEY7 PRESSED");
if (val8==LOW) Serial.println("KEY8 PRESSED");

if (val9==LOW) Serial.println("KEY9 PRESSED");
if (val10==LOW) Serial.println("KEY10 PRESSED");
if (val11==LOW) Serial.println("KEY11 PRESSED");
if (val12==LOW) Serial.println("KEY12 PRESSED");
if (val13==LOW) Serial.println("KEY13 PRESSED");
if (val14==LOW) Serial.println("KEY14 PRESSED");
if (val15==LOW) Serial.println("KEY15 PRESSED");
if (val16==LOW) Serial.println("KEY16 PRESSED");

if (val17==LOW) Serial.println("KEY17 PRESSED");
if (val18==LOW) Serial.println("KEY18 PRESSED");
if (val19==LOW) Serial.println("KEY19 PRESSED");
if (val20==LOW) Serial.println("KEY20 PRESSED");
if (val21==LOW) Serial.println("KEY21 PRESSED");
if (val22==LOW) Serial.println("KEY22 PRESSED");
if (val23==LOW) Serial.println("KEY23 PRESSED");
if (val24==LOW) Serial.println("KEY24 PRESSED");

if (val25==LOW) Serial.println("KEY25 PRESSED");
if (val26==LOW) Serial.println("KEY26 PRESSED");
if (val27==LOW) Serial.println("KEY27 PRESSED");
if (val28==LOW) Serial.println("KEY28 PRESSED");
if (val29==LOW) Serial.println("KEY29 PRESSED");
if (val30==LOW) Serial.println("KEY30 PRESSED");
if (val31==LOW) Serial.println("KEY31 PRESSED");
if (val32==LOW) Serial.println("KEY32 PRESSED");

if (val33==LOW) Serial.println("KEY33 PRESSED");
if (val34==LOW) Serial.println("KEY34 PRESSED");
if (val35==LOW) Serial.println("KEY35 PRESSED");
if (val36==LOW) Serial.println("KEY36 PRESSED");
if (val37==LOW) Serial.println("KEY37 PRESSED");
if (val38==LOW) Serial.println("KEY38 PRESSED");
if (val39==LOW) Serial.println("KEY39 PRESSED");
if (val40==LOW) Serial.println("KEY40 PRESSED");

if (val41==LOW) Serial.println("KEY41 PRESSED");
if (val42==LOW) Serial.println("KEY42 PRESSED");
if (val43==LOW) Serial.println("KEY43 PRESSED");
if (val44==LOW) Serial.println("KEY44 PRESSED");
if (val45==LOW) Serial.println("KEY45 PRESSED");
if (val46==LOW) Serial.println("KEY46 PRESSED");
if (val47==LOW) Serial.println("KEY47 PRESSED");
if (val48==LOW) Serial.println("KEY48 PRESSED");



    delay(300);
}



Attached Files
.zip   8574-DI.zip (Size: 1.38 KB / Downloads: 657)
Print this item

  KC868-AI ESPHome demo config for home assistant
Posted by: admin - 07-06-2022, 12:56 AM - Forum: KC868-AI - Replies (3)

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


# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

  # Optional manual IP
  manual_ip:
    static_ip: 192.168.1.198
    gateway: 192.168.1.1
    subnet: 255.255.255.0 


# 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

  - id: 'pcf8574_hub_in_6'  # for input channel 41-48
    address: 0x23



# Individual outputs

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - platform: gpio
    name: "ai-input37"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input38"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input39"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input40"
    pin:
      pcf8574: pcf8574_hub_in_5
      number: 7
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input41"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 0
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input42"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 1
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input43"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 2
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input44"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 3
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input45"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 4
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input46"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 5
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input47"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 6
      mode: INPUT
      inverted: true

  - platform: gpio
    name: "ai-input48"
    pin:
      pcf8574: pcf8574_hub_in_6
      number: 7
      mode: INPUT
      inverted: true

# Enable logging
logger:

# Enable Home Assistant API
api:


.txt   KC868-AI_ESPhome.txt (Size: 7.9 KB / Downloads: 781)

Print this item

  KC868-AI ESP32 I/O pin define
Posted by: admin - 07-06-2022, 12:53 AM - Forum: KC868-AI - 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

IR receiver: GPIO15
433M receiver: GPIO13

Print this item

  WARNING GPIO4 is a Strapping PIN and should be avoided
Posted by: fabuena - 07-05-2022, 06:19 PM - Forum: KC868-A8 - Replies (1)

When I am configuring KC868-A8 to connect with Home Assistan by Ethernet I received this message

WARNING GPIO4 is a Strapping PIN and should be avoided.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.

What does it means?

How can I solve it?

Print this item

  KC868-AI ESP32 input module released!
Posted by: admin - 07-05-2022, 07:00 AM - Forum: News - No Replies

We have designed KC868-AI ESP32 board use for sensors for home automation DIY. it is a input module based on ESP32 chip. it have 48 channel digital input ports, every input channel use optocoupler isolation, so that can work for 1000 meter with sensors or any dry contact devices. It can receive data from IR remoter and RF433MHz remoter. Support work with RS232 or RS485. Made For ESPHome and easily integrate to home assistant for smart home automation project DIY. You can write any code by Arduino IDE to ESP32 wifi/bluetooth/ethernet RS485 module.

[Image: KC868-AI-1_01.png]
[Image: KC868-AI-1_02.png]
[Image: KC868-AI-1_03.png]
[Image: KC868-AI-1_04.png]

Print this item

  Uair
Posted by: ahmedwizza - 07-04-2022, 08:42 PM - Forum: DIY Project - Replies (3)

can we make scnce from alexa by Uair after integration with homeassistant??????????????



Attached Files Thumbnail(s)
   
Print this item

  Switch 24v DC KC868-Ax
Posted by: fabuena - 07-04-2022, 07:59 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (4)

I just bought a KC868-A8 and I want to switch on/off a 24v DC signal. It is posible?

Print this item

  KC868-H32B blinds motor control and connect
Posted by: Autotec2022 - 07-03-2022, 09:47 PM - Forum: KC868-HxB series Smart Controller - Replies (23)

Hello

Can you help with connection and adjustment of all motor blinds on the house
I have 22 shutter motors
i want to connect everything to KC868-H32B
I bought two pieces
Order ID: 8151334628020945
Order ID: 8151122210730945

The engine model I own are Solus 2PA
https://www.somfy.co.in/products/1032574...2-pack-100

I need help with connecting the wires because I won't have a button to control the blinds, but all the motors are connected directly to the KC868-H32B, the control is only done using the app.

In order not to damage the relay by wrong connection, you can send me some instructions and information.

I have see that diagram but im not understand 
https://ibb.co/nChbVM3

Im not understand becuse i have think that all motors get power from the relay KC868-H32B or i must bring power cable N L direkt on motors

Print this item

  KinCony ESP32 Tuya iot adapter released!
Posted by: admin - 06-30-2022, 04:32 AM - Forum: News - Replies (4)

KinCony ESP32 Tuya IoT adapter let relay board or IoT devices easy integrate to tuya IoT platform. We have designed by ESP32 work with Tuya module. Tuya module will connect with Tuya cloud server, when using tuya phone app, message will send to tuya wifi module and decode by ESP32. ESP32 support use arduino IDE to write code, get the tuya message and send any command to RS232 or RS485 or network device. it’s a good convert tool for smart home automation DIY.

adapter support to use “Tuya MCU SDK Arduino Library”

KC868-H32B,KC868-H32BS …. HxB series smart controller will be easy support TUYA phone application, alexa and google home voice control function.


[Image: kincony-tuya-adapter-1.jpg]
[Image: kincony-tuya-adapter-2.JPG]

it support install on the DIN rail.
[Image: esp32-tuya-adapter-pins.jpg]
you can write any arduino IDE code or by IDF tool to write code and download firmware by USB-C cable.
[Image: kincony-tuya-adapter-3.JPG]
[Image: kincony-tuya-adapter-4.JPG]
[Image: kincony-tuya-adapter-5.JPG]
[Image: kincony-tuya-adapter-6.JPG]

install wifi antena by SMA socket.
Tuya app , alexa app and google home / google assistant app will be support.
[Image: h32bs-tuya-app-1_pix400.jpg][Image: h32bs-tuya-app-2_pix400.jpg]
[Image: h32bs-tuya-app-3_pix400.jpg][Image: h32bs-tuya-app-4_pix400.jpg]
[Image: h32bs-alexa-app_pix400.jpg][Image: h32bs-google-app_pix400.jpg]
[Image: kincony-tuya-adapter-7.JPG]
suspport use tuya phone app, google home and alexa echo speaker
[Image: kincony-tuya-adapter-8.JPG]

KinCony esp32 tuya adapter work with KC868-H32B by RS232 port
[Image: kincony-tuya-adapter-9.JPG]

KinCony esp32 tuya adapter work with KC868-H32BS by RS232 port
[Image: kincony-tuya-adapter-10.JPG]

[Image: tuya-RS485.jpg]

Print this item