API
Documentation
  • Welcome!
  • REST API
    • Overview
    • Authentication
    • Swagger docs
    • Query an endpoint
    • Filter query results
    • Handling timestamps
    • Backward compatibility
    • Exporting Data using ODATA
    • Power BI Incremental refresh
    • Data Lake Transfer Gateway
    • EXAMPLES
      • Upload production schedule
      • Find all Running Orders
      • Interact with the Order Lifecycle
      • Consume and Submit an Activity
      • Raise an Event in TilliT
  • MQTT API
    • Overview
    • Connect to the TilliT Broker
    • Subscribe to a TilliT Topic
    • Setting a MQTT Integration
    • Publish Timeseries
    • Publish Order Progress
  • Activity API
    • Overview
    • JavaScript Basics
    • Using $scope and OnLoad Scripts
    • JavaScript Object Schema
  • Release Notes
    • 2024
      • April
Powered by GitBook
On this page
  1. MQTT API

Overview

PreviousMQTT APINextConnect to the TilliT Broker

Last updated 9 months ago

Welcome to the TilliT MQTT Documentation! This section will detail exactly how you can interact with our TilliT services. You may want to do the following:

  • Recieve asynchronous event and order updates from TilliT

  • Ingest Live Production Counts and statuses into TilliT

  • Trigger a TilliT event from an external source.

Why would you want to connect via MQTT anyway? Well, if you are trying to get live data exactly when it is created, then an API fails to do so because the client would need to endlessly request the endpoint for new data. A webhook could be an alternative to this, but may not be suitable because it requires an incoming request to your network to create a connection, potentially causing conflict with your current IT security practices. MQTT provides a good alternative, as the request to create a connection occurs inside of your network, and a long lived connection allows for asynchronous messaging to prevent polling frequently for updates.

Before developing your solutions, it's important to understand some of the tips and tricks for using the TilliT MQTT Broker.

  1. Filter a Payload Object

Then you're ready to look into some of the advanced features by using MQTT. See these for what else you can do

  1. Raise an Event

  2. Change Order Statuses

Connect to the MQTT Broker
Subscribe to a TilliT Topic
Setup an MQTT Integration
Using the Ignition MQTT Module
Publish Timeseries
Publish Production Counts and Statuses