UltimakerBuildplateCamera

Uit MakerSpace Leiden
Versie door DirkWillem (overleg | bijdragen) op 17 jan 2022 om 11:29 (Nieuwe pagina aangemaakt met '= Use = Login to the CRM (https://makerspaceleiden.nl/crm) and select the 3rd menu option. = Setup = The ultimaker buildplate camera relies on a SSH tunnel provi...')
(wijz) ← Oudere versie | Huidige versie (wijz) | Nieuwere versie → (wijz)
Ga naar: navigatie, zoeken

Use

Login to the CRM (https://makerspaceleiden.nl/crm) and select the 3rd menu option.

Setup

The ultimaker buildplate camera relies on a SSH tunnel provided by the MTA-Setup_kWh.

This is then reverse proxied by the ultimaker module in https://github.com/MakerSpaceLeiden/makerspaceleiden-crm.

The key config is in views.py:

   def snapshot(request):
      img = requests.get("http://127.0.0.1:9998/?action=snapshot").content
      return HttpResponse(img, content_type="image/jpeg")