Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

The following configuration options of the common machine configuration model apply to Octoprint machines.

Aggregator version 1.2.0+

Configuration

Data

Description

Required

type

OCTOPRINT

The machine's interface type.

url

http://192.168.1.41:5000

The individual machine's interface url.

custom_name

my_octoprint_machine

The custom machine name to be displayed in the Agile MES.

authentication_file_path

secret.txt

File containing API key.

mes_id

[1]

The MES instance(s) of your organization.

umati_server_port

4840+

Umati server port used for internal data transfer. Set if the default port is conflicting with another port on your server.

Octoprint machine example:

{
  "type": "OCTOPRINT",
  "url": "http://192.168.1.41:5000",
  "custom_name": "my_octoprint_machine",
  "authentication_file_path": "secret.txt",
  "mes_id": [
    1
  ]
}

secret.txt example:

A0A00B123E454H122BD513FE58B5E9BC

Obtaining the API key

  • Navigate to the URL of the machine in a web browser, this should bring up the OctoPrint Settings.

  • Obtain either the global api key or a user bound api key:

    • Click on Api in the left menu and note the Apikey.

    • Click on Access Control, create a new user or note the Apikey of an existing one that has at least STATUS permissions.

Aggregator version 1.1.0

Configuration

Data

Description

Required

type

OCTOPRINT

The machine's interface type.

url

http://192.168.1.41:5000

The individual machine's interface url.

api_key

A0A00B123E454H122BD513FE58B5E9BC

API key.

mes_id

[1]

The MES instance(s) of your organization.

umati_server_port

4840+

Umati server port used for internal data transfer. Set if the default port is conflicting with another port on your server.

X

Octoprint machine example:

{
  "type": "OCTOPRINT",
  "url": "http://192.168.1.41:5000",
  "api_key": "A0A00B123E454H122BD513FE58B5E9BC",
  "mes_id": [
    1
  ]
}
  • No labels