Adding a new tag or data point to United Manufacturing Hub stack

This tutorial describes what it is needed for creating and storing a custom data point.

Instructions

Use processValues messages in combination with MQTT or Kafka. kafka-to-postgresql will automatically store the new tag in the TimescaleDB database. By doing this, is it feasible to use the United Manufacturing Hub as Historian.

But don’t I need to change the database model for that?

Actually, it is not needed. The United Manufacturing Hub is using a narrow-table model for storing processValues or tags, compared to a wide data model. This last approach would require to change the database model. TimescaleDB has a good article about the difference between both models.

Last modified February 17, 2023: update (#208) (ea731fc)