<?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-A32M]]></title>
		<link>https://www.kincony.com/forum/</link>
		<description><![CDATA[Smart Home Automation Forum - https://www.kincony.com/forum]]></description>
		<pubDate>Mon, 11 May 2026 20:43:22 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[I2C connector]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=6611</link>
			<pubDate>Fri, 06 Sep 2024 07:29:34 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=4864">speedmeup</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=6611</guid>
			<description><![CDATA[Hi,<br />
<br />
What is the name of the white I2C connector used on the board if I want to purchase them to make up cables?<br />
<br />
Can I use any I2C bus address I choose or is the white connector bus shared with the pcf8574 expanders so I must avoid 0x23, 0x24,0x25 and 0x26?<br />
<br />
Thanks!]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
What is the name of the white I2C connector used on the board if I want to purchase them to make up cables?<br />
<br />
Can I use any I2C bus address I choose or is the white connector bus shared with the pcf8574 expanders so I must avoid 0x23, 0x24,0x25 and 0x26?<br />
<br />
Thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A32M Using GPIO from 4G module for SPI / P9813 board]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=6500</link>
			<pubDate>Wed, 28 Aug 2024 08:09:18 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2930">giliardi</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=6500</guid>
			<description><![CDATA[Hi,<br />
<br />
I need to connect P9813 board, which uses serial interface, to A32M board.<br />
<br />
<img src="https://www.kincony.com/forum/images/smilies/lightbulb.png" alt="Idea" title="Idea" class="smilie smilie_18" /> <br />
<br />
I wondering if I could use the GPIO33 AND GPIO32, both from 4G A32M`s RX AND TX, to expose to SPI and configure Esphome like bellow:<br />
<br />
spi:<br />
  clk_pin: GPIO33<br />
  mosi_pin: GPIO32<br />
  id: spi_a32m<br />
<br />
light:<br />
  - platform: spi_led_strip<br />
    name: "P9813 RGB LED"<br />
    num_leds: <span style="font-size: 1pt;" class="mycode_size">1</span><br />
    default_transition_length: 1s<br />
    spi_id: spi_a32m<br />
<br />
Thanks in advance.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I need to connect P9813 board, which uses serial interface, to A32M board.<br />
<br />
<img src="https://www.kincony.com/forum/images/smilies/lightbulb.png" alt="Idea" title="Idea" class="smilie smilie_18" /> <br />
<br />
I wondering if I could use the GPIO33 AND GPIO32, both from 4G A32M`s RX AND TX, to expose to SPI and configure Esphome like bellow:<br />
<br />
spi:<br />
  clk_pin: GPIO33<br />
  mosi_pin: GPIO32<br />
  id: spi_a32m<br />
<br />
light:<br />
  - platform: spi_led_strip<br />
    name: "P9813 RGB LED"<br />
    num_leds: <span style="font-size: 1pt;" class="mycode_size">1</span><br />
    default_transition_length: 1s<br />
    spi_id: spi_a32m<br />
<br />
Thanks in advance.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Pair 2 Channels together]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=6428</link>
			<pubDate>Sat, 17 Aug 2024 06:35:30 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2334">charlesrg</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=6428</guid>
			<description><![CDATA[I've a FAN that uses 0.5Amps and I would like to have it turn on/off using the A32M. <br />
<br />
<br />
How can I pair 2 ports together so I can have 1Amp total output and not be at the limit of 0.5Amps on a single port ?]]></description>
			<content:encoded><![CDATA[I've a FAN that uses 0.5Amps and I would like to have it turn on/off using the A32M. <br />
<br />
<br />
How can I pair 2 ports together so I can have 1Amp total output and not be at the limit of 0.5Amps on a single port ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Lan problem]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=5999</link>
			<pubDate>Sun, 30 Jun 2024 02:35:03 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=4527">Figge71</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=5999</guid>
			<description><![CDATA[Hi! I'm having some problems with the Lan on my KC868-a32m.<br />
When I receivedmy unit it worked fin, but now i can't get the Lan to connect.<br />
Nether the Lan ligths on my switch or on my Kincony device lights up.<br />
<br />
I would apriciate if you can guide me.<br />
<br />
/Fredrik]]></description>
			<content:encoded><![CDATA[Hi! I'm having some problems with the Lan on my KC868-a32m.<br />
When I receivedmy unit it worked fin, but now i can't get the Lan to connect.<br />
Nether the Lan ligths on my switch or on my Kincony device lights up.<br />
<br />
I would apriciate if you can guide me.<br />
<br />
/Fredrik]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A32M  wiring diagram]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3391</link>
			<pubDate>Fri, 13 Oct 2023 15:02:56 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=3391</guid>
			<description><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3962" target="_blank" title="">A32M-1.jpg</a> (Size: 1.92 MB / Downloads: 1051)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3962" target="_blank" title="">A32M-1.jpg</a> (Size: 1.92 MB / Downloads: 1051)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[kc868-a32m Ethernet issue with Tasmota]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3265</link>
			<pubDate>Thu, 14 Sep 2023 16:34:10 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=832">pmotshegwa</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=3265</guid>
			<description><![CDATA[hi,<br />
Please assist<br />
I have installed Tasmota32 version 13.1.0 on the kc868-a32m but the ethernet port is not working. The ethernet port leds do not show any activity.<br />
<br />
regards,]]></description>
			<content:encoded><![CDATA[hi,<br />
Please assist<br />
I have installed Tasmota32 version 13.1.0 on the kc868-a32m but the ethernet port is not working. The ethernet port leds do not show any activity.<br />
<br />
regards,]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Can the output be an input?]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3129</link>
			<pubDate>Thu, 10 Aug 2023 22:56:20 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2361">gsmstudio</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=3129</guid>
			<description><![CDATA[Hello. How do I convert a mosfet 32 output channel into an input one?]]></description>
			<content:encoded><![CDATA[Hello. How do I convert a mosfet 32 output channel into an input one?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Arduino source code for KC868-A32M]-07_PCF8574_DO]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2885</link>
			<pubDate>Sat, 06 May 2023 09:16:01 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2885</guid>
			<description><![CDATA[[Arduino source code for KC868-A32M]-07_PCF8574_DO<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/*kc868-a32m pcf8575 out*/<br />
#include "Arduino.h"<br />
#include "PCF8574.h"<br />
<br />
#define a 100<br />
// Set i2c address<br />
PCF8574 pcf8574_R1(0x23,4,5);<br />
PCF8574 pcf8574_R2(0x24,4,5);<br />
PCF8574 pcf8574_R3(0x25,4,5);<br />
PCF8574 pcf8574_R4(0x26,4,5);<br />
<br />
void setup()<br />
{<br />
    Serial.begin(115200);<br />
    Wire.begin();<br />
<br />
for(int i=0;i&lt;=7;i++){<br />
  pcf8574_R1.pinMode(i,OUTPUT);<br />
  pcf8574_R2.pinMode(i,OUTPUT);<br />
  pcf8574_R3.pinMode(i,OUTPUT);<br />
  pcf8574_R4.pinMode(i,OUTPUT);<br />
  <br />
}<br />
    pcf8574_R1.begin();<br />
    pcf8574_R2.begin();<br />
    pcf8574_R3.begin();<br />
    pcf8574_R4.begin();<br />
<br />
    for(int j=0;j&lt;=31;j++){<br />
   &nbsp;&nbsp;if(j&lt;=7){<br />
              pcf8574_R1.digitalWrite(j,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(7&lt;j&lt;=15){<br />
              pcf8574_R2.digitalWrite(j-8,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}  <br />
   &nbsp;&nbsp;if(15&lt;j&lt;=23){<br />
              pcf8574_R3.digitalWrite(j-16,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(23&lt;j&lt;=31){<br />
              pcf8574_R4.digitalWrite(j-24,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}     &nbsp;&nbsp;<br />
    }<br />
<br />
    for(int j=0;j&lt;=31;j++){<br />
   &nbsp;&nbsp;if(j&lt;=7){<br />
              pcf8574_R1.digitalWrite(j,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(7&lt;j&lt;=15){<br />
              pcf8574_R2.digitalWrite(j-8,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}  <br />
   &nbsp;&nbsp;if(15&lt;j&lt;=23){<br />
              pcf8574_R3.digitalWrite(j-16,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(23&lt;j&lt;=31){<br />
              pcf8574_R4.digitalWrite(j-24,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}     &nbsp;&nbsp;<br />
    }<br />
}<br />
<br />
void loop()<br />
{<br />
<br />
<br />
}</code></div></div><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=2391" target="_blank" title="">KC868-A32M-PCF8574_DO.zip</a> (Size: 779 bytes / Downloads: 605)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[Arduino source code for KC868-A32M]-07_PCF8574_DO<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/*kc868-a32m pcf8575 out*/<br />
#include "Arduino.h"<br />
#include "PCF8574.h"<br />
<br />
#define a 100<br />
// Set i2c address<br />
PCF8574 pcf8574_R1(0x23,4,5);<br />
PCF8574 pcf8574_R2(0x24,4,5);<br />
PCF8574 pcf8574_R3(0x25,4,5);<br />
PCF8574 pcf8574_R4(0x26,4,5);<br />
<br />
void setup()<br />
{<br />
    Serial.begin(115200);<br />
    Wire.begin();<br />
<br />
for(int i=0;i&lt;=7;i++){<br />
  pcf8574_R1.pinMode(i,OUTPUT);<br />
  pcf8574_R2.pinMode(i,OUTPUT);<br />
  pcf8574_R3.pinMode(i,OUTPUT);<br />
  pcf8574_R4.pinMode(i,OUTPUT);<br />
  <br />
}<br />
    pcf8574_R1.begin();<br />
    pcf8574_R2.begin();<br />
    pcf8574_R3.begin();<br />
    pcf8574_R4.begin();<br />
<br />
    for(int j=0;j&lt;=31;j++){<br />
   &nbsp;&nbsp;if(j&lt;=7){<br />
              pcf8574_R1.digitalWrite(j,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(7&lt;j&lt;=15){<br />
              pcf8574_R2.digitalWrite(j-8,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}  <br />
   &nbsp;&nbsp;if(15&lt;j&lt;=23){<br />
              pcf8574_R3.digitalWrite(j-16,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(23&lt;j&lt;=31){<br />
              pcf8574_R4.digitalWrite(j-24,LOW);<br />
              delay(a);<br />
           &nbsp;&nbsp;}     &nbsp;&nbsp;<br />
    }<br />
<br />
    for(int j=0;j&lt;=31;j++){<br />
   &nbsp;&nbsp;if(j&lt;=7){<br />
              pcf8574_R1.digitalWrite(j,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(7&lt;j&lt;=15){<br />
              pcf8574_R2.digitalWrite(j-8,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}  <br />
   &nbsp;&nbsp;if(15&lt;j&lt;=23){<br />
              pcf8574_R3.digitalWrite(j-16,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}<br />
   &nbsp;&nbsp;if(23&lt;j&lt;=31){<br />
              pcf8574_R4.digitalWrite(j-24,HIGH);<br />
              delay(a);<br />
           &nbsp;&nbsp;}     &nbsp;&nbsp;<br />
    }<br />
}<br />
<br />
void loop()<br />
{<br />
<br />
<br />
}</code></div></div><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=2391" target="_blank" title="">KC868-A32M-PCF8574_DO.zip</a> (Size: 779 bytes / Downloads: 605)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Arduino source code for KC868-A32M]-06_ADC]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2884</link>
			<pubDate>Sat, 06 May 2023 09:14:24 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2884</guid>
			<description><![CDATA[[Arduino source code for KC868-A32M]-06_ADC<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/*KC868-A32M- ADC*/<br />
<br />
#include "Arduino.h"<br />
#include "PCF8574.h"          <br />
<br />
#define ANALOG_A1 &nbsp;&nbsp;34     &nbsp;&nbsp;<br />
#define ANALOG_A2 &nbsp;&nbsp;35   &nbsp;&nbsp;<br />
#define ANALOG_A3 &nbsp;&nbsp;39  <br />
#define ANALOG_A4 &nbsp;&nbsp;36   &nbsp;&nbsp;<br />
<br />
<br />
void setup()<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;Serial.begin(115200);<br />
<br />
  pinMode(ANALOG_A1,INPUT);<br />
  pinMode(ANALOG_A2,INPUT);<br />
  pinMode(ANALOG_A3,INPUT);<br />
  pinMode(ANALOG_A4,INPUT);<br />
}<br />
<br />
void loop()<br />
{<br />
  if(analogRead(ANALOG_A1)!=0){<br />
    Serial.printf("Current Reading A1 on Pin(%d)=%d&#92;n",ANALOG_A1,analogRead(ANALOG_A1));<br />
  }<br />
 &nbsp;&nbsp;if(analogRead(ANALOG_A2)!=0){<br />
    Serial.printf("Current Reading A2 on Pin(%d)=%d&#92;n",ANALOG_A2,analogRead(ANALOG_A2));<br />
 &nbsp;&nbsp;}<br />
 &nbsp;&nbsp;if(analogRead(ANALOG_A3)!=0){<br />
    Serial.printf("Current Reading A3 on Pin(%d)=%d&#92;n",ANALOG_A3,analogRead(ANALOG_A3));<br />
 &nbsp;&nbsp;}<br />
 &nbsp;&nbsp;if(analogRead(ANALOG_A4)!=0){<br />
    Serial.printf("Current Reading A4 on Pin(%d)=%d&#92;n",ANALOG_A4,analogRead(ANALOG_A4));<br />
 &nbsp;&nbsp;}<br />
 &nbsp;&nbsp;delay(100);<br />
  <br />
}</code></div></div><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=2390" target="_blank" title="">KC868-A32M-ADC.zip</a> (Size: 650 bytes / Downloads: 557)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[Arduino source code for KC868-A32M]-06_ADC<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/*KC868-A32M- ADC*/<br />
<br />
#include "Arduino.h"<br />
#include "PCF8574.h"          <br />
<br />
#define ANALOG_A1 &nbsp;&nbsp;34     &nbsp;&nbsp;<br />
#define ANALOG_A2 &nbsp;&nbsp;35   &nbsp;&nbsp;<br />
#define ANALOG_A3 &nbsp;&nbsp;39  <br />
#define ANALOG_A4 &nbsp;&nbsp;36   &nbsp;&nbsp;<br />
<br />
<br />
void setup()<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;Serial.begin(115200);<br />
<br />
  pinMode(ANALOG_A1,INPUT);<br />
  pinMode(ANALOG_A2,INPUT);<br />
  pinMode(ANALOG_A3,INPUT);<br />
  pinMode(ANALOG_A4,INPUT);<br />
}<br />
<br />
void loop()<br />
{<br />
  if(analogRead(ANALOG_A1)!=0){<br />
    Serial.printf("Current Reading A1 on Pin(%d)=%d&#92;n",ANALOG_A1,analogRead(ANALOG_A1));<br />
  }<br />
 &nbsp;&nbsp;if(analogRead(ANALOG_A2)!=0){<br />
    Serial.printf("Current Reading A2 on Pin(%d)=%d&#92;n",ANALOG_A2,analogRead(ANALOG_A2));<br />
 &nbsp;&nbsp;}<br />
 &nbsp;&nbsp;if(analogRead(ANALOG_A3)!=0){<br />
    Serial.printf("Current Reading A3 on Pin(%d)=%d&#92;n",ANALOG_A3,analogRead(ANALOG_A3));<br />
 &nbsp;&nbsp;}<br />
 &nbsp;&nbsp;if(analogRead(ANALOG_A4)!=0){<br />
    Serial.printf("Current Reading A4 on Pin(%d)=%d&#92;n",ANALOG_A4,analogRead(ANALOG_A4));<br />
 &nbsp;&nbsp;}<br />
 &nbsp;&nbsp;delay(100);<br />
  <br />
}</code></div></div><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=2390" target="_blank" title="">KC868-A32M-ADC.zip</a> (Size: 650 bytes / Downloads: 557)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Arduino source code for KC868-A32M]-05_433_RECEIVE]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2883</link>
			<pubDate>Sat, 06 May 2023 09:13:49 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2883</guid>
			<description><![CDATA[[Arduino source code for KC868-A32M]-05_433_RECEIVE<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;RCSwitch.h&gt;<br />
<br />
RCSwitch mySwitch = RCSwitch();<br />
<br />
void setup() {<br />
  Serial.begin(115200);<br />
  mySwitch.enableReceive(digitalPinToInterrupt(14));  //IO19<br />
  Serial.print("begin test");<br />
}<br />
<br />
void loop() {<br />
  if (mySwitch.available()) {<br />
    <br />
    Serial.print("Received ");<br />
    Serial.print( mySwitch.getReceivedValue() );<br />
    Serial.print(" / ");<br />
    Serial.print( mySwitch.getReceivedBitlength() );<br />
    Serial.print("bit ");<br />
    Serial.print("Protocol: ");<br />
    Serial.println( mySwitch.getReceivedProtocol() );<br />
<br />
    mySwitch.resetAvailable();<br />
  }<br />
}</code></div></div><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=2389" target="_blank" title="">KC868-A32M-433_RECEIVE.zip</a> (Size: 641 bytes / Downloads: 587)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[Arduino source code for KC868-A32M]-05_433_RECEIVE<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;RCSwitch.h&gt;<br />
<br />
RCSwitch mySwitch = RCSwitch();<br />
<br />
void setup() {<br />
  Serial.begin(115200);<br />
  mySwitch.enableReceive(digitalPinToInterrupt(14));  //IO19<br />
  Serial.print("begin test");<br />
}<br />
<br />
void loop() {<br />
  if (mySwitch.available()) {<br />
    <br />
    Serial.print("Received ");<br />
    Serial.print( mySwitch.getReceivedValue() );<br />
    Serial.print(" / ");<br />
    Serial.print( mySwitch.getReceivedBitlength() );<br />
    Serial.print("bit ");<br />
    Serial.print("Protocol: ");<br />
    Serial.println( mySwitch.getReceivedProtocol() );<br />
<br />
    mySwitch.resetAvailable();<br />
  }<br />
}</code></div></div><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=2389" target="_blank" title="">KC868-A32M-433_RECEIVE.zip</a> (Size: 641 bytes / Downloads: 587)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Arduino source code for KC868-A32M]-04_RS485]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2882</link>
			<pubDate>Sat, 06 May 2023 09:13:02 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2882</guid>
			<description><![CDATA[[Arduino source code for KC868-A32M]-04_RS485<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/*KC868-A32M RS485*/<br />
#define A8M_RS485_RX 15<br />
#define A8M_RS485_TX 13<br />
void setup() {<br />
  Serial.begin(115200);<br />
  Serial2.begin(115200,SERIAL_8N1,A8M_RS485_RX,A8M_RS485_TX);//A8M<br />
  Serial2.println("A32M RS485 SEND is OK!!");  <br />
}<br />
<br />
void loop() {<br />
  while(Serial2.available()&gt;0)<br />
 &nbsp;&nbsp;{<br />
    Serial2.print((char)Serial2.read());<br />
 &nbsp;&nbsp;}<br />
  delay(200);<br />
}</code></div></div><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=2388" target="_blank" title="">KC868-A32M_RS485.zip</a> (Size: 569 bytes / Downloads: 613)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[Arduino source code for KC868-A32M]-04_RS485<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>/*KC868-A32M RS485*/<br />
#define A8M_RS485_RX 15<br />
#define A8M_RS485_TX 13<br />
void setup() {<br />
  Serial.begin(115200);<br />
  Serial2.begin(115200,SERIAL_8N1,A8M_RS485_RX,A8M_RS485_TX);//A8M<br />
  Serial2.println("A32M RS485 SEND is OK!!");  <br />
}<br />
<br />
void loop() {<br />
  while(Serial2.available()&gt;0)<br />
 &nbsp;&nbsp;{<br />
    Serial2.print((char)Serial2.read());<br />
 &nbsp;&nbsp;}<br />
  delay(200);<br />
}</code></div></div><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=2388" target="_blank" title="">KC868-A32M_RS485.zip</a> (Size: 569 bytes / Downloads: 613)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Arduino source code for KC868-A32M]-03_LAN8720_UDP]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2881</link>
			<pubDate>Sat, 06 May 2023 09:12:17 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2881</guid>
			<description><![CDATA[[Arduino source code for KC868-A32M]-03_LAN8720_UDP<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;ETH.h&gt; <br />
#include &lt;WiFiUdp.h&gt; <br />
<br />
#define ETH_ADDR        0<br />
#define ETH_POWER_PIN  -1<br />
#define ETH_MDC_PIN    23<br />
#define ETH_MDIO_PIN &nbsp;&nbsp;18<br />
#define ETH_TYPE     &nbsp;&nbsp;ETH_PHY_LAN8720<br />
#define ETH_CLK_MODE &nbsp;&nbsp;ETH_CLOCK_GPIO17_OUT<br />
<br />
WiFiUDP Udp;                      //Create UDP object<br />
unsigned int localUdpPort = 4196; //local port<br />
IPAddress local_ip(192, 168, 1, 200);<br />
IPAddress gateway(192, 168, 1, 1);<br />
IPAddress subnet(255, 255, 255, 0);<br />
IPAddress dns(192, 168, 1, 1);<br />
<br />
void setup()<br />
{<br />
  Serial.begin(115200);<br />
  Serial.println();<br />
 &nbsp;&nbsp;<br />
  ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE); //start with ETH<br />
<br />
  // write confir for static IP, gateway,subnet,dns1,dns2<br />
  if (ETH.config(local_ip, gateway, subnet, dns, dns) == false) {<br />
    Serial.println("LAN8720 Configuration failed.");<br />
  }else{Serial.println("LAN8720 Configuration success.");}<br />
  <br />
 /* while(!((uint32_t)ETH.localIP())) //wait for IP<br />
  {<br />
<br />
  }*/<br />
  Serial.println("Connected");<br />
  Serial.print("IP Address:");<br />
  Serial.println(ETH.localIP());<br />
<br />
  Udp.begin(localUdpPort); //begin UDP listener<br />
}<br />
<br />
void loop()<br />
{<br />
  int packetSize = Udp.parsePacket(); //get package size<br />
  if (packetSize)                   &nbsp;&nbsp;//if have received data<br />
  {<br />
    char buf[packetSize];<br />
    Udp.read(buf, packetSize); //read current data<br />
<br />
    Serial.println();<br />
    Serial.print("Received: ");<br />
    Serial.println(buf);<br />
    Serial.print("From IP: ");<br />
    Serial.println(Udp.remoteIP());<br />
    Serial.print("From Port: ");<br />
    Serial.println(Udp.remotePort());<br />
<br />
    Udp.beginPacket(Udp.remoteIP(), Udp.remotePort()); //ready to send data<br />
    Udp.print("Received: ");    <br />
    Udp.write((const uint8_t*)buf, packetSize); //copy data to sender buffer<br />
    Udp.endPacket();            //send data<br />
  }<br />
}</code></div></div><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=2387" target="_blank" title="">KC868-A32M_LAN8720_UDP.zip</a> (Size: 1.11 KB / Downloads: 599)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[Arduino source code for KC868-A32M]-03_LAN8720_UDP<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;ETH.h&gt; <br />
#include &lt;WiFiUdp.h&gt; <br />
<br />
#define ETH_ADDR        0<br />
#define ETH_POWER_PIN  -1<br />
#define ETH_MDC_PIN    23<br />
#define ETH_MDIO_PIN &nbsp;&nbsp;18<br />
#define ETH_TYPE     &nbsp;&nbsp;ETH_PHY_LAN8720<br />
#define ETH_CLK_MODE &nbsp;&nbsp;ETH_CLOCK_GPIO17_OUT<br />
<br />
WiFiUDP Udp;                      //Create UDP object<br />
unsigned int localUdpPort = 4196; //local port<br />
IPAddress local_ip(192, 168, 1, 200);<br />
IPAddress gateway(192, 168, 1, 1);<br />
IPAddress subnet(255, 255, 255, 0);<br />
IPAddress dns(192, 168, 1, 1);<br />
<br />
void setup()<br />
{<br />
  Serial.begin(115200);<br />
  Serial.println();<br />
 &nbsp;&nbsp;<br />
  ETH.begin(ETH_ADDR, ETH_POWER_PIN, ETH_MDC_PIN, ETH_MDIO_PIN, ETH_TYPE, ETH_CLK_MODE); //start with ETH<br />
<br />
  // write confir for static IP, gateway,subnet,dns1,dns2<br />
  if (ETH.config(local_ip, gateway, subnet, dns, dns) == false) {<br />
    Serial.println("LAN8720 Configuration failed.");<br />
  }else{Serial.println("LAN8720 Configuration success.");}<br />
  <br />
 /* while(!((uint32_t)ETH.localIP())) //wait for IP<br />
  {<br />
<br />
  }*/<br />
  Serial.println("Connected");<br />
  Serial.print("IP Address:");<br />
  Serial.println(ETH.localIP());<br />
<br />
  Udp.begin(localUdpPort); //begin UDP listener<br />
}<br />
<br />
void loop()<br />
{<br />
  int packetSize = Udp.parsePacket(); //get package size<br />
  if (packetSize)                   &nbsp;&nbsp;//if have received data<br />
  {<br />
    char buf[packetSize];<br />
    Udp.read(buf, packetSize); //read current data<br />
<br />
    Serial.println();<br />
    Serial.print("Received: ");<br />
    Serial.println(buf);<br />
    Serial.print("From IP: ");<br />
    Serial.println(Udp.remoteIP());<br />
    Serial.print("From Port: ");<br />
    Serial.println(Udp.remotePort());<br />
<br />
    Udp.beginPacket(Udp.remoteIP(), Udp.remotePort()); //ready to send data<br />
    Udp.print("Received: ");    <br />
    Udp.write((const uint8_t*)buf, packetSize); //copy data to sender buffer<br />
    Udp.endPacket();            //send data<br />
  }<br />
}</code></div></div><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=2387" target="_blank" title="">KC868-A32M_LAN8720_UDP.zip</a> (Size: 1.11 KB / Downloads: 599)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Arduino source code for KC868-A32M]-02_IR_receive_code]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2880</link>
			<pubDate>Sat, 06 May 2023 09:11:20 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2880</guid>
			<description><![CDATA[[Arduino source code for KC868-A32M]-02_IR_receive_code<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;IRremote.h&gt;<br />
IRrecv irrecv_16(16);// set ir_receive pin IO16<br />
void setup() {<br />
<br />
  Serial.begin(115200);<br />
  irrecv_16.enableIRIn();<br />
}<br />
<br />
void loop() {<br />
    if (irrecv_16.decode()) {<br />
      if(irrecv_16.decodedIRData.decodedRawData!=(0)){<br />
        Serial.print("irCode address: ");            <br />
        Serial.println(irrecv_16.decodedIRData.address,HEX); <br />
        Serial.print("irCode command: ");            <br />
        Serial.println(irrecv_16.decodedIRData.command,HEX);<br />
        Serial.print("irCode decodedRawData: ");            <br />
        Serial.println(irrecv_16.decodedIRData.decodedRawData,HEX);<br />
      }<br />
      IrReceiver.resume();<br />
    }<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=2386" target="_blank" title="">IR.png</a> (Size: 7.26 KB / Downloads: 840)
<!-- end: postbit_attachments_attachment --><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=2385" target="_blank" title="">KC868-A32M_IR_receive_code.zip</a> (Size: 673 bytes / Downloads: 586)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[Arduino source code for KC868-A32M]-02_IR_receive_code<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include &lt;IRremote.h&gt;<br />
IRrecv irrecv_16(16);// set ir_receive pin IO16<br />
void setup() {<br />
<br />
  Serial.begin(115200);<br />
  irrecv_16.enableIRIn();<br />
}<br />
<br />
void loop() {<br />
    if (irrecv_16.decode()) {<br />
      if(irrecv_16.decodedIRData.decodedRawData!=(0)){<br />
        Serial.print("irCode address: ");            <br />
        Serial.println(irrecv_16.decodedIRData.address,HEX); <br />
        Serial.print("irCode command: ");            <br />
        Serial.println(irrecv_16.decodedIRData.command,HEX);<br />
        Serial.print("irCode decodedRawData: ");            <br />
        Serial.println(irrecv_16.decodedIRData.decodedRawData,HEX);<br />
      }<br />
      IrReceiver.resume();<br />
    }<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=2386" target="_blank" title="">IR.png</a> (Size: 7.26 KB / Downloads: 840)
<!-- end: postbit_attachments_attachment --><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=2385" target="_blank" title="">KC868-A32M_IR_receive_code.zip</a> (Size: 673 bytes / Downloads: 586)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Arduino source code for KC868-A32M]-01_DS3231_RTC]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2879</link>
			<pubDate>Sat, 06 May 2023 09:09:30 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2879</guid>
			<description><![CDATA[[Arduino source code for KC868-A32M]-01_DS3231_RTC<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>// KC868-A32M  RTC CODE DS3231<br />
<br />
#include &lt;Wire.h&gt;<br />
#include "RTClib.h"<br />
<br />
#define SDA 4<br />
#define SCL 5<br />
RTC_DS3231 myRTC;<br />
<br />
void setup () {<br />
    Serial.begin(115200);<br />
    Wire.begin(SDA,SCL);<br />
    delay(500);<br />
    myRTC.begin();<br />
    myRTC.adjust(DateTime(F(__DATE__), F(__TIME__)));<br />
}<br />
<br />
void loop () {<br />
      <br />
    DateTime now = myRTC.now();<br />
    Serial.printf("%02d/%02d/%02d  %02d:%02d:%02d&#92;n",<br />
                                          now.year(),<br />
                                          now.month(),<br />
                                          now.day(),<br />
                                          now.hour(),<br />
                                          now.minute(),<br />
                                          now.second());<br />
 &nbsp;&nbsp;delay(1000);<br />
    <br />
<br />
    <br />
}</code></div></div><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=2384" target="_blank" title="">KC868-A32M_DS3231_RTC.zip</a> (Size: 689 bytes / Downloads: 601)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[Arduino source code for KC868-A32M]-01_DS3231_RTC<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>// KC868-A32M  RTC CODE DS3231<br />
<br />
#include &lt;Wire.h&gt;<br />
#include "RTClib.h"<br />
<br />
#define SDA 4<br />
#define SCL 5<br />
RTC_DS3231 myRTC;<br />
<br />
void setup () {<br />
    Serial.begin(115200);<br />
    Wire.begin(SDA,SCL);<br />
    delay(500);<br />
    myRTC.begin();<br />
    myRTC.adjust(DateTime(F(__DATE__), F(__TIME__)));<br />
}<br />
<br />
void loop () {<br />
      <br />
    DateTime now = myRTC.now();<br />
    Serial.printf("%02d/%02d/%02d  %02d:%02d:%02d&#92;n",<br />
                                          now.year(),<br />
                                          now.month(),<br />
                                          now.day(),<br />
                                          now.hour(),<br />
                                          now.minute(),<br />
                                          now.second());<br />
 &nbsp;&nbsp;delay(1000);<br />
    <br />
<br />
    <br />
}</code></div></div><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=2384" target="_blank" title="">KC868-A32M_DS3231_RTC.zip</a> (Size: 689 bytes / Downloads: 601)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A32M configure yaml for ESPhome]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2827</link>
			<pubDate>Wed, 26 Apr 2023 08:48:45 +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=2827</guid>
			<description><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2344" target="_blank" title="">HA_A32M.png</a> (Size: 156.34 KB / Downloads: 1810)
<!-- 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=2345" target="_blank" title="">HA_A32M.txt</a> (Size: 6.07 KB / Downloads: 604)
<!-- end: postbit_attachments_attachment --><br />
<br />
esphome:<br />
  name: a32m<br />
  platform: ESP32<br />
  board: esp32dev<br />
<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:<br />
<br />
<br />
# Example configuration entry<br />
i2c:<br />
  - id: bus_a<br />
    sda: 4<br />
    scl: 5<br />
    scan: true<br />
<br />
    <br />
<br />
# Example configuration entry<br />
ethernet:<br />
  type: LAN8720<br />
  mdc_pin: GPIO23<br />
  mdio_pin: GPIO18<br />
  clk_mode: GPIO17_OUT<br />
  phy_addr: 0<br />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8<br />
    i2c_id: bus_a<br />
    address: 0x23<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
<br />
  - id: 'pcf8574_hub_out_3'  # for output channel 17-24<br />
    i2c_id: bus_a<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_out_4'  # for output channel 25-32<br />
    i2c_id: bus_a<br />
    address: 0x26<br />
    <br />
<br />
    <br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "a32m-light1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
<br />
  - platform: gpio<br />
    name: "a32m-light9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a32m-light17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light25"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light26"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light27"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light28"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light29"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light30"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light31"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light32"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  <br />
<br />
# Example configuration entry<br />
sensor:<br />
  - platform: adc<br />
    pin: 34<br />
    name: "a32m-analog-1"<br />
    update_interval: 10s<br />
    attenuation: 11db<br />
<br />
  - platform: adc<br />
    pin: 35<br />
    name: "a32m-analog-2"<br />
    update_interval: 10s<br />
    attenuation: 11db<br />
    <br />
  - platform: adc<br />
    pin: 39<br />
    name: "a32m-analog-3"<br />
    update_interval: 10s<br />
    attenuation: 11db<br />
    <br />
  - platform: adc<br />
    pin: 36<br />
    name: "a32m-analog-4"<br />
    update_interval: 10s<br />
    attenuation: 11db]]></description>
			<content:encoded><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2344" target="_blank" title="">HA_A32M.png</a> (Size: 156.34 KB / Downloads: 1810)
<!-- 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=2345" target="_blank" title="">HA_A32M.txt</a> (Size: 6.07 KB / Downloads: 604)
<!-- end: postbit_attachments_attachment --><br />
<br />
esphome:<br />
  name: a32m<br />
  platform: ESP32<br />
  board: esp32dev<br />
<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:<br />
<br />
<br />
# Example configuration entry<br />
i2c:<br />
  - id: bus_a<br />
    sda: 4<br />
    scl: 5<br />
    scan: true<br />
<br />
    <br />
<br />
# Example configuration entry<br />
ethernet:<br />
  type: LAN8720<br />
  mdc_pin: GPIO23<br />
  mdio_pin: GPIO18<br />
  clk_mode: GPIO17_OUT<br />
  phy_addr: 0<br />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8<br />
    i2c_id: bus_a<br />
    address: 0x23<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
<br />
  - id: 'pcf8574_hub_out_3'  # for output channel 17-24<br />
    i2c_id: bus_a<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_out_4'  # for output channel 25-32<br />
    i2c_id: bus_a<br />
    address: 0x26<br />
    <br />
<br />
    <br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "a32m-light1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
<br />
  - platform: gpio<br />
    name: "a32m-light9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a32m-light17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_3<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light25"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light26"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light27"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light28"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a32m-light29"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light30"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light31"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a32m-light32"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_4<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  <br />
<br />
# Example configuration entry<br />
sensor:<br />
  - platform: adc<br />
    pin: 34<br />
    name: "a32m-analog-1"<br />
    update_interval: 10s<br />
    attenuation: 11db<br />
<br />
  - platform: adc<br />
    pin: 35<br />
    name: "a32m-analog-2"<br />
    update_interval: 10s<br />
    attenuation: 11db<br />
    <br />
  - platform: adc<br />
    pin: 39<br />
    name: "a32m-analog-3"<br />
    update_interval: 10s<br />
    attenuation: 11db<br />
    <br />
  - platform: adc<br />
    pin: 36<br />
    name: "a32m-analog-4"<br />
    update_interval: 10s<br />
    attenuation: 11db]]></content:encoded>
		</item>
	</channel>
</rss>