Skip to content

Pixometer Binding ​

This binding connects to the pixometer API, which can manage your meter readings through a native smartphone app.

Supported Things ​

This binding supports the following Thing types according to pixometer's capabilities:

NameTypeDescription
AccountBridgeRepresentation of a pixometer account, which connects to the pixometer API.
EnergymeterThingProvides access to the readings of configured energy meters.
GasmeterThingProvides access to the readings of configured gas meters.
WatermeterThingProvides access to the readings of configured water meters.

The different meter types are broadly similar at their core but are implemented separately to provide Units of Measurement support.

Thing Configuration ​

Account (bridge) ​

ParameterDescriptionRequiredDefault ValueComment
userYes-
passwordYes-
refreshSets the refresh interval. Minimum is 60 minutes.Yes240

Meter Things ​

ParameterDescriptionRequired
resourceIdThe ID which represents the current meter. You can find it in the pixometer browser app while editing a specific meter. It should look like this: https://pixometer.io/portal/#/meters/XXXXX/editYes

Channels ​

All meter things have the following channels:

Channel IDChannel DescriptionSupported item typeAdvanced
last_reading_valueThe last value that has been read for this meter.Numberfalse
last_reading_dateThe time at which the last reading value was recorded.DateTimefalse
last_refresh_dateThe last time that the current Thing has been updated.DateTimefalse

Full Example ​

pixometer.things:

dsl
Bridge pixometer:account:AccountName "MyAccountName" [ user="xxxxxxxx@xxxx.xx", password="xxxxxxxxxxxx", refresh= 60 ] {
        Thing energymeter   MeterName1 "MyMeterName1" [ resourceId = "xxxxxxxx" ]
        Thing gasmeter      MeterName2 "MyMeterName2" [ resourceId = "xxxxxxxx" ]
        Thing watermeter    MeterName3 "MyMeterName3" [ resourceId = "xxxxxxxx" ]
}

pixometer.items:

dsl
Number:Volume   Meter_Gas_ReadingValue              "[%.3f %unit%]"                     []  {channel="pixometer:gasmeter:accountname:metername1:last_reading_value"}
DateTime        Meter_Gas_LastReadingDate           "[%1$td.%1$tm.%1$tY %1$tH:%1$tM]"   []  {channel="pixometer:gasmeter:accountname:metername1:last_reading_date"}
Number:Energy   Meter_Electricity_ReadingValue      "[%.1f %unit%]"                     []  {channel="pixometer:energymeter:accountname:metername2:last_reading_value"}
DateTime        Meter_Electricity_LastReadingDate   "[%1$td.%1$tm.%1$tY %1$tH:%1$tM]"   []  {channel="pixometer:energymeter:accountname:metername2:last_reading_date"}
Number:Volume   Meter_Water_ReadingValue            "[%.3f %unit%]"                     []  {channel="pixometer:watermeter:accountname:metername3:last_reading_value"}
DateTime        Meter_Water_LastReadingDate         "[%1$td.%1$tm.%1$tY %1$tH:%1$tM]"   []  {channel="pixometer:watermeter:accountname:metername3:last_reading_date"}