UpstreamData
06cc84f16d
refactor: remove parameters from get_{x} functions and move them to _get_{x}(**params). Add miner.fw_str, and miner.raw_model. Remove model from get_data exclude. Swap fan_count to expected_fans.
2024-01-15 10:47:38 -07:00
fdeh
067d5c98f5
Fix VNish get_hashrate and get_fans errors
...
Update vnish.py. Fix data locations according to the method arguments
2024-01-15 10:47:38 -07:00
UpstreamData
b4b84c773f
refactor: remove bad function.
2024-01-15 10:47:38 -07:00
UpstreamData
cd1768aae9
refactor: swap (KeyError, IndexError) for LookupError.
2024-01-15 10:47:37 -07:00
UpstreamData
2ef85d3868
refactor: optimize imports.
2024-01-15 10:47:36 -07:00
UpstreamData
6f64cc5e0d
refactor: remove parameters from get_{x} functions and move them to _get_{x}(**params). Add miner.fw_str, and miner.raw_model. Remove model from get_data exclude. Swap fan_count to expected_fans.
2024-01-15 10:47:33 -07:00
b-rowan
5a61a87766
docs: update docs.
2024-01-14 12:59:13 -07:00
b-rowan
71c85e0603
bug: fix a possible failed authentication when using gRPC.
2024-01-14 12:09:29 -07:00
fdeh
cfa51623c4
Fix VNish get_hashrate and get_fans errors
...
Update vnish.py. Fix data locations according to the method arguments
2024-01-14 10:00:15 -07:00
UpstreamData
aa2dc5a53d
feature: update some gRPC functions, and add as_boser for some of the MinerConfig values.
2024-01-12 15:06:44 -07:00
UpstreamData
361d6e07cc
feature: finish get_data functions for bosminer
2024-01-12 13:29:46 -07:00
UpstreamData
53a018f526
feature: add boser fault light functions.
2024-01-12 11:58:26 -07:00
UpstreamData
6c9a378eee
feature: add boser config parsing.
2024-01-12 11:54:17 -07:00
UpstreamData
ed6eb11653
bug: fix being unable to get fw version as part of multicommand.
2024-01-11 13:57:48 -07:00
UpstreamData
895fb1b43e
refactor: swap except (KeyError, ValueError) to except LookupError.
2024-01-11 10:20:18 -07:00
UpstreamData
014896ae1b
bug: fix data passed by get_version to BOSminer.
2024-01-11 09:53:06 -07:00
b-rowan
bb481553fa
bug: fix missing message in grpc command.
2024-01-10 22:46:58 -07:00
b-rowan
7ab3d8b54e
feature: improve data gathering slightly on BOSMiner.
2024-01-10 22:26:28 -07:00
b-rowan
36494f2aca
bug: remove boser check in miner_factory, and fix bad syntax on comparison.
2024-01-10 22:15:31 -07:00
b-rowan
bea44a72ea
feature: start refactoring BOSer and BOSMiner into separate classes.
2024-01-10 22:12:27 -07:00
b-rowan
9da7b44177
feature: add vnish config parsing.
2024-01-06 11:31:12 -07:00
UpstreamData
2d229be9fd
feature: add board serial numbers to whatsminers.
2024-01-05 16:18:03 -07:00
UpstreamData
de5038e57a
feature: add AntminerModern serial numbers to Hashboard data.
2024-01-05 15:57:26 -07:00
UpstreamData
8ad1b3f72a
refactor: fix formatting issue.
2024-01-05 08:49:44 -07:00
b-rowan
80d9d7df1d
bug: fix possible empty command when getting small data points.
2024-01-04 20:58:15 -07:00
UpstreamData
6e7442f90d
Update data locations to be typed with dataclasses and enums. ( #82 )
...
* feature: swap AntminerModern to new data location style.
* bug: fix a bunch of missed instances of `nominal_` naming.
* feature: add support for S19 Pro Hydro.
* version: bump version number.
* dependencies: bump httpx version
* version: bump version number.
* feature: implement data locations for all remaining miners.
* refactor: remove some unused docstrings.
* feature: swap AntminerModern to new data location style.
* feature: implement data locations for all remaining miners.
* refactor: remove some unused docstrings.
* bug: fix misnamed data locations, and update base miner get_data to use new data locations.
* bug: fix include/exclude implementation on get_data.
* bug: swap ePIC to BaseMiner subclass.
* feature: add DataOptions to __all__
* tests: update data tests with new data locations method.
* bug: remove bad command from bosminer commands.
* dependencies: update dependencies.
* bug: fix some typing issues with python 3.8, and remove useless semaphore and scan threads.
* bug: fix KeyError when pools rpc command returns broken data.
2024-01-04 13:03:45 -07:00
John-Paul Compagnone
2e28060e05
fixes, changes, and formatting
2023-12-23 15:01:42 -05:00
John-Paul Compagnone
07f92557c6
cover chiptune case
2023-12-22 23:35:13 -05:00
John-Paul Compagnone
6f6f5743cf
add get_config to ePIC backend
2023-12-22 23:35:13 -05:00
Upstream Data
040c0b6842
feature: add support for S19 Pro Hydro.
2023-12-22 15:40:23 -07:00
Upstream Data
550b4a97a1
bug: fix a bunch of missed instances of nominal_ naming.
2023-12-22 15:32:01 -07:00
UpstreamData
0e5b811fb9
Add config attribute to data and refactor data naming ( #81 )
...
* feature: add config to MinerData. Remove related attributes.
* feature: rename ideal and nominal to expected to make data naming consistent across files.
* refactor: run isort on all files.
* docs: update docstrings.
2023-12-21 15:20:50 -07:00
UpstreamData
3d31179562
feature: add more BOS+ supported types.
2023-12-19 08:40:31 -07:00
UpstreamData
659dc55f3c
bug: add missing key to epic data locations.
2023-12-18 14:07:46 -07:00
UpstreamData
b045abe76e
bug: reorder config information and fix bad key.
2023-12-18 13:59:56 -07:00
Upstream Data
d2be68d35e
bug: fix MinerConfig default values for 3.11+. Add MinerConfig.as_epic default implementation.
2023-12-17 09:08:14 -07:00
Upstream Data
4459de2260
feature: add support for S19kProNoPIC BOS. Reformat.
2023-12-16 10:54:51 -07:00
UpstreamData
4201905fdd
bug: fix some tasks not being cancelled properly in miner factory.
2023-12-13 10:18:28 -07:00
checksum0
497ffb5bc0
Add all the currently known Whatsminer M6X machines ( #77 )
...
* Create new BTMiner M6X backend class to represent Whatsminer new M6X generation
* Add all new known types of Whatsminer M6X
* Ensure all new types are imported in their respective __init__.py
* Create all BTMiner API class for known types of new M6X generation
* Ensure all new BTMiner API class are imported in __init__.py
* Fix erroneous M6X models data
* Ensure M6X miners are imported and add them to their MinerTypes dictionary in miner_factory.py
2023-12-12 19:38:36 -07:00
UpstreamData
67aed79330
bug: fix mode spec in bosminer config.
2023-12-12 13:21:50 -07:00
UpstreamData
073e048726
bug: fix bosminer config missing format information.
2023-12-12 13:11:49 -07:00
UpstreamData
02234f3d1e
feature: improve dict merging speed
2023-12-12 09:25:43 -07:00
UpstreamData
dc22df0280
refactor: remove innosilicon pool comment, as it is correct.
2023-12-12 08:54:24 -07:00
UpstreamData
02056b8c88
refactor: remove config prints.
2023-12-11 15:36:02 -07:00
UpstreamData
3a43cd293c
bug: Fix improper naming of fan mode.
2023-12-11 15:18:23 -07:00
UpstreamData
6941d9f349
bug: add default case for work mode when there is no work mode returned from bitmain.
2023-12-11 15:08:57 -07:00
UpstreamData
f6b0b64d86
bug: set default quota to 1.
2023-12-11 14:07:17 -07:00
UpstreamData
8d68dd9dac
refactor: re-order config keys
2023-12-11 14:06:22 -07:00
UpstreamData
27368a9bd2
bug: fix some issues, and remove unused imports.
2023-12-11 13:48:26 -07:00
UpstreamData
c919b00312
feature: allow config conversion to and from dict.
2023-12-11 13:40:10 -07:00