Electricity meter

This block allows you to calculate and show energy consumption on the user interface. It works with pulse meters or meters that give you a consumption value.

Loxone Musterkoffer

Introduction

The electricity meter block allows you to take the output from a pulsed meter and record the consumption to then use all the different outputs of the electricty meter block in the program. For example you could use the value for this month's consumption and send it in an email to yourself.

The function block shows total and current consumption but also has lots of other values, which are listed on this page in the overview.

The electricity meter block is shown in the user interface and statistics can also be enabled.

Basic setups

Connect meter input to trigger

The pulse output of your electricity meter needs to be wired to a digital input of the Miniserver or an Extension. In Loxone Config you then need to connect this digital input to the Trigger (Tr) input of the Electricity meter function block.

You now need to define how many pulses per kWh your electricity meter produces. This information will be found in the manual or datasheet of your meter.

Connect meter input to Counter

The pulse output of your electricity meter needs to be wired to a digital input of an Extension in this case. It is important that to use a digital input on the Counter input of the Electricity meter function block that you set the input type to be used as a frequency counter and this can only be done on Extension digital inputs. To set the type in Loxone Config simply tick the box called 'Frequency counter' in the properties of the digital input.

Then you need to connect this digital input to the Counter (C) input of the Electricity meter function block. 

You now need to define how many pulses per kWh your electricity meter produces. This information will be found in the manual or datasheet of your meter.

Connect a Smart Socket Air power and energy

The Smart Socket Air provides energy and power consumption that can be used as inputs in the config file. You can connect the power input to P, and the energy input to E on the Electricity meter block to then measure the consumption of the Smart Socket.

More information about the Smart Socket Air can be found on our documentation page about the setup.

Overview

Inputs

 

Description

Tr

Trigger input

Connect pulse meter input directly here
C

Counter input

Analogue input for the number of pulses since the last reading, connect a frequency counter input here.
E

Analogue input for energy

kWh since the last reading.
P

Analogue input for power

Current power in kW.
R

Reset

Sets all counters back to 0.

Outputs

 

Description

AQ

Analogue output

Total consumption in kWh.
AQp

Analogue output

Current power in kW averaged over the period T, or taken directly from input P.
AQa

Analogue output

Current consumption in kWh between two pulses (only when using input Tr).
AQ1

Analogue output

Total consumption today in kWh.
AQ2

Analogue output

Total consumption yesterday in kWh.
AQ3

Analogue output

Total consumption 2 days ago in kWh.
AQ4

Analogue output

This week's consumption in kWh.
AQ5

Analogue output

Last week's consumption in kWh.
AQ6

Analogue output

This month's consumption in kWh.
AQ7

Analogue output

Last month's consumption in kWh.
AQ8

Analogue output

This year's consumption in kWh.
AQ9

Analogue output

Last year's consumption in kWh.

Parameters

 

Description

I

Number of pulses per kWh

For the calculation of consumption (input Tr or C).
T

Averaging time

Time period over which the average consumption is to be calculated (output AQp).
O

Offset total consumption

This value is added to the total consumption AQ.
A

Input E mode

0 = values ​​on input E are added, 1 = the value on input E is an absolute value.