<?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 - All Forums]]></title>
		<link>https://www.kincony.com/forum/</link>
		<description><![CDATA[Smart Home Automation Forum - https://www.kincony.com/forum]]></description>
		<pubDate>Fri, 21 Aug 2026 09:00:22 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[KCS VERSUS ESPHOME]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9757</link>
			<pubDate>Thu, 20 Aug 2026 23:21:58 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11482">EDVALDO DE MARINGA</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9757</guid>
			<description><![CDATA[I just bought a KinCony 32 Pro to control basically the lighting in my house. This was a retrofit: I replaced an old automation system with the KinCony on a DIY basis.<br />
My plan is to use Home Assistant to control everything. Today, the KinCony A32 Pro physically controls the lights ON/OFF. Now I need to install the firmware, and the big question is: <span style="font-weight: bold;" class="mycode_b">ESPHome or KCS?</span><br />
I asked ChatGPT, Gemini, and Copilot, and they gave contradictory answers.<br />
What ChatGPT said<br />
ChatGPT initially recommended <span style="font-weight: bold;" class="mycode_b">KCS + Home Assistant</span>, arguing that KCS can integrate the A32 Pro through MQTT and MQTT Auto Discovery, and that I would not need ESPHome.<br />
It cited KinCony’s forum, including a discussion where the administrator said that KCS and ESPHome cannot run simultaneously and recommended KCS v3 for users who do not know how to configure ESPHome.<br />
It also cited the KinCony forum thread <span style="font-weight: bold;" class="mycode_b">“A32 pro lost control”</span>, where a user had flashed ESPHome and lost KCS. The administrator explained that KCS and ESPHome cannot coexist, and suggested enabling <span style="font-weight: bold;" class="mycode_b">MQTT Auto Discovery</span> in KCS to integrate the A32 Pro with Home Assistant.<br />
Based on this, ChatGPT concluded:<ul class="mycode_list"><li>I do not need ESPHome.<br />
</li>
<li>I can install KCS and integrate it with Home Assistant.<br />
</li>
<li>KCS + MQTT Auto Discovery is the simpler solution for my case.<br />
</li>
</ul>
What Copilot said<br />
Copilot strongly disagreed and said Gemini was right and ChatGPT was wrong.<br />
Its main argument is that <span style="font-weight: bold;" class="mycode_b">KCS does not expose all 32 digital inputs of the A32 Pro to Home Assistant</span>.<br />
According to Copilot, KCS exposes:<ul class="mycode_list"><li>Relays through MQTT<br />
</li>
<li>Basic sensors<br />
</li>
<li>Some internal states<br />
</li>
</ul>
But it does <span style="font-weight: bold;" class="mycode_b">not expose DI1–DI32</span>.<br />
This is critical for my application because I want to use physical inputs/dry contacts to trigger automations such as:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Press a button → turn on one, two, or three lights.</blockquote>
Copilot says that without the digital inputs being available in Home Assistant, this type of automation cannot work as intended.<br />
It also claims that KinCony has stated on its forum that <span style="font-weight: bold;" class="mycode_b">if you want all inputs and outputs in Home Assistant, you should use ESPHome</span>.<br />
Copilot's other arguments are:<br />
<ol type="1" class="mycode_list"><li>KCS + MQTT Auto Discovery does not automatically expose the 32 digital inputs.<br />
</li>
<li>Saying that KCS is simpler may be true for some smaller KinCony controllers, but not necessarily for the A32 Pro.<br />
</li>
<li>The A32 Pro uses multiple I/O expanders, and ESPHome provides a more complete mapping of its inputs and outputs to Home Assistant.<br />
</li>
</ol>
My questions<br />
I do <span style="font-weight: bold;" class="mycode_b">not</span> want a generic comparison between ESPHome and KCS. I want the answer specifically for the <span style="font-weight: bold;" class="mycode_b">KinCony KC868-A32 Pro + Home Assistant</span>, considering that my primary objective is to control lighting and use the physical digital inputs for automations.<br />
<span style="font-weight: bold;" class="mycode_b">1. Who is technically correct: Gemini/Copilot or ChatGPT?</span><br />
More specifically: <span style="font-weight: bold;" class="mycode_b">Does KCS v3 with MQTT Auto Discovery expose all 32 digital inputs of the A32 Pro to Home Assistant, or do I need ESPHome for that?</span><br />
<span style="font-weight: bold;" class="mycode_b">2. If I need ESPHome on the KinCony A32 Pro:</span><br />
Where is the <span style="font-weight: bold;" class="mycode_b">latest official A32 Pro ESPHome YAML/configuration for Home Assistant</span>?<br />
Is this KinCony forum thread the correct/latest source?<br />
<a href="https://www.kincony.com/forum/showthread.php?tid=5520" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=5520</a><br />
<span style="font-weight: bold;" class="mycode_b">3. If KCS should be installed instead:</span><br />
Is this the <span style="font-weight: bold;" class="mycode_b">latest KCS version/configuration</span> for the A32 Pro, including MQTT Auto Discovery?<br />
<a href="https://www.kincony.com/forum/showthread.php?tid=9173&amp;pid=25773#pid25773" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread...3#pid25773</a><br />
I want to resolve the contradiction before flashing the controller, because <span style="font-weight: bold;" class="mycode_b">KCS and ESPHome cannot coexist</span>, so choosing the wrong firmware means having to reflash the device.<br />
Please base the answer on the <span style="font-weight: bold;" class="mycode_b">current KinCony A32 Pro documentation/forum information</span>, not on assumptions about other KinCony models.<br />
<span style="font-weight: bold;" class="mycode_b">Summary:</span> I need to decide between <span style="font-weight: bold;" class="mycode_b">KCS + MQTT Auto Discovery</span> and <span style="font-weight: bold;" class="mycode_b">ESPHome</span> for an <span style="font-weight: bold;" class="mycode_b">A32 Pro whose relays control my lights and whose digital inputs will be used by Home Assistant for physical-button/dry-contact automations</span>. The key question is whether KCS exposes the <span style="font-weight: bold;" class="mycode_b">32 digital inputs</span> to Home Assistant.]]></description>
			<content:encoded><![CDATA[I just bought a KinCony 32 Pro to control basically the lighting in my house. This was a retrofit: I replaced an old automation system with the KinCony on a DIY basis.<br />
My plan is to use Home Assistant to control everything. Today, the KinCony A32 Pro physically controls the lights ON/OFF. Now I need to install the firmware, and the big question is: <span style="font-weight: bold;" class="mycode_b">ESPHome or KCS?</span><br />
I asked ChatGPT, Gemini, and Copilot, and they gave contradictory answers.<br />
What ChatGPT said<br />
ChatGPT initially recommended <span style="font-weight: bold;" class="mycode_b">KCS + Home Assistant</span>, arguing that KCS can integrate the A32 Pro through MQTT and MQTT Auto Discovery, and that I would not need ESPHome.<br />
It cited KinCony’s forum, including a discussion where the administrator said that KCS and ESPHome cannot run simultaneously and recommended KCS v3 for users who do not know how to configure ESPHome.<br />
It also cited the KinCony forum thread <span style="font-weight: bold;" class="mycode_b">“A32 pro lost control”</span>, where a user had flashed ESPHome and lost KCS. The administrator explained that KCS and ESPHome cannot coexist, and suggested enabling <span style="font-weight: bold;" class="mycode_b">MQTT Auto Discovery</span> in KCS to integrate the A32 Pro with Home Assistant.<br />
Based on this, ChatGPT concluded:<ul class="mycode_list"><li>I do not need ESPHome.<br />
</li>
<li>I can install KCS and integrate it with Home Assistant.<br />
</li>
<li>KCS + MQTT Auto Discovery is the simpler solution for my case.<br />
</li>
</ul>
What Copilot said<br />
Copilot strongly disagreed and said Gemini was right and ChatGPT was wrong.<br />
Its main argument is that <span style="font-weight: bold;" class="mycode_b">KCS does not expose all 32 digital inputs of the A32 Pro to Home Assistant</span>.<br />
According to Copilot, KCS exposes:<ul class="mycode_list"><li>Relays through MQTT<br />
</li>
<li>Basic sensors<br />
</li>
<li>Some internal states<br />
</li>
</ul>
But it does <span style="font-weight: bold;" class="mycode_b">not expose DI1–DI32</span>.<br />
This is critical for my application because I want to use physical inputs/dry contacts to trigger automations such as:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>Press a button → turn on one, two, or three lights.</blockquote>
Copilot says that without the digital inputs being available in Home Assistant, this type of automation cannot work as intended.<br />
It also claims that KinCony has stated on its forum that <span style="font-weight: bold;" class="mycode_b">if you want all inputs and outputs in Home Assistant, you should use ESPHome</span>.<br />
Copilot's other arguments are:<br />
<ol type="1" class="mycode_list"><li>KCS + MQTT Auto Discovery does not automatically expose the 32 digital inputs.<br />
</li>
<li>Saying that KCS is simpler may be true for some smaller KinCony controllers, but not necessarily for the A32 Pro.<br />
</li>
<li>The A32 Pro uses multiple I/O expanders, and ESPHome provides a more complete mapping of its inputs and outputs to Home Assistant.<br />
</li>
</ol>
My questions<br />
I do <span style="font-weight: bold;" class="mycode_b">not</span> want a generic comparison between ESPHome and KCS. I want the answer specifically for the <span style="font-weight: bold;" class="mycode_b">KinCony KC868-A32 Pro + Home Assistant</span>, considering that my primary objective is to control lighting and use the physical digital inputs for automations.<br />
<span style="font-weight: bold;" class="mycode_b">1. Who is technically correct: Gemini/Copilot or ChatGPT?</span><br />
More specifically: <span style="font-weight: bold;" class="mycode_b">Does KCS v3 with MQTT Auto Discovery expose all 32 digital inputs of the A32 Pro to Home Assistant, or do I need ESPHome for that?</span><br />
<span style="font-weight: bold;" class="mycode_b">2. If I need ESPHome on the KinCony A32 Pro:</span><br />
Where is the <span style="font-weight: bold;" class="mycode_b">latest official A32 Pro ESPHome YAML/configuration for Home Assistant</span>?<br />
Is this KinCony forum thread the correct/latest source?<br />
<a href="https://www.kincony.com/forum/showthread.php?tid=5520" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=5520</a><br />
<span style="font-weight: bold;" class="mycode_b">3. If KCS should be installed instead:</span><br />
Is this the <span style="font-weight: bold;" class="mycode_b">latest KCS version/configuration</span> for the A32 Pro, including MQTT Auto Discovery?<br />
<a href="https://www.kincony.com/forum/showthread.php?tid=9173&amp;pid=25773#pid25773" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread...3#pid25773</a><br />
I want to resolve the contradiction before flashing the controller, because <span style="font-weight: bold;" class="mycode_b">KCS and ESPHome cannot coexist</span>, so choosing the wrong firmware means having to reflash the device.<br />
Please base the answer on the <span style="font-weight: bold;" class="mycode_b">current KinCony A32 Pro documentation/forum information</span>, not on assumptions about other KinCony models.<br />
<span style="font-weight: bold;" class="mycode_b">Summary:</span> I need to decide between <span style="font-weight: bold;" class="mycode_b">KCS + MQTT Auto Discovery</span> and <span style="font-weight: bold;" class="mycode_b">ESPHome</span> for an <span style="font-weight: bold;" class="mycode_b">A32 Pro whose relays control my lights and whose digital inputs will be used by Home Assistant for physical-button/dry-contact automations</span>. The key question is whether KCS exposes the <span style="font-weight: bold;" class="mycode_b">32 digital inputs</span> to Home Assistant.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-AGv3]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9756</link>
			<pubDate>Thu, 20 Aug 2026 04:45:26 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11474">zalaking</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9756</guid>
			<description><![CDATA[Hi Kincony and community.<br />
<br />
I've just received my KC868-AGv3 RF/IR Smart Controller..<br />
<br />
is there an example ESPHome configuration posted anywhere - I've been searching for some time and cannot find a an example I can use to get me started... I've installed a base ESP32 config on it and I see it on my network etc.. but keen to get it fully worked with all the RF/IR/Buzzer features..<br />
<br />
Many thanks in advance.]]></description>
			<content:encoded><![CDATA[Hi Kincony and community.<br />
<br />
I've just received my KC868-AGv3 RF/IR Smart Controller..<br />
<br />
is there an example ESPHome configuration posted anywhere - I've been searching for some time and cannot find a an example I can use to get me started... I've installed a base ESP32 config on it and I see it on my network etc.. but keen to get it fully worked with all the RF/IR/Buzzer features..<br />
<br />
Many thanks in advance.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KinCony B2 Smart Controller released]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9746</link>
			<pubDate>Mon, 17 Aug 2026 21:07:50 +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=9746</guid>
			<description><![CDATA[KinCony B2 ESP32 smart controller based on ESP32-S3-WROOM-1U (N16R8) wifi chip. Support 2 channel relay output, 4 channel 1-wire GPIOs, 4 channel ADS1115 16bit analog input ports. One SD card using SPI bus. B2 include DS3231 high precision RTC clock chip. LCD display will show wifi and ethernet IP address and Tuya connection state. B2 have I2C bus extender and RS485 port. B2 support use SIM7600E 4G module. You can write any code by Arduino IDE / MicroPython / ESP-IDF development tool to ESP32 module. We will supply Arduino / ESP-IDF demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY. B2 use KCS v3 firmware, it support home assistant auto discovery function by MQTT, so without write any config code (zero code) for home assistant. KCS v3 support KinCony cloud service (official shop customer free 2 years), remote monitor and control device by webpage in anywhere. KCS v3 support KinCony board integrate to Loxone Miniserver. Support Apple HomeKit for Siri.<br />
<img src="https://www.kincony.com/images/B2/B2-2.jpg" loading="lazy"  alt="[Image: B2-2.jpg]" class="mycode_img" /><br />
<span style="font-weight: bold;" class="mycode_b">Model No. KinCony B2</span><br />
Description: KinCony 2 Channel ESP32-S3 Smart Relay Controller – B2<br />
Power supply: 12-24V DC<br />
Processor: ESP32-S3-WROOM-1U (N16R8)<br />
Size: 124mm*83mm*56mm<br />
interfaces: Ethernet(RJ45)-LAN 100Mbps IPv4/IPv6,WiFi,RS485,Bluetooth,USB-C,LCD,I2C,Tuya Module, 4G SIM7600<br />
RTC: DS3231 high precision chip (battery socket on PCB)<br />
SD Card: SPI bus<br />
Installation method: DIN RAIL<br />
LCD: SSD1306 I2C display<br />
<span style="font-weight: bold;" class="mycode_b">Outputs:</span><br />
2CH relay Outputs, every relay use by MAX AC270V/10A<br />
<span style="font-weight: bold;" class="mycode_b">Inputs:</span><br />
ADS1115 16bit ADC: 2CH analog input DC0-5V (A1,A2) 2CH analog input 4-20mA (A3,A4)<br />
2CH dry contact inputs (optocoupler isolation, long distance circuit for MAX 500 meters cable)<br />
3 buttons: 1:ESP32 Reset 2:ESP32 Download 3:Tuya config<br />
1-Wire GPIO: 4CH (with pull-up resistance on PCB)<br />
<img src="https://www.kincony.com/images/B2/B2-1.jpg" loading="lazy"  alt="[Image: B2-1.jpg]" class="mycode_img" />]]></description>
			<content:encoded><![CDATA[KinCony B2 ESP32 smart controller based on ESP32-S3-WROOM-1U (N16R8) wifi chip. Support 2 channel relay output, 4 channel 1-wire GPIOs, 4 channel ADS1115 16bit analog input ports. One SD card using SPI bus. B2 include DS3231 high precision RTC clock chip. LCD display will show wifi and ethernet IP address and Tuya connection state. B2 have I2C bus extender and RS485 port. B2 support use SIM7600E 4G module. You can write any code by Arduino IDE / MicroPython / ESP-IDF development tool to ESP32 module. We will supply Arduino / ESP-IDF demo code for different samples. Everyone can modify and change the code for your own smart home automation system project. it support use by ESPHome for home assistant or tasmota firmware for smart home automation DIY. B2 use KCS v3 firmware, it support home assistant auto discovery function by MQTT, so without write any config code (zero code) for home assistant. KCS v3 support KinCony cloud service (official shop customer free 2 years), remote monitor and control device by webpage in anywhere. KCS v3 support KinCony board integrate to Loxone Miniserver. Support Apple HomeKit for Siri.<br />
<img src="https://www.kincony.com/images/B2/B2-2.jpg" loading="lazy"  alt="[Image: B2-2.jpg]" class="mycode_img" /><br />
<span style="font-weight: bold;" class="mycode_b">Model No. KinCony B2</span><br />
Description: KinCony 2 Channel ESP32-S3 Smart Relay Controller – B2<br />
Power supply: 12-24V DC<br />
Processor: ESP32-S3-WROOM-1U (N16R8)<br />
Size: 124mm*83mm*56mm<br />
interfaces: Ethernet(RJ45)-LAN 100Mbps IPv4/IPv6,WiFi,RS485,Bluetooth,USB-C,LCD,I2C,Tuya Module, 4G SIM7600<br />
RTC: DS3231 high precision chip (battery socket on PCB)<br />
SD Card: SPI bus<br />
Installation method: DIN RAIL<br />
LCD: SSD1306 I2C display<br />
<span style="font-weight: bold;" class="mycode_b">Outputs:</span><br />
2CH relay Outputs, every relay use by MAX AC270V/10A<br />
<span style="font-weight: bold;" class="mycode_b">Inputs:</span><br />
ADS1115 16bit ADC: 2CH analog input DC0-5V (A1,A2) 2CH analog input 4-20mA (A3,A4)<br />
2CH dry contact inputs (optocoupler isolation, long distance circuit for MAX 500 meters cable)<br />
3 buttons: 1:ESP32 Reset 2:ESP32 Download 3:Tuya config<br />
1-Wire GPIO: 4CH (with pull-up resistance on PCB)<br />
<img src="https://www.kincony.com/images/B2/B2-1.jpg" loading="lazy"  alt="[Image: B2-1.jpg]" class="mycode_img" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A8v3 PCB layout CAD file]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9745</link>
			<pubDate>Mon, 17 Aug 2026 16:44:33 +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=9745</guid>
			<description><![CDATA[KC868-A8v3 PCB layout CAD file<br />
<!-- 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=10325" target="_blank" title="">KC868_A8v3.1.zip</a> (Size: 1.57 MB / Downloads: 18)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[KC868-A8v3 PCB layout CAD file<br />
<!-- 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=10325" target="_blank" title="">KC868_A8v3.1.zip</a> (Size: 1.57 MB / Downloads: 18)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Current direction detection incorrect on channels 2 and 3]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9742</link>
			<pubDate>Thu, 13 Aug 2026 18:49:03 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11433">dominique_manas@hotmail.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9742</guid>
			<description><![CDATA[Hello,<br />
I have also noticed another issue with the <span style="font-weight: bold;" class="mycode_b">KinCony N30</span> when using the current direction detection.<br />
My N30 has <span style="font-weight: bold;" class="mycode_b">three rows/modules</span>, and all of my current clamps are installed and wired <span style="font-weight: bold;" class="mycode_b">in exactly the same physical direction</span>.<br />
However, when I enable the <span style="font-weight: bold;" class="mycode_b">current direction detection</span>, I get inconsistent results:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Module 1:</span> current direction is detected correctly and the power values are positive.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Module 2:</span> the power values are negative.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Module 3:</span> the power values are also negative.<br />
</li>
</ul>
This happens even though the clamps on modules 1, 2 and 3 are installed in exactly the same direction.<br />
Without current direction detection, the measured power values are otherwise consistent.<br />
This makes me suspect that there may be an issue with the <span style="font-weight: bold;" class="mycode_b">polarity/sign handling or current direction detection in the firmware for modules 2 and 3</span>.<br />
Could you please check whether the current direction detection is implemented identically for all three modules?<br />
In particular, I would like to know whether there is a firmware configuration or calibration parameter that could cause modules 2 and 3 to have their current direction inverted compared with module 1.<br />
The expected behavior is that, with all clamps physically oriented in the same direction, the three modules should report the same sign for the same direction of current.<br />
Thank you.<!-- 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=10322" target="_blank" title="">Capture d’écran 2026-08-13 à 12.48.33.png</a> (Size: 5.73 MB / Downloads: 48)
<!-- end: postbit_attachments_attachment --><!-- 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=10323" target="_blank" title="">Capture d’écran 2026-08-13 à 12.48.10.png</a> (Size: 5.36 MB / Downloads: 57)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello,<br />
I have also noticed another issue with the <span style="font-weight: bold;" class="mycode_b">KinCony N30</span> when using the current direction detection.<br />
My N30 has <span style="font-weight: bold;" class="mycode_b">three rows/modules</span>, and all of my current clamps are installed and wired <span style="font-weight: bold;" class="mycode_b">in exactly the same physical direction</span>.<br />
However, when I enable the <span style="font-weight: bold;" class="mycode_b">current direction detection</span>, I get inconsistent results:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Module 1:</span> current direction is detected correctly and the power values are positive.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Module 2:</span> the power values are negative.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Module 3:</span> the power values are also negative.<br />
</li>
</ul>
This happens even though the clamps on modules 1, 2 and 3 are installed in exactly the same direction.<br />
Without current direction detection, the measured power values are otherwise consistent.<br />
This makes me suspect that there may be an issue with the <span style="font-weight: bold;" class="mycode_b">polarity/sign handling or current direction detection in the firmware for modules 2 and 3</span>.<br />
Could you please check whether the current direction detection is implemented identically for all three modules?<br />
In particular, I would like to know whether there is a firmware configuration or calibration parameter that could cause modules 2 and 3 to have their current direction inverted compared with module 1.<br />
The expected behavior is that, with all clamps physically oriented in the same direction, the three modules should report the same sign for the same direction of current.<br />
Thank you.<!-- 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=10322" target="_blank" title="">Capture d’écran 2026-08-13 à 12.48.33.png</a> (Size: 5.73 MB / Downloads: 48)
<!-- end: postbit_attachments_attachment --><!-- 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=10323" target="_blank" title="">Capture d’écran 2026-08-13 à 12.48.10.png</a> (Size: 5.36 MB / Downloads: 57)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MQTT Discovery: missing state_class for power sensors in Home Assistant]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9741</link>
			<pubDate>Thu, 13 Aug 2026 18:41:45 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11433">dominique_manas@hotmail.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9741</guid>
			<description><![CDATA[Hello,<br />
I noticed an issue with the MQTT Discovery configuration generated by the N30 when the device is integrated into <span style="font-weight: bold;" class="mycode_b">Home Assistant</span>.<br />
For example, Home Assistant creates the following entity:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sensor.n30_d0cf13020244_energy2_ch2_power</code></div></div>The N30 publishes this MQTT Discovery payload:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>{<br />
  "uniq_id": "D0CF13020244_sensor_energy2_power_ch2",<br />
  "~": "homeassistant/sensor/D0CF13020244energy2_power_ch2",<br />
  "name": "energy2_ch2.power",<br />
  "device": {<br />
    "name": "N30-D0CF13020244",<br />
    "identifiers": "D0CF13020244",<br />
    "manufacturer": "KinCony",<br />
    "model": "N30"<br />
  },<br />
  "config_topic": "~/config",<br />
  "avty_t": "D0CF13020244/avail",<br />
  "unit_of_meas": "W",<br />
  "dev_cla": "power",<br />
  "val_tpl": "{{ value | float | round(1) }}",<br />
  "stat_t": "~/state"<br />
}</code></div></div>In <span style="font-weight: bold;" class="mycode_b">Home Assistant</span>, the entity is therefore detected with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>device_class: power<br />
unit_of_measurement: W</code></div></div>but <span style="font-weight: bold;" class="mycode_b">without</span>:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>state_class: measurement</code></div></div>The missing field in the MQTT Discovery payload is:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"stat_cla": "measurement"</code></div></div>Interestingly, some other N30 power sensors are correctly detected by Home Assistant with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>state_class: measurement<br />
unit_of_measurement: W<br />
device_class: power</code></div></div>For example, <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sensor.n30_bl0910_1_power_6</code></div></div> already has the correct <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>state_class</code></div></div>.<br />
This suggests that the issue is specific to some of the MQTT Discovery configurations generated by the N30 firmware, particularly the <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>energy*_ch*_power</code></div></div> sensors.<br />
Could you please check the N30 firmware and add:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"stat_cla": "measurement"</code></div></div>to the MQTT Discovery configuration of all instantaneous power sensors?<br />
The expected configuration would be:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"unit_of_meas": "W",<br />
"dev_cla": "power",<br />
"stat_cla": "measurement"</code></div></div>This would allow <span style="font-weight: bold;" class="mycode_b">Home Assistant</span> to correctly identify these entities as power measurements and use them properly for statistics and energy-related features.<br />
Thank you.]]></description>
			<content:encoded><![CDATA[Hello,<br />
I noticed an issue with the MQTT Discovery configuration generated by the N30 when the device is integrated into <span style="font-weight: bold;" class="mycode_b">Home Assistant</span>.<br />
For example, Home Assistant creates the following entity:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sensor.n30_d0cf13020244_energy2_ch2_power</code></div></div>The N30 publishes this MQTT Discovery payload:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>{<br />
  "uniq_id": "D0CF13020244_sensor_energy2_power_ch2",<br />
  "~": "homeassistant/sensor/D0CF13020244energy2_power_ch2",<br />
  "name": "energy2_ch2.power",<br />
  "device": {<br />
    "name": "N30-D0CF13020244",<br />
    "identifiers": "D0CF13020244",<br />
    "manufacturer": "KinCony",<br />
    "model": "N30"<br />
  },<br />
  "config_topic": "~/config",<br />
  "avty_t": "D0CF13020244/avail",<br />
  "unit_of_meas": "W",<br />
  "dev_cla": "power",<br />
  "val_tpl": "{{ value | float | round(1) }}",<br />
  "stat_t": "~/state"<br />
}</code></div></div>In <span style="font-weight: bold;" class="mycode_b">Home Assistant</span>, the entity is therefore detected with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>device_class: power<br />
unit_of_measurement: W</code></div></div>but <span style="font-weight: bold;" class="mycode_b">without</span>:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>state_class: measurement</code></div></div>The missing field in the MQTT Discovery payload is:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"stat_cla": "measurement"</code></div></div>Interestingly, some other N30 power sensors are correctly detected by Home Assistant with:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>state_class: measurement<br />
unit_of_measurement: W<br />
device_class: power</code></div></div>For example, <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>sensor.n30_bl0910_1_power_6</code></div></div> already has the correct <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>state_class</code></div></div>.<br />
This suggests that the issue is specific to some of the MQTT Discovery configurations generated by the N30 firmware, particularly the <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>energy*_ch*_power</code></div></div> sensors.<br />
Could you please check the N30 firmware and add:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"stat_cla": "measurement"</code></div></div>to the MQTT Discovery configuration of all instantaneous power sensors?<br />
The expected configuration would be:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>"unit_of_meas": "W",<br />
"dev_cla": "power",<br />
"stat_cla": "measurement"</code></div></div>This would allow <span style="font-weight: bold;" class="mycode_b">Home Assistant</span> to correctly identify these entities as power measurements and use them properly for statistics and energy-related features.<br />
Thank you.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[solar production and consomation]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9740</link>
			<pubDate>Thu, 13 Aug 2026 16:36:39 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11433">dominique_manas@hotmail.com</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9740</guid>
			<description><![CDATA[Current sensor does not detect current direction<br />
Hello,<br />
I have a question regarding the current/power sensor on my KinCony device.<br />
The circuit is connected to a <span style="font-weight: bold;" class="mycode_b">1100 W pump</span>, with approximately <span style="font-weight: bold;" class="mycode_b">1000 W peak solar PV production</span>.<br />
I expected the sensor to detect the <span style="font-weight: bold;" class="mycode_b">direction of the current</span> and therefore show negative power when the solar panels are producing energy and sending it back through the circuit.<br />
In the attached screenshot:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Green area:</span> nighttime. The pump is running and consuming approximately <span style="font-weight: bold;" class="mycode_b">1100 W</span>. This is normal.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Red area:</span> daytime. The solar panels are producing around <span style="font-weight: bold;" class="mycode_b">400 W</span>, with <span style="font-weight: bold;" class="mycode_b">no consumption from the pump</span>. However, the sensor still reports the power as positive instead of negative.<br />
</li>
</ul>
So it appears that the sensor measures the current magnitude but does not detect its direction.<br />
Is this sensor supposed to be bidirectional?<br />
If so, is there a specific orientation for the current transformer/sensor, or does it require a particular configuration to detect the direction of the current?<br />
Could someone explain how the current direction is detected and how I should configure or install the sensor to obtain positive values for consumption and negative values for solar production?<br />
Thank you.<br />
<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=10321" target="_blank" title="">Greenshot 2026-08-13 10.31.05.png</a> (Size: 54.95 KB / Downloads: 65)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Current sensor does not detect current direction<br />
Hello,<br />
I have a question regarding the current/power sensor on my KinCony device.<br />
The circuit is connected to a <span style="font-weight: bold;" class="mycode_b">1100 W pump</span>, with approximately <span style="font-weight: bold;" class="mycode_b">1000 W peak solar PV production</span>.<br />
I expected the sensor to detect the <span style="font-weight: bold;" class="mycode_b">direction of the current</span> and therefore show negative power when the solar panels are producing energy and sending it back through the circuit.<br />
In the attached screenshot:<ul class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Green area:</span> nighttime. The pump is running and consuming approximately <span style="font-weight: bold;" class="mycode_b">1100 W</span>. This is normal.<br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Red area:</span> daytime. The solar panels are producing around <span style="font-weight: bold;" class="mycode_b">400 W</span>, with <span style="font-weight: bold;" class="mycode_b">no consumption from the pump</span>. However, the sensor still reports the power as positive instead of negative.<br />
</li>
</ul>
So it appears that the sensor measures the current magnitude but does not detect its direction.<br />
Is this sensor supposed to be bidirectional?<br />
If so, is there a specific orientation for the current transformer/sensor, or does it require a particular configuration to detect the direction of the current?<br />
Could someone explain how the current direction is detected and how I should configure or install the sensor to obtain positive values for consumption and negative values for solar production?<br />
Thank you.<br />
<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=10321" target="_blank" title="">Greenshot 2026-08-13 10.31.05.png</a> (Size: 54.95 KB / Downloads: 65)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ai automation]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9739</link>
			<pubDate>Thu, 13 Aug 2026 14:56:10 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11430">mediverticals</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9739</guid>
			<description><![CDATA[Hi everyone,<br />
<br />
I’m exploring how AI automation could work alongside Loxone for smarter home and building automation. Loxone already handles many rule-based tasks well, but I’m interested in where AI could add value without making the system unnecessarily complicated.<br />
<br />
For example, AI could potentially analyze sensor data, learn usage patterns, optimize heating or lighting schedules, detect unusual energy consumption, or help automate certain routines based on changing conditions.<br />
<br />
I recently came across Codeora Vision while looking into AI automation solutions, which got me thinking about how AI-based systems could complement existing automation platforms rather than replace them.<br />
<br />
Has anyone here experimented with connecting AI services or machine-learning workflows with Loxone? I’d be particularly interested in practical approaches for integrating AI with Loxone Miniserver data, APIs, MQTT, or other compatible methods.<br />
<br />
What AI automation use cases have you found genuinely useful in a smart home or building environment?]]></description>
			<content:encoded><![CDATA[Hi everyone,<br />
<br />
I’m exploring how AI automation could work alongside Loxone for smarter home and building automation. Loxone already handles many rule-based tasks well, but I’m interested in where AI could add value without making the system unnecessarily complicated.<br />
<br />
For example, AI could potentially analyze sensor data, learn usage patterns, optimize heating or lighting schedules, detect unusual energy consumption, or help automate certain routines based on changing conditions.<br />
<br />
I recently came across Codeora Vision while looking into AI automation solutions, which got me thinking about how AI-based systems could complement existing automation platforms rather than replace them.<br />
<br />
Has anyone here experimented with connecting AI services or machine-learning workflows with Loxone? I’d be particularly interested in practical approaches for integrating AI with Loxone Miniserver data, APIs, MQTT, or other compatible methods.<br />
<br />
What AI automation use cases have you found genuinely useful in a smart home or building environment?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Connecting sensors to KinCony F16]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9737</link>
			<pubDate>Wed, 12 Aug 2026 22:29:15 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11189">kostenko1954</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9737</guid>
			<description><![CDATA[<span style="font-size: x-large;" class="mycode_size"><span style="font-family: Arial;" class="mycode_font">- Without connecting the SHT30 temperature and humidity sensor, the LCD screen displays readings normally.</span></span><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=10311" target="_blank" title="">1.jpg</a> (Size: 309.65 KB / Downloads: 79)
<!-- end: postbit_attachments_attachment --><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">- After connecting the SHT30 temperature and humidity sensor, the LCD screen displays distorted readings.</span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10313" target="_blank" title="">2.jpg</a> (Size: 290.54 KB / Downloads: 80)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">- I tried setting the SHT30 address (I2C) to 0x44, but the address resets the next time the controller is polled.<br />
- I also connected the RS485 JTH-2D1 temperature and humidity sensor to the RS485 port. Its address is: Temperature – 768; Humidity – 769</span> </span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10314" target="_blank" title="">3.jpg</a> (Size: 67.67 KB / Downloads: 78)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10315" target="_blank" title="">4.jpg</a> (Size: 194.15 KB / Downloads: 59)
<!-- 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=10316" target="_blank" title="">5.jpg</a> (Size: 67.67 KB / Downloads: 52)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">- I also connected an analog soil moisture sensor to analog input A1, using an external 3.3V power supply.</span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10317" target="_blank" title="">6.jpg</a> (Size: 75.31 KB / Downloads: 55)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">When the sensor is dry, the reading is <span style="font-weight: bold;" class="mycode_b">752</span>. </span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10318" target="_blank" title="">7.jpg</a> (Size: 66.83 KB / Downloads: 54)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">When the sensor is submerged, the reading is <span style="font-weight: bold;" class="mycode_b">757</span>. </span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10319" target="_blank" title="">8.jpg</a> (Size: 70.13 KB / Downloads: 53)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">When testing these sensors in an Arduino UNO R3, the readings are different. </span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10320" target="_blank" title="">9.jpg</a> (Size: 219.35 KB / Downloads: 56)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">How do I configure them in the KinCony ESP32-S3 Tuya relay board – F16 (16A removable relay)? </span></span>]]></description>
			<content:encoded><![CDATA[<span style="font-size: x-large;" class="mycode_size"><span style="font-family: Arial;" class="mycode_font">- Without connecting the SHT30 temperature and humidity sensor, the LCD screen displays readings normally.</span></span><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=10311" target="_blank" title="">1.jpg</a> (Size: 309.65 KB / Downloads: 79)
<!-- end: postbit_attachments_attachment --><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">- After connecting the SHT30 temperature and humidity sensor, the LCD screen displays distorted readings.</span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10313" target="_blank" title="">2.jpg</a> (Size: 290.54 KB / Downloads: 80)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">- I tried setting the SHT30 address (I2C) to 0x44, but the address resets the next time the controller is polled.<br />
- I also connected the RS485 JTH-2D1 temperature and humidity sensor to the RS485 port. Its address is: Temperature – 768; Humidity – 769</span> </span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10314" target="_blank" title="">3.jpg</a> (Size: 67.67 KB / Downloads: 78)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10315" target="_blank" title="">4.jpg</a> (Size: 194.15 KB / Downloads: 59)
<!-- 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=10316" target="_blank" title="">5.jpg</a> (Size: 67.67 KB / Downloads: 52)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">- I also connected an analog soil moisture sensor to analog input A1, using an external 3.3V power supply.</span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10317" target="_blank" title="">6.jpg</a> (Size: 75.31 KB / Downloads: 55)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">When the sensor is dry, the reading is <span style="font-weight: bold;" class="mycode_b">752</span>. </span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10318" target="_blank" title="">7.jpg</a> (Size: 66.83 KB / Downloads: 54)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">When the sensor is submerged, the reading is <span style="font-weight: bold;" class="mycode_b">757</span>. </span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10319" target="_blank" title="">8.jpg</a> (Size: 70.13 KB / Downloads: 53)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">When testing these sensors in an Arduino UNO R3, the readings are different. </span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size"><!-- 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=10320" target="_blank" title="">9.jpg</a> (Size: 219.35 KB / Downloads: 56)
<!-- end: postbit_attachments_attachment --></span></span><br />
<span style="font-family: 'Times New Roman', serif;" class="mycode_font"><span style="font-size: x-large;" class="mycode_size">How do I configure them in the KinCony ESP32-S3 Tuya relay board – F16 (16A removable relay)? </span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CT Sensor Direction]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9735</link>
			<pubDate>Wed, 12 Aug 2026 08:40:58 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=6885">chuyskywalker</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9735</guid>
			<description><![CDATA[From what I've read (and based on most other power monitoring systems) it's important to get the direction of the sensor correct. So, should it look like A or B?<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>A)<br />
             &nbsp;&nbsp;(  )---- Sense Leads ------<br />
Source &gt;-------(--)------------------------&gt; Load<br />
             &nbsp;&nbsp;(&nbsp;&nbsp;)<br />
<br />
B)<br />
       &nbsp;&nbsp;---- Sense Leads ------(  )<br />
Source &gt;------------------------(--)-------&gt; Load<br />
                                (&nbsp;&nbsp;)</code></div></div><br />
Thanks!]]></description>
			<content:encoded><![CDATA[From what I've read (and based on most other power monitoring systems) it's important to get the direction of the sensor correct. So, should it look like A or B?<br />
<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>A)<br />
             &nbsp;&nbsp;(  )---- Sense Leads ------<br />
Source &gt;-------(--)------------------------&gt; Load<br />
             &nbsp;&nbsp;(&nbsp;&nbsp;)<br />
<br />
B)<br />
       &nbsp;&nbsp;---- Sense Leads ------(  )<br />
Source &gt;------------------------(--)-------&gt; Load<br />
                                (&nbsp;&nbsp;)</code></div></div><br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[4-20mA loop voltage consideration]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9730</link>
			<pubDate>Tue, 11 Aug 2026 14:21:07 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11278">Armsp0</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9730</guid>
			<description><![CDATA[Although the B4 and B4M devices allow connection of a 24Vdc supply it is not clear to me that the 4-20 mA analog inputs allow use of a 24 volt loop supply. The example drawings show 12 volt supply devices connected and I am concerned that I may damage the inputs by using a 24vdc loop. Please advise what is acceptable.]]></description>
			<content:encoded><![CDATA[Although the B4 and B4M devices allow connection of a 24Vdc supply it is not clear to me that the 4-20 mA analog inputs allow use of a 24 volt loop supply. The example drawings show 12 volt supply devices connected and I am concerned that I may damage the inputs by using a 24vdc loop. Please advise what is acceptable.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[N60 Voltage reference]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9729</link>
			<pubDate>Tue, 11 Aug 2026 05:46:10 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=11411">Energizer</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9729</guid>
			<description><![CDATA[I'm in Texas, US with a normal 200a panel. <br />
If I wanted to monitor 40 branch circuit can you explain how and what to use for voltage reference? Is it one per each 10? or is it like iotawatt that you use just one per the whole unit.]]></description>
			<content:encoded><![CDATA[I'm in Texas, US with a normal 200a panel. <br />
If I wanted to monitor 40 branch circuit can you explain how and what to use for voltage reference? Is it one per each 10? or is it like iotawatt that you use just one per the whole unit.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CAN-BUS Transceiver]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9724</link>
			<pubDate>Fri, 07 Aug 2026 16:07:15 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9314">jc10000rpm</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9724</guid>
			<description><![CDATA[what pins can be used for a CAN-BUS transceiver]]></description>
			<content:encoded><![CDATA[what pins can be used for a CAN-BUS transceiver]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A32 Malfunction After Seven Months of Continuous Operation]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9715</link>
			<pubDate>Mon, 03 Aug 2026 08:52:35 +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=9715</guid>
			<description><![CDATA[<span style="color: #000000;" class="mycode_color">Hello,</span><br />
<span style="color: #000000;" class="mycode_color">I am an installation engineer in South Korea, and I have built a room control system using the KC868-A32.</span><br />
<span style="color: #000000;" class="mycode_color">The KC868-A32 board has been powered on continuously for approximately seven months without being turned off, and it has been used to control the lighting system.</span><br />
<span style="color: #000000;" class="mycode_color">Today, the lights suddenly stopped working properly. Whenever I turned the lights on, they turned off again shortly afterward.</span><br />
<span style="color: #000000;" class="mycode_color">I built the system to communicate with the board remotely via MQTT. The MQTT connection status showed that it was connected normally.</span><br />
<span style="color: #000000;" class="mycode_color">However, when I checked the “Monitor” page on the board’s web interface, the input and output status indicators were not displayed, unlike during normal operation.</span><br />
<span style="color: #000000;" class="mycode_color">Finally, I performed a factory reset, and everything started working normally again.</span><br />
<span style="color: #000000;" class="mycode_color">Could you please advise what may have caused this issue and how I can prevent it from happening again?</span><br />
<span style="color: #000000;" class="mycode_color">Do I need to continue performing a factory reset whenever this issue occurs, or is there another recommended solution?</span><br />
<span style="color: #000000;" class="mycode_color">Thank you.</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=10302" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-50-14.png</a> (Size: 21.84 KB / Downloads: 79)
<!-- 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=10303" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-50-25.png</a> (Size: 21.58 KB / Downloads: 114)
<!-- 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=10304" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-51-29 001.png</a> (Size: 11.97 KB / Downloads: 71)
<!-- 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=10305" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-51-29 002.png</a> (Size: 20.41 KB / Downloads: 71)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="color: #000000;" class="mycode_color">Hello,</span><br />
<span style="color: #000000;" class="mycode_color">I am an installation engineer in South Korea, and I have built a room control system using the KC868-A32.</span><br />
<span style="color: #000000;" class="mycode_color">The KC868-A32 board has been powered on continuously for approximately seven months without being turned off, and it has been used to control the lighting system.</span><br />
<span style="color: #000000;" class="mycode_color">Today, the lights suddenly stopped working properly. Whenever I turned the lights on, they turned off again shortly afterward.</span><br />
<span style="color: #000000;" class="mycode_color">I built the system to communicate with the board remotely via MQTT. The MQTT connection status showed that it was connected normally.</span><br />
<span style="color: #000000;" class="mycode_color">However, when I checked the “Monitor” page on the board’s web interface, the input and output status indicators were not displayed, unlike during normal operation.</span><br />
<span style="color: #000000;" class="mycode_color">Finally, I performed a factory reset, and everything started working normally again.</span><br />
<span style="color: #000000;" class="mycode_color">Could you please advise what may have caused this issue and how I can prevent it from happening again?</span><br />
<span style="color: #000000;" class="mycode_color">Do I need to continue performing a factory reset whenever this issue occurs, or is there another recommended solution?</span><br />
<span style="color: #000000;" class="mycode_color">Thank you.</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=10302" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-50-14.png</a> (Size: 21.84 KB / Downloads: 79)
<!-- 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=10303" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-50-25.png</a> (Size: 21.58 KB / Downloads: 114)
<!-- 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=10304" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-51-29 001.png</a> (Size: 11.97 KB / Downloads: 71)
<!-- 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=10305" target="_blank" title="">KakaoTalk_Photo_2026-08-03-09-51-29 002.png</a> (Size: 20.41 KB / Downloads: 71)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[F8 ESPHome yaml for home assistant with tuya]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9714</link>
			<pubDate>Mon, 03 Aug 2026 07:00:09 +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=9714</guid>
			<description><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: f8<br />
  friendly_name: f8<br />
  platformio_options:<br />
    board_build.extra_flags:<br />
      # WIFI_CONTROL_SELF_MODE = 0<br />
      # WIFI_CONTROL_SELF_MODE = 1<br />
      - "-DWIFI_CONTROL_SELF_MODE=1"<br />
esp32:<br />
  board: esp32-s3-devkitc-1<br />
  framework:<br />
    type: arduino<br />
    <br />
<br />
external_components:<br />
  - source:<br />
      type: git<br />
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu<br />
      ref: v1.3.1<br />
<br />
# Enable logging<br />
<br />
  # hardware_uart: USB_SERIAL_JTAG<br />
# Enable Home Assistant API<br />
api:<br />
  encryption:<br />
    key: "WeVOuL5oNhjXcfzXtTirlOwvtWvCD5yqIxd3oV4es1k="<br />
<br />
ethernet:<br />
  type: W5500<br />
  clk_pin: GPIO42<br />
  mosi_pin: GPIO43<br />
  miso_pin: GPIO44<br />
  cs_pin: GPIO41<br />
  interrupt_pin: GPIO2<br />
  reset_pin: GPIO1<br />
<br />
i2c:<br />
 &nbsp;&nbsp;- id: bus_a<br />
   &nbsp;&nbsp;sda: 8<br />
   &nbsp;&nbsp;scl: 18<br />
   &nbsp;&nbsp;scan: true<br />
   &nbsp;&nbsp;frequency: 400kHz<br />
<br />
pcf8574:<br />
  - id: 'pcf8574_hub_in_1'  # for DI1-DI4 Relay1-Relay4<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
    pcf8575: true<br />
<br />
uart:<br />
  - id: uart_1    #RS485<br />
    baud_rate: 9600<br />
    debug:<br />
      direction: BOTH<br />
      dummy_receiver: true<br />
      after:<br />
        timeout: 10ms<br />
    tx_pin: 16<br />
    rx_pin: 17<br />
<br />
  - id: tuya_mcu_uart<br />
    tx_pin: GPIO39<br />
    rx_pin: GPIO38<br />
    baud_rate: 9600<br />
<br />
tuya_wifi_mcu:<br />
  # tuya mcu product id<br />
  product_id: gk6ok3aysk6lw1bb<br />
  uart_id: tuya_mcu_uart<br />
  wifi_reset_pin: 28<br />
  wifi_led_pin: 16<br />
<br />
switch:<br />
  - platform: uart<br />
    uart_id: uart_1<br />
    name: "RS485 Button"<br />
    data: [0x11, 0x22, 0x33, 0x44, 0x55]<br />
<br />
  - platform: gpio<br />
    name: "f8-output01"<br />
    id: "f8_output01"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output1-tuya<br />
    dp_id: 1<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output01"<br />
<br />
  - platform: gpio<br />
    name: "f8-output02"<br />
    id: "f8_output02"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output2-tuya<br />
    dp_id: 2<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output02"<br />
<br />
  - platform: gpio<br />
    name: "f8-output03"<br />
    id: "f8_output03"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output3-tuya<br />
    dp_id: 3<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output03"<br />
<br />
  - platform: gpio<br />
    name: "f8-output04"<br />
    id: "f8_output04"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output4-tuya<br />
    dp_id: 4<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output04"<br />
<br />
  - platform: gpio<br />
    name: "f8-output05"<br />
    id: "f8_output05"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 12<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output5-tuya<br />
    dp_id: 5<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output05"<br />
<br />
  - platform: gpio<br />
    name: "f8-output06"<br />
    id: "f8_output06"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 13<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output6-tuya<br />
    dp_id: 6<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output06"<br />
<br />
  - platform: gpio<br />
    name: "f8-output07"<br />
    id: "f8_output07"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 14<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output4-tuya<br />
    dp_id: 101<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output07"<br />
<br />
  - platform: gpio<br />
    name: "f8-output08"<br />
    id: "f8_output08"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 15<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output8-tuya<br />
    dp_id: 102<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output08"<br />
<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "f8-input01"<br />
    id: "f8_input01"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input1-tuya<br />
    dp_id: 111<br />
    bind_binary_sensor_id: f8_input01<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input02"<br />
    id: "f8_input02"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input2-tuya<br />
    dp_id: 112<br />
    bind_binary_sensor_id: f8_input02<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input03"<br />
    id: "f8_input03"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input3-tuya<br />
    dp_id: 113<br />
    bind_binary_sensor_id: f8_input03<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input04"<br />
    id: "f8_input04"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input4-tuya<br />
    dp_id: 114<br />
    bind_binary_sensor_id: f8_input04<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input05"<br />
    id: "f8_input05"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input5-tuya<br />
    dp_id: 115<br />
    bind_binary_sensor_id: f8_input05<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input06"<br />
    id: "f8_input06"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input6-tuya<br />
    dp_id: 116<br />
    bind_binary_sensor_id: f8_input06<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input07"<br />
    id: "f8_input07"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input7-tuya<br />
    dp_id: 117<br />
    bind_binary_sensor_id: f8_input07<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input08"<br />
    id: "f8_input08"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input8-tuya<br />
    dp_id: 118<br />
    bind_binary_sensor_id: f8_input08<br />
    internal: true<br />
<br />
##pull-up resistance on PCB<br />
  - platform: gpio<br />
    name: "f8-W1-io48"<br />
    pin: <br />
      number: 48<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "f8-W1-io47"<br />
    pin: <br />
      number: 47<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "f8-W1-io21"<br />
    pin: <br />
      number: 21<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "f8-W1-io15"<br />
    pin: <br />
      number: 15<br />
      inverted: true<br />
## without resistance on PCB<br />
  - platform: gpio<br />
    name: "f8-W1-io14"<br />
    pin: <br />
      number: 14<br />
      inverted:  false<br />
<br />
  - platform: gpio<br />
    name: "f8-433M"<br />
    pin: <br />
      number: 40<br />
      inverted:  false<br />
<br />
  - platform: gpio<br />
    name: "f8-io0"<br />
    pin: <br />
      number: 0<br />
      inverted:  false<br />
<br />
sensor:<br />
  - platform: adc<br />
    pin: 5<br />
    name: "f8 A1 Voltage"<br />
    update_interval: 5s<br />
    attenuation: 11db<br />
    filters:<br />
      - lambda:<br />
          if (x &gt;= 3.11) {<br />
            return x * 1.60256;<br />
          } else if (x &lt;= 0.15) {<br />
            return 0;<br />
          } else {<br />
            return x * 1.51;<br />
          }<br />
  - platform: adc<br />
    pin: 7<br />
    name: "f8 A2 Voltage"<br />
    update_interval: 5s<br />
    attenuation: 11db<br />
    filters:<br />
      # - multiply: 1.51515<br />
      - lambda:<br />
          if (x &gt;= 3.11) {<br />
            return x * 1.60256;<br />
          } else if (x &lt;= 0.15) {<br />
            return 0;<br />
          } else {<br />
            return x * 1.51;<br />
          }<br />
  - platform: adc<br />
    pin: 6<br />
    name: "f8 A3 Current"<br />
    update_interval: 5s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
  - platform: adc<br />
    pin: 4<br />
    name: "f8 A4 Current"<br />
    update_interval: 5s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
<br />
web_server:<br />
  port: 80<br />
<br />
font:<br />
  - file: "gfonts://Roboto"<br />
    id: roboto<br />
    size: 20<br />
<br />
display:<br />
  - platform: ssd1306_i2c<br />
    i2c_id: bus_a<br />
    model: "SSD1306 128x64"<br />
    address: 0x3C<br />
    lambda: |-<br />
      it.printf(0, 0, id(roboto), "KinCony f8");</code></div></div>esphome yaml:<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=10301" target="_blank" title="">F8-HA-tuya.txt</a> (Size: 8.68 KB / Downloads: 45)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: f8<br />
  friendly_name: f8<br />
  platformio_options:<br />
    board_build.extra_flags:<br />
      # WIFI_CONTROL_SELF_MODE = 0<br />
      # WIFI_CONTROL_SELF_MODE = 1<br />
      - "-DWIFI_CONTROL_SELF_MODE=1"<br />
esp32:<br />
  board: esp32-s3-devkitc-1<br />
  framework:<br />
    type: arduino<br />
    <br />
<br />
external_components:<br />
  - source:<br />
      type: git<br />
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu<br />
      ref: v1.3.1<br />
<br />
# Enable logging<br />
<br />
  # hardware_uart: USB_SERIAL_JTAG<br />
# Enable Home Assistant API<br />
api:<br />
  encryption:<br />
    key: "WeVOuL5oNhjXcfzXtTirlOwvtWvCD5yqIxd3oV4es1k="<br />
<br />
ethernet:<br />
  type: W5500<br />
  clk_pin: GPIO42<br />
  mosi_pin: GPIO43<br />
  miso_pin: GPIO44<br />
  cs_pin: GPIO41<br />
  interrupt_pin: GPIO2<br />
  reset_pin: GPIO1<br />
<br />
i2c:<br />
 &nbsp;&nbsp;- id: bus_a<br />
   &nbsp;&nbsp;sda: 8<br />
   &nbsp;&nbsp;scl: 18<br />
   &nbsp;&nbsp;scan: true<br />
   &nbsp;&nbsp;frequency: 400kHz<br />
<br />
pcf8574:<br />
  - id: 'pcf8574_hub_in_1'  # for DI1-DI4 Relay1-Relay4<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
    pcf8575: true<br />
<br />
uart:<br />
  - id: uart_1    #RS485<br />
    baud_rate: 9600<br />
    debug:<br />
      direction: BOTH<br />
      dummy_receiver: true<br />
      after:<br />
        timeout: 10ms<br />
    tx_pin: 16<br />
    rx_pin: 17<br />
<br />
  - id: tuya_mcu_uart<br />
    tx_pin: GPIO39<br />
    rx_pin: GPIO38<br />
    baud_rate: 9600<br />
<br />
tuya_wifi_mcu:<br />
  # tuya mcu product id<br />
  product_id: gk6ok3aysk6lw1bb<br />
  uart_id: tuya_mcu_uart<br />
  wifi_reset_pin: 28<br />
  wifi_led_pin: 16<br />
<br />
switch:<br />
  - platform: uart<br />
    uart_id: uart_1<br />
    name: "RS485 Button"<br />
    data: [0x11, 0x22, 0x33, 0x44, 0x55]<br />
<br />
  - platform: gpio<br />
    name: "f8-output01"<br />
    id: "f8_output01"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output1-tuya<br />
    dp_id: 1<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output01"<br />
<br />
  - platform: gpio<br />
    name: "f8-output02"<br />
    id: "f8_output02"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output2-tuya<br />
    dp_id: 2<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output02"<br />
<br />
  - platform: gpio<br />
    name: "f8-output03"<br />
    id: "f8_output03"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output3-tuya<br />
    dp_id: 3<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output03"<br />
<br />
  - platform: gpio<br />
    name: "f8-output04"<br />
    id: "f8_output04"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output4-tuya<br />
    dp_id: 4<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output04"<br />
<br />
  - platform: gpio<br />
    name: "f8-output05"<br />
    id: "f8_output05"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 12<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output5-tuya<br />
    dp_id: 5<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output05"<br />
<br />
  - platform: gpio<br />
    name: "f8-output06"<br />
    id: "f8_output06"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 13<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output6-tuya<br />
    dp_id: 6<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output06"<br />
<br />
  - platform: gpio<br />
    name: "f8-output07"<br />
    id: "f8_output07"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 14<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output4-tuya<br />
    dp_id: 101<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output07"<br />
<br />
  - platform: gpio<br />
    name: "f8-output08"<br />
    id: "f8_output08"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 15<br />
      mode: OUTPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-output8-tuya<br />
    dp_id: 102<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "f8_output08"<br />
<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "f8-input01"<br />
    id: "f8_input01"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input1-tuya<br />
    dp_id: 111<br />
    bind_binary_sensor_id: f8_input01<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input02"<br />
    id: "f8_input02"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input2-tuya<br />
    dp_id: 112<br />
    bind_binary_sensor_id: f8_input02<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input03"<br />
    id: "f8_input03"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input3-tuya<br />
    dp_id: 113<br />
    bind_binary_sensor_id: f8_input03<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input04"<br />
    id: "f8_input04"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input4-tuya<br />
    dp_id: 114<br />
    bind_binary_sensor_id: f8_input04<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input05"<br />
    id: "f8_input05"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input5-tuya<br />
    dp_id: 115<br />
    bind_binary_sensor_id: f8_input05<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input06"<br />
    id: "f8_input06"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input6-tuya<br />
    dp_id: 116<br />
    bind_binary_sensor_id: f8_input06<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input07"<br />
    id: "f8_input07"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input7-tuya<br />
    dp_id: 117<br />
    bind_binary_sensor_id: f8_input07<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "f8-input08"<br />
    id: "f8_input08"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: f8-input8-tuya<br />
    dp_id: 118<br />
    bind_binary_sensor_id: f8_input08<br />
    internal: true<br />
<br />
##pull-up resistance on PCB<br />
  - platform: gpio<br />
    name: "f8-W1-io48"<br />
    pin: <br />
      number: 48<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "f8-W1-io47"<br />
    pin: <br />
      number: 47<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "f8-W1-io21"<br />
    pin: <br />
      number: 21<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "f8-W1-io15"<br />
    pin: <br />
      number: 15<br />
      inverted: true<br />
## without resistance on PCB<br />
  - platform: gpio<br />
    name: "f8-W1-io14"<br />
    pin: <br />
      number: 14<br />
      inverted:  false<br />
<br />
  - platform: gpio<br />
    name: "f8-433M"<br />
    pin: <br />
      number: 40<br />
      inverted:  false<br />
<br />
  - platform: gpio<br />
    name: "f8-io0"<br />
    pin: <br />
      number: 0<br />
      inverted:  false<br />
<br />
sensor:<br />
  - platform: adc<br />
    pin: 5<br />
    name: "f8 A1 Voltage"<br />
    update_interval: 5s<br />
    attenuation: 11db<br />
    filters:<br />
      - lambda:<br />
          if (x &gt;= 3.11) {<br />
            return x * 1.60256;<br />
          } else if (x &lt;= 0.15) {<br />
            return 0;<br />
          } else {<br />
            return x * 1.51;<br />
          }<br />
  - platform: adc<br />
    pin: 7<br />
    name: "f8 A2 Voltage"<br />
    update_interval: 5s<br />
    attenuation: 11db<br />
    filters:<br />
      # - multiply: 1.51515<br />
      - lambda:<br />
          if (x &gt;= 3.11) {<br />
            return x * 1.60256;<br />
          } else if (x &lt;= 0.15) {<br />
            return 0;<br />
          } else {<br />
            return x * 1.51;<br />
          }<br />
  - platform: adc<br />
    pin: 6<br />
    name: "f8 A3 Current"<br />
    update_interval: 5s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
  - platform: adc<br />
    pin: 4<br />
    name: "f8 A4 Current"<br />
    update_interval: 5s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
<br />
web_server:<br />
  port: 80<br />
<br />
font:<br />
  - file: "gfonts://Roboto"<br />
    id: roboto<br />
    size: 20<br />
<br />
display:<br />
  - platform: ssd1306_i2c<br />
    i2c_id: bus_a<br />
    model: "SSD1306 128x64"<br />
    address: 0x3C<br />
    lambda: |-<br />
      it.printf(0, 0, id(roboto), "KinCony f8");</code></div></div>esphome yaml:<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=10301" target="_blank" title="">F8-HA-tuya.txt</a> (Size: 8.68 KB / Downloads: 45)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
	</channel>
</rss>