Automation

Presence Automation

How JanusEye monitors your home as soon as you leave

You can automate the starting or stopping of your camera using your smartphone's geolocation. Your phone will send a signal (Webhook) to your Raspberry Pi as soon as you cross your home's perimeter.

Prerequisite: To enable automation, you must first make your Raspberry Pi accessible from the Internet.

I. Your Personal Webhook Links

Use these addresses in your automation apps (replace the brackets with your own information):

🏠 Arrival (Deactivate camera):

http://[IP_OR_DOMAIN]:5000/janus/arm?key=[pin]&action=off&device=[name]

🚶 Departure (Activate surveillance):

http://[IP_OR_DOMAIN]:5000/janus/arm?key=[pin]&action=on&device=[name]

💡 If you have installed an SSL certificate, use https instead of http.

⚠️ SECURITY COUNTER:

Each call to these links counts as an access attempt. If you enter an incorrect PIN in your automation settings, your phone's IP address will be blocked after 3 attempts. Test your URL manually in a browser first!

II. Setup on iPhone (Shortcuts)

  1. Open the Shortcuts app > Automation tab > + button.
  2. Choose Arrive (or Leave) and select your Location (Home).
  3. Important: Check Run Immediately for operation without confirmation.
  4. Add the URL action and paste your corresponding link.
  5. Add the Get Contents of URL action (leave the method as GET).

💡 Tip: You can add an "If" condition to only activate the camera between 10 PM and 6 AM.

III. Setup on Android

Option 1: MacroDroid (Recommended)

  • Trigger: Location > Geofence > Area Entered (or Exited).
  • Action: Connectivity > HTTP Request > GET Method > Enter the URL.
  • Setting: Set MacroDroid's battery usage to "Unrestricted" in Android settings.

Option 2: Samsung Modes & Routines

Create a Routine: If Location = Home -> Then -> Open URL (Note: this method may briefly open your browser).

IV. Comparison Table

FeatureiOS ShortcutsMacroDroid
Background Processing✅ Full✅ Full
ComplexityLowMedium
GPS ReliabilityExcellentExcellent
⬅️ Back to previous page