Go to file
2022-11-11 14:00:54 +01:00
.vscode Initial commit 2022-11-11 14:00:54 +01:00
config Initial commit 2022-11-11 14:00:54 +01:00
.gitignore Initial commit 2022-11-11 14:00:54 +01:00
actifitycollect.service Initial commit 2022-11-11 14:00:54 +01:00
go.mod Initial commit 2022-11-11 14:00:54 +01:00
go.sum Initial commit 2022-11-11 14:00:54 +01:00
main.go Initial commit 2022-11-11 14:00:54 +01:00
Makefile Initial commit 2022-11-11 14:00:54 +01:00
README.md Initial commit 2022-11-11 14:00:54 +01:00

Activitycollect

Collect bicycle activity statistics from *.fit files within in_folder and store them in InfluxDB. When successfully processed move the *.fit files into the out_folder.

Installation

make install

Default install location for the executable is /usr/bin. This can be modyfied by changing the PREFIX variable.

PREFIX=/usr/local/bin make install

Uninstallation

make uninstall

When PREFIX was modyfied for installation it needs to be changed for uninstalling as well.

PREFIX=/usr/local/bin make uninstall

Configuration

Default configuration file is installed in /etc/activitycollect/config.json

systemd service

systemctl enable activitycollect.service
systemctl start activitycollect.service