<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=S0Meter</id>
	<title>S0Meter - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=S0Meter"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=S0Meter&amp;action=history"/>
	<updated>2026-09-18T23:37:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=S0Meter&amp;diff=17484&amp;oldid=prev</id>
		<title>Creasol: /* Hardware */</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=S0Meter&amp;diff=17484&amp;oldid=prev"/>
		<updated>2022-09-20T19:25:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Hardware&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=S0 Pulse Counter Meter=&lt;br /&gt;
&lt;br /&gt;
S0 &amp;#039;&amp;#039;(S-zero, not the letter &amp;#039;O&amp;#039;)&amp;#039;&amp;#039; pulse meters can be used to measure eletricity/gas/water/counter devices that provide a pulse connector. &amp;lt;br&amp;gt;An example of this are DIN-rail kWh-meters, those are often used for measuring the amount of energy that solarpanels have produced.&lt;br /&gt;
&lt;br /&gt;
Energy meters can be uni-directional (measure only imported energy) or bi-directional (measure both imported and exported energy): the latter is suitable as a main electricity meter when a solar plant on the roof is used.&lt;br /&gt;
&lt;br /&gt;
Several solutions can be used to interface one or more S0 meters to Domoticz.&lt;br /&gt;
&lt;br /&gt;
== S0 Pulse Counter Module (S0PCM-5) ==&lt;br /&gt;
&amp;#039;S0 Pulse Counter Module (S0PCM-5)&amp;#039; from: &lt;br /&gt;
http://www.smartmeterdashboard.nl/webshop&amp;lt;br&amp;gt;&lt;br /&gt;
This module has 5 counter inputs.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
You can use for example S0 Energy meters like the [http://wiki.switchautomation.com/w/SBS-DDS-1Y-45 DDS-1Y].&amp;lt;br&amp;gt;&lt;br /&gt;
They normally have 1000 to 2000 pulses per kWh. &amp;#039;&amp;#039;(the more the better, more pulses = higher &amp;#039;resolution&amp;#039;)&amp;#039;&amp;#039;&amp;lt;br&amp;gt;&lt;br /&gt;
But probably every counting device that complies with DIN 43864 / EN IEC 62053-31 standard should work, as these two standards are supported by the S0PCM-5.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Setup===&lt;br /&gt;
Once you have the Pulse Counter Module (PCM) connected through USB and have Domoticz running, you can add the sensor at &amp;#039;Setup&amp;#039; &amp;gt; &amp;#039;Hardware&amp;#039;. Pick &amp;#039;S0 Meter USB&amp;#039; from the dropdown menu.&amp;lt;br&amp;gt;&lt;br /&gt;
Once added, you should see an option button &amp;#039;Set Mode&amp;#039;, where you can specify the type of meter and the pulses per hour.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Pay attention!===&lt;br /&gt;
For further selection &amp;amp; activation in Domoticz, it is required that at least one operational S0-interface is connected to the S0PCM.&lt;br /&gt;
Then the S0PCM-application gets input for starting, for the operational S0-interface(s) you will see the active counter(s) of the S0PCM under &amp;#039;Devices&amp;#039; and counter(s) can be selected for application.&lt;br /&gt;
Without an input through an active S0-interface, the counters do not appear.&lt;br /&gt;
&lt;br /&gt;
===Forum topics===&lt;br /&gt;
See also these forum topics for interesting background information and a useful script:&amp;lt;br&amp;gt;&lt;br /&gt;
http://www.domoticz.com/forum/viewtopic.php?f=14&amp;amp;t=4139 for experiences&amp;lt;br&amp;gt;&lt;br /&gt;
http://www.domoticz.com/forum/viewtopic.php?f=23&amp;amp;t=5006#p43815 for a generally applicable lua-script for upload of S0PCM-info to PVOutput.&lt;br /&gt;
&lt;br /&gt;
== Creasol DomBus modules ==&lt;br /&gt;
[[Creasol Dombus|DomBus12, DomBus23, DomBus33 and DomBusTH]] are module with at least 2 input ports that can be connected to one or more S0 meters (with pulsed outputs) to measure power/energy, water, gas, ....&lt;br /&gt;
&lt;br /&gt;
The following schema shows how to use a [https://www.creasol.it/CreasolDomBus12 DomBus12 module] to interface a &amp;#039;&amp;#039;&amp;#039;DDS238-1 or DDS238-2 unidirectional meter&amp;#039;&amp;#039;&amp;#039; (with 1 S0 output) and a &amp;#039;&amp;#039;&amp;#039;SDM230 bidirectional meter&amp;#039;&amp;#039;&amp;#039; (with 2 S0 outputs). Connection is really simple, and another 6 I/Os are free to connect other meters, alarm sensors, analog inputs, relays, ....&lt;br /&gt;
&lt;br /&gt;
[[File:S0 energy meters to Creasol DomBus modules schema.png|alt=S0 energy / power / gas / water meters to DomBus module schema]]&lt;br /&gt;
&lt;br /&gt;
DomBus modules are reliable low-power devices that can be connected together by a thin 4 wire cable (commonly used for alarm sensors), forming a network of modules using the standard RS485 bus connected to the domotic controller (RaspberryPI, PC or other hardware) by a RS485 to USB adapter. Since RS485 media is used, it&amp;#039;s possible to connect modules using more than 100m of cable.&lt;br /&gt;
&lt;br /&gt;
Alternatively, it&amp;#039;s possible to connect &amp;#039;&amp;#039;&amp;#039;up to 4 DDS238-2 ZN/S (bidirectional Modbus energy meter) to the [https://www.creasol.it/EVSE DomBusEVSE module]&amp;#039;&amp;#039;&amp;#039; to monitor both power / energy and also voltage, frequency and power factor. DomBusEVSE is a module designed to charge electric vehicle (&amp;#039;&amp;#039;&amp;#039;level-2 EV charging station&amp;#039;&amp;#039;&amp;#039;), maybe it&amp;#039;s not the best solution for who don&amp;#039;t own an electric car.&lt;br /&gt;
&lt;br /&gt;
More information at https://www.creasol.it/power_energy_meter&lt;/div&gt;</summary>
		<author><name>Creasol</name></author>
	</entry>
</feed>