<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/index.php?action=history&amp;feed=atom&amp;title=Slimme_Meter</id>
	<title>Slimme Meter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/index.php?action=history&amp;feed=atom&amp;title=Slimme_Meter"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Slimme_Meter&amp;action=history"/>
	<updated>2026-10-29T17:56:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Slimme_Meter&amp;diff=36910&amp;oldid=prev</id>
		<title>Dap-P: New page for DT 2347</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Slimme_Meter&amp;diff=36910&amp;oldid=prev"/>
		<updated>2016-12-23T14:49:05Z</updated>

		<summary type="html">&lt;p&gt;New page for DT 2347&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Dutch Smart Energy Meter (Slimme Meter) ==&lt;br /&gt;
&lt;br /&gt;
=== Contents ===&lt;br /&gt;
1 Short Description&lt;br /&gt;
&lt;br /&gt;
2 Hardware&lt;br /&gt;
&lt;br /&gt;
3 Software&lt;br /&gt;
&lt;br /&gt;
=== Short Description ===&lt;br /&gt;
In the Netherlands it is very common to have a smart energy meter. This meter measures all electricity and gas usage in the home. On this meter is an interface for the customer.&lt;br /&gt;
This interface can be connected via a serial interface to the LMCE Core and all data can be logged.&lt;br /&gt;
&lt;br /&gt;
There are some differences between different manufacturers of these meters, this information can be widely found on the internet.&lt;br /&gt;
&lt;br /&gt;
=== Hardware ===&lt;br /&gt;
The serial interface on the meter is mostly rs232, but the tx is inversed. I have used an arduino as a converter to interface with the meter with 9600 baud, 7 bits, with parity, to the LMCE core on 9600 baud 8 bits, and no parity. There is a lot of information on how to connect onthe internet, just use google.&lt;br /&gt;
&lt;br /&gt;
This is my arduino code. &lt;br /&gt;
3 wire should be connected, RTS = pin 4, Data on pin 10, and ground.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
.#include &amp;lt;SoftwareSerial.h&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
const int requestPin =  4;&amp;lt;br&amp;gt;&lt;br /&gt;
int incomingByte = 0;&amp;lt;br&amp;gt;&lt;br /&gt;
String inputString = &amp;quot;&amp;quot;;&amp;lt;br&amp;gt;&lt;br /&gt;
boolean start_p1_record;&amp;lt;br&amp;gt;&lt;br /&gt;
boolean data_ready = false;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
SoftwareSerial mySerial(10, 11, true); // RX, TX, inverted, buffer&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
void setup () {&amp;lt;br&amp;gt;&lt;br /&gt;
  mySerial.begin(9600);&amp;lt;br&amp;gt;&lt;br /&gt;
  delay(1);&amp;lt;br&amp;gt;&lt;br /&gt;
  Serial.begin(9600);&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
  Serial.println(&amp;quot;P1 Smart meter reading - START\n&amp;quot;);&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
  pinMode(requestPin, OUTPUT);&amp;lt;br&amp;gt;&lt;br /&gt;
  digitalWrite(requestPin, HIGH);&amp;lt;br&amp;gt;&lt;br /&gt;
}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
void loop () {&amp;lt;br&amp;gt;&lt;br /&gt;
  while (mySerial.available() &amp;gt; 0) {&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;    &lt;br /&gt;
    incomingByte = mySerial.read();&amp;lt;br&amp;gt;&lt;br /&gt;
    incomingByte &amp;amp;= ~(1 &amp;lt;&amp;lt; 7);&amp;lt;br&amp;gt;&lt;br /&gt;
    char inChar = (char)incomingByte;&amp;lt;br&amp;gt;&lt;br /&gt;
    Serial.print(inChar);&amp;lt;br&amp;gt;&lt;br /&gt;
  }&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Software ===&lt;br /&gt;
Its probably a good idea to have the Datalogger plugin installed on your core.&lt;br /&gt;
&lt;br /&gt;
To install the device for the Smart Energy Meter open the webadmin, Advanced, Configuration, Devices. Select the Core and click Create Child Device, Pick Device Template, and use DT 2347.&lt;br /&gt;
&lt;br /&gt;
Now all is finished, and the energy usage is monitored, the data can be seen via Data Logger.&lt;/div&gt;</summary>
		<author><name>Dap-P</name></author>
	</entry>
</feed>