Ferdinand
08/08/2024, 3:55 PMyaml
mqtt:
client_id: cab2e57e-583f-48af-8407-685c52384196
topics:
- umh/v1/company/au/filling/lc/r1/_historian/status
urls:
- tcp://united-manufacturing-hub-mqtt.united-manufacturing-hub.svc.cluster.local:1883
yaml
# these variables are autogenerated from your instance location
let enterprise = "company"
let site = "au"
let area = "filling"
let line = "lc"
let workCell = "r1"
let schema = "_historian"
let tagname = "group" # using 'weather' as tag group
let payloadTagName = match meta("mqtt_topic") {
"umh/v1/company/au/filling/lc/r1/_historian/status" => "status"
_ => "unknown"
}
let value = content().number() # Change this to content().number() if you want to parse the value as number