Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unresponsive KC868-A16
#11
good day sir, i will try to install KCS SOFTWARE first if my A16 board will response ok. then i will install the ESP home yaml after if successful. i will inform you sir. thank you.
Reply
#12
ok
Reply
#13
Good day sir,

i have tested the KCS firwmware for myA16 and the ethernet port was ok, i tested the output, but as soon as i uploaded the ESPHOME yaml file on my homeassistant the ETHERNET port turns OFF or it becomes disabled. i dont know why.

Can you check the pictures below, check if the CODE for the LAN Ethernet port is correct? I used the same code for the LAN before and it works.. Maybe there is a correct CODE for LAN Ethernet port.

Please check and advise sir.

Thank you


Attached Files Image(s)
                           
Reply
#14
here is ESPhome config yaml for A16 board, you just directly to use:
Code:
esphome:
  name: a16
  platform: ESP32
  board: esp32dev


# Example configuration entry for ESP32
i2c:
  sda: 4
  scl: 5
  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: 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: "light1"
    pin:
      pcf8574: pcf8574_hub_out_1
      # Use pin number 0
      number: 0
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: false

  - platform: gpio
    name: "light9"
    pin:
      pcf8574: pcf8574_hub_out_2
      # Use pin number 0
      number: 0
      # One of INPUT or OUTPUT
      mode: OUTPUT
      inverted: false

binary_sensor:
  - platform: gpio
    name: "input1"
    pin:
      pcf8574: pcf8574_hub_in_1
      # Use pin number 0
      number: 0
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false

  - platform: gpio
    name: "input9"
    pin:
      pcf8574: pcf8574_hub_in_2
      # Use pin number 0
      number: 0
      # One of INPUT or OUTPUT
      mode: INPUT
      inverted: false

# Enable logging
logger:

# Enable Home Assistant API
api:
Reply
#15
I bought new board KC868-A16 in version 1.6 and i want install KCS SOFTWARE V2.2.2 in this board according online guide, but I have the following errors.
Please help me.


Attached Files Image(s)
       
Reply
#16
before you download firmware, you should remove RF433MHz receiver module from your A16 PCB. can you take a photo of your working A16 PCB.
Reply
#17
Now it's OK, thank you.
What's the easiest way to connect it with a home assistant?
Reply
#18
if you want A16 integrate to home assistant, use by ESPHome is easiest.
Reply


Forum Jump:


Users browsing this thread: