1. Home
  2. TEMP08 Serial One Wire Interface
  3. TEMP08 Instructions

TEMP08commands

Configuring a TEMP08 from a serial terminal

Every TEMP08 setting is changed by typing a short command over the serial link. There are no jumpers to move. This reference lists the commands for firmware 2.24 and later, explains the multi-part SET command, and shows how to read the two main outputs: the DIS sensor list and the regular TMP poll report.

First published August 20, 2003 · Text rewritten 2026

Isometric illustration of a vintage computer terminal connected by a coiled cable to an interface board (AI-generated image)

Talking to the board

Open a terminal emulator on the PC port the TEMP08 is connected to and set it to 9600 baud, 8 data bits, no parity, 1 stop bit and no flow control. The cable must be straight-through, not null-modem. Once connected, the board prints a prompt and, if polling is active, a report at every interval. Commands are three letters, sometimes followed by parameters, and are sent with Enter.

Commands and parameters are not case-sensitive, so ini, INI and Ini are the same. Settings are stored in EEPROM and survive a power cycle. The command set grew and shrank over the firmware's life; some commands were removed in one version and brought back in another. If a command below is not recognized, check the version with VER and compare it with the TEMP08 firmware release history.

A typical first session

On a new installation the usual sequence is short. Run INI to search the bus and store every sensor it finds. Run DIS to see the list with its memory positions. If any DS2423 or DS2438 devices are present, set their type with TYP. Finally use SET to choose the poll interval, temperature units and display options, and SCK to set the clock. From then on the board reports on its own. Adding sensors one at a time, with an INI after each, makes it easy to tell which serial number belongs to which room.

Command reference

The table lists each command with the purpose given in the TEMP08 documentation. Where a command takes a <sensorid>, that is the two-digit memory position shown by DIS, not the serial number.

CommandPurposeParameters
DELDelete a sensor previously installed with INISensor ID
DISDisplay the serial numbers of all configured 1-Wire devices, then the current settingsNone
EEPDisplay and change specific EEPROM locationsStart location
ERAErase the EEPROM, removing all stored sensorsNone
ETIEnable the time displayOn or off
EWNEnable the wind displayOn or off
HLPList the available commandsNone
INISearch the bus for 1-Wire sensors and store new onesNone
INPShow the status of bits 4 to 7 of the first connected DS2408, as used on the 1WIONone
LEDSwitch an LED on a 1WIO or equivalent sensorLED 1 to 80, or A for all; on or off
MEMDisplay and change specific memory locationsStart location
NORSet north for a weather station wind direction sensor (DS2450 type only)None
RLYSwitch a specific relayRelay 1 to 80, or A for all; on or off
RSTReset both counters of a DS2423Sensor ID
SCKSet the real-time clockDay 1 to 7, hour 0 to 23, minute, second
SETConfigure all system parameters in one guided passPrompts for each value
SIDShow the serial number ID of each device in the outputOn or off
SPTSet the polling interval00 to 99 minutes
STDSet the temperature display unitsF or C
TIMDisplay the time from the real-time clockNone
TMPDisplay readings from all connected devices, verbose or notNone
TYPSelect the type of a DS2408, DS2438 or DS2423 deviceSensor ID
VERDisplay the firmware versionNone
WDRReverse wind direction, for an upside-down direction board or to show the FROM directionOn or off
ZZZReset the TEMP08None

Using the SET command

SET walks through the main parameters one after another, which is quicker than issuing each single-purpose command on a fresh board.

  • Update interval. The time between sensor polls, in whole minutes from 1 to 99. Enter 0 to stop automatic polling; readings are then taken only on request with TMP.
  • F or C display. F for Fahrenheit, C for Celsius. This applies to temperatures only; wind, rain and pressure stay in US customary units.
  • Serial number display. Yes adds each sensor's 64-bit 1-Wire ID to its reading, which is the easiest way for software to know which reading came from which sensor.
  • Wind direction reverse. Normally N. Set Y if the wind direction board was installed upside down in the weather station, or to report the direction the wind is coming FROM rather than going TO.
  • Set clock. Day of week (Sunday = 01 through Saturday = 07), then hour, minute and second. Hours use the 24-hour format only.

