Skip to content

orestispanago/MXtherm-SDK-rpi

Repository files navigation

Mobotix-Downloader-SDK

Rotates camera around 2 axes, downloads images and temperatures .csv file.

Uploads folder to FTP server, creating the remote path if it does not exist.

Cronjob:

*/5 * * * * cd ~/Mobotix-Downloader-SDK; python3 control_and_download.py > crontab.log 2> crontab.err

Example:

./build/thermal-raw --ip 0.0.0.0 --user admin --pass 'pass!@' --output ../output/a.csv

Based on Mobotix EventStreamClient thermal-raw example.

Static Download

static_download.py downloads image and temperatures file without moving the camera.

This script has logging functionality.

Cronjob:

*/5 * * * * /usr/bin/flock -w 0 ~/Mobotix-Downloader-SDK.lock python3 ~/Mobotix-Downloader-SDK/static_download.py