<?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-A8]]></title>
		<link>https://www.kincony.com/forum/</link>
		<description><![CDATA[Smart Home Automation Forum - https://www.kincony.com/forum]]></description>
		<pubDate>Sun, 26 Jul 2026 20:21:17 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[KC868-A8 OpenPLC Function Blocks for Digital input]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9447</link>
			<pubDate>Tue, 09 Jun 2026 08:00:52 +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=9447</guid>
			<description><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;Arduino.h&gt;<br />
//#include &lt;Wire.h&gt;<br />
#include &lt;PCF8574.h&gt;<br />
<br />
// PCF8574 input address<br />
#define I2C_INPUTS_ADR 0x22<br />
<br />
PCF8574 pcf_in(I2C_INPUTS_ADR);<br />
<br />
void setup()<br />
{<br />
    // ESP32 KC868 default I2C pins<br />
    Wire.begin(4, 5); // SDA, SCL<br />
<br />
    // Initialize PCF8574<br />
    pcf_in.begin();<br />
<br />
    // Configure PCF8574 pins as inputs<br />
    pcf_in.pinMode(P0, INPUT);<br />
    pcf_in.pinMode(P1, INPUT);<br />
    pcf_in.pinMode(P2, INPUT);<br />
    pcf_in.pinMode(P3, INPUT);<br />
    pcf_in.pinMode(P4, INPUT);<br />
    pcf_in.pinMode(P5, INPUT);<br />
    pcf_in.pinMode(P6, INPUT);<br />
    pcf_in.pinMode(P7, INPUT);<br />
<br />
}<br />
<br />
void loop()<br />
{<br />
    // KC868 inputs are active LOW<br />
    IN_0 = (pcf_in.digitalRead(P0) == LOW);<br />
    IN_1 = (pcf_in.digitalRead(P1) == LOW);<br />
    IN_2 = (pcf_in.digitalRead(P2) == LOW);<br />
    IN_3 = (pcf_in.digitalRead(P3) == LOW);<br />
    IN_4 = (pcf_in.digitalRead(P4) == LOW);<br />
    IN_5 = (pcf_in.digitalRead(P5) == LOW);<br />
    IN_6 = (pcf_in.digitalRead(P6) == LOW);<br />
    IN_7 = (pcf_in.digitalRead(P7) == LOW);<br />
}</code></div></div><!-- 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=10016" target="_blank" title="">OpenPLC_A8_digital_input.png</a> (Size: 445.87 KB / Downloads: 106)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;Arduino.h&gt;<br />
//#include &lt;Wire.h&gt;<br />
#include &lt;PCF8574.h&gt;<br />
<br />
// PCF8574 input address<br />
#define I2C_INPUTS_ADR 0x22<br />
<br />
PCF8574 pcf_in(I2C_INPUTS_ADR);<br />
<br />
void setup()<br />
{<br />
    // ESP32 KC868 default I2C pins<br />
    Wire.begin(4, 5); // SDA, SCL<br />
<br />
    // Initialize PCF8574<br />
    pcf_in.begin();<br />
<br />
    // Configure PCF8574 pins as inputs<br />
    pcf_in.pinMode(P0, INPUT);<br />
    pcf_in.pinMode(P1, INPUT);<br />
    pcf_in.pinMode(P2, INPUT);<br />
    pcf_in.pinMode(P3, INPUT);<br />
    pcf_in.pinMode(P4, INPUT);<br />
    pcf_in.pinMode(P5, INPUT);<br />
    pcf_in.pinMode(P6, INPUT);<br />
    pcf_in.pinMode(P7, INPUT);<br />
<br />
}<br />
<br />
void loop()<br />
{<br />
    // KC868 inputs are active LOW<br />
    IN_0 = (pcf_in.digitalRead(P0) == LOW);<br />
    IN_1 = (pcf_in.digitalRead(P1) == LOW);<br />
    IN_2 = (pcf_in.digitalRead(P2) == LOW);<br />
    IN_3 = (pcf_in.digitalRead(P3) == LOW);<br />
    IN_4 = (pcf_in.digitalRead(P4) == LOW);<br />
    IN_5 = (pcf_in.digitalRead(P5) == LOW);<br />
    IN_6 = (pcf_in.digitalRead(P6) == LOW);<br />
    IN_7 = (pcf_in.digitalRead(P7) == LOW);<br />
}</code></div></div><!-- 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=10016" target="_blank" title="">OpenPLC_A8_digital_input.png</a> (Size: 445.87 KB / Downloads: 106)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[INCREMENTAL ENCODER]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9446</link>
			<pubDate>Tue, 09 Jun 2026 06:04:37 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=982">fabuena</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9446</guid>
			<description><![CDATA[Hello, <br />
I want to connect a CALT GHW38 incremental encoder with a built-in measuring wheel to my KC 868-A8 in the simplest way possible. <br />
Should I get an NPN, PNP, or 5V line driver encoder? <br />
<a href="https://es.aliexpress.com/item/33055301328.html?spm=a2g0o.productlist.main.4.ec43vGrlvGrlFd&amp;algo_pvid=84a46a8b-931c-4642-a77a-723e19f17469&amp;algo_exp_id=84a46a8b-931c-4642-a77a-723e19f17469-3&amp;pdp_ext_f=%7B%22order%22%3A%2255%22%2C%22eval%22%3A%221%22%2C%22fromPage%22%3A%22search%22%7D&amp;pdp_npi=6%40dis%21EUR%2187.25%2163.69%21%21%2198.22%2171.70%21%40210385db17809561971568750e6065%2112000036216396234%21sea%21ES%210%21ABX%211%210%21n_tag%3A-29910%3Bd%3Ab0101f67%3Bm03_new_user%3A-29895&amp;curPageLogUid=8wR3l1kV0irs&amp;utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A33055301328%7C_p_origin_prod%3A" target="_blank" rel="noopener" class="mycode_url">Dispositivo de Medición de Longitud CALT GHW38, Codificador Rotatorio con Salida de Pulso, con Rueda Antideslizante de 200 mm/300 mm de Circunferencia - AliExpress</a> <br />
<br />
Which inputs do I connect signals A and B to?<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[Hello, <br />
I want to connect a CALT GHW38 incremental encoder with a built-in measuring wheel to my KC 868-A8 in the simplest way possible. <br />
Should I get an NPN, PNP, or 5V line driver encoder? <br />
<a href="https://es.aliexpress.com/item/33055301328.html?spm=a2g0o.productlist.main.4.ec43vGrlvGrlFd&amp;algo_pvid=84a46a8b-931c-4642-a77a-723e19f17469&amp;algo_exp_id=84a46a8b-931c-4642-a77a-723e19f17469-3&amp;pdp_ext_f=%7B%22order%22%3A%2255%22%2C%22eval%22%3A%221%22%2C%22fromPage%22%3A%22search%22%7D&amp;pdp_npi=6%40dis%21EUR%2187.25%2163.69%21%21%2198.22%2171.70%21%40210385db17809561971568750e6065%2112000036216396234%21sea%21ES%210%21ABX%211%210%21n_tag%3A-29910%3Bd%3Ab0101f67%3Bm03_new_user%3A-29895&amp;curPageLogUid=8wR3l1kV0irs&amp;utparam-url=scene%3Asearch%7Cquery_from%3A%7Cx_object_id%3A33055301328%7C_p_origin_prod%3A" target="_blank" rel="noopener" class="mycode_url">Dispositivo de Medición de Longitud CALT GHW38, Codificador Rotatorio con Salida de Pulso, con Rueda Antideslizante de 200 mm/300 mm de Circunferencia - AliExpress</a> <br />
<br />
Which inputs do I connect signals A and B to?<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A8 OpenPLC Function Blocks for RELAY]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9436</link>
			<pubDate>Fri, 05 Jun 2026 08:50:15 +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=9436</guid>
			<description><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;Arduino.h&gt;        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Core Arduino functions and definitions<br />
#include &lt;PCF8574.h&gt;     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Library for PCF8574 I2C I/O expander<br />
<br />
#define I2C_RELAYS_ADR 0x24  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// I2C address of the PCF8574 module<br />
<br />
<br />
PCF8574 pcf(I2C_RELAYS_ADR);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Create PCF8574 object using the defined I2C address<br />
<br />
void setup() {<br />
    // Initialize I2C communication<br />
    Wire.begin(4, 5); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    &nbsp;&nbsp;&nbsp;&nbsp;// Parameters: SDA pin = 4, SCL pin = 5<br />
    <br />
    pcf.begin();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Initialize the PCF8574 device<br />
<br />
    // Configure all PCF8574 pins (P0–P7) as outputs<br />
    pcf.pinMode(P0, OUTPUT);<br />
    pcf.pinMode(P1, OUTPUT);<br />
    pcf.pinMode(P2, OUTPUT);<br />
    pcf.pinMode(P3, OUTPUT);<br />
    pcf.pinMode(P4, OUTPUT);<br />
    pcf.pinMode(P5, OUTPUT);<br />
    pcf.pinMode(P6, OUTPUT);<br />
    pcf.pinMode(P7, OUTPUT);<br />
<br />
    // Safe startup state<br />
    pcf.digitalWrite(P0, HIGH);<br />
    pcf.digitalWrite(P1, HIGH);<br />
    pcf.digitalWrite(P2, HIGH);<br />
    pcf.digitalWrite(P3, HIGH);<br />
    pcf.digitalWrite(P4, HIGH);<br />
    pcf.digitalWrite(P5, HIGH);<br />
    pcf.digitalWrite(P6, HIGH);<br />
    pcf.digitalWrite(P7, HIGH);<br />
}<br />
<br />
void loop() {<br />
    // Continuously update each PCF8574 output pin based on OpenPLC variables<br />
    // OUT_0 to OUT_7 are boolean variables provided by OpenPLC<br />
<br />
    // If OUT_x is true → set pin LOW (turn relay ON)<br />
    // If OUT_x is false → set pin HIGH (turn relay OFF)<br />
<br />
    pcf.digitalWrite(P0, OUT_0 ? LOW : HIGH);<br />
    pcf.digitalWrite(P1, OUT_1 ? LOW : HIGH);<br />
    pcf.digitalWrite(P2, OUT_2 ? LOW : HIGH);<br />
    pcf.digitalWrite(P3, OUT_3 ? LOW : HIGH);<br />
    pcf.digitalWrite(P4, OUT_4 ? LOW : HIGH);<br />
    pcf.digitalWrite(P5, OUT_5 ? LOW : HIGH);<br />
    pcf.digitalWrite(P6, OUT_6 ? LOW : HIGH);<br />
    pcf.digitalWrite(P7, OUT_7 ? LOW : HIGH);<br />
}</code></div></div><!-- 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=10007" target="_blank" title="">KC868-A8_OpenPLC_Function-Blocks_relay.png</a> (Size: 143.3 KB / Downloads: 102)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;Arduino.h&gt;        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Core Arduino functions and definitions<br />
#include &lt;PCF8574.h&gt;     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Library for PCF8574 I2C I/O expander<br />
<br />
#define I2C_RELAYS_ADR 0x24  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// I2C address of the PCF8574 module<br />
<br />
<br />
PCF8574 pcf(I2C_RELAYS_ADR);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Create PCF8574 object using the defined I2C address<br />
<br />
void setup() {<br />
    // Initialize I2C communication<br />
    Wire.begin(4, 5); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    &nbsp;&nbsp;&nbsp;&nbsp;// Parameters: SDA pin = 4, SCL pin = 5<br />
    <br />
    pcf.begin();&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Initialize the PCF8574 device<br />
<br />
    // Configure all PCF8574 pins (P0–P7) as outputs<br />
    pcf.pinMode(P0, OUTPUT);<br />
    pcf.pinMode(P1, OUTPUT);<br />
    pcf.pinMode(P2, OUTPUT);<br />
    pcf.pinMode(P3, OUTPUT);<br />
    pcf.pinMode(P4, OUTPUT);<br />
    pcf.pinMode(P5, OUTPUT);<br />
    pcf.pinMode(P6, OUTPUT);<br />
    pcf.pinMode(P7, OUTPUT);<br />
<br />
    // Safe startup state<br />
    pcf.digitalWrite(P0, HIGH);<br />
    pcf.digitalWrite(P1, HIGH);<br />
    pcf.digitalWrite(P2, HIGH);<br />
    pcf.digitalWrite(P3, HIGH);<br />
    pcf.digitalWrite(P4, HIGH);<br />
    pcf.digitalWrite(P5, HIGH);<br />
    pcf.digitalWrite(P6, HIGH);<br />
    pcf.digitalWrite(P7, HIGH);<br />
}<br />
<br />
void loop() {<br />
    // Continuously update each PCF8574 output pin based on OpenPLC variables<br />
    // OUT_0 to OUT_7 are boolean variables provided by OpenPLC<br />
<br />
    // If OUT_x is true → set pin LOW (turn relay ON)<br />
    // If OUT_x is false → set pin HIGH (turn relay OFF)<br />
<br />
    pcf.digitalWrite(P0, OUT_0 ? LOW : HIGH);<br />
    pcf.digitalWrite(P1, OUT_1 ? LOW : HIGH);<br />
    pcf.digitalWrite(P2, OUT_2 ? LOW : HIGH);<br />
    pcf.digitalWrite(P3, OUT_3 ? LOW : HIGH);<br />
    pcf.digitalWrite(P4, OUT_4 ? LOW : HIGH);<br />
    pcf.digitalWrite(P5, OUT_5 ? LOW : HIGH);<br />
    pcf.digitalWrite(P6, OUT_6 ? LOW : HIGH);<br />
    pcf.digitalWrite(P7, OUT_7 ? LOW : HIGH);<br />
}</code></div></div><!-- 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=10007" target="_blank" title="">KC868-A8_OpenPLC_Function-Blocks_relay.png</a> (Size: 143.3 KB / Downloads: 102)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[how to use KC868-A8 with PLC ladder diagram using OpenPLC video tour]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9364</link>
			<pubDate>Tue, 26 May 2026 19:20:02 +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=9364</guid>
			<description><![CDATA[<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/VO0E_Ce5HG4" frameborder="0" allowfullscreen="true"></iframe>]]></description>
			<content:encoded><![CDATA[<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/VO0E_Ce5HG4" frameborder="0" allowfullscreen="true"></iframe>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[connecting sensors]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8982</link>
			<pubDate>Tue, 03 Feb 2026 07:07:58 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2838">skench</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8982</guid>
			<description><![CDATA[Good afternoon, can you tell me how to connect a temperature and humidity sensor to the A8 or A16 boards? I have several different sensors <br />
An AM2120 temperature and humidity sensor <a href="https://ali.click/klm2yz" target="_blank" rel="noopener" class="mycode_url">https://ali.click/klm2yz</a> <br />
There is also a BME280 pressure and temperature sensor. <a href="https://ali.click/zmm2ye" target="_blank" rel="noopener" class="mycode_url">https://ali.click/zmm2ye</a> <br />
And I also bought a DHT22 temperature and humidity sensor. <a href="https://ali.click/mom2y9" target="_blank" rel="noopener" class="mycode_url">https://ali.click/mom2y9</a> there's a problem with everyone, with the latest DHT22, I don't understand where to get the 5v from, which vcc pin to connect to to get the 5v? I'm acting on the picture <a href="https://www.kincony.com/forum/showthread.php?tid=3194" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=3194</a> I tried to connect the AM2120 in different ways, both to the ds18b20 and to other neighboring ports and tried the settings in the sensors tab, as well as different firmware ksc v2, I thought there might be a problem with the firmware, but I also failed.]]></description>
			<content:encoded><![CDATA[Good afternoon, can you tell me how to connect a temperature and humidity sensor to the A8 or A16 boards? I have several different sensors <br />
An AM2120 temperature and humidity sensor <a href="https://ali.click/klm2yz" target="_blank" rel="noopener" class="mycode_url">https://ali.click/klm2yz</a> <br />
There is also a BME280 pressure and temperature sensor. <a href="https://ali.click/zmm2ye" target="_blank" rel="noopener" class="mycode_url">https://ali.click/zmm2ye</a> <br />
And I also bought a DHT22 temperature and humidity sensor. <a href="https://ali.click/mom2y9" target="_blank" rel="noopener" class="mycode_url">https://ali.click/mom2y9</a> there's a problem with everyone, with the latest DHT22, I don't understand where to get the 5v from, which vcc pin to connect to to get the 5v? I'm acting on the picture <a href="https://www.kincony.com/forum/showthread.php?tid=3194" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=3194</a> I tried to connect the AM2120 in different ways, both to the ds18b20 and to other neighboring ports and tried the settings in the sensors tab, as well as different firmware ksc v2, I thought there might be a problem with the firmware, but I also failed.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ESPHome Compile warning message]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8943</link>
			<pubDate>Thu, 15 Jan 2026 14:16:57 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=890">petez69</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8943</guid>
			<description><![CDATA[Hi Admin<br />
<br />
Using ESPHome and Homeassistant, the publish_initial_state warning has been there for some time when compiling.  Is this an option we fix in YAML or something the ESPHome people will sort with their code ?<br />
<br />
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.<br />
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.<br />
See <a href="https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins" target="_blank" rel="noopener" class="mycode_url">https://esphome.io/guides/faq/#why-am-i-...pping-pins</a><br />
WARNING The 'publish_initial_state' option has been replaced by 'trigger_on_initial_state' and will be removed in a future release<br />
WARNING The 'publish_initial_state' option has been replaced by 'trigger_on_initial_state' and will be removed in a future release<br />
<br />
Many Thanks..Peter]]></description>
			<content:encoded><![CDATA[Hi Admin<br />
<br />
Using ESPHome and Homeassistant, the publish_initial_state warning has been there for some time when compiling.  Is this an option we fix in YAML or something the ESPHome people will sort with their code ?<br />
<br />
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.<br />
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.<br />
See <a href="https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins" target="_blank" rel="noopener" class="mycode_url">https://esphome.io/guides/faq/#why-am-i-...pping-pins</a><br />
WARNING The 'publish_initial_state' option has been replaced by 'trigger_on_initial_state' and will be removed in a future release<br />
WARNING The 'publish_initial_state' option has been replaced by 'trigger_on_initial_state' and will be removed in a future release<br />
<br />
Many Thanks..Peter]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A8 Relay Delay]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8890</link>
			<pubDate>Fri, 09 Jan 2026 01:17:08 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9788">sson6203</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8890</guid>
			<description><![CDATA[<span style="color: #000000;" class="mycode_color">I am using a KC868-A8 board.</span><br />
<span style="color: #000000;" class="mycode_color">I am using it in a setup where a standard wall light switch provides a contact signal to KC868-A8 Input-1, and this triggers Relay 1 to operate.</span><br />
<span style="color: #000000;" class="mycode_color">Sometimes the relay turns off late, or the light does not turn on when I switch the wall switch ON, or it turns on late.</span><br />
<span style="color: #000000;" class="mycode_color">I suspect this might be due to contact bounce (chattering).</span><br />
<span style="color: #000000;" class="mycode_color">Is there any solution for this?<br />
Can this be resolved within the KC868 UI through a firmware update?<br />
Using ESPHome to add an input delay feels burdensome for me.<br />
I am not good at coding.</span><br />
<span style="color: #000000;" class="mycode_color">Controlling it through the UI is more convenient and preferable for me.</span><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=8915" target="_blank" title="">스크린샷 2026-01-09 오전 2.05.50.png</a> (Size: 31.79 KB / Downloads: 230)
<!-- 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=8916" target="_blank" title="">스크린샷 2026-01-09 오전 2.05.30.png</a> (Size: 227.8 KB / Downloads: 237)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="color: #000000;" class="mycode_color">I am using a KC868-A8 board.</span><br />
<span style="color: #000000;" class="mycode_color">I am using it in a setup where a standard wall light switch provides a contact signal to KC868-A8 Input-1, and this triggers Relay 1 to operate.</span><br />
<span style="color: #000000;" class="mycode_color">Sometimes the relay turns off late, or the light does not turn on when I switch the wall switch ON, or it turns on late.</span><br />
<span style="color: #000000;" class="mycode_color">I suspect this might be due to contact bounce (chattering).</span><br />
<span style="color: #000000;" class="mycode_color">Is there any solution for this?<br />
Can this be resolved within the KC868 UI through a firmware update?<br />
Using ESPHome to add an input delay feels burdensome for me.<br />
I am not good at coding.</span><br />
<span style="color: #000000;" class="mycode_color">Controlling it through the UI is more convenient and preferable for me.</span><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=8915" target="_blank" title="">스크린샷 2026-01-09 오전 2.05.50.png</a> (Size: 31.79 KB / Downloads: 230)
<!-- 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=8916" target="_blank" title="">스크린샷 2026-01-09 오전 2.05.30.png</a> (Size: 227.8 KB / Downloads: 237)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A8 simple switch]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8785</link>
			<pubDate>Tue, 02 Dec 2025 13:07:59 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9970">sgrass</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8785</guid>
			<description><![CDATA[I am building an off-road caravan and wish to use a simple smart switch to control the lights, etc. I found Kincony's <span style="font-style: italic;" class="mycode_i">Lesson 3 - Control relay by wall switch</span> video on YouTube of a KC868-A4 receiving a momentary input switch that toggled the output relay on, a second momentary input toggled the relay off. It was perfect. I could have momentary switches in multiple locations to operate the same light (relay). I needed more relays, so ordered the larger A8 online.<br />
I have zero experience with Arduino or ESP32, but I hoped to learn off the online examples. As part of that learning I discovered the A4 is different to the A8 through the addition of the PCF8574 to expand the I/O. I have managed to successfully upload the code from the Kincony - Arduino Lesson 19 on using the PCF8574, so I have the settings correct, I just can't find any code examples for making the A8 behave like the A4 example in lesson 3.<br />
As a novice, could someone please point me in the right direction for the code to use a momentary press of a dry contact switch on an input to energise its corresponding relay, a second momentary contact on the same input to de-energise that relay again.<br />
Obviously for all 8 inputs to control 8 relays. I would really appreciate it.]]></description>
			<content:encoded><![CDATA[I am building an off-road caravan and wish to use a simple smart switch to control the lights, etc. I found Kincony's <span style="font-style: italic;" class="mycode_i">Lesson 3 - Control relay by wall switch</span> video on YouTube of a KC868-A4 receiving a momentary input switch that toggled the output relay on, a second momentary input toggled the relay off. It was perfect. I could have momentary switches in multiple locations to operate the same light (relay). I needed more relays, so ordered the larger A8 online.<br />
I have zero experience with Arduino or ESP32, but I hoped to learn off the online examples. As part of that learning I discovered the A4 is different to the A8 through the addition of the PCF8574 to expand the I/O. I have managed to successfully upload the code from the Kincony - Arduino Lesson 19 on using the PCF8574, so I have the settings correct, I just can't find any code examples for making the A8 behave like the A4 example in lesson 3.<br />
As a novice, could someone please point me in the right direction for the code to use a momentary press of a dry contact switch on an input to energise its corresponding relay, a second momentary contact on the same input to de-energise that relay again.<br />
Obviously for all 8 inputs to control 8 relays. I would really appreciate it.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Operation]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8747</link>
			<pubDate>Wed, 19 Nov 2025 02:13:04 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9044">silver_kruf</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8747</guid>
			<description><![CDATA[At what air temperature can the KC868-A8 be used?]]></description>
			<content:encoded><![CDATA[At what air temperature can the KC868-A8 be used?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Using KC868_A8 as switch]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8695</link>
			<pubDate>Sun, 02 Nov 2025 23:52:52 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9799">dco333</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8695</guid>
			<description><![CDATA[Hi<br />
<br />
I want to use the board as a switch with the relays.<br />
I have installed KCS Firmware 2.2.14 and activated MQTT to my MQTT broker on Home Assistant.<br />
I followed the instructions with the configuration.yaml File and also replaced all serials by mine.<br />
I can see the switches in HomeAssistant. But when I push the switches, nothing happens on the board. No relay is clicking.<br />
<br />
I think I missed something. What else do I have to configure in the KCS Firmware Gui to switch the relays?<br />
I've read many tutorials, intructions and so on, but I don't understand it how to switch the relays.<br />
Also in the KCS Gui I didn't find any switches to test is.<br />
I think, there has to be configured more in the firmware.<br />
<br />
I hope to get any adice from you.<br />
<br />
Regards<br />
dco333]]></description>
			<content:encoded><![CDATA[Hi<br />
<br />
I want to use the board as a switch with the relays.<br />
I have installed KCS Firmware 2.2.14 and activated MQTT to my MQTT broker on Home Assistant.<br />
I followed the instructions with the configuration.yaml File and also replaced all serials by mine.<br />
I can see the switches in HomeAssistant. But when I push the switches, nothing happens on the board. No relay is clicking.<br />
<br />
I think I missed something. What else do I have to configure in the KCS Firmware Gui to switch the relays?<br />
I've read many tutorials, intructions and so on, but I don't understand it how to switch the relays.<br />
Also in the KCS Gui I didn't find any switches to test is.<br />
I think, there has to be configured more in the firmware.<br />
<br />
I hope to get any adice from you.<br />
<br />
Regards<br />
dco333]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Request for Technical Support – Controlling KC868-A8 Relays via Physical Buttons]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8690</link>
			<pubDate>Fri, 31 Oct 2025 16:47:07 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9788">sson6203</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8690</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">1. 현재 설정</span><br />
<span style="font-weight: bold;" class="mycode_b">현재 MQTT</span> 와 <span style="font-weight: bold;" class="mycode_b">HTTP 명령을 통해 </span><span style="font-weight: bold;" class="mycode_b">KC868-A8</span> 장치 의 릴레이를 제어하고 있습니다 .<br />
<span style="font-style: italic;" class="mycode_i">(설치는 사진 1</span> 에 표시된 지침에 따라 수행되었습니다 .)<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">2. 목표</span><br />
<span style="font-weight: bold;" class="mycode_b">물리적인 푸시 버튼을</span> 사용하여 각 릴레이 채널(CH1~CH8)을 제어하고 싶습니다 .<br />
물리적 버튼을 누르면 해당 릴레이가 토글되어야 하며, MQTT 상태도 그에 따라 업데이트되어 <span style="font-weight: bold;" class="mycode_b">Home Assistant(HA)</span> 토글도 실시간으로 변경되어야 합니다.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">3. 문제 이를 달성하기 위해 여러 Arduino IDE 스케치를 시도했지만( </span><span style="font-style: italic;" class="mycode_i">사진 2~7</span><br />
 참조 ) 컴파일 타임 오류가 발생했습니다.<br />
<br />
========================<br />
#error 이 코드는 ESP32 플랫폼에서 실행되도록 설계되었습니다! 도구-&gt;보드 설정을 확인하세요. <br />
종료 상태 1<br />
========================<br />
<br />
<br />
보드 설정을 올바르게 구성하는 방법이나 MQTT 작업과 함께 물리적 버튼 제어를 구현하는 방법을 잘 모르겠습니다.<br />
<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4. 요청</span><br />
다음 사항에 대한 <span style="font-weight: bold;" class="mycode_b">단계별 지침(초보자 수준)을</span> 제공해 주세요 .<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=8549" target="_blank" title="">2.png</a> (Size: 151.37 KB / Downloads: 299)
<!-- 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=8548" target="_blank" title="">1.png</a> (Size: 118.52 KB / Downloads: 190)
<!-- 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=8553" target="_blank" title="">6.png</a> (Size: 130.5 KB / Downloads: 296)
<!-- 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=8552" target="_blank" title="">5.png</a> (Size: 102.79 KB / Downloads: 322)
<!-- 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=8551" target="_blank" title="">4.png</a> (Size: 90.97 KB / Downloads: 339)
<!-- 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=8550" target="_blank" title="">3.png</a> (Size: 118.86 KB / Downloads: 341)
<!-- 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=8554" target="_blank" title="">7.png</a> (Size: 25.1 KB / Downloads: 195)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">1. 현재 설정</span><br />
<span style="font-weight: bold;" class="mycode_b">현재 MQTT</span> 와 <span style="font-weight: bold;" class="mycode_b">HTTP 명령을 통해 </span><span style="font-weight: bold;" class="mycode_b">KC868-A8</span> 장치 의 릴레이를 제어하고 있습니다 .<br />
<span style="font-style: italic;" class="mycode_i">(설치는 사진 1</span> 에 표시된 지침에 따라 수행되었습니다 .)<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">2. 목표</span><br />
<span style="font-weight: bold;" class="mycode_b">물리적인 푸시 버튼을</span> 사용하여 각 릴레이 채널(CH1~CH8)을 제어하고 싶습니다 .<br />
물리적 버튼을 누르면 해당 릴레이가 토글되어야 하며, MQTT 상태도 그에 따라 업데이트되어 <span style="font-weight: bold;" class="mycode_b">Home Assistant(HA)</span> 토글도 실시간으로 변경되어야 합니다.<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">3. 문제 이를 달성하기 위해 여러 Arduino IDE 스케치를 시도했지만( </span><span style="font-style: italic;" class="mycode_i">사진 2~7</span><br />
 참조 ) 컴파일 타임 오류가 발생했습니다.<br />
<br />
========================<br />
#error 이 코드는 ESP32 플랫폼에서 실행되도록 설계되었습니다! 도구-&gt;보드 설정을 확인하세요. <br />
종료 상태 1<br />
========================<br />
<br />
<br />
보드 설정을 올바르게 구성하는 방법이나 MQTT 작업과 함께 물리적 버튼 제어를 구현하는 방법을 잘 모르겠습니다.<br />
<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4. 요청</span><br />
다음 사항에 대한 <span style="font-weight: bold;" class="mycode_b">단계별 지침(초보자 수준)을</span> 제공해 주세요 .<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=8549" target="_blank" title="">2.png</a> (Size: 151.37 KB / Downloads: 299)
<!-- 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=8548" target="_blank" title="">1.png</a> (Size: 118.52 KB / Downloads: 190)
<!-- 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=8553" target="_blank" title="">6.png</a> (Size: 130.5 KB / Downloads: 296)
<!-- 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=8552" target="_blank" title="">5.png</a> (Size: 102.79 KB / Downloads: 322)
<!-- 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=8551" target="_blank" title="">4.png</a> (Size: 90.97 KB / Downloads: 339)
<!-- 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=8550" target="_blank" title="">3.png</a> (Size: 118.86 KB / Downloads: 341)
<!-- 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=8554" target="_blank" title="">7.png</a> (Size: 25.1 KB / Downloads: 195)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to connect photo rezistor (LDR)]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8661</link>
			<pubDate>Tue, 21 Oct 2025 16:23:09 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=8319">simpl3x</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8661</guid>
			<description><![CDATA[Hi, can I connect LDR to analog input A8 board for insolation detection?<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=8506" target="_blank" title="">IMG_2025_10_21_11_22_09_3221179758484902596876.jpg</a> (Size: 2.11 MB / Downloads: 368)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi, can I connect LDR to analog input A8 board for insolation detection?<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=8506" target="_blank" title="">IMG_2025_10_21_11_22_09_3221179758484902596876.jpg</a> (Size: 2.11 MB / Downloads: 368)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[I2C Communication Failure between Kincony KC868-A8 and ESP32C3]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8586</link>
			<pubDate>Thu, 25 Sep 2025 23:51:51 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9589">MIKIMOTO</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8586</guid>
			<description><![CDATA[Hola a tothom,<br />
Estic intentant establir una connexió I2C entre una placa <span style="font-weight: bold;" class="mycode_b">Kincony KC868-A8</span> i un <span style="font-weight: bold;" class="mycode_b">ESP32C3</span> . He implementat correctament la lògica del projecte i he verificat la configuració de la comunicació connectant dues plaques ESP32C3. Funcionen perfectament com a mestre i esclau, detectant-se mútuament i intercanviant dades sense cap problema. La meva configuració per a aquesta prova era una connexió directa pin a pin:<ul class="mycode_list"><li>Pin 20 (SDA) a Pin 20 (SDA)<br />
</li>
<li>Pin 21 (SCL) a Pin 21 (SCL)<br />
</li>
<li>GND a GND<br />
</li>
<li>5V a 5V<br />
</li>
</ul>
El meu programa inclou un escàner I2C per detectar dispositius al bus i una aplicació senzilla per llegir i escriure dades a l'esclau.<br />
A continuació, vaig intentar implementar la mateixa lògica amb el KC868-A8 com a mestre i l'ESP32C3 com a esclau. Vaig modificar el programa mestre per utilitzar els pins correctes per a la placa Kincony (Pin 4 per a SDA i Pin 5 per a SCL).<br />
He connectat les plaques de la següent manera, utilitzant el connector I2C dedicat del KC868-A8:<ul class="mycode_list"><li>KC868-A8 Pin 4 (SDA) i ESP32C3 Pin 20 (SDA)<br />
</li>
<li>KC868-A8 Pin 5 (SCL) i ESP32C3 Pin 21 (SCL)<br />
</li>
<li>GND a GND<br />
</li>
</ul>
<span style="font-weight: bold;" class="mycode_b">Nota:</span> No estic connectant l'alimentació de 3,3 V del Kincony a l'ESP32C3, ja que l'ESP32C3 s'alimenta mitjançant la seva pròpia connexió USB de 5 V.<br />
Tanmateix, la comunicació falla. L'escàner I2C de la placa Kincony detecta correctament els seus dos xips PCF8574 interns, però <span style="font-weight: bold;" class="mycode_b">no veu l'ESP32C3</span> .<br />
Ja he verificat totes les connexions i he provat d'afegir <span style="font-weight: bold;" class="mycode_b">resistències de pull-up externes de 4.7KΩ</span> a les línies SDA i SCL. Segons els esquemes de Kincony, la placa utilitza una lògica de 3.3V i no té resistències de pull-up al seu bus I2C extern.<br />
Què podria estar causant aquest problema? Qualsevol ajuda o informació serà molt benvinguda. Gràcies per endavant!]]></description>
			<content:encoded><![CDATA[Hola a tothom,<br />
Estic intentant establir una connexió I2C entre una placa <span style="font-weight: bold;" class="mycode_b">Kincony KC868-A8</span> i un <span style="font-weight: bold;" class="mycode_b">ESP32C3</span> . He implementat correctament la lògica del projecte i he verificat la configuració de la comunicació connectant dues plaques ESP32C3. Funcionen perfectament com a mestre i esclau, detectant-se mútuament i intercanviant dades sense cap problema. La meva configuració per a aquesta prova era una connexió directa pin a pin:<ul class="mycode_list"><li>Pin 20 (SDA) a Pin 20 (SDA)<br />
</li>
<li>Pin 21 (SCL) a Pin 21 (SCL)<br />
</li>
<li>GND a GND<br />
</li>
<li>5V a 5V<br />
</li>
</ul>
El meu programa inclou un escàner I2C per detectar dispositius al bus i una aplicació senzilla per llegir i escriure dades a l'esclau.<br />
A continuació, vaig intentar implementar la mateixa lògica amb el KC868-A8 com a mestre i l'ESP32C3 com a esclau. Vaig modificar el programa mestre per utilitzar els pins correctes per a la placa Kincony (Pin 4 per a SDA i Pin 5 per a SCL).<br />
He connectat les plaques de la següent manera, utilitzant el connector I2C dedicat del KC868-A8:<ul class="mycode_list"><li>KC868-A8 Pin 4 (SDA) i ESP32C3 Pin 20 (SDA)<br />
</li>
<li>KC868-A8 Pin 5 (SCL) i ESP32C3 Pin 21 (SCL)<br />
</li>
<li>GND a GND<br />
</li>
</ul>
<span style="font-weight: bold;" class="mycode_b">Nota:</span> No estic connectant l'alimentació de 3,3 V del Kincony a l'ESP32C3, ja que l'ESP32C3 s'alimenta mitjançant la seva pròpia connexió USB de 5 V.<br />
Tanmateix, la comunicació falla. L'escàner I2C de la placa Kincony detecta correctament els seus dos xips PCF8574 interns, però <span style="font-weight: bold;" class="mycode_b">no veu l'ESP32C3</span> .<br />
Ja he verificat totes les connexions i he provat d'afegir <span style="font-weight: bold;" class="mycode_b">resistències de pull-up externes de 4.7KΩ</span> a les línies SDA i SCL. Segons els esquemes de Kincony, la placa utilitza una lògica de 3.3V i no té resistències de pull-up al seu bus I2C extern.<br />
Què podria estar causant aquest problema? Qualsevol ajuda o informació serà molt benvinguda. Gràcies per endavant!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Polarity Powering KC868-A8]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8578</link>
			<pubDate>Tue, 23 Sep 2025 17:33:44 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9572">Nachuertas</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8578</guid>
			<description><![CDATA[Hi,<br />
<br />
I've been looking into using a DIN +12V DC power source for the <span style="font-weight: bold;" class="mycode_b">KC868-A8</span>, and I noticed that the new <span style="font-weight: bold;" class="mycode_b">KC868-A6v3</span> is advertised with the comment: "<span style="font-style: italic;" class="mycode_i">new protection circuit to prevent power polarity from burning out.</span>"<br />
<br />
This got me thinking—what would happen if I accidentally reversed the polarity on the KC868-A8?<br />
Would it burn out immediately? Would it simply not work?<br />
Does the KC868-A8 have any protection against this kind of mistake?<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I've been looking into using a DIN +12V DC power source for the <span style="font-weight: bold;" class="mycode_b">KC868-A8</span>, and I noticed that the new <span style="font-weight: bold;" class="mycode_b">KC868-A6v3</span> is advertised with the comment: "<span style="font-style: italic;" class="mycode_i">new protection circuit to prevent power polarity from burning out.</span>"<br />
<br />
This got me thinking—what would happen if I accidentally reversed the polarity on the KC868-A8?<br />
Would it burn out immediately? Would it simply not work?<br />
Does the KC868-A8 have any protection against this kind of mistake?<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Home Assistant mqtt don't works - inputs/outputs unavailable]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8327</link>
			<pubDate>Sun, 20 Jul 2025 00:16:33 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9049">AlenDinDon</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8327</guid>
			<description><![CDATA[Dear Kincony<br />
<br />
I have a new  KC868_A8 <br />
I bought to use it with Home Assistant input/output<br />
<br />
I set mqtt on the KC868_A8 as your guide and it works fine. Connection is done.<br />
<br />
I have a problem on home assistant - it can find all the inputs/outputs but the are always unavailable. Can't work<br />
<br />
Where is the problem?<br />
<br />
I see the IP of the board is not set on the configuration file. Is it right?<br />
<br />
the board is: KC868-A8-V1.7<br />
home assistant is updated to last version<br />
<br />
enclosed you can find the configuration.yaml file<br />
how can I fix?<br />
<br />
thank you in adavance, best regards from Italy!<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=7994" target="_blank" title="">board KC868-A8-V1.7.jpg</a> (Size: 880.84 KB / Downloads: 558)
<!-- end: postbit_attachments_attachment --><br /><!-- 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=7993" target="_blank" title="">configuration.yaml.txt</a> (Size: 5.67 KB / Downloads: 355)
<!-- 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=7992" target="_blank" title="">unavailable.png</a> (Size: 22.1 KB / Downloads: 279)
<!-- 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=7991" target="_blank" title="">mqtt connected.png</a> (Size: 9.1 KB / Downloads: 275)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Dear Kincony<br />
<br />
I have a new  KC868_A8 <br />
I bought to use it with Home Assistant input/output<br />
<br />
I set mqtt on the KC868_A8 as your guide and it works fine. Connection is done.<br />
<br />
I have a problem on home assistant - it can find all the inputs/outputs but the are always unavailable. Can't work<br />
<br />
Where is the problem?<br />
<br />
I see the IP of the board is not set on the configuration file. Is it right?<br />
<br />
the board is: KC868-A8-V1.7<br />
home assistant is updated to last version<br />
<br />
enclosed you can find the configuration.yaml file<br />
how can I fix?<br />
<br />
thank you in adavance, best regards from Italy!<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=7994" target="_blank" title="">board KC868-A8-V1.7.jpg</a> (Size: 880.84 KB / Downloads: 558)
<!-- end: postbit_attachments_attachment --><br /><!-- 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=7993" target="_blank" title="">configuration.yaml.txt</a> (Size: 5.67 KB / Downloads: 355)
<!-- 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=7992" target="_blank" title="">unavailable.png</a> (Size: 22.1 KB / Downloads: 279)
<!-- 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=7991" target="_blank" title="">mqtt connected.png</a> (Size: 9.1 KB / Downloads: 275)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
	</channel>
</rss>