Skip to content

japeral/SolarMiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolarMiner v1.5 by Jose Peral 2019-03-18

This is a C program for raspberry Pi to mine cyptocurrencies using solar excedent power.

SolarMiner v1.5 will connect by a USB wifi dongle to the Solax-Boost-X1 inverter to monitor the imported power, and will control 2 Sonoff smart relays to enable them gradually when there is excess solar power avaible. When ever the imported power grows avobe the configured threshold of 140W, the loads/miners will be disengaged gradually.

Miners hashrate is monitored thought the Bitmain Antminer API.

Hardware requeriments:

  • Raspberry Pi
  • USB Wifi dongle
  • x1 Solar PV array with Solax-Boost-X1 inverter with Wifi dongle
  • x2 Sonoff smart switches
  • x1 Antminer S9 with Antminer-S9-all-201812051512-autofreq-user-Update2UBI-NF.tar.gz firmware
    • Set Low Power Mode ON
    • Low Power Enhaced Mode ON
  • x1 Antminer L3

Network requeriments:

  • connect wlan0 to the solax wifi AP.

    • edit /etc/wpa_supplicant/wpa_supplicant.conf file and let only one Wifi config
    • #ping -I wlan0 5.8.8.8
  • connect lan0 to the internet using your home router, or wifi repeater.

    • #ping -I eth0 192.168.0.1

Configuration:

Compilation instructions

  • execute ./compile

Launch instructions

  • execute ./solarminer

To do:

  • Enable or disable the regulation loop based on the sunrise and sunset time +/- a delay.
  • Control more than 2 Sonoff loads.
  • Mining pool API relatime monitoring.
  • Realtime profit calculations.
  • Realtime wallet monitoring.

Questions/Suggestions: [email protected]

Telegram: https://t.me/joinchat/AB8sJw6BQtMC47_3JxDN4A

BTC Donations accepted: 3PfsbcTPQvpDybyeZLWm7jbNavcbNoFyH4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages