Unknown status of esp32 after instaling too many components ( i gues )

hi guys, I need some advice please. I installed and connected a lot of components to the ESP32 lilin lite with cables. I don’t know, I just think. And the esp32 got into a state where it doesn’t log in to me, it’s still Unknown.

This is my yaml:

esphome:
  name: esp32-lolin-kupelna-hub
  friendly_name: esp32 lolin kupelna hub

esp32:
  board: lolin32_lite
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "mtmfzRHcJWvDh2ahFFL38w77Wn517BL+HVS4jz2ST74="

ota:
  password: "f0b89511c3268ac794a2ddb75e04bf7a"

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


captive_portal:

# Example configuration entry

i2c:
   - id: bus_a
     sda: GPIO22
     scl: GPIO19
     scan: true
   - id: bus_b
     sda: GPIO18
     scl: GPIO23
     scan: true

sensor:
  - platform: aht10
    i2c_id: bus_a
    temperature:
      name: "Kupelna teplota vana"
    humidity:
      name: "Kupelna vlhkost vana"
    update_interval: 1s


  - platform: aht10
    i2c_id: bus_b
    temperature:
      name: "Kupelna teplota susicka"
    humidity:
      name: "Kupelna vlhkost susicka"
    update_interval: 1s
    
  - platform: ld2410
    light:
      name: Light
    moving_distance:
      name : "Moving distance (cm)"
    still_distance:
      name: "Still Distance (cm)"
    moving_energy:
      name: "Move Energy (%)"
    still_energy:
      name: "Still Energy (%)"
    detection_distance:
      name: "Distance Detection (cm)"
    g0:
      move_energy:
        name: g0 move energy
      still_energy:
        name: g0 still energy
    g1:
      move_energy:
        name: g1 move energy
      still_energy:
        name: g1 still energy
    g2:
      move_energy:
        name: g2 move energy
      still_energy:
        name: g2 still energy
    g3:
      move_energy:
        name: g3 move energy
      still_energy:
        name: g3 still energy
    g4:
      move_energy:
        name: g4 move energy
      still_energy:
        name: g4 still energy
    g5:
      move_energy:
        name: g5 move energy
      still_energy:
        name: g5 still energy
    g6:
      move_energy:
        name: g6 move energy
      still_energy:
        name: g6 still energy
    g7:
      move_energy:
        name: g7 move energy
      still_energy:
        name: g7 still energy
    g8:
      move_energy:
        name: g8 move energy
      still_energy:
        name: g8 still energy

switch:

  - platform: gpio
    pin: GPIO26
    name: "LED kupelna"
    id: led_kupelna
    restore_mode: ALWAYS_OFF

  - platform: gpio
    pin: GPIO27
    name: "Odsavani kupelna"
    id: odsavani_kupelna
    restore_mode: ALWAYS_OFF

  - platform: gpio
    pin: GPIO33
    name: "LED WC"
    id: led_wc
    restore_mode: ALWAYS_OFF

  - platform: gpio
    pin: GPIO32
    name: "Odsavani WC"
    id: odsavani_wc
    restore_mode: ALWAYS_OFF

  - platform: gpio
    pin: GPIO14
    name: "LED chodba"
    id: led_chodba
    restore_mode: ALWAYS_OFF

  - platform: ld2410
    engineering_mode:
      name: "Engineering Mode"
    bluetooth:
      name: "Control Bluetooth"

ld2410:
  uart_id: ld2410_uart
  throttle: 1500ms
  id: ld2410_comp

binary_sensor:
  - platform: ld2410
    has_target:
      name: Presence
    has_moving_target:
      name: Moving Target
    has_still_target:
      name: Still Target
    out_pin_presence_status:
      name: out pin presence status


  
number:
  - platform: ld2410
    timeout: 
      name: Timeout
    light_threshold:
      name: Light Threshold
    max_move_distance_gate:
      name: Max Move Distance Gate
    max_still_distance_gate:
      name: Max Still Distance Gate
    g0:
      move_threshold:
        name: g0 move threshold
      still_threshold:
        name: g0 still threshold
    g1:
      move_threshold:
        name: g1 move threshold
      still_threshold:
        name: g1 still threshold
    g2:
      move_threshold:
        name: g2 move threshold
      still_threshold:
        name: g2 still threshold
    g3:
      move_threshold:
        name: g3 move threshold
      still_threshold:
        name: g3 still threshold
    g4:
      move_threshold:
        name: g4 move threshold
      still_threshold:
        name: g4 still threshold
    g5:
      move_threshold:
        name: g5 move threshold
      still_threshold:
        name: g5 still threshold
    g6:
      move_threshold:
        name: g6 move threshold
      still_threshold:
        name: g6 still threshold
    g7:
      move_threshold:
        name: g7 move threshold
      still_threshold:
        name: g7 still threshold
    g8:
      move_threshold:
        name: g8 move threshold
      still_threshold:
        name: g8 still threshold

button:
  - platform: ld2410
    factory_reset:
      name: "Factory Reset"
    restart:
      name: Restart
    query_params:
      name: "Query Params"

text_sensor:
  - platform: ld2410
    version:
      name: "Presence Sensor Version"
    mac_address:
      name: "Presence Sensor MAC Address"

select:
  - platform: ld2410
    distance_resolution:
      name: Distance Resolution
    baud_rate:
      name: Baud Rate
    light_function:
      name: Light Function
    out_pin_level:
      name: Out Pin Level

uart:
  id: ld2410_uart
  tx_pin: GPIO16
  rx_pin: GPIO17
  baud_rate: 256000
  parity: NONE
  stop_bits: 1

thaks for you help guys.

Please repost your code and use code blocks. Edit your post, select all of your YAML code, and click the code block icon < / > or follow this guide. Markdown Cheatsheet · adam-p/markdown-here Wiki · GitHub

1 Like

Can you still reflash it using usb?

Try commenting out most of your code and seeing if you can flash a minimal config?

hi Mahko,

thanks for your reply.

Ive tired it yesterday.
It helps, I found out that problem goes from cable interference between sda, scl, vcc and gnd cable on aht 10
what do you think about it?
have you seen it before?

I’m not very good with that I’m afraid.

With i2c I understand you need to keep cables short and soldering can help.

its ok
I made it
just cross cable vcc with sda and gnd with scl and it works
:sunglasses:

1 Like