<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Smart Home Automation Forum - KC868-A16v3]]></title>
		<link>https://www.kincony.com/forum/</link>
		<description><![CDATA[Smart Home Automation Forum - https://www.kincony.com/forum]]></description>
		<pubDate>Sat, 05 Dec 2026 02:43:05 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[ds3231 added to esphome, can help with configuration?]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9959</link>
			<pubDate>Thu, 19 Nov 2026 21:07:11 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=8404">riri0</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9959</guid>
			<description><![CDATA[ds3231 added to esphome 2026.11. I would like to use it.<br />
<a href="https://esphome.io/components/ds3231/" target="_blank" rel="noopener" class="mycode_url">https://esphome.io/components/ds3231/</a><br />
<br />
Is there interrupt pin and 32khz pin?<br />
Any recommended settings?]]></description>
			<content:encoded><![CDATA[ds3231 added to esphome 2026.11. I would like to use it.<br />
<a href="https://esphome.io/components/ds3231/" target="_blank" rel="noopener" class="mycode_url">https://esphome.io/components/ds3231/</a><br />
<br />
Is there interrupt pin and 32khz pin?<br />
Any recommended settings?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A16-V3.2: exact wiring diagram, I2C connector pinout and P-MOS outputs]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9925</link>
			<pubDate>Sun, 01 Nov 2026 06:10:04 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=12257">EduardVarya</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9925</guid>
			<description><![CDATA[Hello,<br />
<br />
My name is Eduard. I have received a KC868-A16 board with "KC868-A16-V3.2" printed on the PCB and an ESP32-S3-WROOM-1U module.<br />
<br />
Thank you for your reply. I understand that the board needs external 12-24 V DC power, USB is not a power input, HT1/HT2/HT3 have onboard pull-ups, the outputs use P-MOS transistors, the RTC battery is CR1220, and the display is SSD1306. Ethernet and the display now work with my custom firmware.<br />
<br />
I have read the GPIO list:<br />
<a href="https://www.kincony.com/forum/showthread.php?tid=7614" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=7614</a><br />
<br />
What I still need is the electrical wiring information for this exact V3.2 revision. Please provide the schematic PDF or an annotated terminal diagram answering these points:<br />
<br />
I also found your official wiring illustration (<a href="https://www.kincony.com/forum/showthread.php?tid=9281" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=9281</a>), which shows a V3.1 PCB, and the August 2 request where you replied "email sent" (<a href="https://www.kincony.com/forum/showthread.php?tid=9713" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=9713</a>). Could you provide the corresponding documentation for V3.2? If it cannot be published, please explain how I can obtain it.<br />
<br />
1. White four-pin I2C connector: you identified it as XH 2.54 mm. Please show the exact VCC/GND/SDA/SCL order, with the connector latch/key visible, its supply voltage, and the matching cable/connector part number.<br />
2. Your official illustration shows loads returning to GND and positive supply fed to the output banks. Please confirm that this wiring applies unchanged to V3.2, identify the bank supply terminals, specify continuous current limits per channel and per bank, and confirm whether inductive-load suppression is built in or must be added externally.<br />
3. Power protection: what protection is provided between external DC power and USB, and against reversed DC polarity? What current is available from the board's 3V3 and 5V auxiliary outputs?<br />
4. CR1220 holder: please confirm polarity and that a non-rechargeable CR1220 is suitable, with no charging current applied to it.<br />
<br />
The older KC868-A16 schematic and a V3.1 PCB layout do not establish these connections for V3.2. If the full schematic is unavailable, clear labelled photographs or a wiring diagram answering these four points would help.<br />
<br />
Thank you,<br />
Eduard]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
My name is Eduard. I have received a KC868-A16 board with "KC868-A16-V3.2" printed on the PCB and an ESP32-S3-WROOM-1U module.<br />
<br />
Thank you for your reply. I understand that the board needs external 12-24 V DC power, USB is not a power input, HT1/HT2/HT3 have onboard pull-ups, the outputs use P-MOS transistors, the RTC battery is CR1220, and the display is SSD1306. Ethernet and the display now work with my custom firmware.<br />
<br />
I have read the GPIO list:<br />
<a href="https://www.kincony.com/forum/showthread.php?tid=7614" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=7614</a><br />
<br />
What I still need is the electrical wiring information for this exact V3.2 revision. Please provide the schematic PDF or an annotated terminal diagram answering these points:<br />
<br />
I also found your official wiring illustration (<a href="https://www.kincony.com/forum/showthread.php?tid=9281" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=9281</a>), which shows a V3.1 PCB, and the August 2 request where you replied "email sent" (<a href="https://www.kincony.com/forum/showthread.php?tid=9713" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=9713</a>). Could you provide the corresponding documentation for V3.2? If it cannot be published, please explain how I can obtain it.<br />
<br />
1. White four-pin I2C connector: you identified it as XH 2.54 mm. Please show the exact VCC/GND/SDA/SCL order, with the connector latch/key visible, its supply voltage, and the matching cable/connector part number.<br />
2. Your official illustration shows loads returning to GND and positive supply fed to the output banks. Please confirm that this wiring applies unchanged to V3.2, identify the bank supply terminals, specify continuous current limits per channel and per bank, and confirm whether inductive-load suppression is built in or must be added externally.<br />
3. Power protection: what protection is provided between external DC power and USB, and against reversed DC polarity? What current is available from the board's 3V3 and 5V auxiliary outputs?<br />
4. CR1220 holder: please confirm polarity and that a non-rechargeable CR1220 is suitable, with no charging current applied to it.<br />
<br />
The older KC868-A16 schematic and a V3.1 PCB layout do not establish these connections for V3.2. If the full schematic is unavailable, clear labelled photographs or a wiring diagram answering these four points would help.<br />
<br />
Thank you,<br />
Eduard]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[wish]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9807</link>
			<pubDate>Mon, 07 Sep 2026 20:36:51 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=10509">R43</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9807</guid>
			<description><![CDATA[Пожалуйста, добавьте Weigand в вывод MQTT.]]></description>
			<content:encoded><![CDATA[Пожалуйста, добавьте Weigand в вывод MQTT.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[SSD1306 with case]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9768</link>
			<pubDate>Wed, 26 Aug 2026 15:39:38 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9962">hans-martijn</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9768</guid>
			<description><![CDATA[Hello,<br />
<br />
Is there a template to cut a hole in the A16v3 case to be able to show the contents of the SSD1306 screen? Or do you have a see-through case to be able to make the screen visible?<br />
<br />
Currently, it doesn't make sense to add a screen under the cover, since you have to undo four screws to be able to see it.<br />
<br />
Thanks in advance!<br />
<br />
-hans-martijn]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
Is there a template to cut a hole in the A16v3 case to be able to show the contents of the SSD1306 screen? Or do you have a see-through case to be able to make the screen visible?<br />
<br />
Currently, it doesn't make sense to add a screen under the cover, since you have to undo four screws to be able to see it.<br />
<br />
Thanks in advance!<br />
<br />
-hans-martijn]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Schema A16V3 for Research and Development]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9713</link>
			<pubDate>Mon, 03 Aug 2026 03:47:55 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11354">hamzachaouri</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9713</guid>
			<description><![CDATA[I am writing to request access to <span style="font-weight: bold;" class="mycode_b">Schema A16V3</span> for research and development purposes. The objective is to study its structure and functionality, evaluate its technical implementation, and use it in testing and development activities.<br />
<br />
I would appreciate it if you could provide <span style="font-weight: bold;" class="mycode_b">Schema A16V3</span> or any related documentation and send it directly to my email address:<br />
<a href="mailto:hamzachaouri@gmail.com" class="mycode_email"><span style="font-weight: bold;" class="mycode_b">hamzachaouri@gmail.com</span></a><br />
<br />
Thank you for your time and consideration.]]></description>
			<content:encoded><![CDATA[I am writing to request access to <span style="font-weight: bold;" class="mycode_b">Schema A16V3</span> for research and development purposes. The objective is to study its structure and functionality, evaluate its technical implementation, and use it in testing and development activities.<br />
<br />
I would appreciate it if you could provide <span style="font-weight: bold;" class="mycode_b">Schema A16V3</span> or any related documentation and send it directly to my email address:<br />
<a href="mailto:hamzachaouri@gmail.com" class="mycode_email"><span style="font-weight: bold;" class="mycode_b">hamzachaouri@gmail.com</span></a><br />
<br />
Thank you for your time and consideration.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[difficulty writing to SD CARD]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9564</link>
			<pubDate>Thu, 02 Jul 2026 05:07:41 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11126">martinlotz</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9564</guid>
			<description><![CDATA[Good Day, <br />
<br />
I do not know what I am doing wrong: <br />
<br />
I am trying to test my SD CARD on the a16v3 . I used your code in the arduino source code - "How to use SD CARD". <br />
<br />
The code writes the hello.txt file to SD but deletes it afterwards. I would like to confirm that the file was written by inserting the SD CARD into my computer and see the file. <br />
<br />
So I commented out the delete function but I do not see the file on my SD CARD .. any Idea what I might be doing wrong? <br />
<br />
This is my serial monitor message I get without the delete function: <br />
<br />
SD Card Type: SDHC<br />
SD Card Size: 29820MB<br />
Writing file: /hello.txt<br />
File written<br />
Appending to file: /hello.txt<br />
Message appended<br />
Reading file: /hello.txt<br />
Read from file: Hello World!<br />
1048576 bytes read for 653 ms<br />
1048576 bytes written for 740 ms<br />
Total space: 29805MB<br />
Used space: 6MB<br />
<br />
I use a 32GB SD CARD and did format it to FAT32 with Allocation Unit Size - 32 kb.<br />
<br />
I also included the updated code below where I removed the delete function if that helps.<br />
<br />
I appreciate any help as I am lost. <br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>*<br />
* Made by KinCony IoT: https://www.kincony.com<br />
*<br />
* SD Card File Operations<br />
*<br />
* This program demonstrates basic file operations on an SD card using the ESP32.<br />
* It includes functionality to:<br />
* - Initialize and test the SD card<br />
* - Read from, write to, append to, and delete files on the SD card<br />
* - Measure file read and write performance<br />
*<br />
* Hardware Connections:<br />
* - SCK: GPIO 13<br />
* - MISO: GPIO 14<br />
* - MOSI: GPIO 12<br />
* - CS: GPIO 11<br />
*/<br />
<br />
#include "FS.h"<br />
#include "SD.h"<br />
#include "SPI.h"<br />
<br />
// Pin definitions for SD card<br />
#define SCK  13<br />
#define MISO 14<br />
#define MOSI 12<br />
#define CS &nbsp;&nbsp;11<br />
<br />
/**<br />
* @brief Reads the contents of a file from the SD card and prints it to the serial monitor.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to read.<br />
*/<br />
void readFile(fs::FS &amp;fs, const char * path) {<br />
  Serial.printf("Reading file: %s&#92;n", path);<br />
<br />
  File file = fs.open(path);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for reading");<br />
    return;<br />
  }<br />
<br />
  Serial.print("Read from file: ");<br />
  while (file.available()) {<br />
    Serial.print((char)file.read());<br />
  }<br />
  file.close();<br />
}<br />
<br />
/**<br />
* @brief Writes a message to a file on the SD card.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to write.<br />
* @param message Message to write to the file.<br />
*/<br />
void writeFile(fs::FS &amp;fs, const char * path, const char * message) {<br />
  Serial.printf("Writing file: %s&#92;n", path);<br />
<br />
  File file = fs.open(path, FILE_WRITE);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for writing");<br />
    return;<br />
  }<br />
  if (file.print(message)) {<br />
    Serial.println("File written");<br />
  } else {<br />
    Serial.println("Write failed");<br />
  }<br />
  file.close();<br />
}<br />
<br />
/**<br />
* @brief Appends a message to a file on the SD card.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to append.<br />
* @param message Message to append to the file.<br />
*/<br />
void appendFile(fs::FS &amp;fs, const char * path, const char * message) {<br />
  Serial.printf("Appending to file: %s&#92;n", path);<br />
<br />
  File file = fs.open(path, FILE_APPEND);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for appending");<br />
    return;<br />
  }<br />
  if (file.print(message)) {<br />
    Serial.println("Message appended");<br />
  } else {<br />
    Serial.println("Append failed");<br />
  }<br />
  file.close();<br />
}<br />
<br />
/**<br />
* @brief Deletes a file from the SD card.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to delete.<br />
*/<br />
//void deleteFile(fs::FS &amp;fs, const char * path) {<br />
//  Serial.printf("Deleting file: %s&#92;n", path);<br />
//  if (fs.remove(path)) {<br />
//    Serial.println("File deleted");<br />
//  } else {<br />
//    Serial.println("Delete failed");<br />
//  }<br />
//}<br />
<br />
/**<br />
* @brief Tests file read and write performance.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to test.<br />
*/<br />
void testFileIO(fs::FS &amp;fs, const char * path) {<br />
  File file = fs.open(path);<br />
  static uint8_t buf[512];<br />
  size_t len = 0;<br />
  uint32_t start = millis();<br />
  uint32_t end = start;<br />
<br />
  if (file) {<br />
    len = file.size();<br />
    size_t flen = len;<br />
    start = millis();<br />
    while (len) {<br />
      size_t toRead = len;<br />
      if (toRead &gt; 512) {<br />
        toRead = 512;<br />
      }<br />
      file.read(buf, toRead);<br />
      len -= toRead;<br />
    }<br />
    end = millis() - start;<br />
    Serial.printf("%u bytes read for %u ms&#92;n", flen, end);<br />
    file.close();<br />
  } else {<br />
    Serial.println("Failed to open file for reading");<br />
  }<br />
<br />
  file = fs.open(path, FILE_WRITE);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for writing");<br />
    return;<br />
  }<br />
<br />
  size_t i;<br />
  start = millis();<br />
  for (i = 0; i &lt; 2048; i++) {<br />
    file.write(buf, 512);<br />
  }<br />
  end = millis() - start;<br />
  Serial.printf("%u bytes written for %u ms&#92;n", 2048 * 512, end);<br />
  file.close();<br />
}<br />
<br />
void setup() {<br />
  // Initialize serial communication<br />
  Serial.begin(115200);<br />
 <br />
  // Initialize SPI and SD card<br />
  SPIClass spi = SPIClass(HSPI);<br />
  spi.begin(SCK, MISO, MOSI, CS);<br />
<br />
  if (!SD.begin(CS, spi, 80000000)) {<br />
    Serial.println("Card Mount Failed");<br />
    return;<br />
  }<br />
<br />
  uint8_t cardType = SD.cardType();<br />
<br />
  if (cardType == CARD_NONE) {<br />
    Serial.println("No SD card attached");<br />
    return;<br />
  }<br />
<br />
  Serial.print("SD Card Type: ");<br />
  if (cardType == CARD_MMC) {<br />
    Serial.println("MMC");<br />
  } else if (cardType == CARD_SD) {<br />
    Serial.println("SDSC");<br />
  } else if (cardType == CARD_SDHC) {<br />
    Serial.println("SDHC");<br />
  } else {<br />
    Serial.println("UNKNOWN");<br />
  }<br />
<br />
  uint64_t cardSize = SD.cardSize() / (1024 * 1024);<br />
  Serial.printf("SD Card Size: %lluMB&#92;n", cardSize);<br />
  delay(2000);<br />
<br />
  // Perform file operations<br />
  //deleteFile(SD, "/hello.txt");<br />
  writeFile(SD, "/hello.txt", "Hello ");<br />
  appendFile(SD, "/hello.txt", "World!&#92;n");<br />
  readFile(SD, "/hello.txt");<br />
  testFileIO(SD, "/test.txt");<br />
  Serial.printf("Total space: %lluMB&#92;n", SD.totalBytes() / (1024 * 1024));<br />
  Serial.printf("Used space: %lluMB&#92;n", SD.usedBytes() / (1024 * 1024));<br />
}<br />
<br />
void loop() {<br />
  // No operation in loop<br />
}</code></div></div>]]></description>
			<content:encoded><![CDATA[Good Day, <br />
<br />
I do not know what I am doing wrong: <br />
<br />
I am trying to test my SD CARD on the a16v3 . I used your code in the arduino source code - "How to use SD CARD". <br />
<br />
The code writes the hello.txt file to SD but deletes it afterwards. I would like to confirm that the file was written by inserting the SD CARD into my computer and see the file. <br />
<br />
So I commented out the delete function but I do not see the file on my SD CARD .. any Idea what I might be doing wrong? <br />
<br />
This is my serial monitor message I get without the delete function: <br />
<br />
SD Card Type: SDHC<br />
SD Card Size: 29820MB<br />
Writing file: /hello.txt<br />
File written<br />
Appending to file: /hello.txt<br />
Message appended<br />
Reading file: /hello.txt<br />
Read from file: Hello World!<br />
1048576 bytes read for 653 ms<br />
1048576 bytes written for 740 ms<br />
Total space: 29805MB<br />
Used space: 6MB<br />
<br />
I use a 32GB SD CARD and did format it to FAT32 with Allocation Unit Size - 32 kb.<br />
<br />
I also included the updated code below where I removed the delete function if that helps.<br />
<br />
I appreciate any help as I am lost. <br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>*<br />
* Made by KinCony IoT: https://www.kincony.com<br />
*<br />
* SD Card File Operations<br />
*<br />
* This program demonstrates basic file operations on an SD card using the ESP32.<br />
* It includes functionality to:<br />
* - Initialize and test the SD card<br />
* - Read from, write to, append to, and delete files on the SD card<br />
* - Measure file read and write performance<br />
*<br />
* Hardware Connections:<br />
* - SCK: GPIO 13<br />
* - MISO: GPIO 14<br />
* - MOSI: GPIO 12<br />
* - CS: GPIO 11<br />
*/<br />
<br />
#include "FS.h"<br />
#include "SD.h"<br />
#include "SPI.h"<br />
<br />
// Pin definitions for SD card<br />
#define SCK  13<br />
#define MISO 14<br />
#define MOSI 12<br />
#define CS &nbsp;&nbsp;11<br />
<br />
/**<br />
* @brief Reads the contents of a file from the SD card and prints it to the serial monitor.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to read.<br />
*/<br />
void readFile(fs::FS &amp;fs, const char * path) {<br />
  Serial.printf("Reading file: %s&#92;n", path);<br />
<br />
  File file = fs.open(path);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for reading");<br />
    return;<br />
  }<br />
<br />
  Serial.print("Read from file: ");<br />
  while (file.available()) {<br />
    Serial.print((char)file.read());<br />
  }<br />
  file.close();<br />
}<br />
<br />
/**<br />
* @brief Writes a message to a file on the SD card.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to write.<br />
* @param message Message to write to the file.<br />
*/<br />
void writeFile(fs::FS &amp;fs, const char * path, const char * message) {<br />
  Serial.printf("Writing file: %s&#92;n", path);<br />
<br />
  File file = fs.open(path, FILE_WRITE);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for writing");<br />
    return;<br />
  }<br />
  if (file.print(message)) {<br />
    Serial.println("File written");<br />
  } else {<br />
    Serial.println("Write failed");<br />
  }<br />
  file.close();<br />
}<br />
<br />
/**<br />
* @brief Appends a message to a file on the SD card.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to append.<br />
* @param message Message to append to the file.<br />
*/<br />
void appendFile(fs::FS &amp;fs, const char * path, const char * message) {<br />
  Serial.printf("Appending to file: %s&#92;n", path);<br />
<br />
  File file = fs.open(path, FILE_APPEND);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for appending");<br />
    return;<br />
  }<br />
  if (file.print(message)) {<br />
    Serial.println("Message appended");<br />
  } else {<br />
    Serial.println("Append failed");<br />
  }<br />
  file.close();<br />
}<br />
<br />
/**<br />
* @brief Deletes a file from the SD card.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to delete.<br />
*/<br />
//void deleteFile(fs::FS &amp;fs, const char * path) {<br />
//  Serial.printf("Deleting file: %s&#92;n", path);<br />
//  if (fs.remove(path)) {<br />
//    Serial.println("File deleted");<br />
//  } else {<br />
//    Serial.println("Delete failed");<br />
//  }<br />
//}<br />
<br />
/**<br />
* @brief Tests file read and write performance.<br />
*<br />
* @param fs File system to use (in this case, SD).<br />
* @param path Path of the file to test.<br />
*/<br />
void testFileIO(fs::FS &amp;fs, const char * path) {<br />
  File file = fs.open(path);<br />
  static uint8_t buf[512];<br />
  size_t len = 0;<br />
  uint32_t start = millis();<br />
  uint32_t end = start;<br />
<br />
  if (file) {<br />
    len = file.size();<br />
    size_t flen = len;<br />
    start = millis();<br />
    while (len) {<br />
      size_t toRead = len;<br />
      if (toRead &gt; 512) {<br />
        toRead = 512;<br />
      }<br />
      file.read(buf, toRead);<br />
      len -= toRead;<br />
    }<br />
    end = millis() - start;<br />
    Serial.printf("%u bytes read for %u ms&#92;n", flen, end);<br />
    file.close();<br />
  } else {<br />
    Serial.println("Failed to open file for reading");<br />
  }<br />
<br />
  file = fs.open(path, FILE_WRITE);<br />
  if (!file) {<br />
    Serial.println("Failed to open file for writing");<br />
    return;<br />
  }<br />
<br />
  size_t i;<br />
  start = millis();<br />
  for (i = 0; i &lt; 2048; i++) {<br />
    file.write(buf, 512);<br />
  }<br />
  end = millis() - start;<br />
  Serial.printf("%u bytes written for %u ms&#92;n", 2048 * 512, end);<br />
  file.close();<br />
}<br />
<br />
void setup() {<br />
  // Initialize serial communication<br />
  Serial.begin(115200);<br />
 <br />
  // Initialize SPI and SD card<br />
  SPIClass spi = SPIClass(HSPI);<br />
  spi.begin(SCK, MISO, MOSI, CS);<br />
<br />
  if (!SD.begin(CS, spi, 80000000)) {<br />
    Serial.println("Card Mount Failed");<br />
    return;<br />
  }<br />
<br />
  uint8_t cardType = SD.cardType();<br />
<br />
  if (cardType == CARD_NONE) {<br />
    Serial.println("No SD card attached");<br />
    return;<br />
  }<br />
<br />
  Serial.print("SD Card Type: ");<br />
  if (cardType == CARD_MMC) {<br />
    Serial.println("MMC");<br />
  } else if (cardType == CARD_SD) {<br />
    Serial.println("SDSC");<br />
  } else if (cardType == CARD_SDHC) {<br />
    Serial.println("SDHC");<br />
  } else {<br />
    Serial.println("UNKNOWN");<br />
  }<br />
<br />
  uint64_t cardSize = SD.cardSize() / (1024 * 1024);<br />
  Serial.printf("SD Card Size: %lluMB&#92;n", cardSize);<br />
  delay(2000);<br />
<br />
  // Perform file operations<br />
  //deleteFile(SD, "/hello.txt");<br />
  writeFile(SD, "/hello.txt", "Hello ");<br />
  appendFile(SD, "/hello.txt", "World!&#92;n");<br />
  readFile(SD, "/hello.txt");<br />
  testFileIO(SD, "/test.txt");<br />
  Serial.printf("Total space: %lluMB&#92;n", SD.totalBytes() / (1024 * 1024));<br />
  Serial.printf("Used space: %lluMB&#92;n", SD.usedBytes() / (1024 * 1024));<br />
}<br />
<br />
void loop() {<br />
  // No operation in loop<br />
}</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Switching power supply with A16]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9530</link>
			<pubDate>Mon, 22 Jun 2026 22:27:32 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11077">malcom1970</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9530</guid>
			<description><![CDATA[Dear all,<br />
<br />
I'm replacing my old alarm system by kc868-A16 v3 and i would like to keep my 12v battery as UPS in case of power cut.<br />
I have a 13.8v switching power supply but kc868-A16 doesn't work at this voltage.<br />
<br />
Is it possible to use this power supply and how ?<br />
<br />
If not possible, what could be the solution ?<br />
<br />
Thank you for your help.<br />
Malcom]]></description>
			<content:encoded><![CDATA[Dear all,<br />
<br />
I'm replacing my old alarm system by kc868-A16 v3 and i would like to keep my 12v battery as UPS in case of power cut.<br />
I have a 13.8v switching power supply but kc868-A16 doesn't work at this voltage.<br />
<br />
Is it possible to use this power supply and how ?<br />
<br />
If not possible, what could be the solution ?<br />
<br />
Thank you for your help.<br />
Malcom]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Weak wifi signal/range]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9368</link>
			<pubDate>Thu, 28 May 2026 03:50:27 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=10930">Nicodomo</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9368</guid>
			<description><![CDATA[Hello, <br />
<br />
Glad to join the forum, there are a lot of interesting things here.<br />
<br />
I just received my Kincony A16v3 board equipped with the display. I planned to run it directly under ESPHome. <br />
I flashed my YAML file, but upon reboot, it wouldn't get an IP address. I finally found the issue: it worked when I placed it right next to the Wi-Fi router. <br />
<br />
At best, I get a signal at 2.4 meters away. It's as if the built-in antenna isn't working. Is this normal? <br />
<br />
What kind of performance/behavior are you experiencing?<br />
<br />
Thanks for your answers!]]></description>
			<content:encoded><![CDATA[Hello, <br />
<br />
Glad to join the forum, there are a lot of interesting things here.<br />
<br />
I just received my Kincony A16v3 board equipped with the display. I planned to run it directly under ESPHome. <br />
I flashed my YAML file, but upon reboot, it wouldn't get an IP address. I finally found the issue: it worked when I placed it right next to the Wi-Fi router. <br />
<br />
At best, I get a signal at 2.4 meters away. It's as if the built-in antenna isn't working. Is this normal? <br />
<br />
What kind of performance/behavior are you experiencing?<br />
<br />
Thanks for your answers!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[RS485 TS sensor with A16v3 esphome yaml]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9354</link>
			<pubDate>Mon, 25 May 2026 15:24:27 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1">admin</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9354</guid>
			<description><![CDATA[here is sample ESPHome yaml code for 3 TS together with one RS485 bus using KC868-A16v3 board.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9897" target="_blank" title="">TS-1.jpg</a> (Size: 456.35 KB / Downloads: 350)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9898" target="_blank" title="">TS-2.jpg</a> (Size: 326.31 KB / Downloads: 347)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9899" target="_blank" title="">TS-3.jpg</a> (Size: 376.82 KB / Downloads: 342)
<!-- end: postbit_attachments_attachment --><br />
set every TS with different RS485 address by PC software, make sure PC software can read the data:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9900" target="_blank" title="">TS-address-1.png</a> (Size: 46.92 KB / Downloads: 340)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9901" target="_blank" title="">TS-address-2.png</a> (Size: 45.7 KB / Downloads: 315)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9902" target="_blank" title="">TS-address-3.png</a> (Size: 55.99 KB / Downloads: 339)
<!-- end: postbit_attachments_attachment --><br />
here is ESPHome yaml<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9903" target="_blank" title="">TS-HA.png</a> (Size: 122.47 KB / Downloads: 332)
<!-- end: postbit_attachments_attachment --><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: a16v3-ts<br />
  friendly_name: a16v3_ts<br />
<br />
esp32:<br />
  board: esp32-s3-devkitc-1<br />
  framework:<br />
    type: esp-idf<br />
<br />
# Enable logging<br />
logger: <br />
  hardware_uart: USB_SERIAL_JTAG<br />
<br />
api:<br />
<br />
ethernet:<br />
  type: W5500<br />
  clk_pin: GPIO42<br />
  mosi_pin: GPIO43<br />
  miso_pin: GPIO44<br />
  cs_pin: GPIO15<br />
  interrupt_pin: GPIO2<br />
  reset_pin: GPIO1<br />
<br />
uart:<br />
  - id: uart_RS485<br />
    baud_rate: 9600<br />
    tx_pin: 16<br />
    rx_pin: 17<br />
<br />
modbus:<br />
  - id: modbus_ts<br />
    uart_id: uart_RS485<br />
    send_wait_time: 50ms<br />
<br />
# Sensor 1 - Address 1<br />
modbus_controller:<br />
  - id: ts_sensor_1<br />
    modbus_id: modbus_ts<br />
    address: 0x01<br />
    command_throttle: 200ms<br />
    setup_priority: -10<br />
    update_interval: 10s<br />
<br />
  - id: ts_sensor_2<br />
    modbus_id: modbus_ts<br />
    address: 0x02<br />
    command_throttle: 200ms<br />
    setup_priority: -10<br />
    update_interval: 10s<br />
<br />
  - id: ts_sensor_3<br />
    modbus_id: modbus_ts<br />
    address: 0x03<br />
    command_throttle: 200ms<br />
    setup_priority: -10<br />
    update_interval: 10s<br />
<br />
sensor:<br />
  # Sensor 1 Temperature (Address 1)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_1<br />
    name: "TS Sensor 1 Temperature"<br />
    id: ts1_temperature<br />
    register_type: holding<br />
    address: 0x0000<br />
    unit_of_measurement: "°C"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: |-<br />
          if (x &gt;= 10000) {<br />
            return -1 * (x - 10000) * 0.1;<br />
          } else {<br />
            return x * 0.1;<br />
          }<br />
<br />
  # Sensor 1 Humidity (Address 1)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_1<br />
    name: "TS Sensor 1 Humidity"<br />
    id: ts1_humidity<br />
    register_type: holding<br />
    address: 0x0001<br />
    unit_of_measurement: "%RH"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: return x * 0.1;<br />
<br />
# Sensor 2 - Address 2<br />
<br />
  # Sensor 2 Temperature (Address 2)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_2<br />
    name: "TS Sensor 2 Temperature"<br />
    id: ts2_temperature<br />
    register_type: holding<br />
    address: 0x0000<br />
    unit_of_measurement: "°C"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: |-<br />
          if (x &gt;= 10000) {<br />
            return -1 * (x - 10000) * 0.1;<br />
          } else {<br />
            return x * 0.1;<br />
          }<br />
<br />
  # Sensor 2 Humidity (Address 2)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_2<br />
    name: "TS Sensor 2 Humidity"<br />
    id: ts2_humidity<br />
    register_type: holding<br />
    address: 0x0001<br />
    unit_of_measurement: "%RH"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: return x * 0.1;<br />
<br />
<br />
<br />
<br />
# Sensor 3 - Address 3<br />
  # Sensor 3 Temperature (Address 3)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_3<br />
    name: "TS Sensor 3 Temperature"<br />
    id: ts3_temperature<br />
    register_type: holding<br />
    address: 0x0000<br />
    unit_of_measurement: "°C"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: |-<br />
          if (x &gt;= 10000) {<br />
            return -1 * (x - 10000) * 0.1;<br />
          } else {<br />
            return x * 0.1;<br />
          }<br />
<br />
  # Sensor 3 Humidity (Address 3)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_3<br />
    name: "TS Sensor 3 Humidity"<br />
    id: ts3_humidity<br />
    register_type: holding<br />
    address: 0x0001<br />
    unit_of_measurement: "%RH"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: return x * 0.1;<br />
<br />
<br />
<br />
<br />
web_server:<br />
  port: 80</code></div></div><br />
download yaml: <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/txt.png" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9904" target="_blank" title="">TS-HA.txt</a> (Size: 3.45 KB / Downloads: 262)
<!-- end: postbit_attachments_attachment --><br />
firmware download: <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9905" target="_blank" title="">TS_V10Build241223SP0518.zip</a> (Size: 10.25 KB / Downloads: 369)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[here is sample ESPHome yaml code for 3 TS together with one RS485 bus using KC868-A16v3 board.<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9897" target="_blank" title="">TS-1.jpg</a> (Size: 456.35 KB / Downloads: 350)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9898" target="_blank" title="">TS-2.jpg</a> (Size: 326.31 KB / Downloads: 347)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9899" target="_blank" title="">TS-3.jpg</a> (Size: 376.82 KB / Downloads: 342)
<!-- end: postbit_attachments_attachment --><br />
set every TS with different RS485 address by PC software, make sure PC software can read the data:<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9900" target="_blank" title="">TS-address-1.png</a> (Size: 46.92 KB / Downloads: 340)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9901" target="_blank" title="">TS-address-2.png</a> (Size: 45.7 KB / Downloads: 315)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9902" target="_blank" title="">TS-address-3.png</a> (Size: 55.99 KB / Downloads: 339)
<!-- end: postbit_attachments_attachment --><br />
here is ESPHome yaml<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9903" target="_blank" title="">TS-HA.png</a> (Size: 122.47 KB / Downloads: 332)
<!-- end: postbit_attachments_attachment --><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: a16v3-ts<br />
  friendly_name: a16v3_ts<br />
<br />
esp32:<br />
  board: esp32-s3-devkitc-1<br />
  framework:<br />
    type: esp-idf<br />
<br />
# Enable logging<br />
logger: <br />
  hardware_uart: USB_SERIAL_JTAG<br />
<br />
api:<br />
<br />
ethernet:<br />
  type: W5500<br />
  clk_pin: GPIO42<br />
  mosi_pin: GPIO43<br />
  miso_pin: GPIO44<br />
  cs_pin: GPIO15<br />
  interrupt_pin: GPIO2<br />
  reset_pin: GPIO1<br />
<br />
uart:<br />
  - id: uart_RS485<br />
    baud_rate: 9600<br />
    tx_pin: 16<br />
    rx_pin: 17<br />
<br />
modbus:<br />
  - id: modbus_ts<br />
    uart_id: uart_RS485<br />
    send_wait_time: 50ms<br />
<br />
# Sensor 1 - Address 1<br />
modbus_controller:<br />
  - id: ts_sensor_1<br />
    modbus_id: modbus_ts<br />
    address: 0x01<br />
    command_throttle: 200ms<br />
    setup_priority: -10<br />
    update_interval: 10s<br />
<br />
  - id: ts_sensor_2<br />
    modbus_id: modbus_ts<br />
    address: 0x02<br />
    command_throttle: 200ms<br />
    setup_priority: -10<br />
    update_interval: 10s<br />
<br />
  - id: ts_sensor_3<br />
    modbus_id: modbus_ts<br />
    address: 0x03<br />
    command_throttle: 200ms<br />
    setup_priority: -10<br />
    update_interval: 10s<br />
<br />
sensor:<br />
  # Sensor 1 Temperature (Address 1)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_1<br />
    name: "TS Sensor 1 Temperature"<br />
    id: ts1_temperature<br />
    register_type: holding<br />
    address: 0x0000<br />
    unit_of_measurement: "°C"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: |-<br />
          if (x &gt;= 10000) {<br />
            return -1 * (x - 10000) * 0.1;<br />
          } else {<br />
            return x * 0.1;<br />
          }<br />
<br />
  # Sensor 1 Humidity (Address 1)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_1<br />
    name: "TS Sensor 1 Humidity"<br />
    id: ts1_humidity<br />
    register_type: holding<br />
    address: 0x0001<br />
    unit_of_measurement: "%RH"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: return x * 0.1;<br />
<br />
# Sensor 2 - Address 2<br />
<br />
  # Sensor 2 Temperature (Address 2)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_2<br />
    name: "TS Sensor 2 Temperature"<br />
    id: ts2_temperature<br />
    register_type: holding<br />
    address: 0x0000<br />
    unit_of_measurement: "°C"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: |-<br />
          if (x &gt;= 10000) {<br />
            return -1 * (x - 10000) * 0.1;<br />
          } else {<br />
            return x * 0.1;<br />
          }<br />
<br />
  # Sensor 2 Humidity (Address 2)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_2<br />
    name: "TS Sensor 2 Humidity"<br />
    id: ts2_humidity<br />
    register_type: holding<br />
    address: 0x0001<br />
    unit_of_measurement: "%RH"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: return x * 0.1;<br />
<br />
<br />
<br />
<br />
# Sensor 3 - Address 3<br />
  # Sensor 3 Temperature (Address 3)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_3<br />
    name: "TS Sensor 3 Temperature"<br />
    id: ts3_temperature<br />
    register_type: holding<br />
    address: 0x0000<br />
    unit_of_measurement: "°C"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: |-<br />
          if (x &gt;= 10000) {<br />
            return -1 * (x - 10000) * 0.1;<br />
          } else {<br />
            return x * 0.1;<br />
          }<br />
<br />
  # Sensor 3 Humidity (Address 3)<br />
  - platform: modbus_controller<br />
    modbus_controller_id: ts_sensor_3<br />
    name: "TS Sensor 3 Humidity"<br />
    id: ts3_humidity<br />
    register_type: holding<br />
    address: 0x0001<br />
    unit_of_measurement: "%RH"<br />
    accuracy_decimals: 1<br />
    value_type: U_WORD<br />
    filters:<br />
      - lambda: return x * 0.1;<br />
<br />
<br />
<br />
<br />
web_server:<br />
  port: 80</code></div></div><br />
download yaml: <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/txt.png" title="Text Document" border="0" alt=".txt" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9904" target="_blank" title="">TS-HA.txt</a> (Size: 3.45 KB / Downloads: 262)
<!-- end: postbit_attachments_attachment --><br />
firmware download: <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9905" target="_blank" title="">TS_V10Build241223SP0518.zip</a> (Size: 10.25 KB / Downloads: 369)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[RTC DS3231 yaml code]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9320</link>
			<pubDate>Tue, 05 May 2026 18:10:55 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=10826">Fred</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9320</guid>
			<description><![CDATA[Hello,<br />
<br />
Do you have any suggestion to use the DS3231 RTC clock through ESPHome on this KC868-a16 v3 board? Do you have any yaml code to suggest?<br />
Thanks a lot,<br />
<br />
Best regards,<br />
Fred]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
Do you have any suggestion to use the DS3231 RTC clock through ESPHome on this KC868-a16 v3 board? Do you have any yaml code to suggest?<br />
Thanks a lot,<br />
<br />
Best regards,<br />
Fred]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[No Wifi AP Initial Setup]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9309</link>
			<pubDate>Sun, 03 May 2026 10:39:56 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=10814">bxsteez</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9309</guid>
			<description><![CDATA[I am trying to setup the v3 board with the KinCony firmware and after I flash the device the AP never comes up and the ethernet defaults to static 192.168.1.200 which conflicts with my network infrastructure.  Is there something I am doing wrong that makes the AP come up or is there a way to change the static ip or use dhcp?]]></description>
			<content:encoded><![CDATA[I am trying to setup the v3 board with the KinCony firmware and after I flash the device the AP never comes up and the ethernet defaults to static 192.168.1.200 which conflicts with my network infrastructure.  Is there something I am doing wrong that makes the AP come up or is there a way to change the static ip or use dhcp?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A16v3 Smart Controller Wiring Examples]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9281</link>
			<pubDate>Mon, 20 Apr 2026 15:31:56 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1">admin</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9281</guid>
			<description><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9663" target="_blank" title="">A16v3_wiring.jpg</a> (Size: 359.87 KB / Downloads: 616)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9663" target="_blank" title="">A16v3_wiring.jpg</a> (Size: 359.87 KB / Downloads: 616)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A16v3 Smart Controller ESP32 system block diagram]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9280</link>
			<pubDate>Mon, 20 Apr 2026 15:31:22 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1">admin</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9280</guid>
			<description><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9928" target="_blank" title="">KinCony-KC868-A16v3-smart-controller-diagram.png</a> (Size: 1.13 MB / Downloads: 340)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9928" target="_blank" title="">KinCony-KC868-A16v3-smart-controller-diagram.png</a> (Size: 1.13 MB / Downloads: 340)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[false start with KC868 A16 v3]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9210</link>
			<pubDate>Sun, 05 Apr 2026 01:40:51 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=10687">PhVdP</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9210</guid>
			<description><![CDATA[Hi,<br />
<br />
I received the KC868-A16v3; wired as documentation, powered it on, flashered it with latest firmware, changed the USB cable <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9525" target="_blank" title="">DSC01353.JPG</a> (Size: 6 MB / Downloads: 477)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9526" target="_blank" title="">DSC01356.JPG</a> (Size: 6.25 MB / Downloads: 442)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9527" target="_blank" title="">DSC01359.JPG</a> (Size: 7.09 MB / Downloads: 465)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9528" target="_blank" title="">DSC01360.JPG</a> (Size: 4.31 MB / Downloads: 440)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9529" target="_blank" title="">DSC01362.JPG</a> (Size: 7.88 MB / Downloads: 449)
<!-- end: postbit_attachments_attachment -->... but it's not working : only a red led is lighting, no ethernet connection setting (green light on the board, orange light on the router). I've tried with another usb cable, pressing buttons reset/rebootable during power it on... Still impossible to connect. I've tried with Putty and serial communication with the USD cable; without success...<br />
<br />
Any idea is welcome.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I received the KC868-A16v3; wired as documentation, powered it on, flashered it with latest firmware, changed the USB cable <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9525" target="_blank" title="">DSC01353.JPG</a> (Size: 6 MB / Downloads: 477)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9526" target="_blank" title="">DSC01356.JPG</a> (Size: 6.25 MB / Downloads: 442)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9527" target="_blank" title="">DSC01359.JPG</a> (Size: 7.09 MB / Downloads: 465)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9528" target="_blank" title="">DSC01360.JPG</a> (Size: 4.31 MB / Downloads: 440)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9529" target="_blank" title="">DSC01362.JPG</a> (Size: 7.88 MB / Downloads: 449)
<!-- end: postbit_attachments_attachment -->... but it's not working : only a red led is lighting, no ethernet connection setting (green light on the board, orange light on the router). I've tried with another usb cable, pressing buttons reset/rebootable during power it on... Still impossible to connect. I've tried with Putty and serial communication with the USD cable; without success...<br />
<br />
Any idea is welcome.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Adding a debounce capability to inputs]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9119</link>
			<pubDate>Sat, 14 Mar 2026 22:09:36 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=7488">twostar</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9119</guid>
			<description><![CDATA[At the moment the KC868 inputs are instantaneous which is a problem for signals that glitch occasionally from things like noise coupled onto the input lines.  Would it be possible to add a debounce capability where you can specify that an input has to be asserted for x seconds, x user-settable, before it gets reported as an asserted input?  What I'm thinking of is adding a per-input capability where you can specify that it needs to be asserted for (say) 5 seconds before it's treated as valid.  The overall range would be maybe 0-60s, 0s = instant response, &gt; 0s = input must be asserted for that long before it's reported as asserted.]]></description>
			<content:encoded><![CDATA[At the moment the KC868 inputs are instantaneous which is a problem for signals that glitch occasionally from things like noise coupled onto the input lines.  Would it be possible to add a debounce capability where you can specify that an input has to be asserted for x seconds, x user-settable, before it gets reported as an asserted input?  What I'm thinking of is adding a per-input capability where you can specify that it needs to be asserted for (say) 5 seconds before it's treated as valid.  The overall range would be maybe 0-60s, 0s = instant response, &gt; 0s = input must be asserted for that long before it's reported as asserted.]]></content:encoded>
		</item>
	</channel>
</rss>