First of all, very good idea indeed to include electricity cost and euro!
I am trying to have a couple of "BTC" pool (Zergpool & Ahashpool) working:
Autoexec:
setx GPU_FORCE_64BIT_PTR 1
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
:LOOP
del "Stats\*_Profit.txt"
powershell -version 5.0 -noexit -executionpolicy bypass -command "&.\core.ps1 -MiningMode AUTOMATIC -PoolsName ahashpool,zergpool LOOP
Config:
WORKERNAME=EOLO
--Autoexchange pools preferred currencies.
--You can set a generic currency for all autoexchange pools @@CURRENCY=XXX or a specific currency for one pool
CURRENCY_NAMEOFPOOL=BTC valid only for that pool
--pools without autoexchange (yiimp, suprnova...) need a wallet of same coin you are mining
--You must be sure selected pool support pay that coin or you can lose your money.
--You must set wallet for this currencies on "Wallets Section"
CURRENCY=btc
CURRENCY_Ahashpool=btc
Currency Zergpool= Btc
LOCALCURRENCY=EURO
USERNAME=1MfauXbYE9pbRgU4qAzZQf75XjENatkJn6
WALLET_BTC=1MfauXbYE9pbRgU4qAzZQf75XjENatkJn6
@@WALLET_XXX=ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
DONATE=10
CPUMINING=DISABLED
--Electricity cost, you can use this converter to get your BTC cost
http://www.xe.com/es/currencyconverter/convert/?Amount=0%2C012&From=EUR&To=XBT--Example for all day cost [{"HourStart":0,"HourEnd":23,"CostKwh":0.105609}]
--Example for two periods cost [{"HourStart":12,"HourEnd":21,"CostKwh":0.105609},{"HourStart":22,"HourEnd":11,"CostKwh":0.703759}]
ELECTRICITYCOST=[{"HourStart":0,"HourEnd":23,"CostKwh":0.11}]
But I receive this in RED:
New interval starting.............
ConvertFrom-Json : Impossibile associare l'argomento al parametro 'InputObject' perché è null.
In C:\mining\Megaminer-master\core.ps1:297 car:63
+ ... ostValue= [double](($config.ElectricityCost |ConvertFrom-Json) |where ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (
[ConvertFrom-Json], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
Loading Pools Information.............
ZERGPOOL API NOT RESPONDING...ABORTING
NO POOLS!....retry in 10 sec ---
So, I didn't make one mistake, I make two ...at least.
Any expert may look at it please ?