Base modules

Thirteen modules presented here: six ready-to-use building blocks, two hardware drivers, five starting points.

In brief

A module is an application that runs on the device. Thirteen are presented here, so your teams do not have to write the plumbing.

Six are ready-to-use building blocks: communication between applications, full-screen display, cloud synchronisation, logs, a hardware simulator, and an orchestrator that carries an installation's logic as configuration.

Two are generic hardware drivers: one more piece of equipment is declared in a file, not coded.

The other five are starting points for your business code, in four languages plus the interface — your teams keep their habits.

The simulator deserves a mention: it plays any declared sensor or peripheral, which makes it possible to develop and demonstrate without the hardware.

What it brings : Your developers start on the business logic from day one, without waiting for hardware or rewriting the basics.

In detail

A module is an application that runs on the device. Thirteen are presented here, all product-agnostic: six infrastructure building blocks used as they are, two hardware drivers set by a declaration, and five starting points for business code, in four languages plus an interface.

Infrastructure blocks and drivers ship as ready-to-use images, obfuscated — the sources are never inside the image. Starting points ship as source code. All are consumed by inheriting from a base image and are versioned. The catalogue is a living one: Arkipelis adds modules as use cases appear.

Infrastructure — used as they are

Hub — the local communication bus

Lets every application on a device discover one another and communicate in real time, with no configuration.

  • Starts first: it is the backbone the others depend on.
  • Automatic discovery of neighbouring applications.
  • Real-time messages — commands, events, states — between applications.
  • Latest states retained: an application that starts late receives them on connection.
  • Automatic reconnection when an application restarts.

A founding module: without it, applications do not find each other. It saves the integrator from designing their own inter-application communication mechanism.

kiosk — full-screen display

Displays a web interface full screen on the video output — touch screen, kiosk, signage — with no menu and no bar.

  • Full-screen browser on a configured address.
  • Portrait or landscape rotation per device, and multiple screens.
  • Boot screen with the customer's logo, which hides start-up artefacts.
  • Automatic page reload when the interface is deployed.
  • Remote screen mirror for diagnosis and demonstrations.
  • Hardware video decoding, for smooth playback.

It covers the full-screen touch display need of any kiosk, connected fridge, vending machine or interactive terminal project.

fileserverNode — cloud synchronisation

Synchronises files between the device and the customer's cloud, both ways, reliably and on a schedule.

  • Device to cloud: business exports — sales, telemetry — with configurable retention.
  • Cloud to device: configurations, media, application resources.
  • Scheduled synchronisation, by default every quarter of an hour and folder by folder, plus an urgent flag that pushes within seconds.
  • Network retry and bandwidth throttling.
  • Remote deletion by marker, and acknowledgement after ingestion to clean up locally.

logsNode — centralised logs

Collects, keeps and exposes the logs of every application on the device, in a queryable form.

  • Automatic ingestion of every application's logs through the bus.
  • Local storage in a lightweight database.
  • Local querying by period, application, level or session.
  • Optional cloud archive, for long-term audit.

Essential for remote diagnosis and compliance: "here is what happened on this device, on that day at that time".

hwSimGo — the hardware simulator

Plays any sensor, actuator or peripheral declared in the configuration, with no hardware — to develop, test and demonstrate.

  • Sixteen types of "things" instantiated by configuration: lock, door sensor, switch, lighting, camera, badge reader, payment terminal, probes, screen and more.
  • The same contract as real hardware: idempotent commands, states published on the local bus.
  • Simulation actions driven from the bus or from a generic screen: badge, door, hand, probe, network.
  • Test fixtures shared with the other implementations.

It makes it possible to develop and demonstrate a hardware project without the hardware, and to play a scenario on demand — forced door, network outage, refused card. The demonstration runs on a workstation, production on the device, with the same business code.

orchestrator — the installation's logic, as configuration

