TeleTot Sound Monitor is a Telegram bot designed for parents who need a simple and effective way to monitor their baby while traveling. It overcomes typical hotel Wi-Fi limitations to deliver live audio from your baby's room directly to your phone. With just a quick Telegram command, you can listen to 10-second audio clips to ensure your baby is sleeping soundly or to check for any disturbances.
- Instant Audio Monitoring: Send a command via Telegram and receive a 10-second audio clip from your baby's room.
- Designed for Travel: Specifically useful in hotels where traditional baby monitors fail due to Wi-Fi restrictions.
- Easy to Use: Operates entirely through Telegram, making it accessible from anywhere.
This bot is perfect for traveling parents who want to keep an ear on their sleeping baby without the need for complex setups or specialized equipment. Whether you're in the next room or at a hotel restaurant, TeleTot Sound Monitor keeps you connected to your little one.
- Python 3.8 or newer installed on your machine.
- A Telegram account.
- Start BotFather: Go to Telegram and search for @BotFather, which is the official bot for creating other bots.
- Create a New Bot: Send the
/newbot
command and follow the instructions. BotFather will ask you for a name and username, then provide you with a token. - Save the Token: Keep the token secure as you will need it to run your TeleTot Sound Monitor bot.
-
Clone the Repository
git clone https://github.com/yourgithub/teletot-sound-monitor.git cd teletot-sound-monitor
-
Install Dependencies Run the following command to install the necessary Python packages:
pip install -r requirements.txt
-
Configure the Bot
- Rename
config-sample.py
toconfig.py
in the root directory of the project. - Open
config.py
and replaceyour_bot_token_here
with your actual Telegram bot token:TELEGRAM_API_TOKEN = 'your_bot_token_here'
- Rename
To run the bot:
python src/main.py
Once the bot is running, use Telegram to send commands:
- Send
/record
to receive a 10-second audio clip from your baby's room.
I'd love to hear how you're using TeleTot Sound Monitor and any cool ideas you have to make it even better! Hit me up on Twitter @amit and let’s chat about it.
Contributions are welcome! If you have improvements or features you'd like to add, please feel free to fork the repository, make your changes, and submit a pull request.
TeleTot Sound Monitor is released under the MIT License. See the LICENSE file for more details.