Jump to content

Inside the Ultimaker 3 - Day 3 - Remote access (part 2)


Daid

Recommended Posts

Posted · Inside the Ultimaker 3 - Day 3 - Remote access (part 2)

Daid hasn't posted here in years but who knows.  I seem to remember you have to enable it first?  I've never tried to use this REST API.

 

I have used a utility on the printer and there you have to enable it before you can set the temperature.  Use ssh to log into the printer with username "ultimaker" (not root for this tool!) and password "ultimaker".  That does not give you a linux prompt but instead a handy tool.  Then you can type I think "list" (or maybe "help") and it shows all the things you can modify and you can get more and more help as you go deeper into the commands.  I suspect those will match up somewhat with the API above.

 

What tool did you use above?  Is that swagger?

  • Link to post
    Share on other sites

    Posted · Inside the Ultimaker 3 - Day 3 - Remote access (part 2)

    Hi @gr5 I used the Swagger API.

    The bed heating works along with other API requests... just have the following issues

     

    Request URL

    http://<IP>/api/v1/auth/verif

    it shows okay with the generated ID and KEY

    however if I use the GET /auth/verify

    with 

    curl -X GET --header 'Accept: application/json' 'http://<IP>/api/v1/auth/verify' using cmd it shows {"message": "Authorization required."}

    Additionally as I mentioned previously

    I can not change the temperature using 

    Curl

    curl -X PUT --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' -F temperature=250  'http://<IP>/

    Let me know how to solve this

    Thank you

    ABD

  • Link to post
    Share on other sites

    Posted · Inside the Ultimaker 3 - Day 3 - Remote access (part 2)

    I'm away from my S5 for a few days.  Did you try the ultimaker/ultimaker account and the LIST command?  That might help you find the option that enables.

     

    In fact to prove I'm right, set the temperature manually on the printer and then your command above should work.

     

    My point is that I seem to remember that there is some kind of command to "unlock" the ability to heat up the nozzles.  It is discussed on this forum somewhere. I think it was posted by @robinmdh.  I'll google.

  • Link to post
    Share on other sites

    Posted · Inside the Ultimaker 3 - Day 3 - Remote access (part 2)

    Okay - I just ran across this:

     

    Which tells you how to list out all the features.  Somewhere in there I predict something that unlocks the use of turning on the nozzle heat or some such thing.  Some kind of enable or unlock or something.  You'll probably have to read each feature one at a time.

  • Link to post
    Share on other sites

    Posted · Inside the Ultimaker 3 - Day 3 - Remote access (part 2)

    There's some discussion of using the "auth" feature starting in this post:

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...