---
title: "Deploy Waking Life Server"
description: "Telegram Unifi Monitoring Bot"
category: "Automation"
url: https://railway.com/deploy/waking-life-server
---

# Deploy Waking Life Server

Telegram Unifi Monitoring Bot

**[Deploy Waking Life Server on Railway](https://railway.com/template/waking-life-server)**

- **Creator:** Jeff Spirlock's Projects
- **Category:** Automation
- **Total deploys:** 1

## Template content

### waking_life_server

- **Source:** https://github.com/KingRaver/waking_life_server
- **Public domain:** Yes

## Documentation

# 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](https://t.me/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

```pip-requirements
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)*

## Similar templates

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Build a WhatsApp automation platform with Evolution API, n8n & Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/waking-life-server