Derives states and rules from the things published by the drivers, so that a heating installation, a water fountain or a fridge are configurations, not versions of the module.

  • Derived states computed on the things of the bus: difference, copy, "at least one", "all".
  • Each derived state carries its own identifier.
  • Trend rules propose an indicator and a recommendation — they execute nothing.
  • Only a declared sequence commands, under guards written in the code.
  • A missing reading makes whatever derives from it "unknown", with its reason.
  • A silent driver suspends the rules rather than playing them blind.
  • A thing driven exclusively is closed to the cloud, and any divergence is stated: a named "degraded" status.

An installation's logic with no line of business code: the integrator describes their quantities and their rules, the module plays them on the device.

Hardware drivers — set by a declaration

Two generic drivers connect off-the-shelf equipment with no protocol to write: what changes from one installation to the next is a declaration, not code.

io-modbus — the generic Modbus driver

Reads, writes and publishes on the local bus any equipment that speaks Modbus, from a declared register map — a single binary, no business logic.

  • The register map is fleet data, which can be overridden device by device.
  • A new piece of equipment adds a file, not code.
  • The state published after read-back is what counts: a command sets "pending", the read-back decides.
  • An unreachable slave makes its things "unknown", with the reason.
  • Never a stale value presented as fresh.
  • A catalogue of off-the-shelf boards ships with the driver.

Connecting an industrial installation — heat pump, relays, probes — with no development: the equipment is declared, the screen and the cloud follow.

mdb-vmc — the vending machine driver

Plays the vending machine against a real payment reader, through an MDB board in the box: session, sale request, end, cancellation, recovery after a reset.

  • No sale without an open session.
  • An out-of-sequence command is refused by name: nothing goes onto the bus.
  • Nothing is guessed — port, baud rate, products, prices, the reader's scale factor.
  • Whatever is missing produces a named refusal at start-up.
  • A reset in the middle of a sale leaves it "to review", never "approved" nor "cancelled".
  • The "coffee machine" and "vending machine" profiles are configurations.

Making an existing machine and its payment terminal sell with no protocol to write: the driver speaks the bus, the rest sees only things.

Starting points — business code

frontendReact — the touch interface

The embedded web application for the device's main interface, typically shown full screen by the kiosk module: an optimised touch interface (gestures, visual feedback, on-screen keyboards), portrait or landscape by configuration, several applications in a single module, automatic reload on deployment, and native integration with the bus, the file synchronisation and the logs.

Four starting points for services

ModuleWhat it bringsWhy choose it
backendNodeApplication services in TypeScript: a local interface for the frontend, business data handling, hardware orchestration.The most common choice for business logic, with a large pool of developers.
backendCsharpServices in C#, debuggable in Visual Studio on native Windows, hardware driven through industrial libraries.Lets a .NET integrator deliver without migrating their stack or their tooling.
backendGoServices in Go: single binary, small memory footprint.For system services and devices with constrained resources.
backendPythonServices in Python, with the scientific ecosystem and audio.For signal processing, local machine learning, and hardware drivers — the generic driver controls inputs and outputs from the declaration of things alone.

All integrate natively with the bus, delegate synchronisation to the file module and logging to the log module.

The business modules shipped by Octopoda

Octopoda — what it always does as well as its business facets — ships its own modules, on exactly the same build and distribution mechanism:

  • The selling agent: it orchestrates the sale on the device, from the badge to reporting the operation.
  • It computes the price locally, with the same library as the cloud.
  • It decides offline from its cache, and loses no operation.
  • It handles field sessions and detects a forced door.
  • The recipe machine agent: it drives a drinks bar or a coffee machine.
  • The pour is measured and billed in proportion to the volume served.
  • The terminal's certified payment module: compliant with payment security standards.
  • Payment, cancellation, refund, card reading, with automatic reconnection.
  • Every transaction is logged.
  • Declarative telemetry: it listens to the local bus and turns it into readings and alerts, with no code.
  • On each change or at a fixed rate, with a threshold held for a duration and a return to normal.
  • Pairing with the point of sale: it gives or chooses the device's business identity at commissioning, with an embedded screen for the technician. Pairing by file works offline.

This documentation is produced from the Arkipelis product base. It describes the capabilities of the products.