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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,904
» Latest member: mattst88
» Forum threads: 4,232
» Forum posts: 20,985

Full Statistics

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

Latest Threads
Pi5R8 Bundle B (CM5 Lite)...
Forum: Pi5R8
Last Post: admin
6 hours ago
» Replies: 5
» Views: 11
Modbus 485 extender kcs V...
Forum: N30
Last Post: admin
Yesterday, 10:27 PM
» Replies: 3
» Views: 16
"KCS" v3.27.2 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 02:40 AM
» Replies: 0
» Views: 44
N10 - ESPHome - ARM CPU s...
Forum: N10
Last Post: admin
09-10-2026, 11:49 PM
» Replies: 3
» Views: 36
extend KC868-A16v3
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
09-10-2026, 11:48 PM
» Replies: 1
» Views: 17
"KCS" v2.2.21 firmware BI...
Forum: "KCS" v2 firmware system
Last Post: admin
09-10-2026, 12:13 PM
» Replies: 5
» Views: 124
KC868-A16 Outputs Y01-Y16...
Forum: KC868-A16
Last Post: admin
09-09-2026, 11:15 PM
» Replies: 1
» Views: 30
wish
Forum: KC868-A16v3
Last Post: admin
09-09-2026, 01:14 PM
» Replies: 5
» Views: 91
⚡ 40 Buttons, 36 Lighting...
Forum: DIY Project
Last Post: viko
09-09-2026, 11:39 AM
» Replies: 22
» Views: 583
B32M maximum voltage
Forum: DIY Project
Last Post: velifetime
09-08-2026, 07:01 AM
» Replies: 2
» Views: 338

  kc868-server restart
Posted by: ahmedwizza1 - 02-25-2024, 08:34 PM - Forum: KC868-Server Raspberry Pi4 local server - Replies (1)

Hello engineer

We need  to restart the kc868-server daily  at an exact time to save fresh system 

So How can we do that in Home Assistant?

Print this item

  kc868-server-esp32
Posted by: ahmedwizza1 - 02-25-2024, 08:19 PM - Forum: KC868-Server Raspberry Pi4 local server - Replies (1)

Hello engineer

I want to config Kc868-server to home Assistant by Esp

So can you give me Config file .Yamal

Print this item

  Kc868-A128 interlock
Posted by: ahmedwizza1 - 02-24-2024, 05:01 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hello ingneer 

I have KC868-A128 esp

I used esp protocol 

But we need to make interlock fo curtains and shutters.. 
 Can you give me the code for this operation 
 To add it to me esp config in home assistant 


???????

Print this item

  PCF8574 io expansion i2c relay board – KinCony DO8 released
Posted by: admin - 02-24-2024, 11:25 AM - Forum: News - No Replies

KinCony DO8 is PCF8574 IO Expansion i2c relay board. extend 8 channel 10A relay. manual control buttons on board can control relay ON/OFF directly without any software. manual control buttons control relay’s coin physically. A0,A1,A2 PCF8574 i2c address can set by DIP switch. DO8 support install on DIN RAIL.

it's open source board.

it support integrate to home assistant by ESPHome.

arduino demo source code for PCF8574 relay output

PCB size: 146mm*100mm

relay for load: MAX 277VAC 10A , AC125V 12A

relay output: COM, NO, NC
[Image: DO8-1_pix1000.jpg]

[Image: DO8-2_pix1000.jpg]

Print this item

  PCF8574 IO Expansion i2c relay board -DO8 schematic
Posted by: admin - 02-24-2024, 05:01 AM - Forum: Extender module - No Replies

here is DO8 schematic pdf

.pdf   KINCONY-EXT-DO8-V10.pdf (Size: 163.01 KB / Downloads: 946)

Print this item

  KinCony Server-Mini Node-Red testing flows
Posted by: admin - 02-24-2024, 03:03 AM - Forum: KinCony Server-Mini / Server-16 Raspberry Pi4 relay module - No Replies

test the digital input work with relay output.
decode RF433MHz receiver module data.
test RS485 send and receiver.
   
Node Red flows download:

.zip   server-mini-test-flows.zip (Size: 1.06 KB / Downloads: 767)

Print this item

  KBOX android V2.0.9 add support KC868-D16 dimmer
