Sunmine is a piece of python software (xmrig, xmr-stak etc) that aims to switch on your mining software during the most profitable SOLAR times.
It uses APIs that check if the sun has risen and the weather conditions in your specified location.
- Getting Started
a. Prerequisites
b. Installing
c. Editing the config file
d. Running
e. Setting up as a scheduled task - Built With
- Authors
- The OpenWeatherMap API
- Licence
Your computer runs the following software:
git clone https://github.com/howbotnik/sunmine.git
cd sunmine
pip install -r requirements.txt
- Open sunmine.cfg
- Read CONFIG_README.md for help setting up
cd sunmine
python main.py
Use crontab or Windows 'Task Scheduler' if you want the program to run automatically.
Python & PyCharm Community
Weather by https://Openweathermap.org
Sun data by https://api.sunrise-sunset.org
H. Wilson
The OpenWeatherMap API allows customization using the weather codes on this website:
As a default, sunmine is set up to use the following weather codes as acceptable for mining, but this may depend on your setup:
- 800 - Clear Sky
- 801 - Few Clouds (11-25%)
- 802 - Scattered Clouds (25-50%)
Edit the acceptable weather codes in the config file for customization.
MIT License
Copyright (c) 2020 Howard Wilson