Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.15 KB

CONFIG_README.md

File metadata and controls

42 lines (30 loc) · 1.15 KB

How to configure Sunmine

Below is the default config file: sunmine.cfg

Usage for each section is suggested in italics.

[Location]
# for local weather information

# Country code in relation to ISO3166 Alpha-2 standards
country_code = GB

# Nearest town/city. Postal codes not tested but may work.
location = London

# for the sunrise / sunset api
latitude = 51.5074
longitude = 0.1278

[Tokens]
# API keys are available here: https://openweathermap.org/
open_weather = **OpenweatherAPIKey**

[Communication]
# Emails user when turning mining on or off

# Where you want the emails to be sent
recipient_email = test@test.com

# The account you want to send from
sender_email = test@test.com

# I recommend generating an 'app specific' password from your email provider
password = yourpassword

smtp_server_address = smtp.gmail.com
smtp_port = 587

[Miner]
# This will require you to have a fully set up miner executable. Make sure this works first, then put the full path to the executable here
program_location = **path to your executable miner**

`