<?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 - KinCony A24]]></title>
		<link>https://www.kincony.com/forum/</link>
		<description><![CDATA[Smart Home Automation Forum - https://www.kincony.com/forum]]></description>
		<pubDate>Tue, 07 Apr 2026 10:44:56 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[kincony energy meter to a24]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=9040</link>
			<pubDate>Wed, 11 Feb 2026 02:30:47 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=4892">kiloptero</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=9040</guid>
			<description><![CDATA[its  correct to connect the 8 port in the energy meter to the a port a in thr rs485 and the 7 port in the b in the a24 kincony?<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPEG Image" border="0" alt=".jpeg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9173" target="_blank" title="">FDC62982-C5B1-4926-9FFC-38B456200655.jpeg</a> (Size: 420.13 KB / Downloads: 73)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[its  correct to connect the 8 port in the energy meter to the a port a in thr rs485 and the 7 port in the b in the a24 kincony?<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPEG Image" border="0" alt=".jpeg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=9173" target="_blank" title="">FDC62982-C5B1-4926-9FFC-38B456200655.jpeg</a> (Size: 420.13 KB / Downloads: 73)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 pro 24v compatible?]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8434</link>
			<pubDate>Sat, 09 Aug 2025 23:30:21 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=4892">kiloptero</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8434</guid>
			<description><![CDATA[Due the lack of 63amp contactors in 12v. It's possible to use a power supply with 24v for the  a24pro? Not for the relay.. to the unit itself? Thanks a lot!]]></description>
			<content:encoded><![CDATA[Due the lack of 63amp contactors in 12v. It's possible to use a power supply with 24v for the  a24pro? Not for the relay.. to the unit itself? Thanks a lot!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 with to broken relay]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8281</link>
			<pubDate>Tue, 01 Jul 2025 04:26:47 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=8319">simpl3x</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8281</guid>
			<description><![CDATA[Hi, I just install one new KC868-A24 and after power on it - two relays are constantly closed, they supply voltage to the lamp. <br />
this is a defective device. what should I do?<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=7928" target="_blank" title="">photo_2025-06-30_23-14-19.jpg</a> (Size: 321.64 KB / Downloads: 304)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=7929" target="_blank" title="">photo_2025-06-30_23-14-25.jpg</a> (Size: 279.02 KB / Downloads: 327)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=7930" target="_blank" title="">photo_2025-06-30_23-14-36.jpg</a> (Size: 218.88 KB / Downloads: 324)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hi, I just install one new KC868-A24 and after power on it - two relays are constantly closed, they supply voltage to the lamp. <br />
this is a defective device. what should I do?<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=7928" target="_blank" title="">photo_2025-06-30_23-14-19.jpg</a> (Size: 321.64 KB / Downloads: 304)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=7929" target="_blank" title="">photo_2025-06-30_23-14-25.jpg</a> (Size: 279.02 KB / Downloads: 327)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=7930" target="_blank" title="">photo_2025-06-30_23-14-36.jpg</a> (Size: 218.88 KB / Downloads: 324)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 + power socket]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7580</link>
			<pubDate>Sat, 08 Feb 2025 09:40:39 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2838">skench</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7580</guid>
			<description><![CDATA[Good day, I drew the diagram using the site <a href="https://app.diagrams.net/" target="_blank" rel="noopener" class="mycode_url">https://app.diagrams.net/</a><br />
<br />
Dear friend, please tell me if I understand the diagram for connecting the power socket <span style="color: #000000;" class="mycode_color"><span style="font-size: 1pt;" class="mycode_size"><span style="font-family: 'YS Text', -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;" class="mycode_font">p</span></span></span>correctly?<br />
<br />
Is it possible to do without a contactor and use only a machine?<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=7043" target="_blank" title="">A24.png</a> (Size: 1.42 MB / Downloads: 383)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Good day, I drew the diagram using the site <a href="https://app.diagrams.net/" target="_blank" rel="noopener" class="mycode_url">https://app.diagrams.net/</a><br />
<br />
Dear friend, please tell me if I understand the diagram for connecting the power socket <span style="color: #000000;" class="mycode_color"><span style="font-size: 1pt;" class="mycode_size"><span style="font-family: 'YS Text', -apple-system, BlinkMacSystemFont, Arial, Helvetica, sans-serif;" class="mycode_font">p</span></span></span>correctly?<br />
<br />
Is it possible to do without a contactor and use only a machine?<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=7043" target="_blank" title="">A24.png</a> (Size: 1.42 MB / Downloads: 383)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Settup heated floor]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7579</link>
			<pubDate>Sat, 08 Feb 2025 01:28:05 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2838">skench</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7579</guid>
			<description><![CDATA[Dear friend, can you please make a video on how to set up and connect a thermostat and heated floor on the A24 board, perhaps you have already done something similar before, I think many will be interested in how to do this, thank you]]></description>
			<content:encoded><![CDATA[Dear friend, can you please make a video on how to set up and connect a thermostat and heated floor on the A24 board, perhaps you have already done something similar before, I think many will be interested in how to do this, thank you]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 Where DAC?]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7562</link>
			<pubDate>Thu, 06 Feb 2025 04:52:43 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2838">skench</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7562</guid>
			<description><![CDATA[Good day, admin, please tell me, do you have a video <a href="https://www.youtube.com/watch?v=kLUGJtZg1aQ" target="_blank" rel="noopener" class="mycode_url">https://www.youtube.com/watch?v=kLUGJtZg1aQ</a>, the description says the following "how to slove A32 Pro/A24 DAC dimmer"<br />
<br />
However, I do not see the inscription on the case as for the A32 PRO DA1 and DA2 in the lower right corner of the case is located on the A32 Pro<br />
<br />
So does the KinCony A24 <a href="https://aliexpress.ru/item/1005006364867354.html?sku_id=12000036911413629&amp;spm=a2g2w.productlist.search_results.0.6c5c757axPMWYQ" target="_blank" rel="noopener" class="mycode_url">https://aliexpress.ru/item/1005006364867...757axPMWYQ</a> <br />
have dimmer control? If so, where are the inscriptions?<br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[Good day, admin, please tell me, do you have a video <a href="https://www.youtube.com/watch?v=kLUGJtZg1aQ" target="_blank" rel="noopener" class="mycode_url">https://www.youtube.com/watch?v=kLUGJtZg1aQ</a>, the description says the following "how to slove A32 Pro/A24 DAC dimmer"<br />
<br />
However, I do not see the inscription on the case as for the A32 PRO DA1 and DA2 in the lower right corner of the case is located on the A32 Pro<br />
<br />
So does the KinCony A24 <a href="https://aliexpress.ru/item/1005006364867354.html?sku_id=12000036911413629&amp;spm=a2g2w.productlist.search_results.0.6c5c757axPMWYQ" target="_blank" rel="noopener" class="mycode_url">https://aliexpress.ru/item/1005006364867...757axPMWYQ</a> <br />
have dimmer control? If so, where are the inscriptions?<br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868_A24 FIRMWARE]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7352</link>
			<pubDate>Sat, 11 Jan 2025 04:57:20 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=6503">davidecioi</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7352</guid>
			<description><![CDATA[HI EVERYONE, I'M LOOKING FOR THE LATEST FIRMWARE FOR THE KC868_A24 BOARD, CAN ANYONE HELP ME?]]></description>
			<content:encoded><![CDATA[HI EVERYONE, I'M LOOKING FOR THE LATEST FIRMWARE FOR THE KC868_A24 BOARD, CAN ANYONE HELP ME?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 work with K-Type Thermocouple by web service]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7115</link>
			<pubDate>Tue, 26 Nov 2024 09:36:14 +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=7115</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=6504" target="_blank" title="">A24-K-Type-Thermocouple-1.jpg</a> (Size: 417.82 KB / Downloads: 411)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6505" target="_blank" title="">A24-K-Type-Thermocouple-2.jpg</a> (Size: 255.94 KB / Downloads: 399)
<!-- 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=6506" target="_blank" title="">K-Type Thermocouple.png</a> (Size: 162.84 KB / Downloads: 385)
<!-- end: postbit_attachments_attachment --><br />
yaml code:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: a24<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 />
 &nbsp;&nbsp;- id: bus_a<br />
   &nbsp;&nbsp;sda: 16<br />
   &nbsp;&nbsp;scl: 5<br />
   &nbsp;&nbsp;scan: true<br />
   &nbsp;&nbsp;frequency: 400kHz<br />
   &nbsp;&nbsp;<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 />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-12 CS1-CS3<br />
    i2c_id: bus_a<br />
    address: 0x21<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 13-24<br />
    i2c_id: bus_a<br />
    address: 0x22<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-16<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for a24--input channel 17-32<br />
    i2c_id: bus_a<br />
    address: 0x25<br />
    pcf8575: true<br />
    <br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "a24--light1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--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: "a24--light9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--light13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--light17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true      <br />
<br />
<br />
<br />
# Individual inputs<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "a24--input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 8<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 9<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 10<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 11<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 12<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 13<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 14<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 15<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--input17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
sensor:<br />
  - platform: adc<br />
    pin: 35<br />
    name: "A24 A1 Voltage"<br />
    update_interval: 10s<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: 34<br />
    name: "A24 A2 Voltage"<br />
    update_interval: 10s<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: 39<br />
    name: "A24 A3 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
  - platform: adc<br />
    pin: 36<br />
    name: "A24 A4 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-1"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 13<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-2"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 14<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-3"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 15<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
spi:<br />
  - id: spi_bus0<br />
    clk_pin: 14<br />
    miso_pin: 12<br />
<br />
gp8403:<br />
  id: my_gp8403<br />
  voltage: 10V<br />
<br />
output:<br />
  - platform: gp8403<br />
    id: gp8403_output_1<br />
    gp8403_id: my_gp8403<br />
    channel: 0<br />
  - platform: gp8403<br />
    id: gp8403_output_2<br />
    gp8403_id: my_gp8403<br />
    channel: 1<br />
<br />
light:<br />
  - platform: monochromatic<br />
    name: "A24-DAC-1"<br />
    output: gp8403_output_1<br />
  - platform: monochromatic<br />
    name: "A24-DAC-2"<br />
    output: gp8403_output_2<br />
<br />
web_server:<br />
  port: 80</code></div></div>]]></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=6504" target="_blank" title="">A24-K-Type-Thermocouple-1.jpg</a> (Size: 417.82 KB / Downloads: 411)
<!-- end: postbit_attachments_attachment --><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6505" target="_blank" title="">A24-K-Type-Thermocouple-2.jpg</a> (Size: 255.94 KB / Downloads: 399)
<!-- 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=6506" target="_blank" title="">K-Type Thermocouple.png</a> (Size: 162.84 KB / Downloads: 385)
<!-- end: postbit_attachments_attachment --><br />
yaml code:<br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: a24<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 />
 &nbsp;&nbsp;- id: bus_a<br />
   &nbsp;&nbsp;sda: 16<br />
   &nbsp;&nbsp;scl: 5<br />
   &nbsp;&nbsp;scan: true<br />
   &nbsp;&nbsp;frequency: 400kHz<br />
   &nbsp;&nbsp;<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 />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-12 CS1-CS3<br />
    i2c_id: bus_a<br />
    address: 0x21<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 13-24<br />
    i2c_id: bus_a<br />
    address: 0x22<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-16<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for a24--input channel 17-32<br />
    i2c_id: bus_a<br />
    address: 0x25<br />
    pcf8575: true<br />
    <br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "a24--light1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--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: "a24--light9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--light13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--light17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true      <br />
<br />
<br />
<br />
# Individual inputs<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "a24--input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 8<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 9<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 10<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 11<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 12<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 13<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 14<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 15<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--input17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
sensor:<br />
  - platform: adc<br />
    pin: 35<br />
    name: "A24 A1 Voltage"<br />
    update_interval: 10s<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: 34<br />
    name: "A24 A2 Voltage"<br />
    update_interval: 10s<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: 39<br />
    name: "A24 A3 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
  - platform: adc<br />
    pin: 36<br />
    name: "A24 A4 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-1"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 13<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-2"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 14<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-3"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 15<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
spi:<br />
  - id: spi_bus0<br />
    clk_pin: 14<br />
    miso_pin: 12<br />
<br />
gp8403:<br />
  id: my_gp8403<br />
  voltage: 10V<br />
<br />
output:<br />
  - platform: gp8403<br />
    id: gp8403_output_1<br />
    gp8403_id: my_gp8403<br />
    channel: 0<br />
  - platform: gp8403<br />
    id: gp8403_output_2<br />
    gp8403_id: my_gp8403<br />
    channel: 1<br />
<br />
light:<br />
  - platform: monochromatic<br />
    name: "A24-DAC-1"<br />
    output: gp8403_output_1<br />
  - platform: monochromatic<br />
    name: "A24-DAC-2"<br />
    output: gp8403_output_2<br />
<br />
web_server:<br />
  port: 80</code></div></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Anybody use DMX on Kincony A24's RS485 on EspHome in Home Assistant?]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=6875</link>
			<pubDate>Wed, 16 Oct 2024 07:29:56 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=6243">KRende</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=6875</guid>
			<description><![CDATA[Good day.  Has anybody set up DMX on Kincony A24's RS485 in EspHome in Home Assistant?  I tried installing the Github add-in at <a href="https://github.com/andyboeh/esphome-dmx512" target="_blank" rel="noopener" class="mycode_url">https://github.com/andyboeh/esphome-dmx512</a>, but I'm a beginner and haven't gotten it to work so far.  The Kincony's input and outputs work fine, but I don't know how to proceed.  I've put this in the Kincony's Yaml file, and the logger reports the value being sent to DMX_1, but my fixture's DMX indicator doesn't come on, so I don't even know if I wired it correctly.  Anyway, here are the Yaml settings:<br />
<br />
uart:<br />
  id: uart_bus<br />
  tx_pin: <br />
    number: 33<br />
    allow_other_uses: true # For ESPHome &gt;= 2023.12.0<br />
  baud_rate: 250000<br />
  stop_bits: 2<br />
<br />
dmx512:<br />
  id: dmx<br />
  uart_id: uart_bus<br />
  tx_pin:<br />
    number: 33<br />
    allow_other_uses: true # For ESPHome &gt;= 2023.12.0<br />
  uart_num: 1<br />
  periodic_update: true<br />
  update_interval: 500<br />
<br />
output:<br />
  - platform: dmx512<br />
    channel: 1<br />
    universe: dmx<br />
    id: dmx_1<br />
<br />
light:<br />
  - platform: monochromatic<br />
    name: "Test Lights"<br />
    output: dmx_7<br />
    id: light_test<br />
    default_transition_length: 2s]]></description>
			<content:encoded><![CDATA[Good day.  Has anybody set up DMX on Kincony A24's RS485 in EspHome in Home Assistant?  I tried installing the Github add-in at <a href="https://github.com/andyboeh/esphome-dmx512" target="_blank" rel="noopener" class="mycode_url">https://github.com/andyboeh/esphome-dmx512</a>, but I'm a beginner and haven't gotten it to work so far.  The Kincony's input and outputs work fine, but I don't know how to proceed.  I've put this in the Kincony's Yaml file, and the logger reports the value being sent to DMX_1, but my fixture's DMX indicator doesn't come on, so I don't even know if I wired it correctly.  Anyway, here are the Yaml settings:<br />
<br />
uart:<br />
  id: uart_bus<br />
  tx_pin: <br />
    number: 33<br />
    allow_other_uses: true # For ESPHome &gt;= 2023.12.0<br />
  baud_rate: 250000<br />
  stop_bits: 2<br />
<br />
dmx512:<br />
  id: dmx<br />
  uart_id: uart_bus<br />
  tx_pin:<br />
    number: 33<br />
    allow_other_uses: true # For ESPHome &gt;= 2023.12.0<br />
  uart_num: 1<br />
  periodic_update: true<br />
  update_interval: 500<br />
<br />
output:<br />
  - platform: dmx512<br />
    channel: 1<br />
    universe: dmx<br />
    id: dmx_1<br />
<br />
light:<br />
  - platform: monochromatic<br />
    name: "Test Lights"<br />
    output: dmx_7<br />
    id: light_test<br />
    default_transition_length: 2s]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 Display options]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=4303</link>
			<pubDate>Wed, 14 Feb 2024 00:12:42 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=3456">Yocee</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=4303</guid>
			<description><![CDATA[Is there any possibility to connect a display to the A24 panel? I do not use the gsm connection, nor the K-thermometers.]]></description>
			<content:encoded><![CDATA[Is there any possibility to connect a display to the A24 panel? I do not use the gsm connection, nor the K-thermometers.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 arduino demo source code-07-analog out (DAC)]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=4038</link>
			<pubDate>Mon, 25 Dec 2023 15:56:37 +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=4038</guid>
			<description><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include "DFRobot_GP8403.h"<br />
#include "Wire.h"<br />
DFRobot_GP8403 dac(&amp;Wire,0x58);<br />
<br />
void setup() {<br />
  Serial.begin(115200);<br />
  Wire.begin(16,5);<br />
  while(dac.begin()!=0){<br />
    Serial.println("init error");<br />
    delay(1000);<br />
   }<br />
  Serial.println("init succeed");<br />
  //Set DAC output range<br />
  dac.setDACOutRange(dac.eOutputRange10V);<br />
  dac.setDACOutVoltage(10000, 0);<br />
  dac.setDACOutVoltage(10000, 1);<br />
  delay(1000);<br />
  //Store data in the chip<br />
  dac.store();<br />
}<br />
<br />
void loop(){<br />
}</code></div></div><!-- 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=3816" target="_blank" title="">211.jpg</a> (Size: 39.12 KB / Downloads: 598)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>#include "DFRobot_GP8403.h"<br />
#include "Wire.h"<br />
DFRobot_GP8403 dac(&amp;Wire,0x58);<br />
<br />
void setup() {<br />
  Serial.begin(115200);<br />
  Wire.begin(16,5);<br />
  while(dac.begin()!=0){<br />
    Serial.println("init error");<br />
    delay(1000);<br />
   }<br />
  Serial.println("init succeed");<br />
  //Set DAC output range<br />
  dac.setDACOutRange(dac.eOutputRange10V);<br />
  dac.setDACOutVoltage(10000, 0);<br />
  dac.setDACOutVoltage(10000, 1);<br />
  delay(1000);<br />
  //Store data in the chip<br />
  dac.store();<br />
}<br />
<br />
void loop(){<br />
}</code></div></div><!-- 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=3816" target="_blank" title="">211.jpg</a> (Size: 39.12 KB / Downloads: 598)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 wiring circuit diagram]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=4036</link>
			<pubDate>Mon, 25 Dec 2023 08:43:08 +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=4036</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=3812" target="_blank" title="">A24.jpg</a> (Size: 1.99 MB / Downloads: 1165)
<!-- 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=3812" target="_blank" title="">A24.jpg</a> (Size: 1.99 MB / Downloads: 1165)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 configure yaml for ESPhome]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3922</link>
			<pubDate>Mon, 18 Dec 2023 19:30:56 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1">admin</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=3922</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=3782" target="_blank" title="">A24_HA.jpg</a> (Size: 144.89 KB / Downloads: 1541)
<!-- end: postbit_attachments_attachment --><br />
<br />
esphome:<br />
  name: a24<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: 16<br />
    scl: 5<br />
    scan: true<br />
    frequency: 400kHz<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 />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-12 CS1-CS3<br />
    i2c_id: bus_a<br />
    address: 0x21<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 13-24<br />
    i2c_id: bus_a<br />
    address: 0x22<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-16<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for a24--input channel 17-32<br />
    i2c_id: bus_a<br />
    address: 0x25<br />
    pcf8575: true<br />
    <br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "a24--light1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--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: "a24--light9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--light13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--light17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true      <br />
<br />
<br />
<br />
# Individual inputs<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "a24--input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 8<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 9<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 10<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 11<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 12<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 13<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 14<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 15<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--input17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
sensor:<br />
  - platform: adc<br />
    pin: 35<br />
    name: "A24 A1 Voltage"<br />
    update_interval: 10s<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: 34<br />
    name: "A24 A2 Voltage"<br />
    update_interval: 10s<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: 39<br />
    name: "A24 A3 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
  - platform: adc<br />
    pin: 36<br />
    name: "A24 A4 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-1"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 13<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-2"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 14<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-3"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 15<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
spi:<br />
  - id: spi_bus0<br />
    clk_pin: 14<br />
    miso_pin: 12<br />
<br />
gp8403:<br />
  id: my_gp8403<br />
  voltage: 10V<br />
<br />
output:<br />
  - platform: gp8403<br />
    id: gp8403_output_1<br />
    gp8403_id: my_gp8403<br />
    channel: 0<br />
  - platform: gp8403<br />
    id: gp8403_output_2<br />
    gp8403_id: my_gp8403<br />
    channel: 1<br />
<br />
light:<br />
  - platform: monochromatic<br />
    name: "A24-DAC-1"<br />
    output: gp8403_output_1<br />
  - platform: monochromatic<br />
    name: "A24-DAC-2"<br />
    output: gp8403_output_2<br />
<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=3733" target="_blank" title="">A24-ESPHome.txt</a> (Size: 10.11 KB / Downloads: 495)
<!-- 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=3782" target="_blank" title="">A24_HA.jpg</a> (Size: 144.89 KB / Downloads: 1541)
<!-- end: postbit_attachments_attachment --><br />
<br />
esphome:<br />
  name: a24<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: 16<br />
    scl: 5<br />
    scan: true<br />
    frequency: 400kHz<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 />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-12 CS1-CS3<br />
    i2c_id: bus_a<br />
    address: 0x21<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 13-24<br />
    i2c_id: bus_a<br />
    address: 0x22<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-16<br />
    i2c_id: bus_a<br />
    address: 0x24<br />
    pcf8575: true<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for a24--input channel 17-32<br />
    i2c_id: bus_a<br />
    address: 0x25<br />
    pcf8575: true<br />
    <br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "a24--light1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--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: "a24--light9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--light13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--light17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--light21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 8<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 9<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 10<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--light24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 11<br />
      mode: OUTPUT<br />
      inverted: true      <br />
<br />
<br />
<br />
# Individual inputs<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "a24--input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
<br />
  - platform: gpio<br />
    name: "a24--input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 8<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 9<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 10<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 11<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 12<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 13<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 14<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 15<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
      <br />
  - platform: gpio<br />
    name: "a24--input17"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input18"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input19"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input20"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "a24--input21"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input22"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input23"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "a24--input24"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
sensor:<br />
  - platform: adc<br />
    pin: 35<br />
    name: "A24 A1 Voltage"<br />
    update_interval: 10s<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: 34<br />
    name: "A24 A2 Voltage"<br />
    update_interval: 10s<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: 39<br />
    name: "A24 A3 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
  - platform: adc<br />
    pin: 36<br />
    name: "A24 A4 Current"<br />
    update_interval: 10s<br />
    unit_of_measurement: mA<br />
    attenuation: 11db<br />
    filters:<br />
      - multiply: 6.66666666<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-1"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 13<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-2"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 14<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
  - platform: max31855<br />
    name: "K-Type Thermocouple-3"<br />
    cs_pin: <br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 15<br />
      mode: OUTPUT<br />
      inverted: false<br />
    update_interval: 5s<br />
<br />
spi:<br />
  - id: spi_bus0<br />
    clk_pin: 14<br />
    miso_pin: 12<br />
<br />
gp8403:<br />
  id: my_gp8403<br />
  voltage: 10V<br />
<br />
output:<br />
  - platform: gp8403<br />
    id: gp8403_output_1<br />
    gp8403_id: my_gp8403<br />
    channel: 0<br />
  - platform: gp8403<br />
    id: gp8403_output_2<br />
    gp8403_id: my_gp8403<br />
    channel: 1<br />
<br />
light:<br />
  - platform: monochromatic<br />
    name: "A24-DAC-1"<br />
    output: gp8403_output_1<br />
  - platform: monochromatic<br />
    name: "A24-DAC-2"<br />
    output: gp8403_output_2<br />
<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=3733" target="_blank" title="">A24-ESPHome.txt</a> (Size: 10.11 KB / Downloads: 495)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 ESP32 I/O pin define]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3921</link>
			<pubDate>Mon, 18 Dec 2023 19:28: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=3921</guid>
			<description><![CDATA[#define ANALOG_A1  GPIO35<br />
#define ANALOG_A2  GPIO34<br />
#define ANALOG_A3  GPIO39<br />
#define ANALOG_A4  GPIO36<br />
<br />
IIC Bus-1:A<br />
<br />
SDA-A:GPIO16<br />
SCL-A:GPIO5<br />
<br />
PCF8575:U15 (relay1-12): i2c address:0x21<br />
<br />
PCF8575-&gt;U15-&gt;P0 (relay 1)<br />
PCF8575-&gt;U15-&gt;P1 (relay 2)<br />
PCF8575-&gt;U15-&gt;P2 (relay 3)<br />
PCF8575-&gt;U15-&gt;P3 (relay 4)<br />
PCF8575-&gt;U15-&gt;P4 (relay 5)<br />
PCF8575-&gt;U15-&gt;P5 (relay 6)<br />
PCF8575-&gt;U15-&gt;P6 (relay 7)<br />
PCF8575-&gt;U15-&gt;P7 (relay 8)<br />
PCF8575-&gt;U15-&gt;P10 (relay 9)<br />
PCF8575-&gt;U15-&gt;P11 (relay 10)<br />
PCF8575-&gt;U15-&gt;P12 (relay 11)<br />
PCF8575-&gt;U15-&gt;P13 (relay 12)<br />
PCF8575-&gt;U15-&gt;P15 (CS1 of MAX31855)<br />
PCF8575-&gt;U15-&gt;P16 (CS2 of MAX31855)<br />
PCF8575-&gt;U15-&gt;P17 (CS3 of MAX31855)<br />
<br />
PCF8575:U27 (relay13-24): i2c address:0x22<br />
<br />
PCF8575-&gt;U27-&gt;P0 (relay 13)<br />
PCF8575-&gt;U27-&gt;P1 (relay 14)<br />
PCF8575-&gt;U27-&gt;P2 (relay 15)<br />
PCF8575-&gt;U27-&gt;P3 (relay 16)<br />
PCF8575-&gt;U27-&gt;P4 (relay 17)<br />
PCF8575-&gt;U27-&gt;P5 (relay 18)<br />
PCF8575-&gt;U27-&gt;P6 (relay 19)<br />
PCF8575-&gt;U27-&gt;P7 (relay 20)<br />
PCF8575-&gt;U27-&gt;P10 (relay 21)<br />
PCF8575-&gt;U27-&gt;P11 (relay 22)<br />
PCF8575-&gt;U27-&gt;P12 (relay 23)<br />
PCF8575-&gt;U27-&gt;P13 (relay 24)<br />
<br />
PCF8575:U16 (input1-16): i2c address:0x24<br />
<br />
PCF8575-&gt;U16-&gt;P0 (input 1)<br />
PCF8575-&gt;U16-&gt;P1 (input 2)<br />
PCF8575-&gt;U16-&gt;P2 (input 3)<br />
PCF8575-&gt;U16-&gt;P3 (input 4)<br />
PCF8575-&gt;U16-&gt;P4 (input 5)<br />
PCF8575-&gt;U16-&gt;P5 (input 6)<br />
PCF8575-&gt;U16-&gt;P6 (input 7)<br />
PCF8575-&gt;U16-&gt;P7 (input 8)<br />
PCF8575-&gt;U16-&gt;P10 (input 9)<br />
PCF8575-&gt;U16-&gt;P11 (input 10)<br />
PCF8575-&gt;U16-&gt;P12 (input 11)<br />
PCF8575-&gt;U16-&gt;P13 (input 12)<br />
PCF8575-&gt;U16-&gt;P14 (input 13)<br />
PCF8575-&gt;U16-&gt;P15 (input 14)<br />
PCF8575-&gt;U16-&gt;P16 (input 15)<br />
PCF8575-&gt;U16-&gt;P17 (input 16)<br />
<br />
<br />
PCF8575:U28 (input17-32): i2c address:0x25<br />
<br />
PCF8575-&gt;U28-&gt;P0 (input 17)<br />
PCF8575-&gt;U28-&gt;P1 (input 18)<br />
PCF8575-&gt;U28-&gt;P2 (input 19)<br />
PCF8575-&gt;U28-&gt;P3 (input 20)<br />
PCF8575-&gt;U28-&gt;P4 (input 21)<br />
PCF8575-&gt;U28-&gt;P5 (input 22)<br />
PCF8575-&gt;U28-&gt;P6 (input 23)<br />
PCF8575-&gt;U28-&gt;P7 (input 24)<br />
PCF8575-&gt;U28-&gt;P10 (input 25)<br />
PCF8575-&gt;U28-&gt;P11 (input 26)<br />
PCF8575-&gt;U28-&gt;P12 (input 27)<br />
PCF8575-&gt;U28-&gt;P13 (input 28)<br />
PCF8575-&gt;U28-&gt;P14 (input 29)<br />
PCF8575-&gt;U28-&gt;P15 (input 30)<br />
PCF8575-&gt;U28-&gt;P16 (input 31)<br />
PCF8575-&gt;U28-&gt;P17 (input 32)<br />
<br />
-----------------<br />
<br />
1-wire: GPIO15<br />
<br />
-----------------<br />
<br />
Ethernet (LAN8720) I/O define:<br />
<br />
#define ETH_ADDR        0<br />
#define ETH_POWER_PIN  -1<br />
#define ETH_MDC_PIN    23<br />
#define ETH_MDIO_PIN  18<br />
#define ETH_TYPE      ETH_PHY_LAN8720<br />
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT<br />
<br />
--------------------<br />
<br />
RS485: <br />
RXD:GPIO32<br />
TXD:GPIO33<br />
<br />
4G module:<br />
RXD:GPIO13<br />
TXD:GPIO4<br />
<br />
--------------------<br />
SPI bus for MAX31855<br />
SCK: GPIO14<br />
MISO: GPIO12<br />
<br />
-------------------<br />
GP8403 DAC i2c address: 0x58]]></description>
			<content:encoded><![CDATA[#define ANALOG_A1  GPIO35<br />
#define ANALOG_A2  GPIO34<br />
#define ANALOG_A3  GPIO39<br />
#define ANALOG_A4  GPIO36<br />
<br />
IIC Bus-1:A<br />
<br />
SDA-A:GPIO16<br />
SCL-A:GPIO5<br />
<br />
PCF8575:U15 (relay1-12): i2c address:0x21<br />
<br />
PCF8575-&gt;U15-&gt;P0 (relay 1)<br />
PCF8575-&gt;U15-&gt;P1 (relay 2)<br />
PCF8575-&gt;U15-&gt;P2 (relay 3)<br />
PCF8575-&gt;U15-&gt;P3 (relay 4)<br />
PCF8575-&gt;U15-&gt;P4 (relay 5)<br />
PCF8575-&gt;U15-&gt;P5 (relay 6)<br />
PCF8575-&gt;U15-&gt;P6 (relay 7)<br />
PCF8575-&gt;U15-&gt;P7 (relay 8)<br />
PCF8575-&gt;U15-&gt;P10 (relay 9)<br />
PCF8575-&gt;U15-&gt;P11 (relay 10)<br />
PCF8575-&gt;U15-&gt;P12 (relay 11)<br />
PCF8575-&gt;U15-&gt;P13 (relay 12)<br />
PCF8575-&gt;U15-&gt;P15 (CS1 of MAX31855)<br />
PCF8575-&gt;U15-&gt;P16 (CS2 of MAX31855)<br />
PCF8575-&gt;U15-&gt;P17 (CS3 of MAX31855)<br />
<br />
PCF8575:U27 (relay13-24): i2c address:0x22<br />
<br />
PCF8575-&gt;U27-&gt;P0 (relay 13)<br />
PCF8575-&gt;U27-&gt;P1 (relay 14)<br />
PCF8575-&gt;U27-&gt;P2 (relay 15)<br />
PCF8575-&gt;U27-&gt;P3 (relay 16)<br />
PCF8575-&gt;U27-&gt;P4 (relay 17)<br />
PCF8575-&gt;U27-&gt;P5 (relay 18)<br />
PCF8575-&gt;U27-&gt;P6 (relay 19)<br />
PCF8575-&gt;U27-&gt;P7 (relay 20)<br />
PCF8575-&gt;U27-&gt;P10 (relay 21)<br />
PCF8575-&gt;U27-&gt;P11 (relay 22)<br />
PCF8575-&gt;U27-&gt;P12 (relay 23)<br />
PCF8575-&gt;U27-&gt;P13 (relay 24)<br />
<br />
PCF8575:U16 (input1-16): i2c address:0x24<br />
<br />
PCF8575-&gt;U16-&gt;P0 (input 1)<br />
PCF8575-&gt;U16-&gt;P1 (input 2)<br />
PCF8575-&gt;U16-&gt;P2 (input 3)<br />
PCF8575-&gt;U16-&gt;P3 (input 4)<br />
PCF8575-&gt;U16-&gt;P4 (input 5)<br />
PCF8575-&gt;U16-&gt;P5 (input 6)<br />
PCF8575-&gt;U16-&gt;P6 (input 7)<br />
PCF8575-&gt;U16-&gt;P7 (input 8)<br />
PCF8575-&gt;U16-&gt;P10 (input 9)<br />
PCF8575-&gt;U16-&gt;P11 (input 10)<br />
PCF8575-&gt;U16-&gt;P12 (input 11)<br />
PCF8575-&gt;U16-&gt;P13 (input 12)<br />
PCF8575-&gt;U16-&gt;P14 (input 13)<br />
PCF8575-&gt;U16-&gt;P15 (input 14)<br />
PCF8575-&gt;U16-&gt;P16 (input 15)<br />
PCF8575-&gt;U16-&gt;P17 (input 16)<br />
<br />
<br />
PCF8575:U28 (input17-32): i2c address:0x25<br />
<br />
PCF8575-&gt;U28-&gt;P0 (input 17)<br />
PCF8575-&gt;U28-&gt;P1 (input 18)<br />
PCF8575-&gt;U28-&gt;P2 (input 19)<br />
PCF8575-&gt;U28-&gt;P3 (input 20)<br />
PCF8575-&gt;U28-&gt;P4 (input 21)<br />
PCF8575-&gt;U28-&gt;P5 (input 22)<br />
PCF8575-&gt;U28-&gt;P6 (input 23)<br />
PCF8575-&gt;U28-&gt;P7 (input 24)<br />
PCF8575-&gt;U28-&gt;P10 (input 25)<br />
PCF8575-&gt;U28-&gt;P11 (input 26)<br />
PCF8575-&gt;U28-&gt;P12 (input 27)<br />
PCF8575-&gt;U28-&gt;P13 (input 28)<br />
PCF8575-&gt;U28-&gt;P14 (input 29)<br />
PCF8575-&gt;U28-&gt;P15 (input 30)<br />
PCF8575-&gt;U28-&gt;P16 (input 31)<br />
PCF8575-&gt;U28-&gt;P17 (input 32)<br />
<br />
-----------------<br />
<br />
1-wire: GPIO15<br />
<br />
-----------------<br />
<br />
Ethernet (LAN8720) I/O define:<br />
<br />
#define ETH_ADDR        0<br />
#define ETH_POWER_PIN  -1<br />
#define ETH_MDC_PIN    23<br />
#define ETH_MDIO_PIN  18<br />
#define ETH_TYPE      ETH_PHY_LAN8720<br />
#define ETH_CLK_MODE  ETH_CLOCK_GPIO17_OUT<br />
<br />
--------------------<br />
<br />
RS485: <br />
RXD:GPIO32<br />
TXD:GPIO33<br />
<br />
4G module:<br />
RXD:GPIO13<br />
TXD:GPIO4<br />
<br />
--------------------<br />
SPI bus for MAX31855<br />
SCK: GPIO14<br />
MISO: GPIO12<br />
<br />
-------------------<br />
GP8403 DAC i2c address: 0x58]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A24 arduino demo source code-06- Ethernet LAN8720 by UDP]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3797</link>
			<pubDate>Thu, 07 Dec 2023 10:39:57 +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=3797</guid>
			<description><![CDATA[<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   18   <br />
#define ETH_TYPE       ETH_PHY_LAN8720<br />
#define ETH_CLK_MODE   ETH_CLOCK_GPIO17_OUT<br />
<br />
WiFiUDP Udp;                      //Create UDP object<br />
unsigned int localUdpPort = 4196; //local port<br />
<br />
// Set it based on the IP address of the router<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 />
   <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 />
  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)                     //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><!-- 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=3672" target="_blank" title="">udp.png</a> (Size: 31.44 KB / Downloads: 625)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<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   18   <br />
#define ETH_TYPE       ETH_PHY_LAN8720<br />
#define ETH_CLK_MODE   ETH_CLOCK_GPIO17_OUT<br />
<br />
WiFiUDP Udp;                      //Create UDP object<br />
unsigned int localUdpPort = 4196; //local port<br />
<br />
// Set it based on the IP address of the router<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 />
   <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 />
  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)                     //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><!-- 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=3672" target="_blank" title="">udp.png</a> (Size: 31.44 KB / Downloads: 625)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
	</channel>
</rss>