Create VBS Script to View and Configure Antminer Bitmain Machines
Budget: $30 – $100 USD
Develop a script in VBS, 32 bits, with probable access via XMLHTTP to obtain information from BITMAN ANTMINER S9 Series equipment and others.
The Script must be built in PURE TEXT, VB language and be a CSCRIPT script to be executed in command prompt.
It will be integrated into an existing system by another team, so variable declarations should be easy and every return sent to an Array.
Below are examples for the methods:
METHOD GET:
Put: file.vbs ip="ip" admin="user" password="passwd"
Response:
- Order return values in Array
ip
pool0
worker0
pool1
worker1
pool2
worker2
temp_chip0 'temperature
temp_chip1
temp_chip2
temp_chassi0
temp_chassi1
temp_chassi2
rashrate0 'if 3 hasrate, if 4 rashare add rasrate3 and more.
rashrate1
rashrate2
uptime
fan0 'if 3 fan, if 4 fans add fan3 and more.
fan1
fan2
macaddress
METHOD POST
Post for change config
Configs of the change:
Put: file.vbs ip="ip" admin="user" password="passwd" "type=configuration" pool0="" worker0="" (all pools and works...) reboot="yes" stop="yes" start="yes"
OBS: you can put all the commands or just what you want to change. Missing or null-valued instruction should not be considered.
pool0
worker0
pool1
worker1
pool2
worker2
reboot
stop miner
start miner
Development time 3 days.
Thanks!
The Script must be built in PURE TEXT, VB language and be a CSCRIPT script to be executed in command prompt.
It will be integrated into an existing system by another team, so variable declarations should be easy and every return sent to an Array.
Below are examples for the methods:
METHOD GET:
Put: file.vbs ip="ip" admin="user" password="passwd"
Response:
- Order return values in Array
ip
pool0
worker0
pool1
worker1
pool2
worker2
temp_chip0 'temperature
temp_chip1
temp_chip2
temp_chassi0
temp_chassi1
temp_chassi2
rashrate0 'if 3 hasrate, if 4 rashare add rasrate3 and more.
rashrate1
rashrate2
uptime
fan0 'if 3 fan, if 4 fans add fan3 and more.
fan1
fan2
macaddress
METHOD POST
Post for change config
Configs of the change:
Put: file.vbs ip="ip" admin="user" password="passwd" "type=configuration" pool0="" worker0="" (all pools and works...) reboot="yes" stop="yes" start="yes"
OBS: you can put all the commands or just what you want to change. Missing or null-valued instruction should not be considered.
pool0
worker0
pool1
worker1
pool2
worker2
reboot
stop miner
start miner
Development time 3 days.
Thanks!