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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 10,574
» Latest member: llwinink
» Forum threads: 4,345
» Forum posts: 21,367

Full Statistics

Online Users
There are currently 151 online users.
» 0 Member(s) | 127 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bing, Bytespider, Crawl, DuckDuckGo, Google, PetalBot, Semrush, bot

Latest Threads
How is energy value deter...
Forum: N60
Last Post: marekd1
5 hours ago
» Replies: 2
» Views: 28
Automatic Modbus Sensor p...
Forum: "KCS" v3 firmware
Last Post: admin
5 hours ago
» Replies: 6
» Views: 149
KC868-A16 V3 – HTTPS GET ...
Forum: "KCS" v3 firmware
Last Post: PrivatePerson
10 hours ago
» Replies: 0
» Views: 14
KC868-A8v3 ESPHome yaml f...
Forum: KC868-A8v3
Last Post: admin
Yesterday, 03:04 AM
» Replies: 0
» Views: 33
[arduino code examples fo...
Forum: KC868-A8v3
Last Post: admin
Yesterday, 02:58 AM
» Replies: 0
» Views: 23
[arduino code examples fo...
Forum: KC868-A8v3
Last Post: admin
Yesterday, 02:54 AM
» Replies: 0
» Views: 18
N20 energy
Forum: N20
Last Post: admin
Yesterday, 12:30 AM
» Replies: 3
» Views: 59
ds3231 added to esphome, ...
Forum: KC868-A16v3
Last Post: admin
11-19-2026, 01:28 PM
» Replies: 1
» Views: 45
KCS debounce option for K...
Forum: KC868-A16
Last Post: admin
11-19-2026, 01:24 PM
» Replies: 3
» Views: 88
HAv2 + ESPHome - Avoiding...
Forum: KC868-HA /HA v2
Last Post: admin
11-19-2026, 05:03 AM
» Replies: 4
» Views: 130

  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: 857)
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: 821)

Print this item

  [arduino code examples for B16M]-10 Print TEXT on SSD1306 OLED displayer
Posted by: admin - 09-27-2024, 02:38 AM - Forum: B16M - Replies (2)

Code:
/*
* Made by KinCony IoT: https://www.kincony.com
*
* This Arduino program demonstrates how to display text on an SSD1306 128x64 OLED display using the U8g2 library.
* The program draws two lines of text on the display:
* - The first line is "KINCONY" in a larger font.
* - The second line is "www.kincony.com" in a smaller font.
*
* The display is connected via I2C (software implementation) with:
* - SCL (clock) on pin IO39
* - SDA (data) on pin IO38
*
* The display's I2C address is set to 0x3C.
*/

#include <U8g2lib.h>  // Include the U8g2 library for controlling the OLED display
#include <Wire.h>     // Include the Wire library for I2C communication

// Initialize the display using the software I2C method (SCL = IO39, SDA = IO38)
U8G2_SSD1306_128X64_NONAME_F_SW_I2C u8g2(U8G2_R0,  39, 38, U8X8_PIN_NONE);  // Screen rotation: U8G2_R0

// Function to display page 1 content
void page1() {
  // Set font size 18 for the larger "KINCONY" text
  u8g2.setFont(u8g2_font_timR18_tf);  // Use the Times Roman font, size 18
  u8g2.setFontPosTop();               // Set the text position at the top of the display
  u8g2.setCursor(5, 0);               // Position the cursor at coordinates (5, 0)
  u8g2.print("KINCONY");              // Display the text "KINCONY" on the screen

  // Set font size 12 for the smaller "www.kincony.com" text
  u8g2.setFont(u8g2_font_timR12_tf);  // Use the Times Roman font, size 12
  u8g2.setCursor(0, 40);              // Position the cursor at coordinates (0, 40)
  u8g2.print("www.kincony.com");      // Display the text "www.kincony.com"
}

// Setup function, runs once when the program starts
void setup() {
  // Set the I2C address for the display to 0x3C
  u8g2.setI2CAddress(0x3C*2);  // I2C address shift for 8-bit format
 
  // Initialize the display
  u8g2.begin();
 
  // Enable UTF-8 character printing for the display
  u8g2.enableUTF8Print();  // Allow UTF-8 encoded text to be printed
}

// Main loop function, continuously runs after setup()
void loop() {
  // Begin the display drawing process
  u8g2.firstPage();  // Prepare the first page for drawing
  do {
    // Call the page1() function to draw content on the display
    page1();
  } while (u8g2.nextPage());  // Continue to the next page until all pages are drawn
}
arduino ino file download: 
.zip   10-oled-ssd1306.zip (Size: 1.12 KB / Downloads: 856)
BIN file (you can use esp32 download tool download to ESP32-S3 with address 0x0 then directly to use) download:
.zip   10-oled-ssd1306.ino.merged.zip (Size: 201.32 KB / Downloads: 881)

Print this item