You're offline — showing cached data

Wiki

09-integrations/telegram
2026-06-13 07:26:32 SAST
Wiki Home → 09-integrations/telegram

Telegram Integration

Telegram is the primary notification and messaging channel between Luci and Elmar. Luci sends notifications, briefings, and alerts via a Telegram bot, and Elmar can message Luci directly.

Bot Details

Setting Value
Bot token Configured in notify.py
Elmar's chat ID (DM) 246672479
Claude Forum group ID -1003838721412

notify.py -- Notification Helper

Features

Destinations

Function Target Thread ID
send_telegram() Elmar DM (default) or any chat Optional
send_to_topic() Claude Forum group topic Required
send_life_manager() Forum: Life Manager topic 7
send_work() Forum: Work topic 17
send_mc() Forum: Mission Control topic 4712
send_home() Forum: Home topic 3
send_spotify() Forum: General topic 1
send_ticket_notification() Forum: MC topic 4712

CLI Usage

python3 ~/workspace/notify.py "Your message here"
# Always sends force=True (bypasses quiet hours)

Forum Topics

The Claude Forum Telegram group uses forum topics to organize messages by category:

Topic ID Name Used For
1 General Spotify radio notifications
3 Home Home Assistant health checks
7 Life Manager Morning briefings, life digests
17 Work CEO dashboard, daily work briefings
4712 Mission Control MC ticket notifications, worker updates

How Elmar Messages Luci

Elmar sends messages to Luci directly via Telegram DM. Currently this is one-way notification + manual DM:

  1. Luci sends a notification (e.g., "Ticket MC-42 needs your input")
  2. Elmar reads it in Telegram
  3. To respond, Elmar currently uses the Mission Control web UI or starts a new Claude Code session

Planned: Telegram-MC Bridge (PARKED)

A bidirectional bridge was designed but parked (see PKA/docs/architecture/telegram-mc-bridge-plan.md):

Notification Consumers

These 03-scheduler/overview|scheduled tasks send Telegram messages:

Task Schedule Destination
Morning Briefing 06:00 UTC weekdays Elmar DM
Life Manager Digest 12:00 + 17:00 UTC weekdays Elmar DM
WhatsApp health check Every 15 min (on failure) Via scheduler notify_on
MC ticket workers On completion/needs_input MC forum topic

WhatsApp Monitor Alerts

The WhatsApp monitor (whatsapp-monitor.js) also sends Telegram alerts directly (not via notify.py) using the same bot token, for connection status and critical errors.

Key Takeaways

Help