-
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 |
Is this issue no longer being addressed? So far, I’ve always managed by downgrading the pyasic version to 0.60.4 after every update. However, since the latest HA version, the higher pyasic version is installed after every restart. The issue remains the same: the Antminer creates new entities, and the device cannot be reinstalled because the SSH login is missing. |
I'm still confused about what exactly the issue is... Have you tried wiping the old entities? Everything I have been able to test shows newer miners like that working. We have a S21 showing up here soon, so I will test more, but I just don't understand what's causing the issue in the first place since I can't replicate it. |
The problem is that I can no longer add the device if I delete it. But it’s tedious when the first entity is used in the dashboard. I’m not a programmer and can only see that the SSH login is missing (compared to the old version). |
It really shouldn't be possible to create duplicate entities in the first place since they are using MAC address for entity ID. SSH login is missing because there is no reason to use SSH on newer miners with the implementation of gRPC, and most of the data on the filesystem is just wrong with them. |
Ok, I did some more testing. Deleted the password in Braiins: works. Set the password again: unknown error. So, are passwords not allowed? Or are there restrictions on password selection? |
That's a good question. I'm not exactly sure of the full impact of setting a password on the device, I can take a look further into that at least. |
Ok, I think I found it. Much easier to test now that I have it. Try with v1.1.25 |
Indeed, it works again 🤙🏽 Thank you so much. Has no one else set a password on their miner, or am I the only one who noticed this? 😅 |
Pretty much no one uses passwords, there's not much point. |
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: