Hey @casper,
Don’t panic! You aren’t doing anything wrong, you just missed the second half of the setup.
In Hexnode, just assigning the geofence policy only tells the system where the boundary is. To actually penalize the device for leaving that boundary, you have to use hexnode’s Compliance and Automation engines.
Here is how you get the automatic lock working:
Step 1: Mark the device as Non-Compliant
- Go to Policies > New Policy (or edit an existing one).
- Go to Compliance Policy.
- Under the Basic Settings, check the box for Device moves out of geofence.
- Assign this to your warehouse tablets and save. (Now, when they leave the fence, hexnode flags them as non-compliant).
Step 2: Automate the Lock Action
- Navigate to the Automate tab at the top of your portal and click New Automation.
- Give it a name like “Warehouse Geofence Lock”.
- Under Trigger, select Activity > On Device Non-Compliance.
- Under Action, scroll down to the Security actions and select Lock Device. (Alternatively, you can choose Enable Lost Mode if you want to completely freeze the device with a custom message on the screen).
- Target the automation to your tablet groups and enable it.
Once this is turned on, the exact moment a tablet leaves the 200m radius, it violates the compliance policy, triggers the automation, and instantly locks the screen.