GithubHelp home page GithubHelp logo

Comments (4)

fsievers22 avatar fsievers22 commented on July 28, 2024

I have recently changed from Arduino framework to esp-idf framework. Since then the BLE address is hardcoded:

static esp_bd_addr_t ble_remote_address = {0x14,0x0A,0xC5,0xD0,0xD4,0xA2};

That is not an optimal solution and I will change that, but i have not much time at the moment.
So if you want to use this component you have to change that line in ble_hid_client.cpp.
The BLE-Client component of esphome has nothing to do with this component and you don't need it in your .yaml file to use this custom component.
I hope i could help you.

from esphome-ble-remote.

solomongumbie avatar solomongumbie commented on July 28, 2024

That helps a lot, thank you, but I have my ble address in another format similar to 00:11:22:33:FF:EE. Is there some way I should convert that?

from esphome-ble-remote.

fsievers22 avatar fsievers22 commented on July 28, 2024

No you can just put it in like so:static esp_bd_addr_t ble_remote_address = {0x00,0x11,0x22,0x33,0xFF,0xEE};

from esphome-ble-remote.

solomongumbie avatar solomongumbie commented on July 28, 2024

Thank you so much I got it working. May I ask if you have some form of long press detection setup in your HA configs?

from esphome-ble-remote.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.