A MagicMirror² modules for controlling the magic mirror through Telegram Bot
- Navigate into your MagicMirror's
modulesfolder - Execute
git clone https://github.com/putera/MMM-TelegramBot.git - Navigate to
cd ~/MagicMirror/modules/MMM-TelegramBotfolder - Run
npm install
To use this module, add it to the modules array in the config/config.js file:
modules: [
{
module: 'MMM-TelegramBot',
config: {
// See 'Configuration options' for more information.
telegramAPIKey: '- Your Telegram API Token -',
allowedUser: ['- Your Telegram username without @ -'],
adminChatId: '- Your chatId with bot -'
}
}
]The following properties can be configured:
| Option | Description |
|---|---|
telegramAPIKey |
Your telegram API token |
allowedUser |
List of allowed user to use and control the MagicMirror |
adminChatId |
Your chatId with telegram bot |