Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,864
» Latest member: jiso610
» Forum threads: 3,883
» Forum posts: 19,804

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 17 Guest(s)
AhrefsBot, Amazonbot, Applebot, Bytespider, Google, PetalBot, Yandex, bot

Latest Threads
New TA web interface unav...
Forum: TA
Last Post: pbouwen
2 hours ago
» Replies: 2
» Views: 10
AIO Hybrid wiring diagram
Forum: AIO Hybrid
Last Post: admin
8 hours ago
» Replies: 0
» Views: 4
false start with KC868 A1...
Forum: KC868-A16v3
Last Post: admin
Yesterday, 11:08 PM
» Replies: 1
» Views: 10
Interface T16M E/S et AIO
Forum: News
Last Post: admin
Yesterday, 11:05 PM
» Replies: 7
» Views: 90
KCS_Z1_V3.24.2.zip firmwa...
Forum: "KCS" v3 firmware
Last Post: admin
Yesterday, 02:37 AM
» Replies: 6
» Views: 73
KC868-COLB - How to Conne...
Forum: KC868-HxB series Smart Controller
Last Post: upstream
04-03-2026, 11:26 PM
» Replies: 6
» Views: 54
Instal ESP HA with ethern...
Forum: Getting Started with ESPHome and Home Assistant
Last Post: admin
04-03-2026, 11:09 PM
» Replies: 3
» Views: 34
KC868-A4 USB not detected...
Forum: KC868-A series and Uair Smart Controller
Last Post: stansvec
04-03-2026, 02:04 AM
» Replies: 4
» Views: 1,622
N10 wire case diagram for...
Forum: N10
Last Post: admin
04-03-2026, 12:22 AM
» Replies: 0
» Views: 12
"KCS" v2.2.20 firmware BI...
Forum: "KCS" v2 firmware system
Last Post: admin
04-03-2026, 12:15 AM
» Replies: 0
» Views: 61

Exclamation KC868-A2 with ESP32 Cam
Posted by: taalaibek - 06-13-2024, 07:05 AM - Forum: KC868-A2 - Replies (3)

I tried connect ESP32 Cam to KC868-A2 via I2C but doesn't work, can you help me please?
SDA (GPIO4) on the Kincony board to SDA (GPIO14) on the ESP32-CAM.
SCL (GPIO16) on the Kincony board to SCL (GPIO15) on the ESP32-CAM.
GND on the Kincony board to GND on the ESP32-CAM.
3.3V on the Kincony board to 3.3V on the ESP32-CAM.

initialization in mycropython:
i2c =machine.I2C(0, scl=machine.Pin(16), sda=machine.Pin(4))

Print this item

  KC868_A16 RS485
Posted by: lenguyentrong - 06-12-2024, 07:06 AM - Forum: KC868-A16 - Replies (1)

Can you advise how we can set up KC868_A16 working with RS485 by Arduino IDE? Thanks

Print this item

  Update via Ethernet with OTA
Posted by: Brouk - 06-12-2024, 06:45 AM - Forum: KC868-A16 - Replies (7)

In the specification https://esphome.io/components/ota.html it is stated "In that mode, all components are disabled and only Serial Logging + Network(WiFi or Ethernet) + OTA are initialized, so that you can upload a new binary ."

I have an A16 integrated with HomeAssistant. In ESPHome  new version of YAML can be downloaded to the A16 without any problems via USB cable. Update via Ethernet cable (same network, WiFi not available) ends with an error.

Is it possible to install the update via Ethernet? Please could you send me the OTA code for the YAML file of the A16 device?



Attached Files Thumbnail(s)
       
Print this item

  A8S and Modbus sensor
Posted by: milan.net - 06-10-2024, 10:34 AM - Forum: KC868-A8S - Replies (16)

Hello,

I would like to ask for help setting up A8S with RS485 Temperature and Humidity Sensor Modbus RTU Use By SHT30 an ESPHome

https://shop.kincony.com/products/rs485-...e-by-sht30

Thank you

Print this item

Lightbulb Request for Free Sample of KinCony Product for Project by TEXVO DEVELOPERS
Posted by: mickey - 06-08-2024, 05:28 PM - Forum: Apply for free sample product - No Replies

Dear KinCony Team,

I am reaching out to you on behalf of TEXVO DEVELOPERS, a company based in India that develops IoT smart control systems and solutions. We are very interested in your KC868-A4 ESP32 board and KC101 Tuya electronic DIY kit for an upcoming project.

