A module for the MagicMirror project (https://github.com/MichMich/MagicMirror) to display the downloads of the QNAP Download Station
Columns, and headings, as well as how some of the data is displayed is configurable and the inside icon are configurable.
Clone this repository in your ~/MagicMirror/modules/ folder ( $ cd ~MagicMirror/modules/ ):
git clone https://github.com/flick116/MMM-qnapDownloadStation
I have only tested this on a QNAP TS-351 running Download Station 5.
| Option | Required | Description |
|---|---|---|
username |
Yes | This is your QNAP Download Station username. Type: string |
password |
Yes | This is your QNAP Download Station password. Type: string |
qnapServer |
Yes | The web address to your QNAP NAS, in the format http://xx.xx.xx.xx or http://servername Type: string |
loginUrl |
No | Sets the login URL used as part of the login process, if different from the default. Type: stringDefault value: /downloadstation/V4/Misc/Login |
queryUrl |
No | Sets the query URL used as part of the login process, if different from the default. Type: stringDefault value: /downloadstation/V4/Task/Query |
status |
No | Dictates what type of downloads are shown in the table. Type: stringPossible values: downloading, seeding, finished, paused, stopped, completed, active, inactive, all Default value: downloading |
fromNo |
No | The download to start from, so if you set to 10 it will show from the 10th record. Type: stringDefault value: 0 |
limit |
No | Determines the maximum number of downloads to show. Type: stringDefault value: 50 |
useHeader |
No | Whether to show the table header. Type: boolPossible values: true or falseDefault value: true |
headerName |
No | Sets the header column for the download name. Type: stringDefault value: Name |
headerDownRate |
No | Sets the header column for the download rate. Type: stringDefault value: Down |
headerUpRate |
No | Sets the header column for the upload rate. Type: stringDefault value: Up |
headerProgress |
No | Sets the header column for the progress. Type: stringDefault value: % |
headerStartTime |
No | Sets the header column for the start time/date. Type: stringDefault value: Start |
showDownRate |
No | Determines whether to show the download rate column. Type: boolPossible values: true or falseDefault value: true |
showUpRate |
No | Determines whether to show the upload rate column. Type: boolPossible values: true or falseDefault value: false |
showStartTime |
No | Determines whether to show the start/date time column. Type: boolPossible values: true or falseDefault value: false |
showProgress |
No | Determines whether to show the progress column. Type: boolPossible values: true or falseDefault value: false |
dateFormat |
No | Sets the date/time format of date/time columns. Type: stringPossible values: See https://momentjs.com/ Default value: DD/MM/YY, h:mm a |
Example of the config.js entry:
{
module: "MMM-qnapDownloadStation",
header: "QNAP Download Station",
position: "top_right",
config: {
username: "admin",
password: "password"
},
},
