Skip to content

Meter readings ​

A reading is one complete conversation with the meter. ZiggyMeter opens the optical link, identifies the meter, collects every datapoint it is configured to ask for, closes the link and publishes the result.

Nothing is streamed continuously — the meter is polled, and what you see is always the result of the last readout.

What triggers a reading ​

TriggerWhere
ScheduleAutomatic, see below
ButtonA single short click
Web interfaceMeter → Readings → READ METER
REST APIGET /api/v1/iec62056/read
ZigbeeOn/Off toggle on endpoint 2

Schedule ​

Configure it under Meter → Schedule. A schedule has three parts: a unit, a period and a trigger time telling the device where in the period to read.

UnitAvailable periodsTrigger fields used
Minutes1, 5, 10, 15, 30none — reads every n minutes
Hours1, 2, 4, 8, 12minute within the hour
Days1, 7, 14, 28hour and minute
Months1, 2, 3, 6day of month (1–28), hour and minute

For example: unit hours, period 4, trigger minute 0 reads at 00:00, 04:00, 08:00 and so on. Unit months, period 1, day 1, time 06:00 reads once a month on the 1st at six in the morning.

INFO

Day-of-month is limited to 1–28 so a monthly schedule fires in every month, February included.

Choosing a frequency ​

The trade-off is resolution against power.

SituationSuggested starting point
Powered from USB-C or mains1 hour
Running on batteries over Zigbee24 hours
First setup or troubleshooting1 minute, then reduce once it works

Each readout wakes the radio, so on batteries the reading frequency is the dominant factor in how long the cells last. See Power and batteries.

WARNING

A one-minute schedule on batteries will flatten a pair of AAA cells quickly. Use it to prove the optical link works, then set a realistic period.

What a reading contains ​

Each value is tagged with an OBIS code — the standard identifier used across European metering. A typical single-phase readout looks like this:

OBISMeaningExample
1-0:1.8.0Positive active energy, total (import)4244.88 kWh
1-0:2.8.0Negative active energy, total (export)4134.77 kWh
1-0:1.7.0Instantaneous positive active power0.076 kW
1-0:11.7.0Instantaneous current0.324 A
1-0:12.7.0Instantaneous voltage234.98 V

Which codes appear depends entirely on your meter and on how the utility configured it. Codes ending in .8.1 and .8.2 are tariff registers (day/night). Values may include a billing period marker such as *101.

The Meter → Readings page shows the raw value, the parsed number and unit, and a description in your interface language.

Meter readings

Where readings go ​

DestinationBehaviour
Web interfaceLast readout, held in device memory
REST API/iec62056/last returns the same data without re-reading
Home AssistantPushed to the Home Assistant REST API after each readout
ZigbeeMapped onto ZCL attributes and reported to the coordinator

INFO

Readings are not logged on the device. ZiggyMeter keeps the last readout only. Long-term history belongs in whatever consumes the data — Home Assistant, InfluxDB, your own database.

Zigbee mapping ​

For Zigbee, each OBIS code is mapped to a ZCL cluster and attribute. The defaults cover the common codes:

OBISCluster / attributeMeaning
1-0:1.8.00x0702 / 0x0000Current summation delivered
1-0:2.8.00x0702 / 0x0001Current summation received
1-0:1.7.00x0B04 / 0x050BActive power, phase A
1-0:11.7.00x0B04 / 0x0508RMS current, phase A
1-0:12.7.00x0B04 / 0x0505RMS voltage, phase A

To change one, double-click the Mapping cell on that row in Meter → Readings and choose a different target from the drop-down. It saves immediately.

See Integrations → Zigbee for the available targets and the API alternative.

The clock ​

Every readout is timestamped. The clock is set from one of three sources — the Zigbee Time cluster, NTP over Wi-Fi, or manually from your browser — with Zigbee taking precedence when both radios are enabled. Set the timezone under System → Clock so local timestamps are right; see how the clock is set.

It is not battery-backed, so it is lost at power-on and after a power cut. Deep sleep does not lose it: a battery-powered device keeps correct time between readings.

Until the clock is valid, timestamps start from 1970 — a useful signal in the serial log that it has not yet been set.