←back to thread

376 points nkko | 1 comments | | HN request time: 0.208s | source
Show context
leobg ◴[] No.42481030[source]
Can I use this, if I have an iPhone, to trigger actions on a server based on my location?

For example, “When I come home, fetch the latest electricity prices and notify me if I should plug in my Tesla”.

I tried that using Shortcuts, but they won’t run location based without confirmation. (There are some workarounds, but they, too, don’t work reliably in my experience.)

replies(3): >>42481331 #>>42481860 #>>42483559 #
1. malmeloo ◴[] No.42481860[source]
Technically, yes! I have an experimental Home Assistant integration here, if you're into that stuff: https://github.com/malmeloo/hass-FindMy

However, do note that AirTags put themselves into "nearby" mode when they're near an owner device, at which point they become untraceable to the FindMy network (the system where other iPhones are finding your AirTag and uploading its location). That also makes it invisible to this library. It is however still possible to detect it using the BLE signal it is broadcasting in nearby state, which is supported by the library but not yet by the HA integration.