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.Actions
Event-driven logic triggered by time or MQTT topics.
Models
Data schemas that structure MQTT messages into JSON.
Rules
Access control for topics and operations.
Routes
Connect to databases, brokers, and external services.
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:| Example | Trigger | What it does |
|---|---|---|
| Heartbeat | Every 5 seconds | Publishes “ok” to indicate the system is alive |
| Echo | Message on input/message | Forwards the payload to another topic |
| SensorData | Value on sensors/raw | Formats raw sensor data into structured JSON |

