ESPresense stopped working after 2023.11! All Bluetooth beacons show as "not_home"

My ESPresense was working fine last Friday, Nov 3. But on the 5-6 after the 2023.11 it stopped working without any reason. I think is after the update, but I am not sure 100%.

  1. I use M5Atom (gray and white versions), a well as ESP32 dev board all update to the latest version 3.3.1
  2. I wiped them clean and installed again ESPresense, connect to my WiFi and put my MQTT username and password and they show up fine:



3. Here is the code for all my bluetooth devices that I have been using for the past 2 months:

- platform: mqtt_room
  device_id: "iBeacon:fb98e1f3-bd04-45ef-953d-04f28e891a60-100-1"
  name: 'avPhone'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "md:0901:9"
  name: 'Bose'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "2c71ffb43ed5"
  name: 'earBuds'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "aa000009db56"
  name: 'avBand'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "itag:ffff111886a0"
  name: 'itag'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "itag:ffff10366bec"
  name: 'iKitty'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "itag:5bec23fceca9"
  name: 'iSquare'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "itag:ffff109f045c"
  name: 'whiteRound'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

- platform: mqtt_room
  device_id: "itag:ffff10f6c291"
  name: 'blackRound'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

They all show as “not_home” now!

I have not changed anything, and 3-4 days ago everything was working fine! I have ESP device in each room and now all of them are online/connected, but none of the Bluetooth beacons show status where it is. It is “not_home” all the time?? Please helps!?

Hi @alexvalchev, its most probably not related to HA 2023.11 - rather than to the Espresence upgrade to 3.3.0/3.3.1 with a breaking change on the ‘espresence/rooms’.
You must now use 'espresence/devices/IRK …

Regards,
Stefan

2 Likes

I am confised… the device IDs are the same ?

For my phone is: device_id: “iBeacon:fb98e1f3-bd04-45ef-953d-04f28e891a60-100-1”

What do I need to change? The state topic only?

FROM:
- platform: mqtt_room
  device_id: "iBeacon:fb98e1f3-bd04-45ef-953d-04f28e891a60-100-1"
  name: 'avPhone'
  state_topic: 'espresense/rooms'
  timeout: 10
  away_timeout: 120

TO:
- platform: mqtt_room
  device_id: "irk:fb98e1f3-bd04-45ef-953d-04f28e891a60-100-1"
  name: 'avPhone'
  state_topic: 'espresense/devices/irk:fb98e1f3-bd04-45ef-953d-04f28e891a60-100-1'
  timeout: 10
  away_timeout: 120

Please helps?

OK I got it working. I only had to change 1 line:

FROM:
state_topic: 'espresense/rooms'
TO:
 state_topic: 'espresense/devices/iBeacon:fb98e1f3-bd04-45ef-953d-04f28e891a60-100-1'

Thank you :slight_smile:

I was wondering why my door didn’t unlock when I came home anymore! :rofl: Of course it’s an update. My car, my pc, my phone… Anything wrong is usually because of an update! But I am stuck and can’t get it working. I tried this code:

</s> <s> - platform: mqtt_room</s> <s> device_id: "iBeacon:secret-cf6d-4a0f-adf2-secret-1-1"</s> <s> state_topic: "espresense/devices/iBeacon:secret-cf6d-4a0f-adf2-secret-1-1"</s> <s> name: 'Wifey'</s> <s> away_timeout: 30</s> <s>
And it still shows “not home” on her (I’m not at home now, running over VPN and VNC, so I’m using her to experiment). I know it’s not the phone or the Espresense, because I get this if I listen to the topic in Node-RED:

</s> <s>espresense/devices/iBeacon:secret-cf6d-4a0f-adf2-secret-1-1/kitchen</s> <s>

Is there something I have forgotten in that sensor setup? I have tried both single and double quotes, but that should not matter at all, as long as I have the same type of quotes at the beginning and the end.

I had a weird error about in the log about the name of the devices, but that was fixed by a reboot.

Never mind. No idea what happened, but it’s suddenly working after a night’s sleep. Maybe because the Pi rebooted at 04, which is my “self healing” mechanism?