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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,447
» Latest member: bhushan1301
» Forum threads: 4,326
» Forum posts: 21,312

Full Statistics

Online Users
There are currently 690 online users.
» 0 Member(s) | 668 Guest(s)
Amazonbot, Applebot, AwarioBot, Baidu, Bytespider, Crawl, Google, HeadlessChrome, PetalBot, bot

Latest Threads
kc868-a6 analog input
Forum: KC868-A6
Last Post: admin
Yesterday, 09:56 AM
» Replies: 3
» Views: 396
F24 ESPHome yaml for home...
Forum: F24
Last Post: admin
Yesterday, 07:25 AM
» Replies: 0
» Views: 10
[arduino code examples fo...
Forum: F24
Last Post: admin
Yesterday, 05:35 AM
» Replies: 0
» Views: 13
[arduino code examples fo...
Forum: F24
Last Post: admin
Yesterday, 05:33 AM
» Replies: 0
» Views: 13
[Arduino source code for ...
Forum: KC868-A2
Last Post: admin
Yesterday, 05:31 AM
» Replies: 6
» Views: 1,752
KC868-A4 – Relay 1 clicks...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
11-03-2026, 11:58 PM
» Replies: 3
» Views: 55
⚡ 40 Buttons, 36 Lighting...
Forum: DIY Project
Last Post: lulu01
11-03-2026, 07:34 PM
» Replies: 24
» Views: 3,049
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 03:04 AM
» Replies: 0
» Views: 24
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 01:34 AM
» Replies: 0
» Views: 27
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-03-2026, 12:15 AM
» Replies: 0
» Views: 29

  KC868-AP ESP32 I/O pin define
Posted by: admin - 12-27-2022, 04:12 AM - Forum: KC868-AP / ADR - No Replies

IIC SDA:GPIO4
IIC SCL:GPIO16

PCF8574:U14 (DI1-8):  0x22
PCF8574:U31 (DI9-16): 0x21

PCA9685 IIC address: 0x00

DI17: GPIO34
DI18: GPIO35

Relay1: GPIO13
Relay2: GPIO2

Button_Download: GPIO0

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:GPIO33
TXD:GPIO14

Extend serial:
GPIO5
GPIO32

Print this item

  COLB MQTT
Posted by: hentes - 12-26-2022, 01:17 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Hi

I have a situation when Home Assistant starts all my entities from 2 COLB modules have 'unknown' values. That's because the COLB modules are note sending periodic state messages ore they have no availability topic.   They are sending data only on state changes. That's could be critical in some situations like climate control. 
Example:
Turning on or off the heating in some rooms based on windows states. If a window in a room is closed then turn on the heating in that specific room. Now When HA starts the state of the window will be unknown so the heating won't start. That's only a banal example but in some critical scenes this could be an issue.
Proposed solution:
Make COLB to periodically (ex: every second) send stats data or when HA starts make some request to COLB topic to provide current sensor states.

This could massive improve the device reliability. Is it possible? Thank you.

Print this item

  Home Automation Power distribution Box - Lesson 3
Posted by: ARSHAD - 12-25-2022, 10:13 AM - Forum: Home automation training courses - Replies (15)

Hi Team

In Lesson 3 - of Home Automation Power distribution Box - below is the link

New tab (kincony.com)

Kindly confirm the What is the "Amps " used for ( 12V DC contactor) in Hardware lists ?



Thanks & Regards,
Arshad



Attached Files Thumbnail(s)
   
Print this item

  KC828-Server unable to respond mqtt command until restart
Posted by: Jessica - 12-25-2022, 07:29 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (14)

KC828-Server has two ethernet
I installed Debian on CM4 with ipV4 192.168.1.128
another ipV4 is 192.168.1.129, work mode MQTT

My problem is KC828-Server can be pinged from 192.168.1.128 to 192.168.1.129, but unable to respond mqtt command, neither to login until I do a restart then everything works fine.
This happens many times in a day, and I can't figure out how to solve it other than restarting the module.
Please advise.



Attached Files Thumbnail(s)
   
Print this item

Question Uair Barebones PCB
Posted by: ChirpyTurnip - 12-24-2022, 04:01 AM - Forum: KC868-Uair - Replies (7)

Hi,

The Uair case seems like a cool solution for DIY room sensors of any type but I'm not sold on the default PCB which is pretty expensive and contains features I do not need (like GPRS). However it seems to me that a case with nothing in it (eg no usb connector or LED) is also less than ideal as getting everything built into it and aligned is a pain.

Is there a barebones PCB option? For example the PCB  + USB B/C connector + break out header for the USB terminals? That would mean the PCB would be very cheap, but installing my own ESP32 and sensors would be easy....

Thanks!

CP.

Print this item

  Relay and 1-wire board ...
Posted by: Kollisionskurs - 12-22-2022, 03:45 PM - Forum: KC868-A4 - Replies (1)

hello all,
I am just new to the products of kincony and have a question: I am looking for a board with at least 8 relays and with the possibility to connect a few 1-wire sensors (temperature and VOC). If I saw it right, the KC868-A8 is exactly the right one for what I am looking for. Also price wise. Or ?
thx,
greatings

Print this item

  KC868-A16+16R
Posted by: SmartHomeTinker - 12-22-2022, 11:57 AM - Forum: DIY Project - Replies (4)

Let me present here my KC868-A16+16R* model to control my household lightning
+16R in name stands basic KC868-A16 have grown with additional 16-channel relay board on top of existing outputs.

Reason why I needed this is I have in my house impact relays what turn lights on/off and to control those I have low voltage push buttons what have led indicator to present light state. 
KC868-A16 digital inputs are reserved for button inputs
KC868-A16 Mosfet outputs are reserved to present output state in buttons
Additional 16 relays are to control impact relays as those require 12-24Vac 

Also I have here and there some smart lights what need to be constant AC, so for those channels impact relay is always in line powered positions and lights are controlled over the air, but for traditional dummy lights impact relays are controlled with that additional board relays. There's also failsafe that is Home Assistant or LAN is unreachable all lights are controlled with on/off function like traditional lights.

I'm running ESPhome in board  

16-channel relay board is basic 12Vdc voltage board what can be found everywhere like from Amazon or Aliexpress. To able control relays I had to add pcf8575 16 channel I2C IO extender card to relay board and wire it to KC868-A16 board I2C pins. Also couple of other modifications needed to get board fitted to same enclosure than  KC868-A16. Those were to move large electrolytic capacitor, power connector and pins headers to bottom side of circuit board. note in a picture power connector is still in original place
Also KC868-A16 enclosure got some modification, like trimming a skirt, adding slot for the board and slots to reach connector screws from top. Need to add some finishing touch to enclosure for sure

she might not won beauty contest but she rock!


Failsafe function video https://drive.google.com/file/d/17PmpGSY...DObO1sK4g8

edit: thank you for uploading images.

Print this item

  Uploading to KC868-A6
Posted by: Vulcan - 12-21-2022, 04:32 PM - Forum: KC868-A6 - Replies (5)

I am embarrassed to ask this and have flashed many ESP32s with far more complicated code but I am just trying to load one of the demo sketches provided by KinCony just to test my 868-A6. 
 I get this:

Connecting.....Traceback (most recent call last):
  File "esptool.py", line 34, in <module>
  File "esptool/__init__.py", line 1004, in _main
  File "esptool/__init__.py", line 790, in main
  File "esptool/loader.py", line 1108, in flash_set_parameters
  File "esptool/loader.py", line 406, in check_command
  File "esptool/loader.py", line 375, in command
  File "esptool/loader.py", line 307, in read
StopIteration
[94734] Failed to execute script 'esptool' due to unhandled exception!

I am using "cu.usbserial 14620" drivers and they work with my ESP32's. Can anyone tell me what might be wrong? 
The script is: 
Blink led on PIN0
by Mischianti Renzo <http://www.mischianti.org>

I have a lot to learn Smile


/*
Blink led on PIN0
by Mischianti Renzo <http://www.mischianti.org>
https://www.mischianti.org/2019/01/02/pc...asy-usage/
*/
#include "Arduino.h"
#include "PCF8574.h"
// Set i2c address
PCF8574 pcf8574(0x24,4,15);
void setup()
{
Serial.begin(115200);
//delay(1000);
// Set pinMode to OUTPUT
pcf8574.pinMode(P0, OUTPUT);
pcf8574.pinMode(P1, OUTPUT);
pcf8574.pinMode(P2, OUTPUT);
pcf8574.pinMode(P3, OUTPUT);
pcf8574.pinMode(P4, OUTPUT);
pcf8574.pinMode(P5, OUTPUT);
pcf8574.digitalWrite(P0, HIGH);
pcf8574.digitalWrite(P1, HIGH);
pcf8574.digitalWrite(P2, HIGH);
pcf8574.digitalWrite(P3, HIGH);
pcf8574.digitalWrite(P4, HIGH);
pcf8574.digitalWrite(P5, HIGH);
Serial.print("Init pcf8574...");
if (pcf8574.begin()){
Serial.println("OK");
}else{
Serial.println("KO");
}
}
void loop()
{
delay(300);
pcf8574.digitalWrite(P0, LOW);
delay(300);
pcf8574.digitalWrite(P1, LOW);
delay(300);
pcf8574.digitalWrite(P2, LOW);
delay(300);
pcf8574.digitalWrite(P3, LOW);
delay(300);
pcf8574.digitalWrite(P4, LOW);
delay(300);
pcf8574.digitalWrite(P5, LOW);
delay(300);
}

Print this item

  How can the power be calculated for the SMART control system
Posted by: engmohades - 12-20-2022, 05:31 PM - Forum: DIY Project - Replies (3)

How can the power be calculated for the SMART control system, considering the use of a 12 volt DC source for the following components, all of which operate on 12 volts DC and 
HOW calculat the total current ?

number  4  of KC868-E16V2            ( total 64relay )
number  2  ofof H32B PRO              ( total 64relay )
number  2 switch module boards      ( total 64 switch ) 
number  3 contactor 45A 12v dc )

Print this item

  GPIO
Posted by: Serci - 12-20-2022, 02:40 PM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (3)

I tryed to use this configuration for tasmota

https://templates.blakadder.com/kincony_...3e5fOFiJP6

But it does not work for me

I did configure a IR receiver on GPIO 32 and it seems to receive something when I press a button on my remote control.
However it also receive with an UNKNOWN protocol when I do not press anything.

I also have a RF remote control, and I cannot receive anything from this one.

Is the GPIO32 the one for IR Receive ?
What is the GPIO Number for RF send and RF receive ?

Print this item