Our project falls under the "Start a Project" category, as we plan to create an open-source software and hardware solution using KinCony products. This project aims to benefit the public welfare and education sectors by providing an accessible and user-friendly IoT solution.

We would greatly appreciate the opportunity to receive free samples of the KC868-A4 and KC101 to kickstart our project. These samples will allow us to test and integrate your products into our solution, ensuring compatibility and optimal performance.

As part of our commitment to the open-source community, we will share our project processes, results, and insights with others through the KinCony community forum. We believe that our achievements can help and inspire more people to adopt and benefit from IoT technologies.

If our application is approved, we would be happy to provide you with more details about our project and keep you updated on its progress. Additionally, as our project moves forward, we anticipate requiring bulk orders of KinCony products to scale our solution.

Please find below our company information:
Company Name: TEXVO DEVELOPERS
Website: https://texvo.co.in/
WhatsApp: +916294745109
Email: mickeypc94@gmail.com

Thank you for considering our request. We look forward to the possibility of collaborating with KinCony and creating a meaningful impact through our project.
Best regards,
Mickey Sharma
TEXVO DEVELOPERS

Print this item

  KC868-AM work with DS18B20 DHT11 sensor ESPHome yaml
Posted by: admin - 06-06-2024, 05:58 AM - Forum: KC868-AM - Replies (4)

Code:
esphome:
  name: am

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Example configuration entry
api:

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
 
  manual_ip:
    static_ip: 192.168.1.211
    gateway: 192.168.1.1
    subnet: 255.255.255.0

switch:
  - platform: gpio
    name: "am-light1"
    pin: 15
    inverted: False

sensor:
  - platform: dht
    pin: 33
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 10s


  - platform: dallas
    dallas_id: hub_1
    address: 0xde0b23585c42fb28
    name: "Temperature #1"
  - platform: dallas
    dallas_id: hub_1
    address: 0xd20b2210b8edbd28
    name: "Temperature #2"
  - platform: dallas
    dallas_id: hub_3
    address: 0x690b2210c2ff4a28
    name: "Temperature #3"
  - platform: dallas
    dallas_id: hub_2
    address: 0x3f0b2210c07d1b28
    name: "Temperature #4"


dallas:
  - pin: 5
    id: hub_1
    update_interval: 10s
  - pin: 13
    id: hub_2
    update_interval: 20s
  - pin: 14
    id: hub_3
    update_interval: 30s

yaml file download: 
.txt   esphome_AM.txt (Size: 1.13 KB / Downloads: 408)

Print this item

  add M30 to home assistant "Energy" dashboard
Posted by: admin - 06-05-2024, 12:19 PM - Forum: KC868-M16 / M1 / MB / M30 - Replies (2)

add all "kwh sensor" these two options:
state_class: total_increasing
device_class: energy

for example:
  - platform: modbus_controller
    state_class: total_increasing
    device_class: energy
    modbus_controller_id: modbus_hub_m30
    address: 121
    register_type: holding
    name: m30_1_energy_1
    id: m30_1_energy_1
    unit_of_measurement: kWh
    accuracy_decimals: 2
    value_type: U_WORD


   
   

Print this item

  Maximum Cable Length?
Posted by: speedmeup - 06-05-2024, 07:45 AM - Forum: KC868-AI - Replies (1)

Hi all!

What is the maximum cable length that can be used between the KCOM and each input terminals? Would 50 metres of AWG24 cable (0.215mm2 / 14/0.2mm stranded) be OK? How can we calculate the acceptable voltage drop? Thanks.

Print this item

  KC868-E8T added Tuya module yaml file for ESPHome
Posted by: admin - 06-05-2024, 04:32 AM - Forum: KC868-E8T - No Replies

Code:
esphome:
  name: e8t-tuya
  friendly_name: e8t-tuya
  platformio_options:
    board_build.extra_flags:
      # WIFI_CONTROL_SELF_MODE = 0
      # WIFI_CONTROL_SELF_MODE = 1
      - "-DWIFI_CONTROL_SELF_MODE=1"
  platform: ESP32
  board: esp32dev
  on_boot:  #Power chip BL0939 initialization
    priority: 600
    then:
      - uart.write:
          id: uart_1
          data: [0xA5, 0x39, 0x42, 0x00, 0x00, 0xDF]
      - delay: 1ms
      - uart.write:
          id: uart_1
          data: [0xA5, 0x38, 0x3C, 0x00, 0x00, 0xE6]
      - delay: 1ms
      - uart.write:
          id: uart_1
          data: [0xA5, 0x39, 0x42, 0x00, 0x00, 0xDF]
      - delay: 1ms
      - uart.write:
          id: uart_1
          data: [0xA5, 0x3A, 0x01, 0x00, 0x00, 0x1F]
      - delay: 1ms
      - uart.write:
          id: uart_1
          data: [0xA5, 0x39, 0x00, 0x00, 0x00, 0x21]

