Skip to main content

Phone call alerts

This guide walks you through configuring phone call alerts—from building the circuit to creating the automation logic in Rust Toolbox—so you can get notified automatically when your base is being raided.

Prerequisite

If you don’t know how to pair devices yet, start with the Pair devices guide.

Notes

This guide provides a simple and practical setup. The toolbox is flexible—feel free to adjust the configuration to match your needs.

Step 1: Build the circuit

Required items

  • Smart Switch × 1
  • Vibration Sensor × 1
  • Electrical Branch × 1

Wiring

Wire it like the diagram below:

Raid phone-call wiring diagram

How it works

When someone damages your base, the Vibration Sensor triggers. The circuit toggles the Smart Switch state, which then triggers Rust Toolbox automation logic.

Step 2: Configure a call group

After the circuit is built and the devices are paired, create a call group in the toolbox.

Steps

  1. Open the dashboard
  2. Click Automation Logic
  3. Select Call Groups
  4. Configure your call group information

Configure a call group in Rust Toolbox

Call group notes

You can set multiple contact methods to make sure you get notified in emergencies.

Step 3: Add event logic

Now add event logic to trigger the phone call.

Steps

  1. Go to Automation Logic
  2. Select Event Logic
  3. Click Create new event logic
  4. Set the trigger:
    • Trigger type: Basic
    • Trigger event: Switch turned on
    • Monitored device: choose the Smart Switch you paired
  5. Add an action:
    • Action type: Call group
    • Call group: choose the call group you just created

Your configuration should look like this:

Configure phone-call logic in Rust Toolbox

Step 4: Test

After configuration, we recommend running a test.

How to test

  1. Click Confirm to save
  2. Manually toggle the Smart Switch
  3. Check whether you receive the phone call
Testing notes

This logic is essentially monitoring switch state changes, so manually toggling the switch is a safe way to test.

Done

Congrats! Your phone call alert is configured. When your base is being raided, the system will automatically call you.