/FSYNO

Synology DownloadStation upload analyser

Primary LanguageJavaScriptCeCILL Free Software License Agreement v2.1CECILL-2.1

FSYNO

Synology DownloadStation upload analyser

/ /task_id /total

Getting Started

These instructions explain how to install the uploader analyser. The uploader analyser contain

  • a python script to store every hour upload Statistique
  • a web server for data analyse

Datas are stored in a json file : ds.json

Prerequisites

A linux environment with python 3 installed. (test on raspian and ubuntu on windows 10)

Installing

stat_upload.py (python2)

synopy : python librairie to use DownloadStation API (https://pypi.org/project/synopy/)

sudo pip install synopy

use crontab to execute the script to store upload Statistique every hour

sudo crontab -e -u root
add 00 * * * * python #your_path#/stat_upload.py #your path#/ds.json

web server (python3)

synopy : python librairie to use DownloadStation API (https://pypi.org/project/synopy/)

sudo pip3 install synopy

humanfriendly

sudo pip3 install humanfriendly

Flask

sudo pip3 install flask

Copy this folder where you want Change

  • fsyno.service
  • fsyno.sh with the good paths et port

Enable the service server :

sudo systemctl enable #your_path#/fsyno.service
sudo systemctl start fsyno.service

Built With

  • synopy - Python library for the Synology Download Station API
  • Flask - web development, one drop at a time

Author

  • FredThx

Thanks

License

This project is licensed under CeCILL license : the French open source license. (please see LICENSE)