Skip to main content
Home
LabTime

Main navigation

  • Home
  • Demos
  • James
User account menu
  • Log in

Breadcrumb

  1. Home

Actions

The action is the 2nd field of a topic.  Actions designate what type a MQTT message is.  LabTime uses a 3 letter code for all actions which makes them easier to identify.  

Administration and Communications - payload: JSON

  • cmd - Send a command such as requestConfig, requestStatus, setDebugLevel, etc.
  • rsp - Respond to a command
  • get
  • snd
  • msg - Send a message such as chat or notes
  • act - Send an activity
  • cod - Display a code debug message
  • sys - Monitor system load, memory, etc.

Metric values - payload: InfluxDB Line Protocol

All of these actions are related to a metric.

  • inp - Sensor reading - temperature, voltage, pressure, etc.
  • out - Request to EDGE device to set an output channgel - voltage, temperature
  • hum - A user (human) as changed an input widget in the HMI - slider, button, switch
  • upper - Set the upper alarm value for this metric
  • lower - Set the lower alarm value for this metric
  • high - Set the upper range value for this metric
  • low - Set the lower range value for this metric

 

Book traversal links for Actions

  • Topics
  • Up
  • Payloads

Documentation

  • Features
  • Applications
  • Architecture
  • Metrics
  • MQTT
    • Spaghetti vs MQTT
    • Clients
    • Topics
    • Actions
    • Payloads
  • Drupal CMS
  • Glossary of Terms
RSS feed