Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Renishaw

  • Once you log into your InfiniAM app you will be redirected to {base_url}/app/#!/current-status.

  • Use {base_url} as url in the configuration.

2. Machine specific connection information

...

Renishaw

  • Obtain an account with API access rights on your InfiniAM instance.

  • Use the Email address as username together with your password in the below configuration.

3. Obtain API Token and Agile MES Service ID

...

  1. Visit https://[your-domain]/api/v2.0/service-panel/services/.

  2. Note the id of the service.

4.

...

Create a configuration

Create a

...

Together with the binary release you will find a sample configuration file called config.sample.json. Rename it to config.json and open it in a text editor:

...

text file with the content as shown below. The file must follow the JSON notation (with comments). We recommend using a text editor like Visual Studio Code or Notepad++.

Save your configuration under the name config.json
Code Block
languagejson
{
  "machines": [
      [// ...], // please visit childthe machine configuration pages below for configuration details
of all supported],
machines   "mes_services": [
    {
      "id": 1,
      "url": "https://print.3yourmind.com/api/v2.0/machine/730/",
      "token": "28c1610a1240ecc5e9eae9b2e3a0554e64e8eeaf"
    }
  ],
  "aggregator_id": "my aggregator"
}
Info

If you are planning on deploying our Aggregator on a Windows server then you can use the config.sample.json that come with the download as a basis for your configuration.

Machines

In the machine section, you will need to configure the URL(s) of the machine(s), give them a name of your choice, define their type, and provide a list of mes_service identifiers you want to send data to. Please refer to the tables below to see the configuration details of our supported machines/interfaces:

...

Octoprint Machine Configuration

Renishaw Machine Configuration

Ultimaker Machine Configuration

...

Example:
with 730 as serviceId:

Code Block
languagejson
{
  "id": 1,
  "url": "https://print.3yourmind.com/api/v2.0/machine/730/",
  "token": "28c1610a1240ecc5e9eae9b2e3a0554e64e8eeaf"
}

Configure the Aggregator in the admin panel

The aggregator configuration can also be uploaded in the admin panel. To configure the aggregator through the admin panel follow the steps below at

...

  1. Click ADD AGGREGATOR CONFIGURATION

  2. Select your Site

  3. Paste the aggregator config into the Content field

  4. Save

Wait for 20-30s and check for errors in the admin panel under Aggregator configuration errors. If the Error field is empty then the configuration is valid.

At this point, the Aggregator should have already pulled the new configuration and started reading data from the machines

Info

The upload of the aggregator configuration in the admin panel is an alternative to placing the config file into the same directory with the Aggregator executable. You should do either or.

5. Start the Aggregator

Make sure that the Aggregator is in the same network as each machine you want to connect to.

  • Make sure the Aggregator executable and the config.json you created are in the same directory. (The config.json file is not needed if you uploaded the config in the admin panel).

  • Run the executable.

Optionally install the Aggregator as a Windows service

  • Make sure the install-as-service.bat and uninstall-service.bat are in the Aggregator's directory.

  • Double-click on install-as-service.bat.

To remove the service and stop the Aggregator double-click on uninstall-service.bat.

Optionally adjust the settings of the service:

...

Click on Windows Start, type Services and hit enter to open the service configuration panel.

...

5. Deploy the Aggregator

Follow one of the guides:

Aggregator On Windows

Aggregator In Docker

6. Activate Machine Connectivity in the Agile MES

...