Energy meter OPTO coupler WiFi with value adjustment

The logic group enables the cyclic reading of house connection meters with optical interface.

Optical sensors available on the market that make it possible to read the measured values provided by the energy supplier transmit these values to a serial interface. These serial values can be made available on TCP/IP via WiFi with an ESP radio interface running the TASMOTA firmware.
This means that these values can be queried via http request and transferred to the KNX bus.
The energy supplier or metering point operator determines which data (protocols) are available at the optical interface. In the configuration of TASMOTA, there are already numerous templates for transmission protocols from energy suppliers. In the existing example, no power is displayed per phase, but instead the phase angle. This allows the power on the phase to be calculated.

The query is made via a cyclical transmitter, at 60s intervals, using an http request.
The http request is in the form e.g. http://192.168.1.249/cm?cmnd=Status0, where 192.168.1.249 is the IP address of the TASMOTA ESP radio interface.
The IP address of the TASMOTA ESP radio interface must be static. This can be a static address of the interface or permanently assigned by the router.
All available values of the TASMOTA interface are read out and transferred to the text processor in a JSON format.
The required values are selected in the Processor text. The desired measured values are listed under:
- StatusSNS.SML.Power_curr (current total power in W)
- StatusSNS.SML.Total_in (total energy drawn in kWh)
- StatusSNS.SML.Volt_p1 (Voltage L1)
- StatusSNS.SML.Volt_p2 (Voltage L2)
- StatusSNS.SML.Volt_p3 (Voltage L3)
- StatusSNS.SML.Ampere_p1 (Current L1)
- StatusSNS.SML.Ampere_p2 (Current L2)
- StatusSNS.SML.Ampere_p3 (Current L3)
- StatusSNS.SML.Angle_p1 (phase angle on phase 1)
- StatusSNS.SML.Angle_p2 (phase angle on phase 2)
- StatusSNS.SML.Angle_p3 (phase angle on phase 3)

SML is the defined protocol data of the energy supplier.
The data received is passed to the output of the element according to its value and data type.
The values of the phase angle are used to calculate the power in the phase in the mathematics element:
Voltage*Current*(cos(Phase angle*(pi/180)))
The received and calculated values are sent via the output elements as a KNK telegram.
This logic group can be deactivated with the "Enable LG" input.
Data point types of the inputs and outputs:
- For switching (enabling), DPT1.*/EIS1,
- the values for measurements are DPT14.*/ EIS9.

For further or more detailed information on this topic, there is a separate description.

BAB TECHNOLOGIE
(237; 2023.04)

Energy meter OPTO coupler WiFi with value adjustment

153
This logic group is compatible with: EP, LOM
*With the download you accept the Notes on use for logic groups.