OGOL OTIU.← All projects
CASE STUDY / INDUSTRIAL DATA / EARLY BUILD

Modbus-to-MQTT energy gateway.

One documented read-only input becomes structured, validated and timestamped MQTT data. This page is the public project plan; real implementation screenshots and test results will be attached only after the prototype is built and verified.

PLANNED PROTOTYPE / NO BACKEND TEST RESULTS YET
01 / CUSTOMER PROBLEM

What problem should it solve?

A meter or simulated industrial source exposes documented registers, but downstream applications need consistent JSON messages instead of a register-by-register polling interface. The integration also needs an explicit way to report unavailable or stale measurements.

Acceptance begins with a definition: For the first prototype, known simulated values must decode to expected units, publish as JSON with identifiers and timestamps, reject malformed values, recover after a disconnect and make no write calls.

02 / Reserved implementation evidence

SCREENSHOT / IMAGE RESERVEDRead-only gateway outputActual register mapping, MQTT subscriber message and test log will appear here after verification.

03 / Proposed architecture

Proposed flow from a simulated Modbus meter to Python read-only connector to MQTT and monitoring, with no control path

Tool plan: Python, PyModbus simulator, Mosquitto and a dashboard such as Grafana or Node-RED. Every external connection must be explicitly authorised and tested in a safe environment.

04 / Test checklist

  • Scaling: known register samples agree with decoded engineering units.
  • Payload: subscriber receives well-formed JSON with timestamp and device identifier.
  • Disconnect: stale data is clearly marked and a reconnect resumes polling.
  • Malformed values: invalid readings are not silently treated as valid.
  • Read-only: no write commands or equipment control functions are present.

05 / Evidence to publish

The completed project page will show a public GitHub repository, reproducible setup instructions, documented register mapping, test execution logs, an honest limitations section and a short recorded demonstration. These are not yet published because a browser mock-up is not backend proof.

06 / Where this leads

After the gateway is tested, reuse its documented data stream for a monitoring dashboard and an authorised solar API connector. That creates a coherent technical portfolio instead of unrelated demonstrations.

The project is in the build-planning stage.