Utility Meter

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

INTRODUCTION

The utility 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 utility 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 utility 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 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 Utility meter function block.

You now need to define how many pulses per unit of measurement your meter produces. This information will be found in the manual or data sheet of your meter.

Example Loxone Config Utility Meter Function Block

CONNECT METER INPUT TO COUNTER

The pulse output of your 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 Utility 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 Utility meter function block.

You now need to define how many pulses per unit of measure your meter produces. This information will be found in the manual or data sheet of your meter.

Example Loxone Config Utility Meter Properties Function Block

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

Example Loxone Config Utility Meter Smart Switch Function Block

OVERVIEW

INPUTS

DESCRIPTION

TrTrigger inputConnect pulse meter input directly here
CCounter inputAnalogue input for the number of pulses since the last reading, connect a frequency counter input here.
EAnalogue input for energykWh since the last reading.
PAnalogue input for powerCurrent power in kW.
RResetSets all counters back to 0.

OUTPUTS

DESCRIPTION

AQAnalogue outputTotal consumption in units per hour.
AQpAnalogue outputCurrent power in units averaged over the period T, or taken directly from input P.
AQaAnalogue outputCurrent consumption in units per hour between two pulses (only when using input Tr).
AQ1Analogue outputTotal consumption today in units per hour.
AQ2Analogue outputTotal consumption yesterday in units per hour.
AQ3Analogue outputTotal consumption 2 days ago in units per hour.
AQ4Analogue outputThis week’s consumption in units per hour.
AQ5Analogue outputLast week’s consumption in units per hour.
AQ6Analogue outputThis month’s consumption in units per hour.
AQ7Analogue outputLast month’s consumption in units per hour.
AQ8Analogue outputThis year’s consumption in units per hour.
AQ9Analogue outputLast year’s consumption in units per hour.

PARAMETERS

DESCRIPTION

INumber of pulses per kWhFor the calculation of consumption (input Tr or C).
TAveraging timeTime period over which the average consumption is to be calculated (output AQp).
OOffset total consumptionThis value is added to the total consumption AQ.
AInput E mode0 = values on input E are added, 1 = the value on input E is an absolute value.