I have espresense setup to track my dog using a PawScout BLE device. It works great for a day and then stops because the iBeacon id changes by one number. It’s always one of the first 2 numbers with the rest of the long string remaining the same.
I would first check to see if you can stop the beacon from doing that. Try looking into that beacon’s setup instructions. My guess is that it is purposely triggering this change based on motion of the beacon. So you might be able to stop this by turning OFF the motion sensor in the beacon (using their config app).
Your idea about entering the uuid with a wildcard in that position sounds good too, but my guess is that this is not possible. HA experts can address this.
Another idea: Maybe just have the ESP search for BOTH of those UUIDs.
I’ve got the Pawscouts as well and have the exact same issue.
I couldn’t see any way to control any setting/capability on the tag (they are pretty cheap tags). If you find some method, please post it here.
In the mean time, my solution is the same as what Thomas has said - effectively assume it is 2 tags (on the same collar) and if “either” of the tags is reporting HOME, then the dog is home.
One of my iphones is doing just that. Bouncing between 2 ids. I use a template sensor to decipher the two. You will need to create 2 mqtt_room sensors though.
Yes, the BC04P will definitely work with HA as well.
Re the second UUID: Their website is a little thin on technical details; I guess for good reason to keep it simple for regular consumers.
Other than the “outdoor leash” thing, maybe it has something to do with the lost dog feature? So the beacon is broadcasting the regular UUID and also the modified UUID that other people’s apps will see? Just a wild guess. Seems like you would not be able to turn that one off though.
I also see that duceduc just replied with some HA specific solution. Yay!
I know this is an old post but is anyone still using PawScouts with ESPresence? I see the iBeacons in the MQTT Explorer but they seem to not show in the rooms unless right next to the node else the show as not_home. Any way to setup the iBeacon as a BLE that ESP always looks for? Or get better updates?