Builds¶
On this page: the two firmware builds, the build identity in every image, the three update channels that follow from it, and how to choose. The version number is the same for both builds (for example 0.4.1).
Read build¶
The default build. It reads, it never switches.
- Reads Modbus devices on RS485, local HTTP devices and the digital inputs; sends readings, events and state.
- At start-up all outputs are set off and to input (high impedance). After that the firmware never writes to the output expander again.
- Contains no code that can set an output. A check in CI fails the build if anything writes to the output registers outside the safe start-up routine, and a second check proves on the compiled binary that no switching code is present.
- The remote command
set_outputexists only by name: the read build always answersnot_supported. - Runs on both boards.
Switching build¶
A separate build for the 8DI-8DO board only. It does everything the read build does, plus:
- drives the DO outputs through interposing relays or contactors;
- output functions (pump speeds, filter pump, backwash, heating enable, refill, light, aux) assigned on site;
- interlocks, minimum on and off times, daily limits and break-before-make in the firmware;
- local schedules per output;
- remote on and off through the portal, within the rules above.
See Switching build for the full behaviour.
Status of the switching build
The switching build has been built and its logic is tested on the host, but the hardware-in-the-loop tests and a 7-day endurance test must pass before it is used at a real pool.
Build identity¶
Every image carries a build identity: build (read or switching) and board (poe_8di8do or rs485_can).
It is part of the signed image.
- A box refuses an image of another build or another board, both for remote updates and over USB. The
reasons it reports are
other build,other board, orno build id(an image from before build identities existed). - The box reports its build and board in its status line on the USB console (
..., build read, board poe_8di8do) and in its device shadow (reported.build,reported.board). - The switching build is also recognisable by the start-up line in the log
(
Start: firmware x.y.z (switching build)) and on the setup page.
Channels per board and build¶
Each combination of board and build has its own update channels:
| Board | Build | Channels |
|---|---|---|
poe_8di8do |
read |
beta, stable |
rs485_can |
read |
beta, stable |
poe_8di8do |
switching |
beta, stable |
See Updates and channels.
Choosing¶
| If | Choose |
|---|---|
| You only need readings and alerts | Read build |
| You use the RS485-CAN board | Read build (the only option) |
| Lutra should switch equipment and an electrician installs the relays and interlocks | Switching build |
| You are not sure | Read build; changing later is possible with a full reflash |
Changing build is never done by an update. See Converting to another build.
Related pages¶
Last reviewed: 2026-11-24. Applies to Lutra Lite 0.4.1.