<?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-E16T]]></title>
		<link>https://www.kincony.com/forum/</link>
		<description><![CDATA[Smart Home Automation Forum - https://www.kincony.com/forum]]></description>
		<pubDate>Sat, 25 Jul 2026 14:36:59 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[E16T is not detected when connected via USB]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8786</link>
			<pubDate>Wed, 03 Dec 2025 05:45:57 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=9960">Sansol94</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8786</guid>
			<description><![CDATA[I have an e16t controller. Since the purchase, I have been using tuya (factory firmware). I recently decided to try a smart home based on the Home assistant. The Home assistant is installed on Raspberry pi5. <br />
I found a post on the forum that you can install a new configuration file on the e16t (via esphome), which will allow you to control the relay via tuya and home assistant. <br />
I did everything according to the scheme, and I ran into such a problem that esphome does not see the connected e16t device via usb. I used the cable from the e16t kit, I also tried to use another cable, but with no result.<br />
<br />
After that I tried to connect e16t to PC (windows), but PC cannot detect e16t. The driver for the ch340c is installed.<br />
Nothing happens when connected to a PC.<br />
<br />
Can you tell me how to solve this problem?]]></description>
			<content:encoded><![CDATA[I have an e16t controller. Since the purchase, I have been using tuya (factory firmware). I recently decided to try a smart home based on the Home assistant. The Home assistant is installed on Raspberry pi5. <br />
I found a post on the forum that you can install a new configuration file on the e16t (via esphome), which will allow you to control the relay via tuya and home assistant. <br />
I did everything according to the scheme, and I ran into such a problem that esphome does not see the connected e16t device via usb. I used the cable from the e16t kit, I also tried to use another cable, but with no result.<br />
<br />
After that I tried to connect e16t to PC (windows), but PC cannot detect e16t. The driver for the ch340c is installed.<br />
Nothing happens when connected to a PC.<br />
<br />
Can you tell me how to solve this problem?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-E16T added Tuya module and input toggle output yaml file for ESPHome]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7827</link>
			<pubDate>Tue, 18 Mar 2025 18:05:58 +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=7827</guid>
			<description><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: e16t<br />
  platformio_options:<br />
    board_build.extra_flags:<br />
      # WIFI_CONTROL_SELF_MODE = 0<br />
      # WIFI_CONTROL_SELF_MODE = 1<br />
      - "-DWIFI_CONTROL_SELF_MODE=0"<br />
<br />
esp32:<br />
  board: esp32dev<br />
  framework:<br />
    type: arduino<br />
<br />
external_components:<br />
  - source:<br />
      type: git<br />
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu<br />
      ref: v1.1.0<br />
<br />
uart:<br />
  tx_pin: 33<br />
  rx_pin: 14<br />
  id: tuya_mcu_uart<br />
  baud_rate: 9600<br />
<br />
tuya_wifi_mcu:<br />
  # tuya mcu product id<br />
  product_id: tfj1dtlneyxp5uya<br />
  uart_id: tuya_mcu_uart<br />
  wifi_reset_pin: 5<br />
  wifi_led_pin: 12<br />
<br />
  <br />
# Example configuration entry for ESP32<br />
i2c:<br />
  sda: 16<br />
  scl: 15<br />
  scan: true<br />
  id: bus_a<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 />
    address: 0x21<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8<br />
    address: 0x22<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for input channel 9-16<br />
    address: 0x24<br />
<br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "e16t_output1"<br />
    id: "e16t_output1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output1-tuya<br />
    dp_id: 1<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output1"<br />
<br />
<br />
  - platform: gpio<br />
    name: "e16t_output2"<br />
    id: "e16t_output2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output2-tuya<br />
    dp_id: 2<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output2"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output3"<br />
    id: "e16t_output3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output3-tuya<br />
    dp_id: 3<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output3"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output4"<br />
    id: "e16t_output4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output4-tuya<br />
    dp_id: 4<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output4"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output5"<br />
    id: "e16t_output5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output5-tuya<br />
    dp_id: 5<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output5"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output6"<br />
    id: "e16t_output6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output6-tuya<br />
    dp_id: 6<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output6"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output7"<br />
    id: "e16t_output7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output7-tuya<br />
    dp_id: 101<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output7"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output8"<br />
    id: "e16t_output8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output8-tuya<br />
    dp_id: 102<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output8"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output9"<br />
    id: "e16t_output9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output9-tuya<br />
    dp_id: 103<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output9"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output10"<br />
    id: "e16t_output10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output10-tuya<br />
    dp_id: 104<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output10"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output11"<br />
    id: "e16t_output11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output11-tuya<br />
    dp_id: 105<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output11"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output12"<br />
    id: "e16t_output12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output12-tuya<br />
    dp_id: 106<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output12"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output13"<br />
    id: "e16t_output13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output13-tuya<br />
    dp_id: 107<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output13"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output14"<br />
    id: "e16t_output14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output14-tuya<br />
    dp_id: 108<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output14"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output15"<br />
    id: "e16t_output15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output15-tuya<br />
    dp_id: 109<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output15"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output16"<br />
    id: "e16t_output16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output16-tuya<br />
    dp_id: 110<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output16"<br />
<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "e16t-input1"<br />
    id: "e16t_input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output1<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI01 Tuya<br />
    dp_id: 111<br />
    bind_binary_sensor_id: e16t_input1<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input2"<br />
    id: "e16t_input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output2      <br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI02 Tuya<br />
    dp_id: 112<br />
    bind_binary_sensor_id: e16t_input2<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input3"<br />
    id: "e16t_input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output3<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI03 Tuya<br />
    dp_id: 113<br />
    bind_binary_sensor_id: e16t_input3<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input4"<br />
    id: "e16t_input4"<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output4<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI04 Tuya<br />
    dp_id: 114<br />
    bind_binary_sensor_id: e16t_input4<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input5"<br />
    id: "e16t_input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output5<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI05 Tuya<br />
    dp_id: 115<br />
    bind_binary_sensor_id: e16t_input5<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input6"<br />
    id: "e16t_input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output6<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI06 Tuya<br />
    dp_id: 116<br />
    bind_binary_sensor_id: e16t_input6<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input7"<br />
    id: "e16t_input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output7<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI07 Tuya<br />
    dp_id: 117<br />
    bind_binary_sensor_id: e16t_input7<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input8"<br />
    id: "e16t_input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output8<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI08 Tuya<br />
    dp_id: 118<br />
    bind_binary_sensor_id: e16t_input8<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input9"<br />
    id: "e16t_input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output9<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI09 Tuya<br />
    dp_id: 119<br />
    bind_binary_sensor_id: e16t_input9<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input10"<br />
    id: "e16t_input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output10<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI10 Tuya<br />
    dp_id: 120<br />
    bind_binary_sensor_id: e16t_input10<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input11"<br />
    id: "e16t_input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output11<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI11 Tuya<br />
    dp_id: 121<br />
    bind_binary_sensor_id: e16t_input11<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input12"<br />
    id: "e16t_input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output12<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI12 Tuya<br />
    dp_id: 122<br />
    bind_binary_sensor_id: e16t_input12<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input13"<br />
    id: "e16t_input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output13<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI13 Tuya<br />
    dp_id: 123<br />
    bind_binary_sensor_id: e16t_input13<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input14"<br />
    id: "e16t_input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output14<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI14 Tuya<br />
    dp_id: 124<br />
    bind_binary_sensor_id: e16t_input14<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input15"<br />
    id: "e16t_input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output15<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI15 Tuya<br />
    dp_id: 125<br />
    bind_binary_sensor_id: e16t_input15<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input16"<br />
    id: "e16t_input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output16<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI16 Tuya<br />
    dp_id: 126<br />
    bind_binary_sensor_id: e16t_input16<br />
    internal: true<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:</code></div></div>firmware BIN file download:<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=7309" target="_blank" title="">e16t.factory_tuya.zip</a> (Size: 372.83 KB / Downloads: 644)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: e16t<br />
  platformio_options:<br />
    board_build.extra_flags:<br />
      # WIFI_CONTROL_SELF_MODE = 0<br />
      # WIFI_CONTROL_SELF_MODE = 1<br />
      - "-DWIFI_CONTROL_SELF_MODE=0"<br />
<br />
esp32:<br />
  board: esp32dev<br />
  framework:<br />
    type: arduino<br />
<br />
external_components:<br />
  - source:<br />
      type: git<br />
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu<br />
      ref: v1.1.0<br />
<br />
uart:<br />
  tx_pin: 33<br />
  rx_pin: 14<br />
  id: tuya_mcu_uart<br />
  baud_rate: 9600<br />
<br />
tuya_wifi_mcu:<br />
  # tuya mcu product id<br />
  product_id: tfj1dtlneyxp5uya<br />
  uart_id: tuya_mcu_uart<br />
  wifi_reset_pin: 5<br />
  wifi_led_pin: 12<br />
<br />
  <br />
# Example configuration entry for ESP32<br />
i2c:<br />
  sda: 16<br />
  scl: 15<br />
  scan: true<br />
  id: bus_a<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 />
    address: 0x21<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8<br />
    address: 0x22<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for input channel 9-16<br />
    address: 0x24<br />
<br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "e16t_output1"<br />
    id: "e16t_output1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output1-tuya<br />
    dp_id: 1<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output1"<br />
<br />
<br />
  - platform: gpio<br />
    name: "e16t_output2"<br />
    id: "e16t_output2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output2-tuya<br />
    dp_id: 2<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output2"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output3"<br />
    id: "e16t_output3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output3-tuya<br />
    dp_id: 3<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output3"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output4"<br />
    id: "e16t_output4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output4-tuya<br />
    dp_id: 4<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output4"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output5"<br />
    id: "e16t_output5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output5-tuya<br />
    dp_id: 5<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output5"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output6"<br />
    id: "e16t_output6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output6-tuya<br />
    dp_id: 6<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output6"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output7"<br />
    id: "e16t_output7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output7-tuya<br />
    dp_id: 101<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output7"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output8"<br />
    id: "e16t_output8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output8-tuya<br />
    dp_id: 102<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output8"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output9"<br />
    id: "e16t_output9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output9-tuya<br />
    dp_id: 103<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output9"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output10"<br />
    id: "e16t_output10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output10-tuya<br />
    dp_id: 104<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output10"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output11"<br />
    id: "e16t_output11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output11-tuya<br />
    dp_id: 105<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output11"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output12"<br />
    id: "e16t_output12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output12-tuya<br />
    dp_id: 106<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output12"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output13"<br />
    id: "e16t_output13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output13-tuya<br />
    dp_id: 107<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output13"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output14"<br />
    id: "e16t_output14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output14-tuya<br />
    dp_id: 108<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output14"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output15"<br />
    id: "e16t_output15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output15-tuya<br />
    dp_id: 109<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output15"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output16"<br />
    id: "e16t_output16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output16-tuya<br />
    dp_id: 110<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output16"<br />
<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "e16t-input1"<br />
    id: "e16t_input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output1<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI01 Tuya<br />
    dp_id: 111<br />
    bind_binary_sensor_id: e16t_input1<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input2"<br />
    id: "e16t_input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output2      <br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI02 Tuya<br />
    dp_id: 112<br />
    bind_binary_sensor_id: e16t_input2<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input3"<br />
    id: "e16t_input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output3<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI03 Tuya<br />
    dp_id: 113<br />
    bind_binary_sensor_id: e16t_input3<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input4"<br />
    id: "e16t_input4"<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output4<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI04 Tuya<br />
    dp_id: 114<br />
    bind_binary_sensor_id: e16t_input4<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input5"<br />
    id: "e16t_input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output5<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI05 Tuya<br />
    dp_id: 115<br />
    bind_binary_sensor_id: e16t_input5<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input6"<br />
    id: "e16t_input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output6<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI06 Tuya<br />
    dp_id: 116<br />
    bind_binary_sensor_id: e16t_input6<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input7"<br />
    id: "e16t_input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output7<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI07 Tuya<br />
    dp_id: 117<br />
    bind_binary_sensor_id: e16t_input7<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input8"<br />
    id: "e16t_input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output8<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI08 Tuya<br />
    dp_id: 118<br />
    bind_binary_sensor_id: e16t_input8<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input9"<br />
    id: "e16t_input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output9<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI09 Tuya<br />
    dp_id: 119<br />
    bind_binary_sensor_id: e16t_input9<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input10"<br />
    id: "e16t_input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output10<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI10 Tuya<br />
    dp_id: 120<br />
    bind_binary_sensor_id: e16t_input10<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input11"<br />
    id: "e16t_input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output11<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI11 Tuya<br />
    dp_id: 121<br />
    bind_binary_sensor_id: e16t_input11<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input12"<br />
    id: "e16t_input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output12<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI12 Tuya<br />
    dp_id: 122<br />
    bind_binary_sensor_id: e16t_input12<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input13"<br />
    id: "e16t_input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output13<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI13 Tuya<br />
    dp_id: 123<br />
    bind_binary_sensor_id: e16t_input13<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input14"<br />
    id: "e16t_input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output14<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI14 Tuya<br />
    dp_id: 124<br />
    bind_binary_sensor_id: e16t_input14<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input15"<br />
    id: "e16t_input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output15<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI15 Tuya<br />
    dp_id: 125<br />
    bind_binary_sensor_id: e16t_input15<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input16"<br />
    id: "e16t_input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
    on_press:<br />
      then:<br />
        - switch.toggle: e16t_output16<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI16 Tuya<br />
    dp_id: 126<br />
    bind_binary_sensor_id: e16t_input16<br />
    internal: true<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:</code></div></div>firmware BIN file download:<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=7309" target="_blank" title="">e16t.factory_tuya.zip</a> (Size: 372.83 KB / Downloads: 644)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Factory reset]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=6019</link>
			<pubDate>Thu, 04 Jul 2024 14:25:01 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=5187">Chestie</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=6019</guid>
			<description><![CDATA[Hello team,<br />
<br />
is there any way to factory reset the board?<br />
<br />
I deactivated the wifi inside and my router is not able to assign an IP somehow when connected by ETH so I cannot interact with it.<br />
<br />
Any ideas? <img src="https://www.kincony.com/forum/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></description>
			<content:encoded><![CDATA[Hello team,<br />
<br />
is there any way to factory reset the board?<br />
<br />
I deactivated the wifi inside and my router is not able to assign an IP somehow when connected by ETH so I cannot interact with it.<br />
<br />
Any ideas? <img src="https://www.kincony.com/forum/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-E16T added Tuya module yaml file for ESPHome]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=5847</link>
			<pubDate>Wed, 05 Jun 2024 10:16: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=5847</guid>
			<description><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: e16t<br />
  platform: ESP32<br />
  board: esp32dev<br />
  platformio_options:<br />
    board_build.extra_flags:<br />
      # WIFI_CONTROL_SELF_MODE = 0<br />
      # WIFI_CONTROL_SELF_MODE = 1<br />
      - "-DWIFI_CONTROL_SELF_MODE=0"<br />
<br />
<br />
external_components:<br />
  - source:<br />
      type: git<br />
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu<br />
      ref: v1.1.0<br />
<br />
uart:<br />
  tx_pin: 33<br />
  rx_pin: 14<br />
  id: tuya_mcu_uart<br />
  baud_rate: 9600<br />
<br />
tuya_wifi_mcu:<br />
  # tuya mcu product id<br />
  product_id: tfj1dtlneyxp5uya<br />
  uart_id: tuya_mcu_uart<br />
  wifi_reset_pin: 5<br />
  wifi_led_pin: 12<br />
<br />
  <br />
# Example configuration entry for ESP32<br />
i2c:<br />
  sda: 16<br />
  scl: 15<br />
  scan: true<br />
  id: bus_a<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 />
    address: 0x21<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8<br />
    address: 0x22<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for input channel 9-16<br />
    address: 0x24<br />
<br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "e16t_output1"<br />
    id: "e16t_output1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output1-tuya<br />
    dp_id: 1<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output1"<br />
<br />
<br />
  - platform: gpio<br />
    name: "e16t_output2"<br />
    id: "e16t_output2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output2-tuya<br />
    dp_id: 2<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output2"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output3"<br />
    id: "e16t_output3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output3-tuya<br />
    dp_id: 3<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output3"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output4"<br />
    id: "e16t_output4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output4-tuya<br />
    dp_id: 4<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output4"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output5"<br />
    id: "e16t_output5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output5-tuya<br />
    dp_id: 5<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output5"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output6"<br />
    id: "e16t_output6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output6-tuya<br />
    dp_id: 6<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output6"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output7"<br />
    id: "e16t_output7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output7-tuya<br />
    dp_id: 101<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output7"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output8"<br />
    id: "e16t_output8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output8-tuya<br />
    dp_id: 102<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output8"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output9"<br />
    id: "e16t_output9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output9-tuya<br />
    dp_id: 103<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output9"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output10"<br />
    id: "e16t_output10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output10-tuya<br />
    dp_id: 104<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output10"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output11"<br />
    id: "e16t_output11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output11-tuya<br />
    dp_id: 105<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output11"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output12"<br />
    id: "e16t_output12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output12-tuya<br />
    dp_id: 106<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output12"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output13"<br />
    id: "e16t_output13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output13-tuya<br />
    dp_id: 107<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output13"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output14"<br />
    id: "e16t_output14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output14-tuya<br />
    dp_id: 108<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output14"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output15"<br />
    id: "e16t_output15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output15-tuya<br />
    dp_id: 109<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output15"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output16"<br />
    id: "e16t_output16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output16-tuya<br />
    dp_id: 110<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output16"<br />
<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "e16t-input1"<br />
    id: "e16t_input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI01 Tuya<br />
    dp_id: 111<br />
    bind_binary_sensor_id: e16t_input1<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input2"<br />
    id: "e16t_input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI02 Tuya<br />
    dp_id: 112<br />
    bind_binary_sensor_id: e16t_input2<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input3"<br />
    id: "e16t_input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI03 Tuya<br />
    dp_id: 113<br />
    bind_binary_sensor_id: e16t_input3<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input4"<br />
    id: "e16t_input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI04 Tuya<br />
    dp_id: 114<br />
    bind_binary_sensor_id: e16t_input4<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input5"<br />
    id: "e16t_input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI05 Tuya<br />
    dp_id: 115<br />
    bind_binary_sensor_id: e16t_input5<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input6"<br />
    id: "e16t_input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI06 Tuya<br />
    dp_id: 116<br />
    bind_binary_sensor_id: e16t_input6<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input7"<br />
    id: "e16t_input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI07 Tuya<br />
    dp_id: 117<br />
    bind_binary_sensor_id: e16t_input7<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input8"<br />
    id: "e16t_input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI08 Tuya<br />
    dp_id: 118<br />
    bind_binary_sensor_id: e16t_input8<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input9"<br />
    id: "e16t_input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI09 Tuya<br />
    dp_id: 119<br />
    bind_binary_sensor_id: e16t_input9<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input10"<br />
    id: "e16t_input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI10 Tuya<br />
    dp_id: 120<br />
    bind_binary_sensor_id: e16t_input10<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input11"<br />
    id: "e16t_input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI11 Tuya<br />
    dp_id: 121<br />
    bind_binary_sensor_id: e16t_input11<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input12"<br />
    id: "e16t_input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI12 Tuya<br />
    dp_id: 122<br />
    bind_binary_sensor_id: e16t_input12<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input13"<br />
    id: "e16t_input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI13 Tuya<br />
    dp_id: 123<br />
    bind_binary_sensor_id: e16t_input13<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input14"<br />
    id: "e16t_input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI14 Tuya<br />
    dp_id: 124<br />
    bind_binary_sensor_id: e16t_input14<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input15"<br />
    id: "e16t_input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI15 Tuya<br />
    dp_id: 125<br />
    bind_binary_sensor_id: e16t_input15<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input16"<br />
    id: "e16t_input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI16 Tuya<br />
    dp_id: 126<br />
    bind_binary_sensor_id: e16t_input16<br />
    internal: true<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:</code></div></div><br />
<br />
download yaml file: <!-- 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=5356" target="_blank" title="">E16T-HA-Tuya.txt</a> (Size: 11.91 KB / Downloads: 604)
<!-- end: postbit_attachments_attachment --><br />
<br />
<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/27ncYCi1_-g" frameborder="0" allowfullscreen="true"></iframe>]]></description>
			<content:encoded><![CDATA[<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>esphome:<br />
  name: e16t<br />
  platform: ESP32<br />
  board: esp32dev<br />
  platformio_options:<br />
    board_build.extra_flags:<br />
      # WIFI_CONTROL_SELF_MODE = 0<br />
      # WIFI_CONTROL_SELF_MODE = 1<br />
      - "-DWIFI_CONTROL_SELF_MODE=0"<br />
<br />
<br />
external_components:<br />
  - source:<br />
      type: git<br />
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu<br />
      ref: v1.1.0<br />
<br />
uart:<br />
  tx_pin: 33<br />
  rx_pin: 14<br />
  id: tuya_mcu_uart<br />
  baud_rate: 9600<br />
<br />
tuya_wifi_mcu:<br />
  # tuya mcu product id<br />
  product_id: tfj1dtlneyxp5uya<br />
  uart_id: tuya_mcu_uart<br />
  wifi_reset_pin: 5<br />
  wifi_led_pin: 12<br />
<br />
  <br />
# Example configuration entry for ESP32<br />
i2c:<br />
  sda: 16<br />
  scl: 15<br />
  scan: true<br />
  id: bus_a<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 />
    address: 0x21<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8<br />
    address: 0x22<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for input channel 9-16<br />
    address: 0x24<br />
<br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "e16t_output1"<br />
    id: "e16t_output1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output1-tuya<br />
    dp_id: 1<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output1"<br />
<br />
<br />
  - platform: gpio<br />
    name: "e16t_output2"<br />
    id: "e16t_output2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output2-tuya<br />
    dp_id: 2<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output2"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output3"<br />
    id: "e16t_output3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output3-tuya<br />
    dp_id: 3<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output3"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output4"<br />
    id: "e16t_output4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output4-tuya<br />
    dp_id: 4<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output4"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output5"<br />
    id: "e16t_output5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output5-tuya<br />
    dp_id: 5<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output5"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output6"<br />
    id: "e16t_output6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output6-tuya<br />
    dp_id: 6<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output6"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output7"<br />
    id: "e16t_output7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output7-tuya<br />
    dp_id: 101<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output7"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output8"<br />
    id: "e16t_output8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output8-tuya<br />
    dp_id: 102<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output8"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output9"<br />
    id: "e16t_output9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output9-tuya<br />
    dp_id: 103<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output9"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output10"<br />
    id: "e16t_output10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output10-tuya<br />
    dp_id: 104<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output10"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output11"<br />
    id: "e16t_output11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output11-tuya<br />
    dp_id: 105<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output11"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output12"<br />
    id: "e16t_output12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output12-tuya<br />
    dp_id: 106<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output12"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output13"<br />
    id: "e16t_output13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output13-tuya<br />
    dp_id: 107<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output13"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output14"<br />
    id: "e16t_output14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output14-tuya<br />
    dp_id: 108<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output14"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output15"<br />
    id: "e16t_output15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output15-tuya<br />
    dp_id: 109<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output15"<br />
<br />
  - platform: gpio<br />
    name: "e16t_output16"<br />
    id: "e16t_output16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t-output16-tuya<br />
    dp_id: 110<br />
    # hide from homeassistant ui<br />
    internal: true<br />
    # bind other switch, sync state<br />
    bind_switch_id: "e16t_output16"<br />
<br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "e16t-input1"<br />
    id: "e16t_input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI01 Tuya<br />
    dp_id: 111<br />
    bind_binary_sensor_id: e16t_input1<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input2"<br />
    id: "e16t_input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI02 Tuya<br />
    dp_id: 112<br />
    bind_binary_sensor_id: e16t_input2<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input3"<br />
    id: "e16t_input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI03 Tuya<br />
    dp_id: 113<br />
    bind_binary_sensor_id: e16t_input3<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input4"<br />
    id: "e16t_input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI04 Tuya<br />
    dp_id: 114<br />
    bind_binary_sensor_id: e16t_input4<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input5"<br />
    id: "e16t_input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI05 Tuya<br />
    dp_id: 115<br />
    bind_binary_sensor_id: e16t_input5<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input6"<br />
    id: "e16t_input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI06 Tuya<br />
    dp_id: 116<br />
    bind_binary_sensor_id: e16t_input6<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input7"<br />
    id: "e16t_input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI07 Tuya<br />
    dp_id: 117<br />
    bind_binary_sensor_id: e16t_input7<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input8"<br />
    id: "e16t_input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI08 Tuya<br />
    dp_id: 118<br />
    bind_binary_sensor_id: e16t_input8<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input9"<br />
    id: "e16t_input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI09 Tuya<br />
    dp_id: 119<br />
    bind_binary_sensor_id: e16t_input9<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input10"<br />
    id: "e16t_input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI10 Tuya<br />
    dp_id: 120<br />
    bind_binary_sensor_id: e16t_input10<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input11"<br />
    id: "e16t_input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI11 Tuya<br />
    dp_id: 121<br />
    bind_binary_sensor_id: e16t_input11<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input12"<br />
    id: "e16t_input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI12 Tuya<br />
    dp_id: 122<br />
    bind_binary_sensor_id: e16t_input12<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input13"<br />
    id: "e16t_input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI13 Tuya<br />
    dp_id: 123<br />
    bind_binary_sensor_id: e16t_input13<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input14"<br />
    id: "e16t_input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI14 Tuya<br />
    dp_id: 124<br />
    bind_binary_sensor_id: e16t_input14<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input15"<br />
    id: "e16t_input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI15 Tuya<br />
    dp_id: 125<br />
    bind_binary_sensor_id: e16t_input15<br />
    internal: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input16"<br />
    id: "e16t_input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
  - platform: tuya_wifi_mcu<br />
    name: e16t DI16 Tuya<br />
    dp_id: 126<br />
    bind_binary_sensor_id: e16t_input16<br />
    internal: true<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:</code></div></div><br />
<br />
download yaml file: <!-- 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=5356" target="_blank" title="">E16T-HA-Tuya.txt</a> (Size: 11.91 KB / Downloads: 604)
<!-- end: postbit_attachments_attachment --><br />
<br />
<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/27ncYCi1_-g" frameborder="0" allowfullscreen="true"></iframe>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Tuya IoT platform parameter for KC868-E16T controller]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=5823</link>
			<pubDate>Fri, 31 May 2024 12:50:03 +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=5823</guid>
			<description><![CDATA[PID:tfj1dtlneyxp5uya<br />
<br />
switch01 DP ID:1<br />
switch02 DP ID:2<br />
switch03 DP ID:3<br />
switch04 DP ID:4<br />
switch05 DP ID:5<br />
switch06 DP ID:6<br />
switch07 DP ID:101<br />
switch08 DP ID:102<br />
switch09 DP ID:103<br />
switch10 DP ID:104<br />
switch11 DP ID:105<br />
switch12 DP ID:106<br />
switch13 DP ID:107<br />
switch14 DP ID:108<br />
switch15 DP ID:109<br />
switch16 DP ID:110<br />
<br />
input01 DP ID:111<br />
input02 DP ID:112<br />
input03 DP ID:113<br />
input04 DP ID:114<br />
input05 DP ID:115<br />
input06 DP ID:116<br />
input07 DP ID:117<br />
input08 DP ID:118<br />
input09 DP ID:119<br />
input10 DP ID:120<br />
input11 DP ID:121<br />
input12 DP ID:122<br />
input13 DP ID:123<br />
input14 DP ID:124<br />
input15 DP ID:125<br />
input16 DP ID:126]]></description>
			<content:encoded><![CDATA[PID:tfj1dtlneyxp5uya<br />
<br />
switch01 DP ID:1<br />
switch02 DP ID:2<br />
switch03 DP ID:3<br />
switch04 DP ID:4<br />
switch05 DP ID:5<br />
switch06 DP ID:6<br />
switch07 DP ID:101<br />
switch08 DP ID:102<br />
switch09 DP ID:103<br />
switch10 DP ID:104<br />
switch11 DP ID:105<br />
switch12 DP ID:106<br />
switch13 DP ID:107<br />
switch14 DP ID:108<br />
switch15 DP ID:109<br />
switch16 DP ID:110<br />
<br />
input01 DP ID:111<br />
input02 DP ID:112<br />
input03 DP ID:113<br />
input04 DP ID:114<br />
input05 DP ID:115<br />
input06 DP ID:116<br />
input07 DP ID:117<br />
input08 DP ID:118<br />
input09 DP ID:119<br />
input10 DP ID:120<br />
input11 DP ID:121<br />
input12 DP ID:122<br />
input13 DP ID:123<br />
input14 DP ID:124<br />
input15 DP ID:125<br />
input16 DP ID:126]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Questions and requests]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=4347</link>
			<pubDate>Fri, 16 Feb 2024 21:30:53 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=3894">tech1977</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=4347</guid>
			<description><![CDATA[Hi,<br />
I received the board, It seems like a great relay board to me <img src="https://www.kincony.com/forum/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
-can the ETH WEB Server work together with tuya?<br />
-can analog inputs work with Tuya?<br />
-How can I use an contact input with a physical button to turn all the others off and on all the relays together?<br />
-why with Alexa if I say turn off or turn on all E16T does it turn on and off only the first 4 relays?<br />
-why are the 16 channels not dry contact but 24v?<br />
<br />
Thanks for support]]></description>
			<content:encoded><![CDATA[Hi,<br />
I received the board, It seems like a great relay board to me <img src="https://www.kincony.com/forum/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" /><br />
<br />
-can the ETH WEB Server work together with tuya?<br />
-can analog inputs work with Tuya?<br />
-How can I use an contact input with a physical button to turn all the others off and on all the relays together?<br />
-why with Alexa if I say turn off or turn on all E16T does it turn on and off only the first 4 relays?<br />
-why are the 16 channels not dry contact but 24v?<br />
<br />
Thanks for support]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-E16T  wiring diagram]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3278</link>
			<pubDate>Tue, 19 Sep 2023 14:14:47 +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=3278</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=3079" target="_blank" title="">E16T.jpg</a> (Size: 626.56 KB / Downloads: 1556)
<!-- 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=3079" target="_blank" title="">E16T.jpg</a> (Size: 626.56 KB / Downloads: 1556)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-E16T Factory Original Firmware added RF remote code]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3170</link>
			<pubDate>Mon, 21 Aug 2023 10:09:11 +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=3170</guid>
			<description><![CDATA[Here is Factory Original Firmware for KC868-E16T. You can use Tuya mobile phone application directly. it supprt remote control by internet and manual control buttons and on board. Support learn RF signal send control for relay.<br />
<br />
firmware BIN file download: <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2866" target="_blank" title="">E16T-RF-Tuya.zip</a> (Size: 416.47 KB / Downloads: 944)
<!-- end: postbit_attachments_attachment --><br />
<br />
about ESP flash tool download link and details see here : <a href="https://www.kincony.com/esp-module-flash-download-tools.html" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/esp-module-flash...tools.html</a><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=2867" target="_blank" title="">E16T-firmware-download.png</a> (Size: 33.02 KB / Downloads: 2096)
<!-- end: postbit_attachments_attachment --><br />
<br />
arduino source code download:<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=2868" target="_blank" title="">E16T-Tuya-RF.zip</a> (Size: 5.6 KB / Downloads: 913)
<!-- end: postbit_attachments_attachment --><br />
<br />
How does KC868-E16T learn wireless signals see here: <a href="https://www.kincony.com/forum/showthread.php?tid=3169" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=3169</a><br />
<br />
<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/lDfGvF99Hzc" frameborder="0" allowfullscreen="true"></iframe>]]></description>
			<content:encoded><![CDATA[Here is Factory Original Firmware for KC868-E16T. You can use Tuya mobile phone application directly. it supprt remote control by internet and manual control buttons and on board. Support learn RF signal send control for relay.<br />
<br />
firmware BIN file download: <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/zip.png" title="ZIP File" border="0" alt=".zip" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2866" target="_blank" title="">E16T-RF-Tuya.zip</a> (Size: 416.47 KB / Downloads: 944)
<!-- end: postbit_attachments_attachment --><br />
<br />
about ESP flash tool download link and details see here : <a href="https://www.kincony.com/esp-module-flash-download-tools.html" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/esp-module-flash...tools.html</a><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=2867" target="_blank" title="">E16T-firmware-download.png</a> (Size: 33.02 KB / Downloads: 2096)
<!-- end: postbit_attachments_attachment --><br />
<br />
arduino source code download:<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=2868" target="_blank" title="">E16T-Tuya-RF.zip</a> (Size: 5.6 KB / Downloads: 913)
<!-- end: postbit_attachments_attachment --><br />
<br />
How does KC868-E16T learn wireless signals see here: <a href="https://www.kincony.com/forum/showthread.php?tid=3169" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/forum/showthread.php?tid=3169</a><br />
<br />
<iframe width="560" height="315" src="//www.youtube-nocookie.com/embed/lDfGvF99Hzc" frameborder="0" allowfullscreen="true"></iframe>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How does KC868-E16T learn wireless signals]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3169</link>
			<pubDate>Mon, 21 Aug 2023 10:05:40 +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=3169</guid>
			<description><![CDATA[Download the following program, you can turn on and turn off the relays by a wireless remoter<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=2865" target="_blank" title="">E16T-test-2022_RF_study.zip</a> (Size: 5.88 KB / Downloads: 732)
<!-- 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=2863" target="_blank" title="">key01.jpg</a> (Size: 534.75 KB / Downloads: 1075)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2864" target="_blank" title="">key16.jpg</a> (Size: 539.9 KB / Downloads: 1035)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Download the following program, you can turn on and turn off the relays by a wireless remoter<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=2865" target="_blank" title="">E16T-test-2022_RF_study.zip</a> (Size: 5.88 KB / Downloads: 732)
<!-- 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=2863" target="_blank" title="">key01.jpg</a> (Size: 534.75 KB / Downloads: 1075)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2864" target="_blank" title="">key16.jpg</a> (Size: 539.9 KB / Downloads: 1035)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How can Smart switch panel with rs485 with KC868-E16T and other product]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2532</link>
			<pubDate>Sun, 22 Jan 2023 20:33:14 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=489">engmohades</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2532</guid>
			<description><![CDATA[How can Smart switch panel be used and programmed with the KC868-E16T<br />
Attached is a picture and the attachment of the protocol<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=1783" target="_blank" title="">12.jpg</a> (Size: 118.92 KB / Downloads: 1725)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1782" target="_blank" title="">Switch RS 485 protocal.pdf</a> (Size: 966.55 KB / Downloads: 9387)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[How can Smart switch panel be used and programmed with the KC868-E16T<br />
Attached is a picture and the attachment of the protocol<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=1783" target="_blank" title="">12.jpg</a> (Size: 118.92 KB / Downloads: 1725)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1782" target="_blank" title="">Switch RS 485 protocal.pdf</a> (Size: 966.55 KB / Downloads: 9387)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-E16T Factory Original Firmware for Tuya App]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2421</link>
			<pubDate>Wed, 30 Nov 2022 10:02:49 +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=2421</guid>
			<description><![CDATA[Here is Factory Original Firmware for KC868-E16T. You can use Tuya mobile phone application directly. it supprt remote control by internet and manual control buttons on board.<br />
<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=1637" target="_blank" title="">KC868-E16T_tuya.nodemcu-32s.zip</a> (Size: 116.22 KB / Downloads: 1000)
<!-- end: postbit_attachments_attachment --><br />
<br />
some people after downloaded ESPHome firmware for home assistant, if you want to use tuya app again, you can download the  Factory Original Firmware for recovery.<br />
<br />
about ESP flash tool download link and details see here : <a href="https://www.kincony.com/esp-module-flash-download-tools.html" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/esp-module-flash...tools.html</a><br />
<br />
need add 4 files,set the address like the   picture <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=2462" target="_blank" title="">111.png</a> (Size: 42.17 KB / Downloads: 2809)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Here is Factory Original Firmware for KC868-E16T. You can use Tuya mobile phone application directly. it supprt remote control by internet and manual control buttons on board.<br />
<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=1637" target="_blank" title="">KC868-E16T_tuya.nodemcu-32s.zip</a> (Size: 116.22 KB / Downloads: 1000)
<!-- end: postbit_attachments_attachment --><br />
<br />
some people after downloaded ESPHome firmware for home assistant, if you want to use tuya app again, you can download the  Factory Original Firmware for recovery.<br />
<br />
about ESP flash tool download link and details see here : <a href="https://www.kincony.com/esp-module-flash-download-tools.html" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/esp-module-flash...tools.html</a><br />
<br />
need add 4 files,set the address like the   picture <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=2462" target="_blank" title="">111.png</a> (Size: 42.17 KB / Downloads: 2809)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-E16T demo configure for ESPhome]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2318</link>
			<pubDate>Mon, 26 Sep 2022 22:03:22 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1">admin</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=2318</guid>
			<description><![CDATA[<!-- 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=1437" target="_blank" title="">Made_for_ESPHome_KC868-E16T.zip</a> (Size: 887 bytes / Downloads: 1022)
<!-- end: postbit_attachments_attachment --><br />
<br />
esphome:<br />
  name: kc868-e16t<br />
  platform: ESP32<br />
  board: esp32dev<br />
  <br />
  <br />
# Example configuration entry for ESP32<br />
i2c:<br />
  sda: 16<br />
  scl: 15<br />
  scan: true<br />
  id: bus_a<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 />
  # Optional manual IP<br />
#  manual_ip:<br />
#    static_ip: 192.168.1.199<br />
#    gateway: 192.168.1.1<br />
#    subnet: 255.255.255.0  <br />
<br />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8<br />
    address: 0x21<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8<br />
    address: 0x22<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for input channel 9-16<br />
    address: 0x24<br />
<br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "e16t-output1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "e16t-input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:]]></description>
			<content:encoded><![CDATA[<!-- 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=1437" target="_blank" title="">Made_for_ESPHome_KC868-E16T.zip</a> (Size: 887 bytes / Downloads: 1022)
<!-- end: postbit_attachments_attachment --><br />
<br />
esphome:<br />
  name: kc868-e16t<br />
  platform: ESP32<br />
  board: esp32dev<br />
  <br />
  <br />
# Example configuration entry for ESP32<br />
i2c:<br />
  sda: 16<br />
  scl: 15<br />
  scan: true<br />
  id: bus_a<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 />
  # Optional manual IP<br />
#  manual_ip:<br />
#    static_ip: 192.168.1.199<br />
#    gateway: 192.168.1.1<br />
#    subnet: 255.255.255.0  <br />
<br />
<br />
# Example configuration entry<br />
pcf8574:<br />
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8<br />
    address: 0x21<br />
<br />
  - id: 'pcf8574_hub_out_2'  # for output channel 9-16<br />
    address: 0x25<br />
<br />
  - id: 'pcf8574_hub_in_1'  # for input channel 1-8<br />
    address: 0x22<br />
<br />
  - id: 'pcf8574_hub_in_2'  # for input channel 9-16<br />
    address: 0x24<br />
<br />
# Individual outputs<br />
switch:<br />
  - platform: gpio<br />
    name: "e16t-output1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_1<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 0<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 1<br />
      mode: OUTPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-output11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 2<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 3<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 4<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 5<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 6<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
  - platform: gpio<br />
    name: "e16t-output16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_out_2<br />
      number: 7<br />
      mode: OUTPUT<br />
      inverted: true<br />
      <br />
binary_sensor:<br />
  - platform: gpio<br />
    name: "e16t-input1"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input2"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input3"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input4"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input5"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input6"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input7"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input8"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_1<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input9"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 0<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input10"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 1<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input11"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 2<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input12"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 3<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input13"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 4<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input14"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 5<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input15"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 6<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
  - platform: gpio<br />
    name: "e16t-input16"<br />
    pin:<br />
      pcf8574: pcf8574_hub_in_2<br />
      number: 7<br />
      mode: INPUT<br />
      inverted: true<br />
<br />
# Enable logging<br />
logger:<br />
<br />
# Enable Home Assistant API<br />
api:]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-E16T ESP32 and Tuya I/O pin define]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=2317</link>
			<pubDate>Mon, 26 Sep 2022 22:00:39 +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=2317</guid>
			<description><![CDATA[ANALOG_A1  GPIO36<br />
ANALOG_A2  GPIO35<br />
ANALOG_A3  GPIO34<br />
ANALOG_A4  GPIO39<br />
<br />
IIC SDA:GPIO16<br />
IIC SCL:GPIO15<br />
<br />
PCF8574:U27 (relay1-8): 100 001 = 0x21<br />
PCF8574:U28 (relay9-16): 100 101 = 0x25<br />
<br />
PCF8574:U23 (DI1-8): 100 010 = 0x22<br />
PCF8574:U24 (DI9-16): 100 100 = 0x24<br />
<br />
RF433MHz wireless receiver: GPIO4<br />
<br />
BEEP:GPIO2<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 />
RS485: <br />
RXD:GPIO13<br />
TXD:GPIO32<br />
<br />
TUYA wifi module (3.3v TTL level):<br />
RXD:GPIO14<br />
TXD:GPIO33<br />
LED: GPIO12]]></description>
			<content:encoded><![CDATA[ANALOG_A1  GPIO36<br />
ANALOG_A2  GPIO35<br />
ANALOG_A3  GPIO34<br />
ANALOG_A4  GPIO39<br />
<br />
IIC SDA:GPIO16<br />
IIC SCL:GPIO15<br />
<br />
PCF8574:U27 (relay1-8): 100 001 = 0x21<br />
PCF8574:U28 (relay9-16): 100 101 = 0x25<br />
<br />
PCF8574:U23 (DI1-8): 100 010 = 0x22<br />
PCF8574:U24 (DI9-16): 100 100 = 0x24<br />
<br />
RF433MHz wireless receiver: GPIO4<br />
<br />
BEEP:GPIO2<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 />
RS485: <br />
RXD:GPIO13<br />
TXD:GPIO32<br />
<br />
TUYA wifi module (3.3v TTL level):<br />
RXD:GPIO14<br />
TXD:GPIO33<br />
LED: GPIO12]]></content:encoded>
		</item>
	</channel>
</rss>