Skip to content

A script to control if and when you start or stop your miner ( think solar power! )

Notifications You must be signed in to change notification settings

geek4unix/mineif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

mineif

A script to control if and when you start or stop your miner ( think solar power! )

This is a proof of concept to provide a framework that can monitor a solar system and make a logical decision on if mining is appropriate.

E.g. between certain hours, above a certain battery SOC 100% or a battery voltage value , or a combination or custom sensor you could add.

See mineif.sh script.

The readings are taken from my Studer XTM device via API, see: My other project

neil@NMBP % while (true); do ./mineif.sh; sleep 60; done
Battery SOC: 88
SOC Limit: 90
Battery Volts: 49
Current Hour: 23
Start Hour: 0
End Hour: 23
DayTime Sensor: 45
Mining Allowed: false

Battery SOC: 88
SOC Limit: 90
Battery Volts: 49
Current Hour: 23
Start Hour: 0
End Hour: 23
DayTime Sensor: 45
Mining Allowed: false

About

A script to control if and when you start or stop your miner ( think solar power! )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages