Comments (8)
I'm slightly confused about this. Can you try the miner.web
attribute and send some restuls of commands from there? Should be an instance of AntminerModernWebAPI
, here in the code -
Line 26 in 8c5503d
from pyasic.
It doesn't appear to get picked up by my initial scan_network_for_miners(ip-ip2)
The miner is using this API:
https://app.swaggerhub.com/apis/ePIC-Blockchain/umc_api/0.30.6
from pyasic.
Ah ok. You have an ePIC board. Ill see what I can do.
from pyasic.
Any possibility you'd have some hints/recommendations on where to start it? I wouldn't mind taking a crack at it!
from pyasic.
Sure. It would be much easier for you since you actually have one.
You will have to do a few things -
- Create a new backend type (pyasic/miners/backends/epic.py or similar), with a new backend class.
- Find a way of identifying the miner as that "backend" via the functionality and enum defined in the miner_factory (pyasic/miners/miner_factory.py)
- Create subclasses of miner types (physical types) and the new backend you created in the corresponding files.
- Add those subtypes to the MINER_CLASSES dict in pyasic/miners/miner_factory.py
Let me know if you have any questions, if you have telegram you can DM me there, username is b_rowan
from pyasic.
Additionally, the backend type must inherit from BaseMiner, and implement the abstract methods shown in the docs here.
You will also likely want to implement a new web type in pyasic/web, which will handle all the commands from the schema as needed, you can look at any of the other web API types for this.
from pyasic.
This can hopefully be closed now. @Devinmara know its been awhile, but curious if the latest version works for you
from pyasic.
Going to close this now, I think its extremely safe to assume it works.
from pyasic.
Related Issues (20)
- `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 8
- 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 12
- 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
- [Feature Request] Add Bitaxe Miner Support (esp-miner) HOT 21
- Antminer S19 pro hydro with Vnish Firmware HOT 2
- 0.58.0 possible Bug (@dataclass) HOT 3
- Two miners Innosilicon T3+ and Bluestar L1 HOT 6
- Nerdminer Solominer integration HOT 1
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.