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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 9,687
» Latest member: victoriaparker
» Forum threads: 4,195
» Forum posts: 20,848

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 21 Guest(s)
Bing, Bytespider, Crawl, PetalBot, bot

Latest Threads
N60 configure yaml for ES...
Forum: N60
Last Post: admin
08-23-2026, 01:42 AM
» Replies: 7
» Views: 1,909
KCS VERSUS ESPHOME
Forum: "KCS" v3 firmware
Last Post: EDVALDO DE MARINGA
08-22-2026, 01:31 PM
» Replies: 2
» Views: 53
KC868-AGv3
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
08-20-2026, 10:18 PM
» Replies: 5
» Views: 122
[arduino code examples fo...
Forum: KC868-A32/A32 Pro
Last Post: huanmarie
08-19-2026, 07:09 AM
» Replies: 2
» Views: 1,625
KC868-H32B V5.08 firmware
Forum: News
Last Post: meoowu77
08-18-2026, 11:46 AM
» Replies: 24
» Views: 8,482
KinCony B2 Smart Controll...
Forum: News
Last Post: admin
08-17-2026, 01:07 PM
» Replies: 0
» Views: 68
KC868-A8v3 PCB layout CAD...
Forum: Schematic & diagram & Dimensions of KinCony PCB layout CAD file
Last Post: admin
08-17-2026, 08:44 AM
» Replies: 0
» Views: 91
CT Clamp Compatibility
Forum: KC868-M16 / M1 / MB / M30
Last Post: admin
08-16-2026, 11:08 PM
» Replies: 12
» Views: 2,218
N60 Sensor channel label
Forum: N60
Last Post: marekd1
08-14-2026, 09:14 PM
» Replies: 18
» Views: 2,582
solar production and cons...
Forum: N30
Last Post: admin
08-14-2026, 01:46 AM
» Replies: 3
» Views: 182

  KC868-A8 Ethernet Problem
Posted by: Namil Heo - 09-30-2024, 01:11 PM - Forum: KC868-A8 - No Replies

Hello, i have a KC868-A8 Board connected with ethernet cable but the port suddenly stopped working.

# 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

IPAddress local_ip(192, 168, 0, 144);
IPAddress gateway(192, 168, 0, 254);
IPAddress subnet(255, 255, 255, 0);

  ETH.begin(ETH_TYPE, ETH_ADDR, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_POWER_PIN, ETH_CLK_MODE);
  if (ETH.config(local_ip, gateway, subnet, dns, dns) == false) {
    Serial.println("EtherNet failed.");
  }else{Serial.println("EtherNet Success.");}

  Serial.println("Connected");
  Serial.print("IP Address:");
  Serial.println(ETH.localIP());
  delay(500);

Print this item

  Cannot flash firmware, A8 not showing as connected serial device
Posted by: kcampbell - 09-28-2024, 03:36 PM - Forum: KC868-A8 - Replies (1)

I use a Mac, and do not have access to Windows PC

When powering on the A8 I hear the series of relay clicks and the power light is on.

I have connected USB C to C cable to my MacBook, but "ls /dev/cu.*" does not show any connected device and so I cannot flash firmware.

Any suggestions?

Kevin

Print this item

  Interfacing multiple LED strips to the AIO board
Posted by: telewizard13 - 09-28-2024, 12:05 PM - Forum: KC868-AIO - Replies (1)

The AIO board Yaml file for Home Assistant creates "aio-Color-LED-1 to aio-Color-LED-16" outputs, and a single "aio-rgbw" output. How would these 17 different LED devices be connected to a AIO board? On the large AIO connection diagram I downloaded, you show a single LED strip connected to one of the two GPIO ports and a 1-wire humidity sensor connected to the other. Does another interface board need to be purchased and connected to the AIO board to control all these LED devices on the HA dashboard?



Attached Files Thumbnail(s)
   
Print this item

  Error HA installation with fresh install on Server 16
Posted by: rafic - 09-28-2024, 08:31 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (6)

short disclaimer....I am new to this and trying to setup HA for automation as a DIYer [so I am not get all the terms correctly]

I recently recieved K868-server 16...following the instructions for installing HA image as suggested via youtube video https://www.youtube.com/watch?v=oEjIZg6C_-Y&t=486s

The problem is that I am not able to launch HA after installing the software on the SD card...the error I am getting is as follows [image attached]:

             [supervisor.jobs] ‘Updater.fetch_data’ blocked from execution, no supervisor internet connection 
             [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec


I think i found the issue after reading through mulitple threads and I think the problem is the RPI local time not synchronizing with my local internet time hence it is not booting 

How to change the local time on the RPI…The problem is that i cannot type any command with my keyboard on this HA screen [2images attached]

Thank you for your help in advance



Attached Files Thumbnail(s)
           
Print this item

  Temperature and humidity with A6
Posted by: Savino - 09-27-2024, 08:49 PM - Forum: KC868-A series and Uair Smart Controller - Replies (9)

Hello,
i'd like to add temperature and umidity sensor to my kc868-A6 board.
The board is flashed with latest kincony firmware (2.2.4).

I know that this board has two specific input designed to accept temperature and humidity sensors.

I need some info:

1) wich sensors are suitable to this board?
2) wich one do you suggest?

Thanks

Print this item

  SHT30/DS18B20 errors and warnings in the logs
Posted by: TaurosRMK - 09-27-2024, 08:16 PM - Forum: KC868-A2 - Replies (30)

I have connected the SHT30 I2C sensor to the port and everything works for a few minutes like normal, and then I start getting errors and some warnings in the logs. I am using ESPHome. At the same time, one DS18B20 sensor also sends warnings, although it seems to work, but from time to time the sensor may become unavailable.

I also wanted to use the TCA9548A I2C Multiplexer to connect 3 SHT30/SHT40 sensors, but I also got errors. Nevertheless, all of these SHT30/SHT40 sensors work fine on the individual ESP32 boards.

CRC8 Checksum invalid at pos 0!
Component sht3xd.sensor set Warning flag: unspecified
Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid

What could it be?

   

Print this item

  AWG/gauge of output, and certification
Posted by: AlexG - 09-27-2024, 03:15 PM - Forum: KC868-A16 - Replies (1)

I'm looking to use the KC868-A16S relay board for lighting here in the US, and for that, the outputs would pass through 120v and up to 10A.

What wiring gauge do these terminals accept?
What is the model of the OMRON relay?
Is there any certification for this, like UL or similar?

TY.

Print this item

  using KC868-A16 ESP32 relays at 220v
Posted by: poseido - 09-27-2024, 09:30 AM - Forum: KC868-A series and Uair Smart Controller - Replies (1)

Hello

I've ben trying to make my home heating instalation work with first some esp32+tasmota+DIY board, then integrated borads with ESP32 and realys.,.. but now I found Kincony products and they do look great! I want to use them!

My issue is the following:

I want to control my water based heating floor circuits with the   KC868-A16 ESP32, each circuit has a valve that works with 2 wires, at 220v-230v, if there is current, they open, if not they selfclose (similar to this:  Actuador térmico eléctrico, radiador para calefacción por suelo radiante, válvula NC, N58A, 230V - AliExpress 13)  but they work with 220 volts,  so seeing the  KC868-A16 ESP32 capabilities, I see that the relay outputs say 0-12v to 24v...

any work around for that? using 220v with a very low amperage would kill the PCB?

thanks!

Print this item

Question Roller shutters steering with (negative) -24V DC
Posted by: esde - 09-27-2024, 06:47 AM - Forum: DIY Project - Replies (3)

Hello,

First of all I would like to thank you for your hardware. Works perfectly and it pretty much powers my house now (with help of ESPHome) Smile Good job!

Now, my challenge is to manage roller shutters. I do have a separate hardware that contains relays and I would like to use it because it has built-in safety features. The problem is that the coils are managed using a -24V DC. Please note the minus there. So, to open, or close a shutter I need to connect the wire that's coming from the relay module to -24V DC. Meh.

What would be the best way to achieve it? If possible I would love to refrain from using another hardware in between the board and the relay module. Maybe is there something on your product list that could be used for this? I would need 32 channels (16 up, 16 down). If not, what would be your suggestion?

Thanks!

Print this item

  [arduino code examples for B16M]-11 digital INPUT trigger OUTPUT directly
Posted by: admin - 09-27-2024, 02:45 AM - Forum: B16M - No Replies

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This program reads 16 input states from a PCF8575 I/O expander and
* controls a corresponding 16-channel relay module. When an input pin
* is LOW, the corresponding relay is turned ON (LOW means ON for the relay).
* When the input pin is HIGH, the corresponding relay is turned OFF.
*
* Pin Definitions:
* - SDA: GPIO 38
* - SCL: GPIO 39
* - Input I2C Address: 0x24
* - Relay I2C Address: 0x25
*/

#include <Wire.h>        // I2C communication
#include <PCF8575.h>     // Library to control the PCF8575 I/O expander

// Define I2C pins
#define SDA 38           // SDA pin
#define SCL 39           // SCL pin

// I2C addresses
#define INPUT_I2C_ADDRESS 0x24   // I2C address for the input PCF8575 module
#define RELAY_I2C_ADDRESS 0x25   // I2C address for the relay PCF8575 module

PCF8575 pcf8575_IN(INPUT_I2C_ADDRESS);    // Create an object for the input PCF8575
PCF8575 pcf8575_RL(RELAY_I2C_ADDRESS);    // Create an object for the relay PCF8575

void setup() {
  // Initialize I2C communication
  Wire.begin(SDA, SCL);
 
  // Initialize serial communication
  Serial.begin(115200);
 
  // Initialize input and relay modules
  pcf8575_IN.begin();
  pcf8575_RL.begin();
 
  // Turn off all relays at the start
  for (int i = 0; i < 16; i++) {
    pcf8575_RL.write(i, LOW);  // Assuming relays are LOW when OFF, setting all relays to OFF initially
  }
 
  Serial.println("System started: Input state controlling 16 relays");
}

void loop() {
  uint16_t inputState = 0;

  // Read the state of 16 inputs
  for (int i = 0; i < 16; i++) {
    if (pcf8575_IN.read(i)) {
      inputState |= (1 << i);  // If input is HIGH, set the corresponding bit
    } else {
      inputState &= ~(1 << i); // Otherwise, clear the corresponding bit
    }
  }
 
  // Control the relays based on the input state
  for (int i = 0; i < 16; i++) {
    if (inputState & (1 << i)) {
      pcf8575_RL.write(i, HIGH);  // If input is HIGH, turn the relay OFF
    } else {
      pcf8575_RL.write(i, LOW);   // If input is LOW, turn the relay ON
    }
  }

  // Delay for 500 milliseconds
  delay(500);
}
arduino ino file download: 
.zip   11-input-trigger-output.zip (Size: 1.02 KB / Downloads: 738)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:
.zip   11-input-trigger-output.ino.merged.zip (Size: 189.72 KB / Downloads: 716)

Print this item