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

add custom commands "cmd":"download_logs" #86

Closed
ph4n70m1984 opened this issue Jan 4, 2024 · 2 comments
Closed

add custom commands "cmd":"download_logs" #86

ph4n70m1984 opened this issue Jan 4, 2024 · 2 comments

Comments

@ph4n70m1984
Copy link

could you write your command for example download logs

{ "token":"str", "cmd":"download_logs" }

@UpstreamData
Copy link
Owner

Yep, this can be done quite easily. The only issue I believe is that download logs does something weird, not sure if I ever did implement it properly, but you can try it.

The way to do this is miner.api.send_command("download_logs").

@UpstreamData
Copy link
Owner

Regarding the parameter, if you want to send an encoded command you can use miner.api.send_privileged_command("download_logs"), which parses the token and handles encoding for you with whatsminers.

@b-rowan b-rowan closed this as completed Apr 7, 2024
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

3 participants