Synology DownloadStation upload analyser
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
A linux environment with python 3 installed. (test on raspian and ubuntu on windows 10)
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
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
- synopy - Python library for the Synology Download Station API
- Flask - web development, one drop at a time
- FredThx
- Thomas Grainger - for synopy
This project is licensed under CeCILL license : the French open source license. (please see LICENSE)