SmartGridready Communication Handler Libraries

Target audience : dev

The SmartGridready repositories on GitHub provide programming libraries in Java and Python that facilitate the implementation of SmartGridready-compliant Communicator devices, such as Energy Manager devices.

The main functionality of these libraries includes:

  • Loading :term:Product Description Files of SmartGridready-compliant devices.

  • Using the information provided in the :term:Product Description Files to translate commands issued via the generic SmartGridready interface into device-specific commands understood by the :term:Product device.

  • Sending commands to the device.

  • Receiving device responses and converting them into the standardized representations defined by the generic SmartGridready API.

The communication layer currently supports:

  • Modbus devices

  • REST-API devices

  • MQTT devices

The Communication Handlers make use of a device driver library to communicate with the devices. By default they use the ‘Device Driver’ libraries, provided by the SmartGridready device driver projects (see SmartGridready Device Driver Libraries). It is also possible to implement custom adapters to integrate 3rd party device drivers.

Python Implementation

You find the Python ‘Communication Handler’ Library and API docs under the following links:

Java Implementation

You find the Java ‘Communication Handler’ Library and API docs under the following links: