Learn by Building
The best way to master LoT is through hands-on practice. These tutorials are interactive notebooks you can download and run in VS Code—each one builds your skills progressively.Learning Path
Follow this recommended progression from beginner to advanced:Basics
Start here to learn the fundamentals of LoT Actions and event-driven programming.Timed Actions
Create actions that run on schedules—heartbeats, counters, and periodic tasks. Learn
ON EVERY triggers and state persistence.Topic Actions
React to MQTT messages in real-time. Master
ON TOPIC triggers, wildcards, and payload processing.What You’ll Learn
Logic
Build intelligent automation with conditional logic and decision-making.Conditional Logic
Implement IF/ELSE statements, comparisons, and boolean logic. Build threshold monitors, state machines, and quality control systems.
What You’ll Learn
Models
Structure and transform your data with LoT Models.Basic Models
Define data schemas with typed fields. Create structured sensor readings, equipment status reports, and alarm messages.
Action Models
Publish models dynamically from Actions. Combine event-driven logic with structured data output.
Model Inheritance
Extend base models to create specialized variants. Build hierarchies for sensors, equipment, and production data.
What You’ll Learn
Connectors
Connect your LoT system to external databases and other MQTT brokers.MQTT Bridge
Connect multiple MQTT brokers. Forward messages, sync data between systems, and build distributed architectures.
Database Connectors
Store MQTT data in SQL databases. Configure connections, map topics to tables, and query historical data.
What You’ll Learn
Python Integration
Extend LoT with Python for complex calculations, data processing, and advanced logic.Simple Python
Get started with Python in LoT. Learn the script format, parameter passing, and return value handling.
Advanced Python
Build sophisticated data pipelines. Use external libraries, handle JSON, and implement validation logic.
What You’ll Learn
Showcase
Ready-to-run notebooks that combine every LoT entity type in one realistic project. Each one simulates its own data, so the core cells need only a broker.Flights tracker
Airport operations: Python, timer and topic actions, models with inheritance, a REST API server, file storage, an MQTT bridge, rules, a panel and an AI agent.
Bottling Line
Factory line: Modbus and OPC UA servers and clients, OEE in Python, Things, rules, a dashboard and a maintenance agent.
Smart Building
Unified namespace with wildcard actions, comfort and energy alarms, a Modbus gateway, a REST webhook, dashboards and two cooperating agents.
In Bottling Line, the Thing cells are marked preview: they use
DEFINE THING, which hasn’t shipped yet. Each one has a fallback cell that works on the current broker. Cells under a [needs: X] heading are optional and need an extra service, such as Ollama or PostgreSQL.Quick Reference
Need to review a specific concept? Here’s where to find it:Download Tutorials
All tutorials are available in the Coreflux Community GitHub repository:LoT Tutorials Repository
Download complete tutorial notebooks with documentation, examples, and exercises.
Getting the Tutorials
1
Clone or Download
Clone the repository or download as ZIP from GitHub.
2
Open in VS Code
Open any
.lotnb file—VS Code automatically uses the LoT Notebooks extension.3
Connect Your Broker
Configure your broker credentials, then start running cells.
Next Steps
Usage Guide
Master cell execution, broker commands, and troubleshooting.
LoT Language Reference
Explore the complete LoT syntax reference and advanced features.