Each of these values can also be changed on its own later: SPT for the interval, STD for units, SID for serial numbers, WDR for wind direction and SCK for the clock.

Isometric illustration of a beige retro computer with a green screen, cabled to a small circuit board (AI-generated image)

Reading the DIS list

DIS prints one line per stored device, then the current settings. A line such as 05 1288770000665526 DS2438 OK H reads as follows: memory position 05, the device's serial number, its chip type, the result of the serial number check, and a type letter.

  • Position number. This is the memory locator used as <sensorid> by DEL, RST and TYP. It deliberately does not match the numbering in the poll output, where sensors are counted separately for each kind (Temp #01, Temp #02, Humidity #01 and so on).
  • OK or NG. OK means the cyclic redundancy check (CRC) of the stored serial number is valid; NG means it failed. The check runs each time the list is displayed.
  • Type letter. DS2423 and DS2438 chips can serve different roles, so each one carries a letter set by hand with TYP after first discovery. DS2438 devices keep their type through a power cut; DS2423 devices without battery backup ask again after power-up.

Type letters

LetterSensor roleChip
BBarometric sensorDS2438
CCounterDS2423
HHumidity sensorDS2438
IInput, 4 bitsDS2408
LOutput, 8 bits for LEDsDS2408
OOutput, 4 bits for relaysDS2408
RRain sensorDS2423
TTemperature onlyDS2438
VVoltage sensorDS2438
WWind speed sensorDS2423

After the device list, DIS shows the settings entered with SET and the other commands: update interval, temperature units, serial number display, wind direction reverse, DS2438 temperature display, time display and wind display.

Reading a TMP poll report

Each poll, whether automatic or triggered with TMP, starts with the day and time from the clock, for example SUN 16:52:46, then a Reading Sensors line, then one line per device. Typical lines look like this:

  • Humidity #01[DC0000002B274726]=58%, relative humidity from a DS2438 humidity board.
  • Voltage #01[520000002B25A826]=00.12V 05.05V, two voltages from a DS2438 set as a voltage sensor.
  • Lightning #01[D4000000045C621D]=00020 24592, the two counter values of a DS2423.
  • 1WIO Status = On,On,On,On, the state of four relay outputs on a 1WIO board.
  • Temp #01[4C00080031220C10]=70.80F, a temperature with its unit letter.

DS2438 chips also contain a temperature sensor, which is why the same serial number can appear once as humidity or voltage and again as a temperature line. The DS2438 temperature lines can be switched off if they are not wanted.

Because every line starts with a fixed label and puts the value after an equals sign, the output is easy to parse. That is exactly how the sample HomeSeer script works, as shown on the HomeSeer setup page. For relay and LED boards driven by RLY, LED and INP, see the 1WIO multi-purpose sensor. Common problems, such as ??? readings after adding a sensor, are answered in the TEMP08 FAQ.

Questions and answers

Are TEMP08 commands case-sensitive?

No. Commands and their parameters are accepted in upper case, lower case or any mix, so INI, ini and Ini all run the same search. Each command is three letters, sometimes followed by a parameter such as a sensor position, an on or off value, or a number, and is sent by pressing Enter.

How do I add a new sensor to the TEMP08?

Connect the sensor and run INI. The board searches the bus and writes any new serial number to EEPROM, usually in the next free position. There is no need to erase first with ERA, which wipes every stored sensor. Run DIS afterwards to see the new entry and its position number.

How do I change the TEMP08 polling interval?

Use SPT followed by a value from 00 to 99 minutes, or change the update interval inside the SET command. A value of 0 stops automatic polling, after which readings appear only when TMP is entered. The interval is stored in EEPROM and survives power cycles.

Why do DIS numbers differ from the poll output numbers?

The DIS number is the sensor's memory position, which is what DEL, RST and TYP expect as a sensor ID. The poll report instead numbers each kind of sensor separately, such as Temp #01 or Humidity #01. The mismatch is intentional, so always take sensor IDs from the DIS list.

What does NG mean in the DIS output?

NG means the cyclic redundancy check on that stored serial number failed, so the ID is not valid. OK means the check passed. The check is made each time the list is displayed, and in the sample output an NG entry also shows ??? in place of a chip type.

Related pages