HELP: How to unenroll devices in Espresense?

ESPresence was working normally for me until I enrolled a couple devices that I’d previously manually added using the macOS lookup method and entering the hex code in the BLE section. After enrolling the devices that had previously been added to the BLE section, all my bluetooth beacons stopped getting detected. I don’t know if enrolling duplicate devices caused the problem; all I really know is that the problem is temporally associated with the change I made - I made a change and it stopped working.

So, now I’m trying to un-enroll those devices, but there is no “un-enroll” option on the ESPresense UI page (see screenshot). I tried completely erasing the ESP32 boards and reinstalling ESPresense. I also deleted all the entities in Home Assistant and rebooted. That didn’t work. Somehow the enrolled devices were retained after re-installing ESPresense (as seen in the screenshot).

Can anyone either:

  1. Explain to me how to un-enroll ESPresense devices, or
  2. Have an explanation for the problem I’m having?

I think I figured it out. Needed to delete all the MQTT instances. Did that in MQTT explorer.

1 Like

I might have the same problem.
After I enrolled my iPhone, it was no longer tracked.

I eventually figured it out. In HA, I used my “espresense/devices/irk…” for the sensor. During the “Enroll” process in ESP, I also used IRK as the name. After that, nothing worked.
The issue was that an alias was created starting with “irk_(…)”, but my HA expected “irk:(…)”. The difference was the “:” and “_”.

What I still don’t know:
How do I delete the “Enroll” entry? Or how do I adjust it afterward?

Have you ever found a solution for this? I have been reading up on it on the internet, but most times I’m seeing someone suggesting using MQTT to remove the enrollment from /espresense/settings/. When I look at my mqtt explorer there is no settings key. Devices / Rooms / Companion, it’s all there but no settings.

I have bought a new phone. My old one goes to my wife and hers has to be deleted. How does this work? I can just enroll with a new name, but that messes things up.

Firmware 3.3.6b1 adds a feature to delete / edit devices, but if I install that, it doesn’t allow me to get to the extra settings section. Too many redirects error is given. Known issue, multiple bug reports on it, but not a real solution besides going to a FW which doesn’t have the edit/delete feature.


Edit: 9 hours ago b3 got released which enables editing and deleting a device. Way cool