Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lamp pairing - how? #15

Open
pery777 opened this issue Jun 13, 2024 · 4 comments
Open

Lamp pairing - how? #15

pery777 opened this issue Jun 13, 2024 · 4 comments

Comments

@pery777
Copy link

pery777 commented Jun 13, 2024

Hi,
I installed the script on the ESP32 board and added it to Home Assistant.
And... how to start pairing with the lamp?
I turn on the lamp and press the pairing button on the remote control.
How to enable pairing in ESPHOME?

my code:

esphome:
  name: sypialnia
  friendly_name: sypialnia
  platformio_options:
    board_build.flash_mode: dio

esp32:
  board: esp32dev
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "3t8cl3APajbfQqOx+s0km9+Ffdr4qj0+DcxxxxxMWEc="

ota:
  password: "2ea2a0a4ac63a554d20e5xxx91994dea"

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

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

captive_portal:


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

light:
  - platform: lampsmart_pro_light
    name: Kitchen Light
    duration: 1000
    default_transition_length: 0s

Przechwytywanie

Przechwytywanie1

I will be grateful for any help.

@aronsky
Copy link
Owner

aronsky commented Jun 13, 2024 via email

@pery777
Copy link
Author

pery777 commented Jun 13, 2024

I've been looking for how to enable pairing/finding the lamp in Home Assistant for several hours now :(

@aronsky
Copy link
Owner

aronsky commented Jun 13, 2024

In the sidebar of Home Assistant, click on "Developer tools". Then open the "Services" tab in the screen that appears. Look for a service named "esphome.ble_lights_pair_********", and call it. That's it (do it after powering on the light, when you'd normally use the "pair" button on the remote).

@aronsky
Copy link
Owner

aronsky commented Jun 13, 2024

Also, as I mentioned - there is an explanation in another issue. Please use the search feature.

#14 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants