More
referral
Increase your income with Hive. Invite your friends and earn real cryptocurrency!

Autoswitch for NiceHash|Автосвитчер/автопереключатель для NiceHash

Автообновление до v. 3.3.1

  • Добавлен алгоритм KawPow

Autoupdate to v. 3.3.1

  • Add algo KawPow

Hi, I noticed that the coin selection does not seem to take into account the power used. I added an autoswotch_pow.conf file and I can see the values I added using “autoswitch stat”. When factoring in power, cuckAToo32 is not the best for my rig to select (I put in the POW config 5000W to hopefully see it not selected, but autoswitch still went with cuckAToo32 ).

Why does autoswitch not factor in the POW variable when selecting what algo to select? I have set USE_POW=1 in the autoswitch.conf file.

Thanks.

Perhaps the difference in profit does not exceed the specified threshold in the variable MIN_DIFF

Автообновление до v. 3.3.2

  • Добавлен алгоритм CuckarooBFC

Autoupdate to v. 3.3.2

  • Add algo CuckarooBFC

Автообновление до v. 3.3.3

  • Добавлен алгоритм BeamV3

Autoupdate to v. 3.3.3

  • Add algo BeamV3

Автообновление до v. 3.3.4

  • Добавлен алгоритм CuckaRooz29

Autoupdate to v. 3.3.4

  • Add algo CuckaRooz29
1 Like

Доброго времени суток. Подскажите что сломалось - не работает переключение FS, не отображается окно autoswitch (вместо него окно agent, на другое не переключает).


Конфиги удалял, пересоздавал и вручную и менеджером, образ хайв перезаписывал с нуля, все перепробовал. Можно по control+c закрыть окно агента, тогда автосвитчер стартует, переключает FS и после этого риг уходит в оффлайн, помогает только перезагрузка. Два рига, на обоих престало работать примерно день как, до этого работали без нареканий. Где я накосячил, не могу разобраться…

Вам удалось разобраться? У меня такая же беда случалась. Выключил риг, включил и autoswitch перестал работать.

Нет не получилось. Сделал нового воркера и с нуля все настроил - то же самое, не работает ничего. При этом команда stat работает, доходность показывает

Автообновление до v. 3.3.5

  • Исправлен баг совместимости с релизом 0.6-150 HiveOS

Autoupdate to v. 3.3.5

  • Fix bug with latest HiveOS 0.6-150 release

На новом релизе все заработало

I have a similar error. thanks

There is an error connection to HiveOS API. My token and farm id is ok but there is error like this

Autoswitch: Authentication Token is wrong or HiveOS API has problems. Repeat in a 2 minute

Anyone can fix this problem?

Update to version 3.3.10

HiveOS API is not working correctly.
Authorization check does not work.
Added a temporary stub to solve the problem.

There will be no auto-update.
only manual update

curl https://raw.githubusercontent.com/lexandr0s/autoswitch/master/as-setup.sh | bash

Thanks for developing this, I’ve just installed it on my rig and its working great!

Just curious, what will happen post ETH merge if it can’t find a profitable algo? Does it stop mining on the rig? and then resume when something becomes profitable?

Thanks, it should be a great help after the merge.

for anyone setting it up, one of the things that took a while was setting up all the flightsheets :frowning:

Hive allows you to export and import flightsheets. This is a zip with all of mine to make it easier to get up and running. You need to replace the 0000000 value with the id for the niceshash wallet from hive (not your nicehash id)

You can change the miners to suit you better. Most of the miners are just placeholders since I need to fine-tune them and oc, but should work. I have both amd and nvidia, so some fs might have two miners. Some fs don’t have the correct setup for amd.

At least it should save you from setting all the fs from scratch

virus total review

There seems to be a problem with the way the electricity cost is calculated

----------------------------------------------------------------------------------------------------------                                    
          |          |          Revenue             |        | Pow cost|             Profit               |                                    
Algo      |   HR     |------------------------------| Pow (W)|         |----------------------------------|                                    
          |          | BTC/day | USD/day|  RUB/day  |        | BTC/day |   BTC/day  | USD/day |  RUB/day  |                                    
-----------------------------------------------------------------------------------------------------------                                    
Zelhash   |   366.00 | 0.00010 |   1.99 |    120.52 |   1150 | 0.00006 |    0.00004 |    0.79 |     48.21 |                                    
-----------------------------------------------------------------------------------------------------------                                    
Octopus   |   357.00 | 0.00009 |   1.79 |    108.47 |   1150 | 0.00006 |    0.00004 |    0.79 |     48.21 |                                    
-----------------------------------------------------------------------------------------------------------                                    
BeamV3    |   240.00 | 0.00010 |   1.99 |    120.52 |   1100 | 0.00005 |    0.00004 |    0.79 |     48.21 |                                    
-----------------------------------------------------------------------------------------------------------                                    
KawPow    |   209.00 | 0.00010 |   1.99 |    120.52 |   1275 | 0.00006 |    0.00004 |    0.79 |     48.21 |

Doing it by hand I find

|coing|electric cost|profit|
|BeamV3|1.056|0.934|
|KawPow|1.224|0.766|
|Octopus|1.104|0.686|
|Zelhash|1.104|0.886|

Guess using btc to calulate the numbers has too much rounding error for the current values

@lexandros

sorry for the flood lol thanks for all the effort in making this tool

The miner (not the rig) restarted a couple of times for no reason. It didn’t change algorithm. Seems the there was a command sent (ctrl-c), but couldn’t find anything that created that request.

Any ideas?

autoswitch log

20-09-2022 19:47:18 Switch to "KawPow" 

miner logs

[2022-09-20 20:11:59] Pool kawpow.auto.nicehash.com set new extranonce.                                                                                      
[2022-09-20 20:11:59] Pool kawpow.auto.nicehash.com received new job. (job_id: 0000000045230bd5, diff 0.113 / 486 MH)                                        
[2022-09-20 20:12:01] Ctrl-C pressed, exiting miner.
[2022-09-20 20:12:01] Shutting down...                                                                                                                       
[2022-09-20 20:12:01] Watchdog thread exiting.                                                                                                               
[2022-09-20 20:12:01] Watchdog script executor thread exiting.                                                                                               
[2022-09-20 20:12:01] GPU 0 thread exiting.                                                                                                                  
[2022-09-20 20:12:01] Successful clean shutdown.                                                                                                             


                                                                                                                                                             
20220920 20:11:59 Extranonce is set to: e25f5f                                                                                                               
20220920 20:11:59 New target is set to: 1.08 G                                                                                                               
20220920 20:11:59 kawpow epoch: 328, block: 2461281, period: 820427, diff: 1.08 G                                                                            
20220920 20:12:01 WARN: shutdown t-rex, signal [2] received                                                                                                  
20220920 20:12:01 Main loop finished. Cleaning up resources...                                                                                               
20220920 20:12:01 ApiServer: stopped listening on 127.0.0.1:4059                                                                                             
20220920 20:12:02 GPU #0: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:02 GPU #2: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:02 GPU #1: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:02 GPU #4: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:02 GPU #6: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:02 GPU #7: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:02 GPU #5: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:02 GPU #3: generating DAG 3.56 GB for epoch 328 ...                                                                                           
20220920 20:12:11 T-Rex finished.                                                                                                                            



I have the same problem. Miner restart after few minutes.