# DataCube

# Application

Here you can find documentation for the DataCube application.

# Set Up - Initial

  1. Use the admin users provided by the Cofy team to initially log into the application.

  2. In the application, you can now create groups and users under the "Management" tab in the sidebar.

# Set Up - DataController

  1. Under the "DataController" tab in the sidebar, you can set up, edit or delete a new DataController.

  2. To create a new DataController you need an already created machine (see: Create Machine).

  3. Now you can create a DataController by clicking on the "New" button in the upper right corner and selecting an already created machine, which will be associated with the DataController. As second parameter you need the unique DataController ID, which is written on the DataCube box.

# Set-Up - Machines

  1. Under the "Machine" tab in the sidebar, you can set up, edit or delete a new Machine.

  2. Now you can create a Machine by clicking on the "New" button in the upper right corner.

  3. The machine needs information like:

    • Identifier
    • Name
    • (Optional) Unit
    • (Optional) Factor
    • (Optional) Tag

Unit:

  • The unit is used to show the correct representation of the unit in the production figures (examples: pieces, meters etc.).

Factor:

  • The factor is used to multiply the measured signals if desired.

Tag:

  • The tags are used to make groupings in the "Machine Stats - Summarize" view. The default is "Produced-Default".

# DataController

Here you can find documentation for the DataControllers.

# Installation / Set Up

  1. Connect the DataController to a power supply.

  2. Press the button on the front of the DataCube to put the DataController into the "WiFi config portal" mode.

  3. Now you should see the DataController as an access point in the WiFi settings by means of a network-capable device (e.g. smartphone).

  4. Connect to this access point and enter the password: "datacube".

  5. A web interface will open on your device where you can configure the network connection of the DataController. (If no interface opens on your device, go to your browser on the device and search for any website. Then the correct interface should open).

  6. After saving the network connection for the DataController, it restarts and tries to connect to the network entered. (This network is now used as the default connection and every time the DataController is restarted, it attempts to connect to this network).

# Status signals

The following table explains the status signals of the DataControllers.

Signal Information
every 5 seconds, for 3 seconds tries to reconnect to the MQTT server
every second sends successfully to server
permanent light WiFi config portal