Choose what you allow. Your choice applies on every tracken.ee address and you can change it any time with “Cookie settings” in the footer.

Remember your cookie choice, language and theme. Without them the site doesn't work the way you chose.

A cookie with your choice (6 months); language and theme in browser storage.


The services below learn that you visited this site, whether you came from their ad and whether you then created a Tracken account. That shows us which ads work, and these companies may show you Tracken ads later. They may link the data to your account with them. For Meta, Tracken ID's server reports the new account and also sends a hash of your e-mail address, your IP address and browser details.

ServiceCookiesKept for up to
Meta (Facebook, Instagram)_fbp, _fbc90 days

Tracken's own visit counter uses no cookies, stores no IP addresses and shares nothing with anyone. Privacy policy

Skip to content
Beta
BetaThe Tracken Accounts API is in beta: it may still change before v1, and every change is announced in the changelog.

Meter

Response

A physical meter installed in one of an object's meter properties (slots), with its opening value and, once taken out, its closing value. A property holds at most one current meter; the ones before it stay as history. An object's meters are this same shape.

Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.

Attributes

24
idstring (uuid)required

Meter id; a reading names its meter by it.

object_idstring (uuid)required

The object the meter is on.

property_def_idstring (uuid)required

The meter property (slot) of the object's type the meter fills.

meter_type_idstring (uuid)required

What the meter measures, from its property's definition.

meter_type_namestringrequired

The meter type's name, for display.

unitstring · nullablerequired

The meter type's unit of readings.

serialstring · nullablerequired

Serial number printed on the meter.

locationstring · nullablerequired

Where the meter is, e.g. bathroom or basement.

installed_onstring (date)required

Day the meter was installed.

initial_valuestringrequireddecimal string

The meter's reading when it was installed.

removed_onstring (date) · nullablerequired

Day the meter was taken out; null while it is current.

final_valuestring · nullablerequireddecimal string

The meter's reading when it was taken out; null while it is current.

statusstringrequired

current while installed, removed once taken out. New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) current, removed

parent_meter_idstring (uuid) · nullablerequired

The main meter this one is a sub-meter of (a building's water main above the apartments' meters); the meter-reconciliation report compares their consumption.

rollover_valuestring · nullablerequireddecimal string

The value at which the counter wraps to zero (100000 for a five-digit counter). A reading below the previous one is then read as a wrap when the wrapped consumption is under half this value, by billing too; otherwise it is a decrease.

collectionstringrequired

How readings arrive, typed in or reported (manual) or read remotely (remote). New values may be added: treat a value you do not know as valid, not as an error.

Known values (open: expect new ones) manual, remote

replaces_meter_idstring (uuid) · nullablerequired

The meter that was in this property before this one.

replaced_by_meter_idstring (uuid) · nullablerequired

The meter that followed this one in its property.

last_reading_valuestring · nullablerequireddecimal string

The latest stored reading; null when there is none. Derived: a new reading does not move the meter's updated_at.

last_reading_atstring (date-time) · nullablerequired

When the latest stored reading was taken.

reading_countintegerrequired

How many readings are stored for the meter.

external_refstring · nullablerequired

Your own id for this record (from the system you migrate from or sync with), unique per organization and resource.

created_atstring (date-time)required

When the record was created.

updated_atstring (date-time)required

When the record last changed. Also the basis of the ETag.

Used by