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

allow other platforms to call respective mining workers api #486

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

cosmicpsyop
Copy link
Contributor

@cosmicpsyop cosmicpsyop commented Sep 14, 2024

To address issue raised in #484

Worker metrics

Add the following define to the platform specific header to enable API to retrieve worker metrics

// calls api to retrieve worker metrics
#define SCREEN_WORKERS_ENABLE (1)

I11111MG_20240123_221837

Fees Data (Proposed and requires code reorg utilize)

Add the following define to the platform specific header to future use of fees data

// retrieve current btc fees data
#define SCREEN_FEES_ENABLE (1)

22222IMG_20240123_215510

Current supported mining sites

proposed title,   entered path,    api endpoint
"public-pool.io","public-pool.io", "https://public-pool.io:40557/api/client/"
"nerdminers.org", "nerdminers.org", "https://pool.nerdminers.org/users/"
"sethforprivacy.com", "pool.sethforprivacy.com", "https://pool.sethforprivacy.com/api/client/"
"public-pool.io","http://" + Umbrel or Start9 ip address + ":2019/api/client/"  // Local instance of public-pool.io on Umbrel or Start9

Note: vkbit pool was removed from mem worker API discovery because #410

To test for API availability:

$ curl https://public-pool.io:40557/api/client/
{"workersCount":0,"workers":[]}          

See this video>> for how it works with lower screen and battery

@cosmicpsyop cosmicpsyop marked this pull request as ready for review September 22, 2024 20:19
@cosmicpsyop cosmicpsyop changed the title add platform to allow calling workers metrics api allow other platforms to call respective mining workers api Sep 24, 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

Successfully merging this pull request may close these issues.

1 participant