UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

AeotecDSB09104 Class

Module: ozw

This module allows for monitoring certain elements of an Aeotec Home Energy Meter Gen 1.

Methods

AeotecDSB09104

(
  • nodeID
)
Number

AeotecDSB09104 constructor

Parameters:

  • nodeID Number

    The ZWave node number of the device we are interested in. Use the ozwdump example to see what nodes you have available.

Returns:

Number:

getWattsC1

() Number

Get the current Watts reading from Channel 1.

Returns:

Number:

The Watts reading.

getWattsC2

() Number

Get the current Watts reading from Channel 2.

Returns:

Number:

The Watts reading.

getWattsC3

() Number

Get the current Watts reading from Channel 3.

Returns:

Number:

The Watts reading.

getEnergyC1

() Number

Get the current Energy reading from Channel 1. The value is in kWh.

Returns:

Number:

The Energy reading.

getEnergyC2

() Number

Get the current Energy reading from Channel 2. The value is in kWh.

Returns:

Number:

The Energy reading.

getEnergyC3

() Number

Get the current Energy reading from Channel 3. The value is in kWh.

Returns:

Number:

The Energy reading.

update

()

Query the device and update internal state. Strictly speaking, this is not really neccessary b a device may send this data on it's own at periodic intervals if configured to do so. This method causes OZW to specifically query the device for it's current Energy, Watts, and Battery Level status. The device may take some time to respond.

getBatteryLevel

() Number

Return the current bettery level of the meter as a percentage. The number returned will be between 0-100.

Returns:

Number:

The Battery power level.

Properties

INDEX_PowerC1

Enum INDEX_VALUES_T

INDEX_PowerC2

Enum INDEX_VALUES_T

INDEX_PowerC3

Enum INDEX_VALUES_T

INDEX_EnergyC1

Enum INDEX_VALUES_T

INDEX_EnergyC2

Enum INDEX_VALUES_T

INDEX_EnergyC3

Enum INDEX_VALUES_T

INDEX_BatteryLevel

Enum INDEX_VALUES_T