Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
output turns off automaticly
#1
Hello, I have two Kincony A16 boards. Im using toggle buttons, but after some time output automatically turns off, and this happens with both Kincony boards with every output, wiring is good, what can be the reason? This how the code looks like:

esphome:
  name: esphome-web-af6e50
  friendly_name: Kincony2

esp32:
  board: esp32dev
  framework:
    type: arduino

# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "pbLoAOpRUI49e65b0pCUrVShaclU3bM38vlGfnNQ9YY="

ota:


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-Af6E50"
    password: "ajhfwy1kFdbc"

captive_portal:

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

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

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

  - id: 'pcf8574_input2'  # for input channel 9-16
    address: 0x21

esphome:
  name: esphome-web-b050e4
  friendly_name: Kincony1

esp32:
  board: esp32dev
  framework:
    type: arduino

# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 5
  scan: true
  id: bus_a

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "tBC8hXDhMHsgklwFmZerS9tVQP0p+6Qus3+OyUTj+Jo="

ota:


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esphome-Web-B050E4"
    password: "SziFua377JQb"

captive_portal:

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

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

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

  - id: 'pcf8574_input2'  # for input channel 9-16
    address: 0x21

# Outputs
switch:
  - platform: gpio
    id: livingroom 
    name: "Living room "
    pin:
      pcf8574: pcf8574_output2
      number: 7
      mode: OUTPUT
      inverted: true

# Inputs
binary_sensor:
  - platform: gpio
    name: "Living room switch"
    pin:
      pcf8574: pcf8574_input1
      number: 0
      mode: INPUT
      inverted: true
    on_press:
      then:
        - switch.toggle: livingroom
Reply
#2
ESPHome config yaml you can use this one: https://www.kincony.com/forum/showthread.php?tid=1628
take a photo of your whole board wire, board, power supply and load. maybe some hardware problem if you are using the ymal link given you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)