aronsky / esphome-components

Custom components for ESPHome
MIT License
38 stars 33 forks source link

I connected one lamp, but can't connect the second one (both are controlled from ZhiJia) #13

Closed Privet-zdarova closed 2 months ago

Privet-zdarova commented 5 months ago

Thank you very much for your work! Please tell me what the problem might be. I was easily able to connect the pair to one chandelier, but the second lamp does not want to respond to the pair. Both are from the same manufacturer, but the controllers are of different power. (both are controlled correctly from the application). What could be the problem?

esphome:
  name: zhijia2
  friendly_name: ZhiJia2
  platformio_options:
    board_build.flash_mode: dio

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "m/xpQ80LJD19KIB6+etP7U5y759/qTuD1miAsXcU1m0="

ota:
  password: "19a4953b8fa0270d1c8a73510198a207"

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Zhijia Fallback Hotspot"
    password: "d2w473dgnR0A"

captive_portal:

external_components:
  # shorthand
  source: github://aronsky/esphome-components

light:
  - platform: ble_adv_light
    type: zhijia
    name: Kitcheiuhihyugiuh
    duration: 750
    default_transition_length: 0s