Git Product home page Git Product logo

Comments (4)

shmuelzon avatar shmuelzon commented on June 30, 2024

Hey,

Do you see messages being published on your MQTT bus at all? Do you see the values read from the BLE device sent on the ESP32-BLE/10:d0:7a:03:e7:83/Features/OP_SWITCH_INPUT topic?
Debug logs will be very helpful here, you can enable them by executing idf.py menuconfig and go to "Component config" -> "Log output" and change "Default log verbosity" to "Debug"

from esp32-ble2mqtt.

whatdaybob avatar whatdaybob commented on June 30, 2024

from esp32-ble2mqtt.

whatdaybob avatar whatdaybob commented on June 30, 2024

Log file available here.

Couldn't trim it down as I didn't know what is useful or not.

In short it booted. Sat and did nothing except standard MQTT topic (the one with Uptime).

It then connected and created the read characteristics, then disconnected, it did this a few times. I then added /Set MQTT topics into the mix. Nothing happened.

from esp32-ble2mqtt.

shmuelzon avatar shmuelzon commented on June 30, 2024

Regarding the disconnections, I see the following messages: I (179034) BLE: Connection closed, reason = 0x13. 0x13 is Connection terminate by peer user. In any case, this project doesn't initiate disconnections (except when upgrading) so it's either really the peripheral or something in the ESP32 BLE implementation.

As for setting values, I don't see any MQTT messages arriving. There should be a log message like MQTT: Received: ESP32-BLE/10:d0:7a:03:e7:83/..... Are you sure you've published that message while the device is still connected?

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.