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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,562
» Latest member: gg88shop
» Forum threads: 4,340
» Forum posts: 21,356

Full Statistics

Online Users
There are currently 360 online users.
» 1 Member(s) | 334 Guest(s)
Amazonbot, Applebot, Baidu, Bing, Bytespider, Crawl, Google, PetalBot, Semrush, Sogou web, Yandex, bot

Latest Threads
ds3231 added to esphome, ...
Forum: KC868-A16v3
Last Post: admin
1 hour ago
» Replies: 1
» Views: 6
KCS debounce option for K...
Forum: KC868-A16
Last Post: admin
1 hour ago
» Replies: 3
» Views: 61
HAv2 + ESPHome - Avoiding...
Forum: KC868-HA /HA v2
Last Post: admin
9 hours ago
» Replies: 4
» Views: 75
Does KCS v3 on CO16 opera...
Forum: CO16
Last Post: admin
Yesterday, 11:33 PM
» Replies: 1
» Views: 20
[arduino code examples fo...
Forum: F32
Last Post: admin
Yesterday, 04:27 AM
» Replies: 0
» Views: 24
[arduino code examples fo...
Forum: F32
Last Post: admin
Yesterday, 04:25 AM
» Replies: 0
» Views: 23
KC868-A16 wiring diagram
Forum: KC868-A16
Last Post: admin
11-17-2026, 09:31 PM
» Replies: 24
» Views: 22,194
N20 energy
Forum: N20
Last Post: admin
11-17-2026, 09:29 PM
» Replies: 1
» Views: 29
Automatic Modbus Sensor p...
Forum: "KCS" v3 firmware
Last Post: admin
11-17-2026, 09:27 PM
» Replies: 4
» Views: 132
[arduino code examples fo...
Forum: CO16
Last Post: admin
11-17-2026, 04:33 AM
» Replies: 0
» Views: 41

  AG8 IR Controller
Posted by: wiggerz1986 - 08-10-2024, 12:16 PM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (11)

Ive recently received the AG8 IR Controller and I've tried to plug it into my laptop to install my esphome firmware but my laptop is not recognising it. Im using a MacBook but I've tried it on a windows laptop with the sane outcome. Im not too sure if I'm missing something but I've used esphome on multiple boards previously with no issues.
Anyone able t help.
Thanks

Print this item

  A32 Pro flash KCS_KC868_A32_V2.2.2.bin did not work
Posted by: markbrewer - 08-09-2024, 07:59 PM - Forum: KC868-A32/A32 Pro - Replies (1)

Hi I flashed the new A32 Pro with the firmware KCS_KC868_A32_V2.2.2.bin the LCD that previously displayed A32 Pro now is blank. I cannot see that it is working correctly. See attached file for the loading of firmware. What can I do?



Attached Files Thumbnail(s)
   
Print this item

  Compatibility with RF433 Superheterodyne Module?
Posted by: mandy - 08-08-2024, 07:42 PM - Forum: KC868-A16 - Replies (3)

Hi everyone,
I’m looking for some advice on the KC868-A16 board. I want to know if it is compatible with a 433 MHz Superheterodyne RF module. Previously, I had issues with signal range using common 433 MHz RF modules, so I bought the Superheterodyne module to test it. However, when I tried using it with a 433 MHz alarm sensor, it didn’t detect the signal when I attempted to learn it using the KCS firmware.
I’m fairly new to this and just started experimenting with this board today. I also haven’t soldered the antenna to the RF module yet, but I was testing the sensor right next to the module.
Has anyone had experience with this setup or could offer any insights?
Thanks in advance!

   

Print this item

  Problem With Ethernet Port
Posted by: rferreras - 08-06-2024, 11:51 PM - Forum: KC868-A32/A32 Pro - Replies (3)

I have the following Arduino code and I can not get my A32 Pro to connect to the network and take IP, in the port if I see that there is connection but I can not get it to take an IP address from the DHCP of my network.

Code:
#ifndef ETH_PHY_TYPE
#define ETH_PHY_TYPE  ETH_PHY_LAN8720
#define ETH_PHY_ADDR  0
#define ETH_PHY_MDC   23
#define ETH_PHY_MDIO  18
#define ETH_PHY_POWER -1
#define ETH_CLK_MODE  ETH_CLOCK_GPIO0_IN
#endif

#include <ETH.h>
#include "Arduino.h"
#include "PCF8574.h"
#include <Wire.h>
#include <WiFi.h>
#include <Ethernet.h>
#include <SPI.h>
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include "esp_system.h"
#include "esp_task_wdt.h"

EthernetClient ethClient;
PubSubClient client(ethClient);

void setup() {
  Serial.begin(115200);
 
  ETH.begin();

  while (Ethernet.localIP() == INADDR_NONE) {
    Serial.println("Esperando dirección IP...");
    delay(1000);  // Esperar 1 segundo antes de verificar nuevamente
  }
 
  while (ETH.localIP() == INADDR_NONE) {
    Serial.println("Esperando dirección IP...");
    delay(1000);  // Esperar 1 segundo antes de verificar nuevamente
  }

  while (!ETH.linkUp()) {
    Serial.print(".");
    delay(1000);
  }

  Serial.println("");
  Serial.println("Ethernet conectado");
}

Print this item

  Help with KC868-A8 and traditional wall switch
Posted by: ogo - 08-06-2024, 04:38 PM - Forum: KC868-A series and Uair Smart Controller - Replies (8)

Hi,

I've recently acquired a KC868-A8, and successfully configured it with ESPHome and HomeAssistant. I'll be using a few of them to automate my new home, but first I'm trying things.

I'd like to use the unit to control some lights, which should be able to use with traditional wall switches, even if I'd remove the unit or it was failing (meaning not using the digital inputs).

Is it possible to do something like the following diagram, but changing the last switch for one of the relays?

[Image: 309ff1d702969e62f0523a48c5c3fdf6193cffdc.png]


If it is possible, how should I do it? COM to the light, and then NC, and NO to the 4-way switch? My goal is that when I use the wall switch or change the status of the relay, to toggle the state of the light.

Thanks!

Print this item

  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