Philips Hue Geofencing
Automatically trigger scenes when you arrive at or leave home — hands-free lighting automation.
How It Works
HueCommand uses Apple's CLMonitor region monitoring to detect when you cross a geographic boundary. When you arrive at or leave a location, the app automatically triggers the Hue scene you've assigned — no manual input required.
CLMonitor runs at the OS level, so it works even when HueCommand isn't actively open. Your iPhone continuously monitors your configured regions in the background with minimal overhead.
Setup Process
Setting up a geofence takes about 30 seconds:
- Pick a location — Use the built-in map picker to drop a pin at your home, office, or any address. Search by name or tap directly on the map.
- Set the radius — Choose how large the geofence boundary is. A smaller radius triggers closer to your door; a larger one triggers earlier as you approach.
- Assign arrive scene — Select which Hue scene activates when you enter the zone. "Energize" for the office, "Relax" for home — whatever you want.
- Assign leave scene — Optionally set a scene (or turn lights off) when you leave. Most people use this to turn everything off when they head out.
Arrive & Leave Triggers
Each geofence supports two independent triggers:
- On Arrive — Fires when you enter the geofence region. Walk in the door and your lights are already set to your preferred scene.
- On Leave — Fires when you exit the region. Lights turn off (or switch to a low-power scene) automatically as you drive away.
You can configure both, just one, or neither for any given location. An office geofence might only have an arrive trigger, while a vacation home might use both.
Works Over Remote API
Geofencing triggers use the Hue Remote API when you're not on your home Wi-Fi. This means your lights respond even before you walk through the door — the scene activates as soon as you cross the geofence boundary, regardless of your network connection.
When you're already on the same network as your bridge, commands route locally for instant response.
Privacy First
Your location data never leaves your device. HueCommand does not store location history, transmit coordinates to any server, or track your movements. The geofence coordinates are stored locally on your iPhone and processed entirely by Apple's CLMonitor framework.
No analytics, no location logs, no cloud storage of your whereabouts. The only thing that happens when you cross a boundary is a Hue API call to your bridge.
Limits & Expectations
- Up to 20 locations — You can configure up to 20 separate geofence regions. Enough for home, office, gym, parents' house, and more.
- ~3-5 minute trigger latency — Apple's region monitoring is optimized for battery life, not millisecond precision. Expect triggers within 3-5 minutes of crossing a boundary. This is an OS-level constraint, not a HueCommand limitation.
- Low battery impact — CLMonitor uses cell tower and Wi-Fi triangulation (not continuous GPS), resulting in negligible battery drain. You won't notice a difference in daily battery life.
Pro Feature
Geofencing automation is a HueCommand Pro feature. Subscribe to Pro to unlock location-based triggers along with remote access, advanced scheduling, and more.
Automate Your Lights by Location
Set it once, forget it forever. Geofencing with HueCommand Pro.
Download on the App Store