MQTT API
To use the MQTT API, the MQTT connector must be enabled in the MQTT
component configuration. At least the URI of the MQTT broker to be used must be configured, but depending on the installation other parameters may also be required. After saving the settings, you will need to restart the SECC in order to make the changes take effect.
Currently the MQTT API can only be enabled/disabled by an administrator or the pulsatrix support.
The topic is defined as follows:
<Topic-Prefix>/<Client-ID>/<Topic>
The default Topic-Prefix
is: /pulsatrix/secc
but can be configured through the MQTT
component.
The Client-ID
can be either found in the MQTT
component configuration, or on the 2nd page of the SECC display. By default it is an alphanumeric string of 12 characters equal to the serial number of the device. However, the client ID can be changed through the component configuration.
The Topic
is defined by the API and is listed below.
📄️ /chargingPoint/status
This endpoint provides high-level status information about a single charging point.
📄️ /charging/status
The /charging/status endpoint contains general information about the current charging session.
📄️ /tx/status
The transaction status topic contains information about an ongoing charging transaction.
📄️ /meter/fiscal
The fiscal metering topic provides meter data of the EVSE.
📄️ /meter/grid
The grid meter topic provides metering data at the grid connection point of a power-domain. In most scanarios it reflects the sum of all currents going into or out of the building. This contains the values of all fiscal meters.
📄️ Limits
To set the limits applicable to a charging session, send a message body containing the value as a string to the corresponding topic.