Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kincony a-16 using esphome toggle relays at boot up time
#1
I am using kincony a16 with 16 relay board with esphome running but at the boot time all the relays  toggle  and make the relays on and off ...is their a way to stop this in the software side..this is become a big problem for me due all the appliance connect to relays suddenly become active and then turn off at the a16 booting up....below is my config


Code:
substitutions:
  name: kc868-a16

esphome:
  name: ${name}
  name_add_mac_suffix: false
 
  project:
    name: kincony.kc868-a16
    version: "1"

esp32:
  board: esp32dev


web_server:
  port: 80

dashboard_import:
  package_import_url: github://hzkincony/kc868-a16/kc868-a16.yaml@main

ota:
  password: "1234"

wifi:
  ssid: "router"
  password: "1234"
  use_address: 192.168.8.114
  manual_ip:
    static_ip: 192.168.8.114
    gateway: 192.168.8.1
    subnet: 255.255.255.0
# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 5
  scan: false
  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: 0x24

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

  - id: "pcf8574_hub_in_1" # for input channel 1-8
    address: 0x21

  - id: "pcf8574_hub_in_2" # for input channel 9-16
    address: 0x22



# Individual outputs
switch:

  - platform: gpio
    name: "light2"
    id: light2
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 1
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light3"
    id: light3
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 2
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light4"
    id: light4
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 3
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light5"
    id: light5
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 4
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light6"
    id: light6
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 5
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light7"
    id: light7
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 6
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light8"
    id: light8
    pin:
      pcf8574: pcf8574_hub_out_1
      number: 7
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light9"
    id: light9
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 0
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light10"
    id: light10
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 1
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light11"
    id: light11
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 2
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light12"
    id: light12
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 3
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light13"
    id: light13
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 4
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light14"
    id: light14
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 5
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light15"
    id: light15
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 6
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light16"
    id: light16
    pin:
      pcf8574: pcf8574_hub_out_2
      number: 7
      mode: OUTPUT
      inverted: false
Reply


Messages In This Thread
Kincony a-16 using esphome toggle relays at boot up time - by nikhuge - 09-27-2022, 01:59 PM

Forum Jump:


Users browsing this thread: