addProduct

AddProduct messages are sent when a new product type is added.

Topic

MQTT: ia/<customerID>/<location>/<AssetID>/addProduct

For Kafka just switch the / character with a .

Usage

A message is sent each time a new product type is added.

Content

keydata typedescription
product_idstringcurrent product name
time_per_unit_in_secondsfloat64the time it takes to produce one unit of the product

See also notes regarding adding products and orders in /addOrder

JSON

Examples

A new product “Beilinger 30x15” with a cycle time of 200ms is added to the asset.

{
  "product_id": "Beilinger 30x15",
  "time_per_unit_in_seconds": "0.2"
}

Producers

  • Typically Node-RED

Consumers

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