Report Bobcat Status to Google Sheets
I recently relocated my miner from my root into the attic. Bobcat recommends operating temperature be below 60C. I just wanted to make sure the temp did not exceed that.
- Python 3.9.*
- Bobcat Miner
- Google Sheets API Service Account
- Install Requirements
pip install -r requirements.txt
Usage: report_miner_status.py [OPTIONS] MINER_IP_ADDRESS GOOGLE_SHEETS_CREDENTIALS_FILE_PATH GOOGLE_SHEET_ID Arguments: MINER_IP_ADDRESS [required] GOOGLE_SHEETS_CREDENTIALS_FILE_PATH [required] GOOGLE_SHEET_ID [required] Options: --worksheet-id INTEGER --clear-worksheet / --no-clear-worksheet [default: False] --timezone TEXT --help Show this message and exit.
Find your timezone string by searching for it here If no timezone is passed UTC is the default.
python report_miner_status.py 192.168.50.155 ./.credentials/bobcat-miner-service-account.json BobcatMinerReport
I would set this up as a cronjob and run it every minute.
- Crontab for *nix systems
- Task Scheduler for Windows
- Alert via Text Message if exceed temp threshold