Git Product home page Git Product logo

Comments (5)

shmuelzon avatar shmuelzon commented on July 28, 2024 2

@lukeIam, Have you tried going through the Wiki page @GrumpyMeow has written?

from esp32-ble2mqtt.

GrumpyMeow avatar GrumpyMeow commented on July 28, 2024 1

Hi, I did manage to get the Comet Blue partially up & running. I’m still doing some optimizations in Home Assistant. I’ll update the wiki-page this weekend.

I just updated the Wiki-page showing how i send the pincode-auth.

from esp32-ble2mqtt.

shmuelzon avatar shmuelzon commented on July 28, 2024

Hey,

Unfortunately, this is an issue that has been plaguing me for a while now that I've still haven't been able to get to the root cause of it. It all boils down to the fact the the BLE library doesn't acknowledge that it successfully wrote to the ServiceChanged characteristic and so the app waits forever. I have a fix hack ready to avoid this but I'm not very keen on this solution. In the mean time, you can add 00002a05-0000-1000-8000-00805f9b34fb to the characteristic blacklist to avoid it altogether.

BTW - Regarding your configuration file, the characteristic definitions also need to be under a definitions object. Also, the poll field doesn't exist here and was only implemented in the Node version.

Let me know how it works out for you.

from esp32-ble2mqtt.

GrumpyMeow avatar GrumpyMeow commented on July 28, 2024

Hi,
Blacklisting the characteristic indeed worked.
I also noticed that my confiuration file was incorrect.
thanks!

from esp32-ble2mqtt.

lukeIam avatar lukeIam commented on July 28, 2024

@GrumpyMeow Did you get your comet blues running?
Im failing with the pin auth and getting multiple BLE: Failed reading characteristic, status = 0x2

I know that I need to send the encoded pin to 47e9ee30-47e9-11e4-8939-164230d1df67 first, before reading the other characteristics. But I haven't found the correct point in the code for that (currently trying with to inject my code in the beginning of the ble_foreach_characteristic function - but that seems not to work)

from esp32-ble2mqtt.

Related Issues (20)

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.