Runnable emergency call plug-in Based on OpenMind/OM1 (the world's first open source AI native robot operating system, hardware-independent, modular architecture), adaptation OM1 Perception → Memory → Planning → Action The four-layer architecture supports one-click Docker deployment, including a simulated test environment that can be run directly for verification. ✅ Plug-in featuresPlug-in features 🚨 Multi-modal triggering: voice keywords + fall detection (IMU) + physical buttons 📱 Level 3 response: Family notification → Telephone call → Emergency center contact动 🔒 Privacy protection: end-to-end encryption + automatic deletion within 72 hours 🧪 Built-in simulator: the entire process can be tested without a real robot 🐳 Docker Packaging: rapid deployment in 5 minutes
📦 Complete code structure emergency_call_plugin/ ├── Dockerfile # Deploy images with one click ├── requirements.txt # Dependency list ├── config.yaml # user profile ├── plugin.py # Plug-in main logic(OM1 Module API) ├── sensors/ │ ├── imu_simulator.py # IMU fall simulator │ └── voice_trigger.py # Voice keyword detection ├── comms/ │ ├── notifier.py # Push notification (SMS/email) │ └── emergency_caller.py # Phone Calls (Twilio Simulation) ├── utils/ │ ├── location.py # Location services (GPS+SLAM fusion) │ └── privacy_guard.py # Privacy protection module └── test/ └── test_emergency_flow.py # End-to-end test script
🚀 Quick start guide
Method 1: Run directly locally (recommended test)
bash:
git clone https://github.com/zhuge189/emergency_call_plugin
cd emergency_call_plugin
pip install -r requirements.txt
uv run python plugin.py
Method 2: Docker one-click deployment
bash:
docker build -t om1-emergency-plugin .
docker run -it --rm \
-v $(pwd)/config.yaml:/app/config.yaml \
om1-emergency-plugin
Method 3: Integrate into OM1 main system
python:
from emergency_call_plugin.plugin import create_module
emergency_plugin = create_module("/path/to/config.yaml")
om1_runtime.register_module("emergency_call", emergency_plugin)
emergency_plugin.start()