-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
/get and /set issues #171
Comments
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 |
Yeah, the updates happen pretty regularly once connected, sweeps through and updates them all in order approximately 4 times then disconnects for about 40 seconds. Update notifications also work well and in real-time. I will get the debug logs to you as soon as I can.
Sent from Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Assaf Inbal ***@***.***>
Sent: Tuesday, January 10, 2023 7:18:29 AM
To: shmuelzon/esp32-ble2mqtt ***@***.***>
Cc: Martin Jones ***@***.***>; Author ***@***.***>
Subject: Re: [shmuelzon/esp32-ble2mqtt] /get and /set issues (Issue #171)
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"
—
Reply to this email directly, view it on GitHub<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fshmuelzon%2Fesp32-ble2mqtt%2Fissues%2F171%23issuecomment-1376829956&data=05%7C01%7C%7C607e80a6ba164543c6fc08daf2dae10d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638089319140191325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=oE46ftB14%2F3WjrM9Em4OkYjxW2VNalgFyYEBYIgzhDs%3D&reserved=0>, or unsubscribe<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABLJ34N7NKTOXXCYWSY5RB3WRUEMLANCNFSM6AAAAAATWGIBSY&data=05%7C01%7C%7C607e80a6ba164543c6fc08daf2dae10d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638089319140191325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=QJ3W6I5g1liV%2FxVmqyOZHeDRByDYSY8vU44o6nn8n9U%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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. |
Regarding the disconnections, I see the following messages: As for setting values, I don't see any MQTT messages arriving. There should be a log message like |
I have followed all the guides and have successfully set up an esp32 to connect and read characteristics but now am having 2 issues. I get intermittent disconnects on the BLE and I also can do a get or set request. Below is my configuration.
I try setting both
ESP32-BLE/10:d0:7a:03:e7:83/Features/OP_SWITCH_INPUT
andESP32-BLE/10:d0:7a:03:e7:83/Features/OP_SWITCH_INPUT/Set
but neither do anything. I can use GATT on a raspberry pi to change the input but nothing happens when I use the esp2mqtt software.I am unsure how to do debug logging as well, is this detailed anywhere?
The text was updated successfully, but these errors were encountered: