Skip to main content

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.
Start with Basics, then branch out. Complete the Basics tutorials first to understand LoT fundamentals, then explore the topics most relevant to your projects.

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


Routes

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 Routes

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


Advanced Topics

Master architectural patterns and optimization techniques for production systems.

Mapping vs Events

Understand route architecture patterns. Choose between mappings and events for optimal performance. Design scalable integration systems.

What You’ll Learn


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.
Last modified on May 20, 2026