external_components:
  - source:
      type: git
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu
      ref: v1.1.0

uart:
  - id: uart_1
    tx_pin: GPIO12
    rx_pin: GPIO39
    baud_rate: 4800
    parity: NONE
    stop_bits: 2   
 
  # - id: uart_2
  #   tx_pin: GPIO33
  #   rx_pin: GPIO36
  #   baud_rate: 4800
  #   parity: NONE
  #   stop_bits: 2 

  - id: tuya_mcu_uart
    tx_pin: GPIO13
    rx_pin: GPIO16
    baud_rate: 9600

tuya_wifi_mcu:
  # tuya mcu product id
  product_id: d8vwzka9smrcjznp
  uart_id: tuya_mcu_uart
  wifi_reset_pin: 28
  wifi_led_pin: 16


# Enable logging
logger:
  # baud_rate: 0

# Enable Home Assistant API
api:

ota:
  password: "d83d604e4f0ae287fb041dbaf31524d9"


# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
 


sensor:
  - platform: bl0939
    uart_id: uart_1
    update_interval: 10s
    voltage:
      name: 'BL0939A Voltage'
    current_1:
      name: 'BL0939A Current 1'
    current_2:
      name: 'BL0939A Current 2'
    active_power_1:
      name: 'BL0939A Active Power 1'
    active_power_2:
      name: 'BL0939A Active Power 2'
    energy_1:
      name: 'BL0939A Energy 1'
    energy_2:
      name: 'BL0939A Energy 2'
    energy_total:
      name: 'BL0939A Energy Total'
     
     
     
  # - platform: bl0939
  #   uart_id: uart_2
  #   update_interval: 10s
  #   voltage:
  #     name: 'BL0939B Voltage'
  #   current_1:
  #     name: 'BL0939B Current 1'
  #   current_2:
  #     name: 'BL0939B Current 2'
  #   active_power_1:
  #     name: 'BL0939B Active Power 1'
  #   active_power_2:
  #     name: 'BL0939B Active Power 2'
  #   energy_1:
  #     name: 'BL0939B Energy 1'
  #   energy_2:
  #     name: 'BL0939B Energy 2'
  #   energy_total:
  #     name: 'BL0939B Energy Total'
     

# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a
 
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x24

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22

   
# Individual outputs
switch:
  - platform: gpio
    name: "e8t_output1"
    id: "e8t_output1"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output1-tuya
    dp_id: 1
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output1"


  - platform: gpio
    name: "e8t_output2"
    id: "e8t_output2"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output2-tuya
    dp_id: 2
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output2"
     
  - platform: gpio
    name: "e8t_output3"
    id: "e8t_output3"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output3-tuya
    dp_id: 3
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output3"
     
  - platform: gpio
    name: "e8t_output4"
    id: "e8t_output4"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output4-tuya
    dp_id: 4
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output4"
     
  - platform: gpio
    name: "e8t_output5"
    id: "e8t_output5"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output5-tuya
    dp_id: 5
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output5"
     
  - platform: gpio
    name: "e8t_output6"
    id: "e8t_output6"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output6-tuya
    dp_id: 6
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output6"

  - platform: gpio
    name: "e8t_output7"
    id: "e8t_output7"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output7-tuya
    dp_id: 123
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output7"
     
  - platform: gpio
    name: "e8t_output8"
    id: "e8t_output8"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e8t-output8-tuya
    dp_id: 124
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e8t_output8"

binary_sensor:
  - platform: gpio
    name: "e8t_input1"
    id: "e8t_input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input1 Tuya
    dp_id: 122
    bind_binary_sensor_id: e8t_input1
    internal: true

  - platform: gpio
    name: "e8t_input2"
    id: "e8t_input2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input2 Tuya
    dp_id: 121
    bind_binary_sensor_id: e8t_input2
    internal: true

  - platform: gpio
    name: "e8t_input3"
    id: "e8t_input3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input3 Tuya
    dp_id: 120
    bind_binary_sensor_id: e8t_input3
    internal: true

  - platform: gpio
    name: "e8t_input4"
    id: "e8t_input4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input4 Tuya
    dp_id: 119
    bind_binary_sensor_id: e8t_input4
    internal: true

  - platform: gpio
    name: "e8t_input5"
    id: "e8t_input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input5 Tuya
    dp_id: 118
    bind_binary_sensor_id: e8t_input5
    internal: true

  - platform: gpio
    name: "e8t_input6"
    id: "e8t_input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input6 Tuya
    dp_id: 117
    bind_binary_sensor_id: e8t_input6
    internal: true

  - platform: gpio
    name: "e8t_input7"
    id: "e8t_input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input7 Tuya
    dp_id: 116
    bind_binary_sensor_id: e8t_input7
    internal: true

  - platform: gpio
    name: "e8t_input8"
    id: "e8t_input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e8t_input8 Tuya
    dp_id: 115
    bind_binary_sensor_id: e8t_input8
    internal: true

web_server:
  port: 80

download yaml file: 
.txt   KC868-E8T-HA-Tuya.txt (Size: 8.39 KB / Downloads: 382)
   

Print this item

  KC868-E16T added Tuya module yaml file for ESPHome
Posted by: admin - 06-05-2024, 02:16 AM - Forum: KC868-E16T - Replies (8)

Code:
esphome:
  name: e16t
  platform: ESP32
  board: esp32dev
  platformio_options:
    board_build.extra_flags:
      # WIFI_CONTROL_SELF_MODE = 0
      # WIFI_CONTROL_SELF_MODE = 1
      - "-DWIFI_CONTROL_SELF_MODE=0"


external_components:
  - source:
      type: git
      url: https://github.com/hzkincony/esphome-tuya-wifi-mcu
      ref: v1.1.0

uart:
  tx_pin: 33
  rx_pin: 14
  id: tuya_mcu_uart
  baud_rate: 9600

tuya_wifi_mcu:
  # tuya mcu product id
  product_id: tfj1dtlneyxp5uya
  uart_id: tuya_mcu_uart
  wifi_reset_pin: 5
  wifi_led_pin: 12

 
# Example configuration entry for ESP32
i2c:
  sda: 16
  scl: 15
  scan: true
  id: bus_a


# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

# Example configuration entry
pcf8574:
  - id: 'pcf8574_hub_out_1'  # for output channel 1-8
    address: 0x21

  - id: 'pcf8574_hub_out_2'  # for output channel 9-16
    address: 0x25

  - id: 'pcf8574_hub_in_1'  # for input channel 1-8
    address: 0x22

  - id: 'pcf8574_hub_in_2'  # for input channel 9-16
    address: 0x24

# Individual outputs
switch:
  - platform: gpio
    name: "e16t_output1"
    id: "e16t_output1"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output1-tuya
    dp_id: 1
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output1"


  - platform: gpio
    name: "e16t_output2"
    id: "e16t_output2"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output2-tuya
    dp_id: 2
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output2"

  - platform: gpio
    name: "e16t_output3"
    id: "e16t_output3"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output3-tuya
    dp_id: 3
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output3"

  - platform: gpio
    name: "e16t_output4"
    id: "e16t_output4"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output4-tuya
    dp_id: 4
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output4"

  - platform: gpio
    name: "e16t_output5"
    id: "e16t_output5"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output5-tuya
    dp_id: 5
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output5"

  - platform: gpio
    name: "e16t_output6"
    id: "e16t_output6"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output6-tuya
    dp_id: 6
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output6"

  - platform: gpio
    name: "e16t_output7"
    id: "e16t_output7"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output7-tuya
    dp_id: 101
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output7"

  - platform: gpio
    name: "e16t_output8"
    id: "e16t_output8"
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output8-tuya
    dp_id: 102
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output8"

  - platform: gpio
    name: "e16t_output9"
    id: "e16t_output9"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 0
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output9-tuya
    dp_id: 103
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output9"

  - platform: gpio
    name: "e16t_output10"
    id: "e16t_output10"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 1
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output10-tuya
    dp_id: 104
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output10"

  - platform: gpio
    name: "e16t_output11"
    id: "e16t_output11"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 2
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output11-tuya
    dp_id: 105
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output11"

  - platform: gpio
    name: "e16t_output12"
    id: "e16t_output12"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 3
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output12-tuya
    dp_id: 106
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output12"

  - platform: gpio
    name: "e16t_output13"
    id: "e16t_output13"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 4
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output13-tuya
    dp_id: 107
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output13"

  - platform: gpio
    name: "e16t_output14"
    id: "e16t_output14"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 5
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output14-tuya
    dp_id: 108
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output14"

  - platform: gpio
    name: "e16t_output15"
    id: "e16t_output15"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 6
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output15-tuya
    dp_id: 109
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output15"

  - platform: gpio
    name: "e16t_output16"
    id: "e16t_output16"
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 7
      mode: OUTPUT
      inverted: true

  - platform: tuya_wifi_mcu
    name: e16t-output16-tuya
    dp_id: 110
    # hide from homeassistant ui
    internal: true
    # bind other switch, sync state
    bind_switch_id: "e16t_output16"

