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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,864
» Latest member: jiso610
» Forum threads: 3,884
» Forum posts: 19,806

Full Statistics

Online Users
There are currently 41 online users.
» 0 Member(s) | 20 Guest(s)
AhrefsBot, Amazonbot, Bing, Bytespider, PetalBot, Semrush, Yandex, bot

Latest Threads
KC868-E16S/E16P demo conf...
Forum: KC868-E16S/E16P
Last Post: phrfpeixoto
51 minutes ago
» Replies: 17
» Views: 11,225
kc-868 AK
Forum: "KCS" v3 firmware
Last Post: Saif Kitany
3 hours ago
» Replies: 0
» Views: 5
New TA web interface unav...
Forum: TA
Last Post: pbouwen
7 hours ago
» Replies: 2
» Views: 11
AIO Hybrid wiring diagram
Forum: AIO Hybrid
Last Post: admin
Today, 05:45 AM
» Replies: 0
» Views: 5
false start with KC868 A1...
Forum: KC868-A16v3
Last Post: admin
Yesterday, 11:08 PM
» Replies: 1
» Views: 11
Interface T16M E/S et AIO
Forum: News
Last Post: admin
Yesterday, 11:05 PM
» Replies: 7
» Views: 91
KCS_Z1_V3.24.2.zip firmwa...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 02:37 AM
» Replies: 6
» Views: 76
KC868-COLB - How to Conne...
Forum: KC868-HxB series Smart Controller
Last Post: upstream
04-03-2026, 11:26 PM
» Replies: 6
» Views: 54
Instal ESP HA with ethern...
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
04-03-2026, 11:09 PM
» Replies: 3
» Views: 34
KC868-A4 USB not detected...
Forum: KC868-A series and Uair Smart Controller
Last Post: stansvec
04-03-2026, 02:04 AM
» Replies: 4
» Views: 1,623

  H32B firmware download tool on Windows 11
Posted by: xray - 08-04-2024, 04:13 PM - Forum: KC868-HxB series Smart Controller - Replies (8)

Hello Kincony,

Do you have a working version of firmware download tool for Windows 11?

I'm getting an error message when I click on "Open Serial Port" in  "KC868 Controller Bootloader.exe" GUI on Windows 11.



Code:
System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str)
   a következő helyen: System.IO.Ports.SerialStream.InitializeDCB(Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Boolean discardNull)
   a következő helyen: System.IO.Ports.SerialStream..ctor(String portName, Int32 baudRate, Parity parity, Int32 dataBits, StopBits stopBits, Int32 readTimeout, Int32 writeTimeout, Handshake handshake, Boolean dtrEnable, Boolean rtsEnable, Boolean discardNull, Byte parityReplace)
   a következő helyen: System.IO.Ports.SerialPort.Open()
   a következő helyen: 上位机.Form1.btn_openser_Click(Object sender, EventArgs e)
   a következő helyen: System.Windows.Forms.Control.OnClick(EventArgs e)
   a következő helyen: System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   a következő helyen: System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   a következő helyen: System.Windows.Forms.Control.WndProc(Message& m)
   a következő helyen: System.Windows.Forms.ButtonBase.WndProc(Message& m)
   a következő helyen: System.Windows.Forms.Button.WndProc(Message& m)
   a következő helyen: System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Betöltött szerelvények **************
mscorlib
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9256.0 built by: NET481REL1LAST_B
    Kódbázis: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
上位机
    Szerelvény verziója: 1.0.0.0
    Win32-verzió: 1.0.0.0
    Kódbázis: file:///C:/Users/Username/Downloads/kincony/KC868%20Controller%20Bootloader.exe
----------------------------------------
System.Windows.Forms
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9251.0 built by: NET481REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9251.0 built by: NET481REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9241.0 built by: NET481REL1LAST_C
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Windows.Forms.resources
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_hu_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    Szerelvény verziója: 4.0.0.0
    Win32-verzió: 4.8.9032.0 built by: NET481REL1
    Kódbázis: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_hu_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------



Attached Files Image(s)
   
Print this item

  Custom ESPHome firmware and Tuya integration
Posted by: Stouf - 08-04-2024, 12:10 AM - Forum: KC868-A6 - Replies (39)

