Skip to content

LOT Routes

LOT Routes provide a powerful way to establish connections between your Coreflux MQTT broker and external systems or services. Routes enable data exchange, notifications, and integration with various platforms.

Available Routes

Coreflux supports the following route types:

MQTT Bridge Route

Connect your Coreflux MQTT broker to other MQTT brokers for seamless data exchange between different IoT ecosystems.

Email Route

Send email notifications and alerts based on MQTT events and data, allowing your IoT system to communicate important information to users.

Route Syntax

All routes in LOT follow a similar pattern:

DEFINE ROUTE RouteName AS ROUTE_TYPE
WITH PARAMETER1 "value1"
WITH PARAMETER2 "value2"
...

The specific parameters vary depending on the route type. Refer to the individual route documentation for details.

Common Use Cases

Routes enable several powerful integration scenarios:

  • Cloud-Edge Integration: Use MQTT Bridge to connect edge devices to cloud platforms
  • Multi-Site Connectivity: Link MQTT brokers across different physical locations
  • Alerting System: Use Email routes to notify personnel of critical events
  • Data Synchronization: Keep data consistent across distributed systems

Route Management

You can manage routes using commands sent to the $SYS/Coreflux/Command topic:

  • Adding a Route:

    -addRoute DEFINE ROUTE RouteName AS ROUTE_TYPE ...
    

  • Removing a Route:

    -removeRoute RouteName
    

For more information on available routes and detailed examples, check out the Routes examples in the LOT Samples Repository.