fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

Suggestion - Run or stop the miner depending on the weather outside. #501

Closed zombiqc closed 6 years ago

zombiqc commented 6 years ago

Hi,

This is just a suggestion. Would it be possible to implement a function that checks the weather and stop or start the miner based on certain thresholds ?

I have a bi-energy system to warm my house. When it's warmer thant -14c I pay 0.04$ per kw/h. But then it gets colder than -14c, I pay 0.26 per kw/h. The system switch to kerosene instead of electricity during the cold nights so I'd like to turn off the mine aswell.

Thanks for all the great work, your application works great and I love it.

Have a good day.

DavidBruchmann commented 6 years ago

In general I support a pause switch without closing the app (maybe it even exists and I never discovered it yet), Concerning your temperature problem I think it's too special for integrating but you could create a wrapper-program / script that is doing the desired logic. BTW: you'd need a special temperature-sensor too to show the outdoor-temperature but probably the energy-company takes only temperature from some pools and not every single location, so either you'd need data from a pool near you or if I don't mistake with my assumptions your own outdoor-temperature-sensor wouldn't be always reliable.

zombiqc commented 6 years ago

Thanks for the quick response. I'm not a programmer myself but I'll see what I can do with off the shelf stuff (IFTTT and whatnot) to at least get emails when I could stop and start manualy my miner.

If ever make a pause founction that'd be great !

2017-12-11 23:17 GMT-05:00 David Bruchmann notifications@github.com:

In general I support a pause switch without closing the app (maybe it even exists and I never discovered it yet), Concerning your temperature problem I think it's too special for integrating but you could create a wrapper-program that is doing the desired logic.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak/issues/501#issuecomment-350940635, or mute the thread https://github.com/notifications/unsubscribe-auth/AVsVIN5CWnfR8W-Bd1sd400uW_hSEl6Aks5s_f5dgaJpZM4Q-ZUV .

DavidBruchmann commented 6 years ago

you never read all, because I added some text to my post ;-) That's not delivered by mail I suppose.

zombiqc commented 6 years ago

Yeah sorry the email didnt show the whole text. Actualy my heating system takes the reading outside my home and change from electric to fuel from that reading. Your right though that the energy compagny is probably making a generalisation of the weather in my area. Anyway, I'll try the IFTTT route with and go from there. Thanks for your time :)