The flua tutorial — QuickApps for the rest of us

You bought a Fibaro HC3 to automate your home. You discovered that the really good ideas need a QuickApp — a small program that lives on the controller. And you have never programmed anything.

This tutorial is written for you. No programming background is assumed. You only need to know how to use a computer and be willing to try things.

What you will build

One project runs through the whole tutorial: the Sunset Lamp — a QuickApp that turns a light on when the sun goes down. Along the way you will:

  1. install the two tools you need (VS Code and flua),
  2. run your first QuickApp on your own computer,
  3. learn what a QuickApp is — and click its buttons in a browser,
  4. teach the lamp when the sun sets,
  5. move it onto your real HC3,
  6. and teach the lamp to check itself, so future changes can't break it silently.

Each chapter ends with a working result. If a chapter feels like it takes forever, skip to the next one — you can always come back.

The chapters

How to read this tutorial

bash flua --version

In VS Code, open a terminal with Terminal → New Terminal in the menu.

✅ You should see — your name in the log. If you don't, re-read the previous steps; the answer is usually one line above.

One promise before we start: you will not need to understand everything. QuickApps are small. The whole trick is a handful of ideas — this tutorial introduces them one at a time, exactly when the lamp needs them.