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.

TB7300 Class

Module: tb7300

This module implements support for the Honeywell TB7300 Communicating Fan Coil Thermostat. It may also support the TB7200, though only the TB7300 was available for development of this driver.
The TB7200 Series PI thermostats are designed for zoning applications, and the TB7300 Series PI thermostats are designed for fan coil control. Both Series are communicating thermostats with models available in BACnet(r) MS/TP protocol and can be easily integrated into a WEBs-AX building automation system based on the NiagaraAX(r) platform.
TB7200 and TB7300 Series thermostats are compatible with the Honeywell Occupancy Sensor Cover. Thermostats equipped with an occupancy sensor cover provide advanced active occupancy logic, which will automatically switch occupancy levels from Occupied to Stand-By and Unoccupied as required by local activity being present or not. This advanced occupancy functionality provides advantageous energy savings during occupied hours without sacrificing occupant comfort. All thermostats can be ordered with or without a factory installed PIR cover.
If you intend to work with this device and driver, it is strongly suggested you get the BACnet Intergration Guide document for this device: 63-4524.pdf as recommended in the device documentation.
This module was developed using the upm::BACNETMSTP library, based on libbacnet-stack 0.8.3. Both libbacnet 0.8.3 and the upm::BACNETMSTP libraries must be present in order to build this module.
It was connected using an RS232->RS485 interface. You cannot use the built in MCU TTL UART pins for accessing this device b you must use a full Serial RS232->RS485 or USB-RS485 interface connected via USB.

Methods

TB7300

(
  • targetDeviceObjectID
)
Number

TB7300 constructor

Parameters:

  • targetDeviceObjectID Number

    the unique Instance ID of the Device Object. This number is used to uniquely identify devices on the BACnet network, and ranges from 1 to 4194302. This is not the device's MAC address, though on some devices, the MAC address may be used as part of this number. On the TB7300 , this number depends on the model and the MAC address.

Returns:

Number:

update

()

Read current temperature from the sensor and update internal stored value. This method must be called prior to querying the temperature. All other values in the device must be queried directly via the appropriate BACNETUTIL::get*() methods depending on the object of interest.

getTemperature

(
  • fahrenheit
)
Number

Get the current temperature. update() must have been called prior to calling this method.

Parameters:

  • fahrenheit Boolean

    true to return the temperature in degrees fahrenheit, false to return the temperature in degrees celsius. The default is false (degrees Celsius).

Returns:

Number:

The last temperature reading in Celsius or Fahrenheit.

setTemperatureScale

(
  • fahrenheit
)

Set the device temperature scale to Celsius of Fahrenheit. For devices with an LCD display, this will affect which scale is displayed. When changing the scale, it may take several seconds for the setting to take effect.

Parameters:

  • fahrenheit Boolean

    true to set the scale to fahrenheit, false for celsius.

getTemperatureScale

() Boolean

Get the device temperature scale.

Returns:

Boolean:

true if scale is fahrenheit, false for celsius.

Properties

AV_Room_Temperature

Enum ANALOG_VALUES_T

AV_PI_Heating_Demand

Enum ANALOG_VALUES_T

AV_PI_Cooling_Demand

Enum ANALOG_VALUES_T

AV_Occupied_Heat_Setpoint

Enum ANALOG_VALUES_T

AV_Occupied_Cool_Setpoint

Enum ANALOG_VALUES_T

AV_Standby_Heat_Setpoint

Enum ANALOG_VALUES_T

AV_Standby_Cool_Setpoint

Enum ANALOG_VALUES_T

AV_Unoccupied_Heat_Setpoint

Enum ANALOG_VALUES_T

AV_Unoccupied_Cool_Setpoint

Enum ANALOG_VALUES_T

AV_Password_Value

Enum ANALOG_VALUES_T

AV_Heating_Setpoint_Limit

Enum ANALOG_VALUES_T

AV_Cooling_Setpoint_Limit

Enum ANALOG_VALUES_T

AV_Deadband

Enum ANALOG_VALUES_T

AV_Standby_Time

Enum ANALOG_VALUES_T

AV_Unoccupied_Time

Enum ANALOG_VALUES_T

AI_Supply_Temperature

Enum ANALOG_INPUTS_T

BV_Temp_Override

Enum BINARY_VALUES_T

BV_Aux_Command

Enum BINARY_VALUES_T

BV_Menu_Scroll

Enum BINARY_VALUES_T

BV_Auto_Mode_Enable

Enum BINARY_VALUES_T

BV_Temperature_Scale

Enum BINARY_VALUES_T

BV_Setpoint_Type

Enum BINARY_VALUES_T

BV_Setpoint_Function

Enum BINARY_VALUES_T

BV_Reheat_Timebase

Enum BINARY_VALUES_T

BV_Auto_Fan

Enum BINARY_VALUES_T

BV_Control_type

Enum BINARY_VALUES_T

BV_Direct_Reverse_Acting

Enum BINARY_VALUES_T

BI_AUX_Status

Enum BINARY_INPUTS_T

BI_BI1_Status

Enum BINARY_INPUTS_T

BI_BI2_Status

Enum BINARY_INPUTS_T

BI_UI3_Status

Enum BINARY_INPUTS_T

BI_Local_Motion

Enum BINARY_INPUTS_T

BI_Window_Alarm

Enum BINARY_INPUTS_T

BI_Filter_Alarm

Enum BINARY_INPUTS_T

BI_Service_Alarm

Enum BINARY_INPUTS_T

MV_Sequence_of_Operation

Enum MULTISTATE_VALUES_T

MV_System_Mode

Enum MULTISTATE_VALUES_T

MV_Fan_Mode

Enum MULTISTATE_VALUES_T

MV_Occupancy_Command

Enum MULTISTATE_VALUES_T

MV_Keypad_Lockout

Enum MULTISTATE_VALUES_T

MV_Heating_Valve_Status

Enum MULTISTATE_VALUES_T

MV_Cooling_Valve_Status

Enum MULTISTATE_VALUES_T

MV_Fan_Status

Enum MULTISTATE_VALUES_T

MV_Effective_Occupancy

Enum MULTISTATE_VALUES_T

MV_BI1_Configuration

Enum MULTISTATE_VALUES_T

MV_BI2_Configuration

Enum MULTISTATE_VALUES_T

MV_UI1_Configuration

Enum MULTISTATE_VALUES_T

MV_Pipe_Number

Enum MULTISTATE_VALUES_T

MV_Out1_Config

Enum MULTISTATE_VALUES_T

MV_AUX_Configuration

Enum MULTISTATE_VALUES_T

MV_Fan_Mode_Sequence

Enum MULTISTATE_VALUES_T

MV_Temporary_Occupancy_Time

Enum MULTISTATE_VALUES_T

MV_Proportional_Band

Enum MULTISTATE_VALUES_T

MV_Floating_Motor_Timing

Enum MULTISTATE_VALUES_T

MV_On_Off_Control_CPH

Enum MULTISTATE_VALUES_T