ESP32 with Internal BLE for iBeacon #11601
-
Dear all, i try to set up my ESP32 (Lolin32 v1.0.0) with Tasmota (development 9.3.1.2 - self compiled) to detect my iBeacon devices. I have added the folliwing content to my
When ESP starts, it connects to Wifi, reports even iBeacon devices, but then crashes with panic message:
Has anyone an idea what I am doing wrong? Kind Regards |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 26 replies
-
You should also define USE_BLE_ESP32 |
Beta Was this translation helpful? Give feedback.
-
With adding the mentioned
If i use latest precompiled tasmota32-bluetooth build the beacons are detected as BLE devices,
|
Beta Was this translation helpful? Give feedback.
-
I think you enabled the previous (old) iBeacon implementation. This variant is not active maintained anymore. Since there are a lot of changes in the now used Arduino core and the actual NimBLE version it is no surprise it is not working anymore. Since issues in older Arduino Core the old iBeacon never worked reliable over a longer period (days). |
Beta Was this translation helpful? Give feedback.
-
@Jason2866: With "old iBeacon implementation" you mean Detecting iBeacon's with ESP32 internal BLE via Tasmota would be a pretty cool feature. So i need to wait until someone is going to get it work again. Unfortunately I am not able to do this. :) |
Beta Was this translation helpful? Give feedback.
-
According to this https://btsimonh.github.io/docs/ble/Bluetooth-Esp32/ |
Beta Was this translation helpful? Give feedback.
-
@oliver-koch - use the command 'iBeacon 1' to enable the iBeacon functionality. It's disabled by default so that we could have it compiled in, but many people don't want it's messages. You may also like to use 'BLEAlias MAC=Name' to name your beacons, and 'iBeaconOnlyAliased 1' - then you would only get iBeacon messages for devices which you Actually want to hear.... |
Beta Was this translation helpful? Give feedback.
-
Thank you very much @Jason2866 and @btsimonh! Got it work when adding
@btsimonh: As you can see in the output only one of my iBeacons UID is reported in Tasmota, but i have ~15 different. My iBeacon configuration is the following: I have ~15 iBeacon Devices using all the same UID, but different Major and Minor values.
I am not sure, if i use the concept of UUID,Major,Minor in a correct way, but i would be cool, that i can see all my iBeacons in Tasmota using same UID and displaying different Major and Minor IDs. Maybe this can be adapted? |
Beta Was this translation helpful? Give feedback.
-
Thx barbudor for detailed infos about. With this knowledge imho a PR to change this in Tasmota would be a good thing. The changes are minimal what i have seen in the special build from btsimonh. |
Beta Was this translation helpful? Give feedback.
@oliver-koch - use the command 'iBeacon 1' to enable the iBeacon functionality. It's disabled by default so that we could have it compiled in, but many people don't want it's messages. You may also like to use 'BLEAlias MAC=Name' to name your beacons, and 'iBeaconOnlyAliased 1' - then you would only get iBeacon messages for devices which you Actually want to hear....
These commands can be put into an 'autoexec.bat' uploaded to the filesystem.
The discord chat on BLE is a good place to get help on the internal BLE....
Please report on your usage :). We've not heard many stories about iBeacon usage yet....