DLMS Translator is an IntelliJ Platform (IntelliJ IDEA, PyCharm, etc.) plugin designed to simplify the workflow for developers working with the DLMS/COSEM protocol. It provides quick translation of hex or base64 frames (PDUs) into a readable and well-formatted XML format.
- PDU to XML Translation: Converts DLMS PDUs into structured XML.
- Tool Window: A dedicated interface on the right sidebar for manual input and XML visualization.
- Automatic Formatting: XML is generated with professional indentation for enhanced readability.
- Open the DLMS Translator tool window on the right sidebar of your IDE.
- Paste the hex or base64 frame into the upper input field.
- Click the translation button.
- The formatted XML will be displayed in the lower area. You can copy the result using the copy icon in the output area's toolbar.
This plugin leverages the following libraries and tools:
- Gurux.DLMS.java: The core library responsible for DLMS/COSEM translation logic.
- IntelliJ Platform SDK: Framework for plugin development.
- Kotlin: Modern programming language used for implementation.
To compile the project locally:
- Clone the repository.
- Import it as a Gradle project in IntelliJ IDEA.
- Use the
runIdeGradle task to test the plugin in a new IDE instance. - Use the
buildPluginGradle task to generate the installable.zipfile.
Developed by jotapem