Skip to content


Hexastate has built a real-time event-driven microservices app focused towards production data. Our vision is to create the only app needed for tracking and analyzing production data of various kinds.

The app consist of a backend and a frontend. The backend has an ingestion layer, an analysis layer, and a public API.


The ingestion layer allows for pushing messages into the app. The ingestion layer primarily accepts messages that are recorded by sensors. However, other message types are over time integrated with the app.

The ingestion layer consist of several different services. Some of the highlighted features of the services are:

  • Subscribing to the "external world" (MQTT server and 3rd-party APIs).
  • Parsing and data validation of incoming messages.
  • Mapping of messages with objects.
  • Redirecting messages to their correct destinations.
  • Collecting fragment messages into complete measurements (relevant for large measurements like FFTs).
  • Horizontally scalable ensuring real-time ingestion support at any scale.
  • Securing data with frequent backups.

You can read more of the ingestion layer here.


The app backend currently consist of 8 services handling everything from authentication and authorization, factory structuring, device connectivity and management, analytics data interactions, maintenance, dashboards, etc.

Each service exposes a REST API and in several cases also a GraphQL API. The REST API performs CRUD actions and relatively simple backend requests beyond the CRUD actions. The GraphQL APIs doesn't contain a single mutation, as they are focused only on queries and subscriptions due to their flexibility and performance benefits. At the time of writing, the GraphQL APIs doesn't have publicly available documentation. However, it is our intention to prepare documentation for these APIs in the future.

Each service has its own documentation either as redoc or swagger. Links for the redoc documentation for each service can be found in the API Docs section of this page.


Lorem ipsum


Furthermore, Hexastate offers whitelabeling of the app. The whitelabeling package includes branding the app with your own logos, favicon, and color scheme of main components (like buttons, sidebar, and similar).


Whitelabeling of Hexastate's app is only available on the Enterprise platform plan.


Hexastate uses JSON Web Tokens (JWT) as authentication algorithm. You will use your user's email and password to obtain a JWT that has a short lifetime.

In API requests this JWT is added to the header -> "Authorization": "Bearer ".

API Docs

This section covers the docs for each individual API service in the backend. It links to the sandbox environment of each service. The production environment will be available on the same URL if the "sandbox" substring is removed from the URL.

Auth service

The "Auth" service is responsible for authentication and authorization in the system, and exposes an API for managing organizations, users, roles, and invitations.

The app uses JWT authentication based on user email and password. The access token has a relatively short lifetime.

Automations service

Exposes a REST API for managing automations. Organizations can set up their own custom automations in the app. An automation could be triggering the creation of a work order if a machine changes condition.

Factories service

The "Factories" service is responsible for the setup and "design" of factories and all subcomponents like areas, production lines, assets, etc. This is also the service in which sensors and gateways are registered in the system. From the factory service, you will also be able to get the connectivity status of both sensors and gateways, as well as the state of machines.

Furthermore, the factory service keeps records of the placement of sensors, and these logs will also be retrievable from this API.

OEE service

The "OEE" services exposes an API for calculations related to the OEE of machines. This includes product rate, availability, performance, quality, and so on. Furthermore, the service exposes an API for production planning with products, batches, and templates.

Maintenance service

A minimalistic CMMS for managing maintenance activities like planning and processing work orders with ability to use templates, and setting up recurring work orders either by calendar schedule or by operational hours of machines. This service is also integrated with CMMS partner apps for synchronizing maintenance activities with other CMMS apps or for triggering work orders based on events happening in Hexastate's system.

Energy service

The "Energy" service is responsible for calculations and events related to energy monitoring of production machines. This service utilizes power data from sensors to determine the energy, power, and standby consumption, as well as the estimated emissions and potential savings based on the location of the factory in which the sensors are installed at.

Condition service

Handles events related to the condition of production machines and exposes an API for fetching current condition, fault symptoms, and other condition related metrics and stats.

Notifications service

Handles everything related to notification events in the system. Exposes an API for fetching notifications, managing topic subscriptions, and "do not disturb" periods.

Templates service

Manages the use of dashboards, their widgets and its layout in Hexastate's system.