Hello,
I am trying to use your librairy but seem to always have the same compilation error, using the exemple or my own code. Maybe you have an idea of what it can be please?
(of course I have a license for the product, hc868-a6, but almost sure it's not related)



Code:
src/esphome/components/tuya_iot/tuya_iot_component.cpp: In lambda function:
src/esphome/components/tuya_iot/tuya_iot_component.cpp:167:96: error: invalid initialization of reference of type 'const json_parse_t&' {aka 'const std::function<bool(ArduinoJson6185_D1::ObjectRef)>&'} from expression of type 'esphome::tuya_iot::TuyaIotComponent::subscribe_json(const string&, const mqtt_json_callback_t&, uint8_t)::<lambda(const string&, const string&)>::<lambda(ArduinoJson::JsonObject)>'
         json::parse_json(payload, [topic, callback](JsonObject root) { callback(topic, root); });
                                                                                                ^
In file included from src/esphome.h:21,
                 from src/esphome/components/tuya_iot/tuya_iot_component.h:3,
                 from src/esphome/components/tuya_iot/tuya_iot_component.cpp:1:
src/esphome/components/json/json_util.h:26:6: note: in passing argument 2 of 'bool esphome::json::parse_json(const string&, const json_parse_t&)'
bool parse_json(const std::string &data, const json_parse_t &f);
      ^~~~~~~~~~
Compiling .pioenvs/tuya-test/src/esphome/components/wifi/wifi_component_esp8266.cpp.o
*** [.pioenvs/tuya-test/src/esphome/components/tuya_iot/tuya_iot_component.cpp.o] Error 1
========================= [FAILED] Took 55.72 seconds =========================

Thank you very much

Print this item

  No AP wifi
Posted by: rroca - 08-02-2024, 07:43 PM - Forum: KC868-A6 - Replies (1)

I've just bought the KC868-A6 and after powering it with 12V, I do see a red led just near the 12V intput, so has power, but I don't get any wifi to start. I was expecting the board in AP mode. (I was assuyming that's the way to start).

I tried to push S1 & S2 buttons ofr > 10 secs, but the same.

Is the board I've got faulty? What can I so?

Print this item

  Dimensions for KC868-E16 V2
Posted by: lulu01 - 08-02-2024, 12:10 PM - Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file - Replies (5)

Hello,

do you have the exact dimensions (H x h x l) for the KC868-E16 V2 board? I'm especially interested in knowing how much it protrudes towards the front - the minimum distance from the DIN rail that I need to have available.

Thank you!

Print this item

  KinCony ESP32 Tuya IoT adapter and Tuya app
Posted by: Dana - 08-01-2024, 12:07 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

Good evening, 
I am using Kincony kc868-atc v1 board, to connect my modbus device, I want to interface it with tuya application.
I want to build my own interface, but all the tutorials uses a ready interface. the other tutorials suggest burning the authorization to an ESP module so it can interface with tuya platform, but in our case we have the CBU-IPEX module, how can I build an interface on tuya, does it require licensing?

Also, does the  kincony esp32 bin file firmware interfere with the arduino file? 

thank you

Print this item

  RFID reader
Posted by: diegoruales@gmail.com - 07-31-2024, 11:20 PM - Forum: KC868-A8 - Replies (8)

Hi

please guide me in the right direction

i bought a kc868-A8  and  i want to add  RFID READER ;  my code working in normal ESP32 NODEMCU IS

Code:
#include <SPI.h>
#include <MFRC522.h>

#define RST_PIN 9 // Pin para el RST de los lectores RFID

// Pines SS para los 6 lectores RFID
#define SS_PIN1 10
#define SS_PIN2 11
#define SS_PIN3 12
#define SS_PIN4 13
#define SS_PIN5 14
#define SS_PIN6 15

// Instancias de los lectores RFID
MFRC522 rfid1(SS_PIN1, RST_PIN);
MFRC522 rfid2(SS_PIN2, RST_PIN);
MFRC522 rfid3(SS_PIN3, RST_PIN);
MFRC522 rfid4(SS_PIN4, RST_PIN);
MFRC522 rfid5(SS_PIN5, RST_PIN);
MFRC522 rfid6(SS_PIN6, RST_PIN);

// Variables para el temporizador
unsigned long previousMillis = 0; // Almacena el último tiempo en que se imprimió el mensaje
const long interval = 10000;      // Intervalo de 10 segundos (10,000 milisegundos)

void setup()
{
  Serial.begin(115200); // Inicializar comunicación serial
  SPI.begin();          // Inicializar el bus SPI

  // Inicializar cada lector RFID
  rfid1.PCD_Init();
  rfid2.PCD_Init();
  rfid3.PCD_Init();
  rfid4.PCD_Init();
  rfid5.PCD_Init();
  rfid6.PCD_Init();

  Serial.println("RFID readers initialized");
}

// Función para leer datos del RFID y mostrar el UID
void readRFID(MFRC522 &rfid, const char *lector)
{
  // Verificar si hay una nueva tarjeta presente
  if (!rfid.PICC_IsNewCardPresent())
    return;

  // Seleccionar una tarjeta
  if (!rfid.PICC_ReadCardSerial())
    return;

  // Mostrar el UID de la tarjeta
  Serial.print("UID de la tarjeta en ");
  Serial.print(lector);
  Serial.print(": ");
  for (byte i = 0; i < rfid.uid.size; i++)
  {
    Serial.print(rfid.uid.uidByte[i] < 0x10 ? " 0" : " ");
    Serial.print(rfid.uid.uidByte[i], HEX);
  }
  Serial.println();

  // Detener la comunicación con la tarjeta
  rfid.PICC_HaltA();
  rfid.PCD_StopCrypto1();
}

void loop()
{
  // Leer cada lector RFID
  readRFID(rfid1, "Lector 1");
  readRFID(rfid2, "Lector 2");
  readRFID(rfid3, "Lector 3");
  readRFID(rfid4, "Lector 4");
  readRFID(rfid5, "Lector 5");
  readRFID(rfid6, "Lector 6");

  // Imprimir algo cada 10 segundos
  unsigned long currentMillis = millis();
  if (currentMillis - previousMillis >= interval)
  {
    previousMillis = currentMillis;
    Serial.println("Han pasado 10 segundos.");
  }

  delay(1000); // Retardo para evitar lecturas rápidas consecutivas
}

i dont care about using ethernet , i don t need ethernet;   please tell me how to address the pins to use MOSI MISO SCLK AND CS required for  MFRC522 library

thanks a lot

Print this item

  KC-868 A16 output strange behaviour
Posted by: emile - 07-31-2024, 09:14 AM - Forum: KC868-A16 - Replies (16)

I've installed a KC868-a16 and used the 12v powersupply delivered by Kincony. For output's I use a seperate 24v power supply. The board is flashed by using ESPHOME+HomeAssistant.

5 inputs+outputs are in use. 

The problem occurs when using the default code (by Kincony) and when I use a modified version. 

The problem:
- When output 1,2,3,4 switched on, the corresponding LED's switch on and my relays switch on. 
- When switching output 5 on, all LED's switch off, except5. all relays stay on, but cannot be controlled by switching off the output (1,2,3,4).

the same issue occurs when I switch 1,2,4,5 on. Then output 3 starts the problem. 

my thoughts: 
- I2C adresses seem to be ok (v1.6 board)
- no library installed

Please let me know

Print this item

  Need Help Getting Started with ESPHome and Home Assistant Integration
Posted by: benjonson - 07-29-2024, 09:25 AM - Forum: Getting Started with ESPHome and Home Assistant - Replies (1)

Hi everyone Rolleyes

I am diving into home automation for the first time and just got my hands on some Kincony devices. I'm excited to start building my smart home with ESPHome and Home Assistant but could use some guidance.

I've followed the basic setup instructions but I'm hitting a few roadblocks. I'd appreciate any tips on:-

  • Flashing Firmware: What's the best way to install ESPHome firmware on Kincony devices? Are there specific settings I should know about?
  • Configuration Files: Can anyone share example YAML configuration files for common Kincony devices? I need help understanding how to set up sensors, switches, etc.
  • Home Assistant Integration: How do I smoothly integrate my flashed and configured devices into Home Assistant? Any tips for a reliable connection?
  • Troubleshooting: What are common issues to watch out for during setup?
I'm eager to learn and get my smart home up and running. 

Thanks in advance for any help!

Respected community member! Heart

Print this item

  Need Help Getting Started with ESPHome and Home Assistant Integration
Posted by: benjonson - 07-29-2024, 09:20 AM - Forum: Getting Started with ESPHome and Home Assistant - Replies (8)

Hello guys! :)

I am excited to start integrating them with ESPHome and Home Assistant but I am finding the initial setup a bit challenging.

I have gone through the basic installation guides but I could use some help with the following:-

  • What are the best practices for flashing ESPHome firmware onto Kincony devices? Are there any specific settings or configurations I should be aware of?
  • Could anyone share sample YAML configuration files for common Kincony devices? I am looking for examples to better understand how to define sensors, switches and other components.
  • Once the devices are flashed and configured, what's the best way to integrate them into Home Assistant? Are there any tips for ensuring a smooth connection and reliable performance?
  • Any advice on common issues or pitfalls to avoid during this setup process?

I also check this:- KC868-H32B Pro with Home Assistantlooker But I have not found any solution. Could anyone guide me about this? I appreciate any guidance or resources you can provide. Looking forward to getting my smart home up and running with your help!

Thanks in advance :shy:

Respected community member

Print this item

  KC868-A2 V2.4 +SIM7600E-L1C
Posted by: ktmustafa - 07-25-2024, 02:43 PM - Forum: KC868-A2 - Replies (6)

Hello,
I used the KC868-A2 AT debug code to test the connection with the SIM7600E-L1C module. However, I did not get any response... The serial monitor keeps showing " Initializing... " only. Code as below. I would appreciate it if you could help solve this issue.

Thank you

Code:
#include <SoftwareSerial.h>
#include <Arduino.h>

SoftwareSerial gsmSerial(5, 13); ////Rx, Tx for SMS Modem

void setup() {
  Serial.begin(115200);
  gsmSerial.begin(9600);
}

void loop() {
  Serial.println("Initializing...");
  delay(1000);
  gsmSerial.println("AT");
  updateSerial();
  delay(3000);
 
}

void updateSerial()
{
  delay(1000);
  while (Serial.available())
  {
    gsmSerial.write(Serial.read());//Forward what Serial received to Software Serial Port
  }
  while(gsmSerial.available())
  {
    Serial.write(gsmSerial.read());//Forward what Software Serial received to Serial Port
  }
}

Print this item