Skip to main content

What is LoT?

LoT (Language of Things) is a human-readable language for IoT automation. It uses near-English syntax to define logic, data structures, and integrations—all executed directly within the Coreflux MQTT broker.
Think of LoT as SQL for real-time MQTT data. Just as SQL transforms database records, LoT transforms live MQTT streams.

What You’ll Learn on This Page

Below you’ll find practical examples showing LoT in action - from simple heartbeats to data transformation. Each example demonstrates a core capability you can implement immediately.

Hello World

Three examples showing what LoT can do:
DEFINE ACTION Heartbeat
ON EVERY 5 SECONDS DO
    PUBLISH TOPIC "system/alive" WITH "ok"
ExampleTriggerWhat it does
HeartbeatEvery 5 secondsPublishes “ok” to indicate the system is alive
EchoMessage on input/messageForwards the payload to another topic
SensorDataValue on sensors/rawFormats raw sensor data into structured JSON

Next Steps