Schneider Sepam Meters

Plugin to collect from Schneider Sepam meters via Modbus.


The purpose of this plugin is to collect data from Schneider Sepam Series 40 Meters.


This plugin collects from the Schneider Electric Sepam Meters, include the following models: Sepam 10 series, Sepam 20 series, Sepam 40 series, Sepam 60 series, and Sepam 80 series. See: It uses the Modbus TCP Specification, and collects from Serial or IP connected meters, though these meters are usually only conencted via TCP. Meter data will be collected to the meter table, and will be run every 5 minutes, by default. This plugin relies on the Modbus Ardexa plugin. The following data is collected for 20, 40, 60 and 80 series (using using SchneiderSepamSeries40.txt):

Variable Name				Units
AC Current 1				A
AC Current 2				A
AC Current 3				A
Residual Current i0 sum		        A
Residual Current measured	        A
Average Current 1			A
Average Current 2			A
Average Current 3			A
Peak Demand Current 1		        A
Peak Demand Current 2		        A
Peak Demand Current 3		        A
AC Voltage L1-L2			V
AC Voltage L2-L3			V
AC Voltage L3-L1			V
AC Voltage L1-N				V
AC Voltage L2-N				V
AC Voltage L3-N				V
Residual Voltage v0			V
Pos Sequence Voltage vd		        V
Neg Sequence Voltage vi		        V
Grid Freq				Hz
AC Power				W
Reactive Power				VAR
Apparent Power				VA
AC Power Peak				W
Reactive Power Peak			VAR
Power Factor

The following data is collected for 10 series (using SchneiderSepamSeries10.txt):

Variable Name				Units
AC Current 1				A
AC Current 2				A
AC Current 3				A
Earth Fault Current			A
Demand AC Current 1			A
Demand AC Current 2			A
Demand AC Current 3			A
Demand Peak AC Current 1	        A
Demand Peak AC Current 2	        A
Demand Peak AC Current 3	        A
Thermal Capacity			%


Arguments are as follows:

  • endpoint. This is either a serial device like /dev/ttyS0 or an IP or DNS like

  • bus_addresses. A Modbus address in the range 2-255. This can be a hyphenated list like 3-10 or a list like 2,5,7,9

  • --port. This is an optional parameter used in an Ethernet gateway, and is the TCP port used for the gateway. Default is 502

  • --attempts. This is an optional parameter, and determines how many times to times to attempt to read an inverter value. Default is 1

  • --delay. This is the delay in seconds between inverter send and receive commands, AND if attempts > 1. Fractions like 0.3 can be used. Default is 0.05

  • --stop_on_any_command_fail. If this is specified, then any Modbus commands that fail will stop all further queries for all bus addresses and attempts.

  • --serial_lock. If this is set, the program can only be run one at a time (so as not to overload a Modbus device). If the device being queried is a serial device, this will automatically be set to "on". For IP addresses it is optional.

  • --sampling_rate. If this is defined, and the sampling rate is greater than 1, then all values listed above will be collected as an average. In other words; it will take a sample at the nominated frequency. After X samples defined by sampling_rate, a record will be written and sent to the cloud.

Last updated