Deploy Waking Life Server

Telegram Unifi Monitoring Bot

Deploy Waking Life Server

waking_life_server

KingRaver/waking_life_server

Just deployed

Deploy and Host Waking Life Server on Railway

A production-ready webhook service that transforms UniFi Protect camera alerts into intelligent Telegram notifications with priority routing, interactive responses, and optional snapshots - all for ~$2/month.

About Hosting Waking Life Server

This FastAPI-based service receives motion detection events from UniFi Protect and forwards them to Telegram with smart filtering, priority-based routing to multiple chats, and interactive acknowledgment buttons. Deploy in minutes via GitHub integration with automatic updates. Railway's persistent environment variables securely store your credentials, while the lightweight architecture keeps hosting costs minimal. Includes health checks, chat ID discovery tools, and comprehensive logging for easy maintenance.

Why Deploy Waking Life Server on Railway

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Waking Life Server on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Common Use Cases

  • Multi-location security monitoring - Route warehouse, office, and facility alerts to location-specific Telegram groups with priority escalation
  • After-hours security - Automatically escalate person detections during critical hours to emergency contacts with high-priority notifications
  • Smart alert filtering - Reduce notification fatigue by filtering specific cameras, zones, or detection types while maintaining full visibility in a master chat

Dependencies for Waking Life Server

Deployment Dependencies

  • Telegram Bot - Create via @BotFather for receiving alerts (free)
  • UniFi Protect - UniFi Cloud Key Plus, Dream Machine, or NVR running Protect 6.0+ with webhook support
  • GitHub Repository - For Railway's automatic deployment and updates (free)

Python Dependencies

fastapi==0.115.0
uvicorn[standard]==0.32.0
httpx==0.27.2
pydantic==2.9.2
python-multipart==0.0.12

Compatible with Python 3.9+ (tested on Python 3.13)


Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

View Template
Postgres S3 backups
A simple NodeJS app to back up your PostgreSQL database to S3 via a cron

View Template
Prefect (Open-Source Workflow Orchestration Platform)
Prefect (ETL & Automation alternative to Airflow) Self Host [Oct ’25]