binary_sensor:
  - platform: gpio
    name: "e16t-input1"
    id: "e16t_input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 0
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI01 Tuya
    dp_id: 111
    bind_binary_sensor_id: e16t_input1
    internal: true

  - platform: gpio
    name: "e16t-input2"
    id: "e16t_input2"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 1
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI02 Tuya
    dp_id: 112
    bind_binary_sensor_id: e16t_input2
    internal: true

  - platform: gpio
    name: "e16t-input3"
    id: "e16t_input3"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 2
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI03 Tuya
    dp_id: 113
    bind_binary_sensor_id: e16t_input3
    internal: true

  - platform: gpio
    name: "e16t-input4"
    id: "e16t_input4"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 3
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI04 Tuya
    dp_id: 114
    bind_binary_sensor_id: e16t_input4
    internal: true

  - platform: gpio
    name: "e16t-input5"
    id: "e16t_input5"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 4
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI05 Tuya
    dp_id: 115
    bind_binary_sensor_id: e16t_input5
    internal: true

  - platform: gpio
    name: "e16t-input6"
    id: "e16t_input6"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 5
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI06 Tuya
    dp_id: 116
    bind_binary_sensor_id: e16t_input6
    internal: true

  - platform: gpio
    name: "e16t-input7"
    id: "e16t_input7"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 6
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI07 Tuya
    dp_id: 117
    bind_binary_sensor_id: e16t_input7
    internal: true

  - platform: gpio
    name: "e16t-input8"
    id: "e16t_input8"
    pin:
      pcf8574: pcf8574_hub_in_1
      number: 7
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI08 Tuya
    dp_id: 118
    bind_binary_sensor_id: e16t_input8
    internal: true

  - platform: gpio
    name: "e16t-input9"
    id: "e16t_input9"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 0
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI09 Tuya
    dp_id: 119
    bind_binary_sensor_id: e16t_input9
    internal: true

  - platform: gpio
    name: "e16t-input10"
    id: "e16t_input10"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 1
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI10 Tuya
    dp_id: 120
    bind_binary_sensor_id: e16t_input10
    internal: true

  - platform: gpio
    name: "e16t-input11"
    id: "e16t_input11"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 2
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI11 Tuya
    dp_id: 121
    bind_binary_sensor_id: e16t_input11
    internal: true

  - platform: gpio
    name: "e16t-input12"
    id: "e16t_input12"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 3
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI12 Tuya
    dp_id: 122
    bind_binary_sensor_id: e16t_input12
    internal: true

  - platform: gpio
    name: "e16t-input13"
    id: "e16t_input13"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 4
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI13 Tuya
    dp_id: 123
    bind_binary_sensor_id: e16t_input13
    internal: true

  - platform: gpio
    name: "e16t-input14"
    id: "e16t_input14"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 5
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI14 Tuya
    dp_id: 124
    bind_binary_sensor_id: e16t_input14
    internal: true

  - platform: gpio
    name: "e16t-input15"
    id: "e16t_input15"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 6
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI15 Tuya
    dp_id: 125
    bind_binary_sensor_id: e16t_input15
    internal: true

  - platform: gpio
    name: "e16t-input16"
    id: "e16t_input16"
    pin:
      pcf8574: pcf8574_hub_in_2
      number: 7
      mode: INPUT
      inverted: true
  - platform: tuya_wifi_mcu
    name: e16t DI16 Tuya
    dp_id: 126
    bind_binary_sensor_id: e16t_input16
    internal: true

# Enable logging
logger:

# Enable Home Assistant API
api:


download yaml file: 
.txt   E16T-HA-Tuya.txt (Size: 11.91 KB / Downloads: 490)

Print this item