snmpTempUnits

THERMOSTAT-MIB · .1.3.6.1.4.1.57702.1.3.22

Object

scalar r/w TempUnitsType
Temperature units used to read and write SNMP objects. It is independent
from the display units, or other BAS integrations such as BACnet units.

Context

MIB
THERMOSTAT-MIB
OID
.1.3.6.1.4.1.57702.1.3.22
Type
scalar
Access
readwrite
Status
current
Default
fahrenheit
Parent
control
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'THERMOSTAT-MIB' -M '/opt/observium/mibs/nthermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'THERMOSTAT-MIB::snmpTempUnits.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'THERMOSTAT-MIB' -M '/opt/observium/mibs/nthermo:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'THERMOSTAT-MIB::snmpTempUnits'

Syntax

Source
TempUnitsType
Base type
Enumeration
Type Description
Temperature units

Values & Constraints

Type Values
1fahrenheit
2celsius

Conformance