Comments (4)
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.
from esp32-ble2mqtt.
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.
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)
- Rate limit possible? HOT 3
- Issue trying to write characteristic to ThermoPro TP-25 HOT 8
- Unable to build HOT 6
- Switchbot meter broadcasters HOT 15
- What's the connection flow and how to control it? HOT 2
- How to set config.json can receive the encrypted broadcast advertise raw data? HOT 1
- Help needed: Vogel MotionMount not showing HOT 7
- Issuing commands to Opal Ice Maker HOT 3
- Connecting to a custom device is causing stack overflow crash HOT 5
- Setting values is not consitant HOT 10
- Maintain BLE connection on WiFi disconnect HOT 5
- Support repeating UUIDs HOT 7
- Ask for custom code/job HOT 1
- ESP32s3 HOT 5
- Configure Scanning? HOT 3
- BLE Advertisment publishing? HOT 3
- bug in ble2mqtt_task() function HOT 1
- How to Pair? HOT 1
- BLE Scan / certain broadcasters crash device HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-ble2mqtt.