S0Meter

From Domoticz
Revision as of 19:25, 20 September 2022 by Creasol (talk | contribs) (→‎Hardware)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

S0 Pulse Counter Meter

S0 (S-zero, not the letter 'O') pulse meters can be used to measure eletricity/gas/water/counter devices that provide a pulse connector.
An example of this are DIN-rail kWh-meters, those are often used for measuring the amount of energy that solarpanels have produced.

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.

Several solutions can be used to interface one or more S0 meters to Domoticz.

S0 Pulse Counter Module (S0PCM-5)

'S0 Pulse Counter Module (S0PCM-5)' from: http://www.smartmeterdashboard.nl/webshop
This module has 5 counter inputs.

You can use for example S0 Energy meters like the DDS-1Y.
They normally have 1000 to 2000 pulses per kWh. (the more the better, more pulses = higher 'resolution')
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.

Setup

Once you have the Pulse Counter Module (PCM) connected through USB and have Domoticz running, you can add the sensor at 'Setup' > 'Hardware'. Pick 'S0 Meter USB' from the dropdown menu.
Once added, you should see an option button 'Set Mode', where you can specify the type of meter and the pulses per hour.

Pay attention!

For further selection & activation in Domoticz, it is required that at least one operational S0-interface is connected to the S0PCM. 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 'Devices' and counter(s) can be selected for application. Without an input through an active S0-interface, the counters do not appear.

Forum topics

See also these forum topics for interesting background information and a useful script:
http://www.domoticz.com/forum/viewtopic.php?f=14&t=4139 for experiences
http://www.domoticz.com/forum/viewtopic.php?f=23&t=5006#p43815 for a generally applicable lua-script for upload of S0PCM-info to PVOutput.

Creasol DomBus modules

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, ....

The following schema shows how to use a DomBus12 module to interface a DDS238-1 or DDS238-2 unidirectional meter (with 1 S0 output) and a SDM230 bidirectional meter (with 2 S0 outputs). Connection is really simple, and another 6 I/Os are free to connect other meters, alarm sensors, analog inputs, relays, ....

S0 energy / power / gas / water meters to DomBus module schema

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's possible to connect modules using more than 100m of cable.

Alternatively, it's possible to connect up to 4 DDS238-2 ZN/S (bidirectional Modbus energy meter) to the DomBusEVSE module to monitor both power / energy and also voltage, frequency and power factor. DomBusEVSE is a module designed to charge electric vehicle (level-2 EV charging station), maybe it's not the best solution for who don't own an electric car.

More information at https://www.creasol.it/power_energy_meter