03 / Desktop engineering platform

DLMS Meter Debugging& Calibration Platform

A Windows desktop workflow that connects DLMS/COSEM communication, batch verification, automatic calibration, result review, and versioned release without hiding the physical-device boundary.

01 What it solves

What it solves

Meter development work often moves between a serial tool, a calibration bench, a standard meter, spreadsheets, and release notes. This project brings those handoffs into one Python/Tkinter workbench while keeping transport details, expected values, and calibration stages inspectable.

02 Engineering loop

Engineering loop

  1. 01Select serial / Wrapper / MQTT transport
  2. 02Read or write OBIS data
  3. 03Compose a checked batch
  4. 04Run against the meter or bench
  5. 05Compare expected and actual values
  6. 06Calibrate and write back approved values
  7. 07Review data and package a release

03 System architecture

System architecture

Tkinter workbench

Presents connection settings, OBIS management, batch commands, calibration windows, data review, help, and logs as one desktop surface.

Command and batch layer

Builds single GET/SET/ACTION/PROFILE/GETFRAME operations, expected-value checks, cancellation, and result summaries.

DLMS transport

Uses serial HDLC, Wrapper, MQTT, and multi-serial paths to reach a meter, a standard meter, or a calibration bench.

Build and delivery

Packages the tested desktop workflow with PyInstaller, versioned EXEs, release notes, and controlled cleanup of old artifacts.

04 Calibration and review workflow

Calibration and review workflow

01 · Configure

Choose wiring, transport, meter position, and the measurement point before executing anything.

02 · Collect

Read standard-meter and device values through the same observable command path.

03 · Adjust

Run manual, automatic, high-precision, center-error, or small-signal calibration steps with explicit stages.

04 · Review

Compare expected values, inspect curves or instantaneous data, and export the result for the next engineering decision.

05 Sanitized interface evidence

Sanitized interface evidence

Connection & OBIS command surface
Connection & OBIS command surfaceA publication-safe view of transport selection, OBIS operations, explicit demo values, and an execution log. Port names and raw frames are intentionally masked.
Calibration stage review
Calibration stage reviewThe calibration window makes wiring, test point, standard-meter comparison, and the collect → compare → adjust → write-back stages visible in one place.
Batch verification summary
Batch verification summaryExpected-value checks turn a repeatable command set into a reviewable table, including cooperative cancellation and a clearly isolated item for follow-up.

06 Reliability & operations

Reliability & operations

07 Verification & release

Verification & release

08 Engineering with Codex

Engineering with Codex

Engineering with CodexCodex accelerated implementation, but it did not replace protocol judgement or hardware acceptance. The software’s behaviour is established by tests, logs, reports, and device results.

09 Project boundary

Project boundary

This case documents a dependable engineering workbench, not an autonomous diagnostic system. Future AI support may summarize structured logs or retrieve similar issues, with a person reviewing every suggested conclusion.

10 Stack

Stack

Python · Tkinter · pyserial · DLMS/COSEM · HDLC · Wrapper · MQTT · PyInstaller