Project
- Stars
- Started
- Issues
- License
Turn an old Android into a home controller
Use Claude Code to build a Telegram-controlled home automation bot on an old Android phone running Termux.

I have an old Android phone with Termux on my home Wi-Fi. Write a Python Telegram bot that runs there and on /home: 1. sends a Wake-on-LAN packet to my PC 2. turns on my lights and AC 3. starts my music playlist on my speaker 4. replies with what turned on First ask me which lights, AC and speaker I have, then pick the right way to control each one. Only respond to my Telegram user ID. Add /off and make the bot start when the phone reboots. Walk me through the Termux setup one step at a time.
Android phone
Compatibility with specific models is unverified.

I have an old Android phone with Termux on my home Wi-Fi. Write a Python Telegram bot that runs there and on /home: 1. sends a Wake-on-LAN packet to my PC 2. turns on my lights and AC 3. starts my music playlist on my speaker 4. replies with what turned on First ask me which lights, AC and speaker I have, then pick the right way to control each one. Only respond to my Telegram user ID. Add /off and make the bot start when the phone reboots. Walk me through the Termux setup one step at a time.
How did it go? Tips, problems, questions…
Turn an old Android into a home controller
Use Claude Code to build a Telegram-controlled home automation bot on an old Android phone running Termux.
Feedback
How did it go? Tips, problems, questions…