falkorichter/prusa-connect-api

Question: What is the fingerprint?

Opened this issue · 2 comments

I need to send fingerprint and token as authentication to the server.

What is the fingerprint and where do I get it in the connect interface? I checked https://connect.prusa3d.com/printer/1fc61e8b-d637-4834-a5fa-9cd78a404b0f/settings for instance and can`t find it.

@tangero can you support?

Pitel commented

Fingerprint could be "anything" that uniquely identifgies the camera device. Some examples:

  • MAC address
  • Serial number
  • Hash of list of connected webcams and their capabilities (that's what Prusa's official cam webapp is using)

It's a string with length between 16 and 64 characters.

It needs to stay the same between requests/sessions, otherwise you get HTTP error.

Once you send a first request with fingeprint and token, the pair is saved in Prusa's DB, and must stay the same for future requests.