Telegram Bot Setup
Control your Tux Droid from anywhere via Telegram.
Setup Guide
1Create a Bot
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a name (e.g., “My Tux Controller”)
- Choose a username ending in “bot” (e.g., “my_tux_bot”)
- Copy the bot token (looks like
123456789:ABCdefGHIjklMNO...)
2Get Your Chat ID
- Search for @userinfobot in Telegram
- Send
/start - Copy your numeric Chat ID
The Chat ID is used for security - only messages from this ID will be accepted.
3Configure in ScayTux
Launch ScayTux and go to Telegram Control → Configure Bot:
bash
java -jar target/ScayTux.jar
# Select: 3 (Telegram Control)
# Select: 1 (Configure Bot)
# Enter your bot token and chat IDConfiguration is saved to telegram_config.json for persistence.
4Start the Bot
Select Start Bot from the Telegram menu. Then open Telegram and send /start to your bot. You will see an inline keyboard with all controls!
Bot Commands
| Command | Description |
|---|---|
| /start | Show main menu with inline keyboard buttons |
| /connect | Connect to Tux Droid hardware |
| /disconnect | Disconnect from Tux Droid |
| /status | Check connection and music status |
| /flap | Flap wings |
| /blink | Blink eyes |
| /dance | Dance animation |
| /say <text> | Make Tux speak with lip sync |
| /combo<n> | Run a combo (1-55) |
| /music | Show music menu |
| /stop | Stop music playback |
| /help | Show help message |
Features
Inline Keyboards
Navigate menus with button taps - no typing needed.
Security
Only your authorized Chat ID can control the bot.
Background Mode
Bot runs in the background while you use other features.
Music Control
Play/stop music and trigger dance combos remotely.