Comments (5)
It may be easiest to start with trying to go from a config on a miner to the MinerConfig by implementing the from_epic
method on each part of the config. It will also need to be added as a type hinting method to the classes in config/base.py
.
I think there's going to be a similar issue with this and BOS+ GRPC, as well as slightly less severe with whatsminers, which is that config options are spread across different endpoints, so what I would suggest is that MinerConfig.as_epic()
returns a dict with data for different commands to use. For example, as_wm()
returns a dict with pools
and tuning
, which is a dict with mode set to either normal, low, high, or power_tune, with the power_tune dict having the power limit added.
Hopefully this all makes sense. Also, if you're on telegram, you can reach out to me directly there at b_rowan if you have questions or need help with any of that.
from pyasic.
Fixing another issue with MinerConfig right now, so I'll add the base implementation as it's just passing anyway.
from pyasic.
Thanks for that, will take a look. I think what you proposed makes a lot of sense. Thanks for adding that. Will probably reach out on telegram as well but will give it a first go.
from pyasic.
#84 merged, part 1 of the support is done.
from pyasic.
Finished in #101.
from pyasic.
Related Issues (20)
- Dashboard for visualizing data HOT 7
- Can't increase the power target BraiinsOS 24.02 Plus HOT 3
- BOS Antminer S19 XP Miner is not returning data instead throwing error . HOT 12
- Does not support Braiins OS+ Prior to version 23.03 HOT 5
- MinerData's as_json() method raises error 'Object of type TunerAlgo is not JSON serializable' HOT 3
- `config` - Only source code is shown under the Miner Config page, ideally it would have some descriptions of how to use, along with docstrings from the methods. It would also be ideal to add documentation on the sub-items. HOT 1
- I can't set power target on Braiins OS+ Miner HOT 8
- Network scan of some subnets time out on Ubuntu 22.04.2 HOT 22
- Can't seem to set pool configuration using send_config HOT 7
- Add firmware vendor to MinerData HOT 7
- Add control board model to MinerData HOT 1
- I want to know what pool a miner is currently active on HOT 1
- I want to know the expected fans of a miner. HOT 2
- Add in functionality to limit the number of ips being pinged when scanning. HOT 3
- Doesnt get Miner Modell BraiinsOS 24.04 Plus HOT 4
- Intermittent Failure to read all fans on Braiins OS+ HOT 3
- wmt.pyasic.org source code or any other solution to unlock whatsminer asic privileged API HOT 1
- Unable to modify power limits from inside home assistant on S19K pro miner HOT 5
- Problems getting data from stock antminer firmware on 0.57.x HOT 1
- `RuntimeWarning: coroutine 'sleep' was never awaited` while calling `get_data` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyasic.