Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Telegram Bot for Synology DiskStation Manager (DSM)

Notifications You must be signed in to change notification settings

ivaniskandar/synology-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Telegram Bot for Synology DiskStation Manager (DSM)

A Docker image based on Alpine Linux that runs Telegram bot to manage a Synology DiskStation machine.

Features

Currently support these functions:

Download Station

  • /mydownloads - manage your downloads
  • /adddownload - create a new download task
  • /resumedownloads - resume all inactive download tasks
  • /pausedownloads - pause all active download tasks
  • /cleanupdownloads - clear completed download tasks

System Info

  • /resourcemonitor - show NAS resource infos
  • /nasnetwork - show NAS network status
  • /nashealth - show NAS health status
  • /bothealth - show bot health status

Environment Variables

Make sure to set the container environment variables:

  • BOT_TOKEN - Your bot's token. Make one with @BotFather
  • BOT_OWNER_ID - The bot will only respond to user with this ID, get it from @userinfobot
  • NAS_IP - Your DiskStation's IP address. Make sure it uses a static IP
  • NAS_PORT - Your DiskStation's port number. DSM default is 5000
  • DSM_ACCOUNT - Your DSM account name
  • DSM_PASSWORD - Your DSM password
  • TZ - System time zone. See available time zones here.

Resources

Code available on GitHub

Image available on Docker Hub