Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad documentation on JSON #331

Open
PaS3 opened this issue Jul 21, 2021 · 1 comment
Open

Bad documentation on JSON #331

PaS3 opened this issue Jul 21, 2021 · 1 comment

Comments

@PaS3
Copy link

PaS3 commented Jul 21, 2021

Please define in detail what each command option does in excavator JSON

[
        {"time":0,"commands":[
                {"id":1,"method":"algorithm.add","params":["daggerhashimoto","daggerhashimoto.usa-east.nicehash.com:3353","39xXJzGWuHLSCaoa4jWKwb3ns17WFTwdJk.TeslaM40"]},
                {"id":1,"method":"worker.add","params":["0","1","B=256","TPB=128","S=1","HPW=2"]},
                {"id":1,"method":"worker.add","params":["1","0","B=256","TPB=128","S=1","HPW=2"]}
        ]},
        {"time":10,"commands":[
                {"id":1,"method":"device.set.oc_profile","params":["0","-100","1114","132","100"]},
                {"id":1,"method":"device.set.oc_profile","params":["1","-100","1114","132","100"]}
        ]},
        {"time":20,"loop":10,"commands":[
                {"id":1,"method":"worker.print.speed","params":["0"]},
                {"id":1,"method":"algorithm.print.speeds","params":["0"]},
                {"id":1,"method":"worker.print.speed","params":["1"]},
                {"id":1,"method":"algorithm.print.speeds","params":["1"]},
                {"id":1,"method":"worker.reset","params":["0"]},
                {"id":1,"method":"worker.reset","params":["1"]}
        ]}
]

I am not getting a second device running

"worker.add","params":["0","1" ] or
"worker.add","params":["1","0" ]

or all ones ?

None of your examples work, runtime errors, but do compile.

|===============================+======================+======================|
|   0  Tesla M40           Off  | 00000000:0B:00.0 Off |                    0 |
| N/A   42C    P0    60W / 250W |    120MiB / 11443MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla M40           Off  | 00000000:0D:00.0 Off |                    0 |
| N/A   54C    P0    90W / 250W |   9281MiB / 11443MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+


"device.set.oc_profile","params":["0","-100","1114","132","100"]}, which is what?

@TNT911
Copy link

TNT911 commented Mar 26, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants