Smart Meter


Description

DomotiGa support reading telegrams from Dutch Smart Meters. A Dutch Smart Meter (using the NTA8130 standard) has a data-port (also called P1) on which it dumps the data from connected utility meters every 10 seconds (DSMR 4 and older) or every 1 second (DSMR 5). Not only electricity usage but also other connected meters (through MBus) like Gas, Heating, Cooling, Water.

Also power generated from Sun/Wind which is delivered back to the net by the client is logged.


Requirements

Smart Meter support has the following requirements:
  • P1 (RJ11) connected via serial cable


Supported DSMR Versions

The following DSMR version have been successfully validated with DomotiGa:

DSMR Version Status Default Speed*
2.X Not tested 9600 7E1
2.2.X Supported 9600 7E1
3.0 Supported 9600 7E1
4.0.X Supported 115200 8N1
4.2.X Supported 115200 8N1
5.0.X Supported 115200 8N1

The Default Speed is the most common used serialport settings for baudrate, databits, parity and stopbits, but please consult your device manual first. Some vendors use different settings.


Disclaimer: Build and use this at your own risk!

The P1 port is usually present in the form of a RJ11 socket. It's half duplex serial port with TTL level (0-5V) signals, 3 out of 4 pins are connected. The following table shows the RJ11 pin layout, signal description and the optional DB9 pin layout when using a USB to RS232 cable.

RJ11 Pin # Signal DB9 Pin #
2 REQUEST (RTS) 4
3 GROUND (GND) 5
4 NOT CONNECTED (NC) NOT CONNECTED (NC)
5 DATA (RxD) 2

You need to build a special serial cable, you must make sure that the REQUEST pin must be kept HIGH before it starts dumping data.
And the signals are inverted so 0 = 5V and 5V = 0 volt, if you use an FTDI converted (needed to convert levels from 0-5v to -12/+12v) you can tweak it so it will invert the signals for you.
Additional information about FT_Prog [[http://www.ftdichip.com/Support/Utilities.htm]] can be found here: [[http://www.maartendamen.com/2012/04/new-smart-meter-installed-iskra-me382-and-landis-gyr-gasmeter-e06140/]]

DomotiGa stores all info in 3 or more devices (depending on how many connected MBus meters it finds)

Power Usage:

Device with id 36 displays Electricity Usage
It's address is 'P1-PowerUsed' and it displays:
Live power usage (2130Watt), meter readings High and Low tariff, and the current Tariff.

Default the power usage is reported in kWh too, but you can use a calibrate value of 'Value * 1000' to get Watts.

Power delivered:

Device with id 37 displays generated power delivered to the net by the client (Sun/Wind)
It's address is 'P1-PowerDelivered' and it displays:
Live power delivered, meter readings High and Low tariff, and current Tariff.

The power delivered is not converted to Watts here.

Gas usage:

Device with id 35 displays data from Gas meter.
It's address is 'P1-MBus1' because it's connected to the main meter via MBus channel1.
It displays the Gas meter read of last hour (timestamp in value4), the valve position and type of meter (Gas, Heat, Cooling etc)

Related Resources

**[DIY yourself (sorry dutch only): http://www.zonstraal.be/wiki/Datalogging_van_slimme_meters]

    Updated by: Alexie, Updated 23 days ago
    Access count: 73903 since 2012-06-03

    Attached Files

    InvertSignals.jpg (85.5 KB) rdnzl, 06/03/2012 01:53 PM

    RJ11-P1.png (31.2 KB) rdnzl, 06/03/2012 01:53 PM

    P1Meter.jpg (8.01 KB) rdnzl, 06/03/2012 01:53 PM

    P1.png (14.1 KB) rdnzl, 06/03/2012 02:04 PM

    DSMR3.0-final-P1.pdf (709 KB) rdnzl, 04/14/2013 07:11 PM

    Kaifa-MA105.png (34.6 KB) scdhome, 07/10/2014 02:54 PM

    rs232-pinout.jpg (30.7 KB) Alexie, 04/17/2017 09:07 AM

    DSMRv5.0FinalP1.pdf (640 KB) Alexie, 04/29/2017 04:48 PM

    DSMRv4.0.4-Final P1.pdf (336 KB) Alexie, 04/29/2017 04:49 PM

    DSMRv5.0.2 Final P1.pdf (473 KB) Alexie, 04/29/2017 09:07 PM

    Also available in: PDF HTML TXT