Posted by: admin - 02-23-2024, 05:49 AM - Forum: News - No Replies

KBOX android app add support KC868-D16 dimmer controller.
APK download link: https://www.kincony.com/download/kbox-sm...240223.apk

Print this item

  PCF8574 IO Expansion i2c digital input board -DI8 ESPHome config yaml demo
Posted by: admin - 02-23-2024, 04:21 AM - Forum: Extender module - Replies (2)

i2c:
  sda: 4    #replace by your board's pin define
  scl: 5     #replace by your board's pin define
  scan: true
  id: bus_a

pcf8574:
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22    #replace by your PCF8574 address

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

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

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

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

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

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

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

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

download yaml demo for ESPHome:

.txt   DI8_config_yaml.txt (Size: 1.53 KB / Downloads: 621)
about A0,A1,A2 i2c address setting:
A0  A1  A2
0    0    0    =0x20
0    0    1    =0x21
0    1    0    =0x22
0    1    1    =0x23
1    0    0    =0x24
1    0    1    =0x25
1    1    0    =0x26
1    1    1    =0x27

Print this item

  PCF8574 IO Expansion i2c relay board -DO8 ESPHome config yaml demo
Posted by: admin - 02-23-2024, 04:17 AM - Forum: Extender module - Replies (4)

i2c:
  sda: 4  #replace by your board's pin define
  scl: 5   #replace by your board's pin define
  scan: true
  id: bus_a

pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x24    #replace by your PCF8574 address

switch:
  - platform: gpio
    name: "a8-light1"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a8-light2"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a8-light3"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a8-light4"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a8-light5"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a8-light6"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: gpio
    name: "a8-light7"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true
     
  - platform: gpio
    name: "a8-light8"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true

download yaml demo for ESPHome:

.txt   DO8_config_yaml.txt (Size: 1.58 KB / Downloads: 671)

about A0,A1,A2 i2c address setting:
A0  A1  A2
0    0    0    =0x20
0    0    1    =0x21
0    1    0    =0x22
0    1    1    =0x23
1    0    0    =0x24
1    0    1    =0x25
1    1    0    =0x26
1    1    1    =0x27

Print this item

  PCF8574 IO Expansion i2c digital input board -DI8 arduino demo code
Posted by: admin - 02-23-2024, 04:12 AM - Forum: Extender module - No Replies

Code:
#include "Arduino.h"
#include "PCF8574.h"
// Set i2c address
PCF8574 pcf8574(0x27,4,5); //4 is SDA 5 is SCL need replace by your board's pin define
/*
A0  A1  A2
0    0    0    =0x20
0    0    1    =0x21
0    1    0    =0x22
0    1    1    =0x23
1    0    0    =0x24
1    0    1    =0x25
1    1    0    =0x26
1    1    1    =0x27
*/
unsigned long timeElapsed;
void setup()
{
    Serial.begin(115200);
    delay(1000);
//    pcf8574.pinMode(P0, OUTPUT);
pcf8574.pinMode(P0, INPUT);
pcf8574.pinMode(P1, INPUT);
pcf8574.pinMode(P2, INPUT);
pcf8574.pinMode(P3, INPUT);
pcf8574.pinMode(P4, INPUT);
pcf8574.pinMode(P5, INPUT);
pcf8574.pinMode(P6, INPUT);
pcf8574.pinMode(P7, INPUT);
    Serial.print("Init pcf8574...");
    if (pcf8574.begin()){
        Serial.println("OK");
    }else{
        Serial.println("KO");
    }
}
void loop()
{
uint8_t val1 = pcf8574.digitalRead(P0);
uint8_t val2 = pcf8574.digitalRead(P1);
uint8_t val3 = pcf8574.digitalRead(P2);
uint8_t val4 = pcf8574.digitalRead(P3);
uint8_t val5 = pcf8574.digitalRead(P4);
uint8_t val6 = pcf8574.digitalRead(P5);
uint8_t val7 = pcf8574.digitalRead(P6);
uint8_t val8 = pcf8574.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");
    delay(300);
}

arduino code download:

.zip   DI8.zip (Size: 594 bytes / Downloads: 763)

PCF8574 arduino library ZIP file download:

.zip   PCF8574_library.zip (Size: 23.8 MB / Downloads: 822)

Print this item