Spondoolies-Tech / minepeon

Miner UI
GNU General Public License v2.0
0 stars 3 forks source link

Allow to schedule performance / power usage #61

Open SyRenity opened 10 years ago

SyRenity commented 10 years ago

i'm still waiting for my sp10 to be delivered (still in israel atm) and i was wondering if there is an option to schedule the power consumption ? in france we have full hour (0.14€/kwh) and empty hour (0.10€/kwh). I would like to schedule full power during 8 hour and "quiet" during 16 hour. Already implemented ? add it to the todolist ?

SyRenity commented 10 years ago

We will put it in our todo task queue, but not at high priority. What you can do for now is to set that in cron. Note that the time of miner is rather random, and you can not change it's time when it is mining. So do the following:

Set miner time: 1) ssh to your miner 2) spond-manager stop 3) date +%T -s "10:13:13"

In order to start miner in "quiet" mode, "echo 0 > /etc/mg_work_mode; spond-manager start". In order to start miner in "turbo" mode, "echo 2 > /etc/mg_work_mode; spond-manager start".

Just add cron jobs you want. Note that the system will forget the time after reboot, and it can reboot if your internet is down for over 5 minutes, so this is not proof solution. We will add timeserver support very soon. Also note that directory /etc/ is non-volatile, while other directories are volatile.

SyRenity commented 10 years ago

@syounger This can be achieved by simply allowing to select time spans for the 3 performance options:

The time-spans have to be cross-checked to avoid conflicts.

zvisha commented 10 years ago

There are many UI options. Let's have a talk before implementing.

On Sun, Apr 20, 2014 at 6:02 PM, SyRenity notifications@github.com wrote:

@syounger https://github.com/syounger This can be achieved by simply allowing to select time spans for the 3 performance options:

  • Silent
  • Normal
  • Power

The time-spans have to be cross-checked to avoid conflicts.

— Reply to this email directly or view it on GitHubhttps://github.com/Spondoolies-Tech/minepeon/issues/61#issuecomment-40896665 .

syounger commented 10 years ago

I would give a drop down for selecting "Time to start XX Mode", where the user selects time and mode. This should also offer an option of "everyday/selected days", since weekends might need a different schedule. I would also try to provide a graphic showing the schedule, using a long bar with colored segments, with a different color for each mode.