Skip to content
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

Support login for ankermake studio users #161

Open
rpiterman opened this issue Jun 17, 2024 · 6 comments
Open

Support login for ankermake studio users #161

rpiterman opened this issue Jun 17, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@rpiterman
Copy link

Currently, Ankermake offers only the Ankermake Studio.

I use this on mac and the login.json is not used anymore, so no way for me to use ankermake-m5-protocol.

--

Please document / provide login support also for Ankermake studio users.

@rpiterman rpiterman added the enhancement New feature or request label Jun 17, 2024
@treitmayr
Copy link

I recommend you use the anselor:exiles fork of this repository, which includes my PR #148 for supporting direct login from ankerctl's web interface. Also see this screenshot #148 (comment).

@Phoenix-DH
Copy link

I just sae that bug because I think I am hitting exactly by the same issue:
#163

I did not try this until now, bu as mentioned in my bug I am using the home assistant add-on amd there you must upload a login.json

How can I gez thus managef?

@Phoenix-DH
Copy link

Phoenix-DH commented Jul 10, 2024

@treitmayr
I just tried the fork, but I still get the same errors when trying to run import or start the webserver:

PhoenixBrainBook-3:ankermake-m5-protocol-exiles Phoenix$ ./ankerctl.py config import
[!] Failed to import file - check if you are logged into Ankerslicer
PhoenixBrainBook-3:ankermake-m5-protocol-exiles Phoenix$ ./ankerctl.py webserver run
[W] No printers found in config. Please upload configuration using the webserver or 'ankerctl.py config import'
[!] Printer number 0 out of range, max printer number is -1
[*] ServiceManager: Shutdown complete

What am I doing wrong?

@treitmayr
Copy link

@Phoenix-DH if you want to use the console for logging in, just try ./ankerctl.py config login. This should ask you for the login credentials and your country (I might have changed it from US/EU to a specific country code, cannot remember right now) and the login process will start and generate the needed config file containing the required user-specific key.

@treitmayr
Copy link

After that you may still need to detect and store your printer's IP address in ankerctl's config file. Turn on the printer and wait until it connects to your Wifi, then run ./ankerctl.py pppp lan-search --store, see my PR #150.

@Phoenix-DH
Copy link

Phoenix-DH commented Jul 10, 2024

@treitmayr
Thanks, I did, the file was now with IP in, but the error is still the same on the IP:4470 page.
It is a M5C.

Did also a furthe testing.... Local webserver is working, but not the one which I have running on my home assistant instance.
This is the difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants