-
Notifications
You must be signed in to change notification settings - Fork 39
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
[BUG] Is there a way to use this without needing to install the windows AnkerMaker software? #151
Comments
There are two options:
In addition there is PR #150 which allows you to store the IP address of your printer in the ankerctl configuration file, otherwise it seems you need to manually add it to the configuration file because it is not part of the login data (at least for me it is not when directly logging in via ankerctl). You could either apply these PRs yourself or try my integration branch - which also adds support for the M5C (it you do not need that, it should still work flawlessly): https://github.com/treitmayr/ankermake-m5-protocol/tree/m5c-integration |
Thank you @treitmayr I will give those options a go now and report back. |
You might want to start with option 2, because it should make things easier :-) |
@treitmayr Thank you!! I greatly appreciate your help with this. For others that may need to do the same thing...
...replacing US with your 2 letter country code and adding your own UN/PW. |
Good to know it worked for you! Just make sure that your configuration includes the printer's IP address (CLI: |
Great, I did get it managed to create the default.json file, afterwards I used the command to get the ip, but when I try to import it in the webserver I get that: |
I suspect there is a misunderstanding - the configuration file used by ankerctl.py is in its own file format and contains all the things ankerctl.py has to know whenever it is (re)started. And this is true for both the commandline version and the web interface. However, for the original ankerctl.py the only way to generate its config file was to import the old ankermake slicer's config file (which is in a different format). |
Maybe there is a misunderstanding from my side. I have a home assistant instance running with the ofiicial ankerctl add-on. There I tried to import that generated json file and there then the error occurs. My goal and my thought was that this generated json file should work on all variousities of ankerctl. |
@Phoenix-DH it seems to you running this issue in multiple threads. Also I am confused why you want to switch to the HA integration version of ankerctl.py - according to this comment you should be able to use the exiles version. But I did not try any HA integration myself, so I cannot confirm this. If it is possible, just initialize anterctl.py via the web interface (login + printer search, all right there), and you are done. |
I will use home assistant because I do not want to run an additional instance, because this must always be powered to use the home assistant plugin to get current state. This is the case for me. Thanks for your support here. I think I found a HA compatible version. |
I do not have a windows system at my house and the Ankermaker Slicer software will not load properly within a Windows VM due to an openGL compatibility issue. Since that is legacy I attempted to install there new version on the vm but failed their too.
Is there a way to get or create the login credentials necessary to use this Ankermake-M5-Protocol without the need of the older, windows/mac only AnkerMaker Slicer software?
I should note: I have a login.json file but I cannot import it.
This is the error I get...
web.config.ConfigImportError: Config import failed: API request failed: 401 Unauthorized. Auth token might be expired: make sure Ankermake Slicer can connect, then try again
The text was updated successfully, but these errors were encountered: