-
Notifications
You must be signed in to change notification settings - Fork 20
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
Antminer T21 Integration problems since >1.1.13 #410
Comments
This might be related to #393, I have a fix in the works for that, I will look into this more closely once that is solved. |
I don’t think that this is the Same Problem. I‘ve installed the pyasic Version that is mentioned in the error log. Other Miners like S9 or Bitaxe still work. Username and Password for the WebUI ist shown, SSH Login is missing. I‘ve tried also the 0.17.rc5 |
Newer models don't use SSH, since it's quite inefficient compared to the APIs. If you have some logs on what's happening I can look into it. |
But the same miner is running on 0.1.13, as i mentioned. I've installed 0.1.17rc5 again and updated pyasic to 0.62.1 (Error said this) I deleted the T21 and installed it again -> not working This problem occurs since 0.1.13, before that I had no problems with this miner. Log:
|
Strange. That's actually an issue with the bitaxe model not being fully added, so it makes no difference for functionality. What version of BraiinsOS is your miner running? |
It is a T21 with Braiins Version: 2024-05-21-0-d5fa91c4-24.04.1-plus. It only works with version 0.1.13 or up to 0.1.13. The only difference I can identify is the additional SSH password. Additionally, it’s strange that if I install a version > 0.1.13 over an already installed T21 device, all entities are duplicated, but the second set of entities is “live.” However, I would then have to redo all automations to respond to the *_2 entities. This is not productive and will probably cause more issues in the future when there’s another update. |
Can you try updating the miner? The latest version of pyasic had to regenerate the gRPC files, so there's a good chance that's the problem. |
I updated the miner to 24.09 and the integration to 0.1.17rc6 — it’s working again, SSH login is back. But I wanted to know if it’s due to the miner or the integration. So I downgraded back to 0.1.17rc5. Error message says pyasic needs at least 0.62.1, so I installed it via shell. Still doesn’t work. I hope this can help. |
And the behavior is back in 0.1.17 🤣 Here’s the translation: I then noticed that in 0.1.17rc6, there was no pyasic version error. I still had pyasic 0.59.6 installed. 0.1.17rc6 didn’t seem to be bothered by that. So the issue is with pyasic > 0.59.6. It seems like it is since 0.61.0 Any ideas what can I do? |
Yeah, during the updates to hass-miner I updated pyasic quite a bit (it is much more active), so it will just be the changes in pyasic. Older miner versions will be imcompatible with newer hass-miner/pyasic, same goes for newer miner versions with older hass-miner/pyasic. Also, should no longer have to manually install with v1.1.17, I found a very hacky workaround. |
Sorry, a bit confused here, can you start over? What is the issue? pyasic is failing to install properly? or just that the miner isnt working? |
It seems like since pyasic Version ~0.60.4-0.60.10 there was a change that crashed my T21 miner. If I try to install the T21 in Homeassistant the SSH Login beside the Web Login is missing. An error occurs that says nothing to me. The initial Problem was the pyasic Version that was required since >0.1.13. Means if there comes an Update with an higher pyasic Version the Same Problem occurs again. |
One of the names of the entries was wrong, that causes some issues. I would give it another try with |
Since version 1.1.13 I have problems with installation of a new miner T21.
In version 1.1.13 I can install it and everything works fine. Due the problem with pyasic I have to reinstall it via shell if there is a HA Update. (pyasic 0.59.6)
If I upgrade to versions above 1.1.13 the "installation-window" is missing the SSH login so the installation fails. (pyasic to 0.60.10)
If I upgrade to >1.1.13 with an already installed T21 the entities doubles, but the new one works. (also pyasic 0.60.10)
A new installation because of the double entities is also not possible.
I have no idea what can be the problem. I thought the problem will be fixed without my report, but T21 might be not the "standard-miner" and there was no report since 1.1.13 so far.
The text was updated successfully, but these errors were encountered: