4 ms·
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 a
by leobg 2y ago
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.)
- cruffle_duffle 2y agoStupid question but couldn’t you just always plug it in and then automate the bit where it actually energizes the outlet?
- malmeloo 2y agoTechnically, yes! I have an experimental Home Assistant integration here, if you're into that stuff: https://github.com/malmeloo/hass-FindMy 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.
- enlightens 2y agoIf you literally mean when you return home, I’ve been running Shortcut automations triggered by leaving home and arriving home, using the built in “My Home” triggers. They don’t require confirmation and as best as I can tell have been completely reliable.