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.

TZEMT400 Class

Module: ozw
  • ID: tzemt400
  • Name: Trane TZEMT400 Z-Wave Thermostat.
  • Connection: uart
  • Manufacturer: trane

This module allows for monitoring certain elements of a Trane TZEMT400 Z-Wave Thermostat. It was tested with a Trane TZEMT400BB32MAA variant.

Methods

TZEMT400

(
  • nodeID
)
Number

TZEMT400 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:

getTemperature

(
  • fahrenheit
)
Number

Return the current measured temperature in Celsius or Fahrenheit.

Parameters:

  • fahrenheit Boolean

    true to return data in Fahrenheit, false for Celicus. Celsius is the default.

Returns:

Number:

The temperature in degrees Celsius or Fahrenheit.

getMode

() String

Return a string representing the current Mode. This is usually something like "Cool", "Heat", "Auto", etc.

Returns:

String:

a string representing the current mode.

getOperatingState

() String

Return a string representing the current Operating State. This is usually something like "Idle", or "Cooling".

Returns:

String:

a string representing the current operating state.

getHeatingPointTemperature

(
  • fahrenheit
)
Number

Return the current Heating Point temperature in Celsius or Fahrenheit. This is the temperature at which the thermostat will want to engage Heat.

Parameters:

  • fahrenheit Boolean

    true to return data in Fahrenheit, false for Celicus. Celsius is the default.

Returns:

Number:

The Heating Point temperature in degrees Celsius or Fahrenheit.

getCoolingPointTemperature

(
  • fahrenheit
)
Number

Return the current Cooling Point temperature in Celsius or Fahrenheit. This is the temperature at which the thermostat will want to engage Cooling.

Parameters:

  • fahrenheit Boolean

    true to return data in Fahrenheit, false for Celicus. Celsius is the default.

Returns:

Number:

The Cooling Point temperature in degrees Celsius or Fahrenheit.

getFanMode

() String

Return a string representing the current Fan Mode. This is usually something like "Auto Low".

Returns:

String:

a string representing the Fan Mode.

getFanState

() String

Returns:

String:

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. This method causes OZW to specifically query the device for it's current information. The device may take some time to respond.

Properties

INDEX_Temperature

Enum INDEX_VALUES_T

INDEX_Mode

Enum INDEX_VALUES_T

INDEX_Operating_State

Enum INDEX_VALUES_T

INDEX_Heating_Point

Enum INDEX_VALUES_T

INDEX_Cooling_Point

Enum INDEX_VALUES_T

INDEX_Fan_Mode

Enum INDEX_VALUES_T

INDEX_Fan_State

Enum INDEX_VALUES_T

INDEX_FC_Units

Enum INDEX_VALUES_T