- Home
- TEMP08 Serial One Wire Interface
- 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.
- Talking to the board
- Command reference
- Using the SET command
- Reading the DIS list
- Reading a TMP poll report
First published August 20, 2003 · Text rewritten 2026

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.
| Command | Purpose | Parameters |
|---|---|---|
| DEL | Delete a sensor previously installed with INI | Sensor ID |
| DIS | Display the serial numbers of all configured 1-Wire devices, then the current settings | None |
| EEP | Display and change specific EEPROM locations | Start location |
| ERA | Erase the EEPROM, removing all stored sensors | None |
| ETI | Enable the time display | On or off |
| EWN | Enable the wind display | On or off |
| HLP | List the available commands | None |
| INI | Search the bus for 1-Wire sensors and store new ones | None |
| INP | Show the status of bits 4 to 7 of the first connected DS2408, as used on the 1WIO | None |
| LED | Switch an LED on a 1WIO or equivalent sensor | LED 1 to 80, or A for all; on or off |
| MEM | Display and change specific memory locations | Start location |
| NOR | Set north for a weather station wind direction sensor (DS2450 type only) | None |
| RLY | Switch a specific relay | Relay 1 to 80, or A for all; on or off |
| RST | Reset both counters of a DS2423 | Sensor ID |
| SCK | Set the real-time clock | Day 1 to 7, hour 0 to 23, minute, second |
| SET | Configure all system parameters in one guided pass | Prompts for each value |
| SID | Show the serial number ID of each device in the output | On or off |
| SPT | Set the polling interval | 00 to 99 minutes |
| STD | Set the temperature display units | F or C |
| TIM | Display the time from the real-time clock | None |
| TMP | Display readings from all connected devices, verbose or not | None |
| TYP | Select the type of a DS2408, DS2438 or DS2423 device | Sensor ID |
| VER | Display the firmware version | None |
| WDR | Reverse wind direction, for an upside-down direction board or to show the FROM direction | On or off |
| ZZZ | Reset the TEMP08 | None |
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.

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>byDEL,RSTandTYP. 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
TYPafter first discovery. DS2438 devices keep their type through a power cut; DS2423 devices without battery backup ask again after power-up.
Type letters
| Letter | Sensor role | Chip |
|---|---|---|
| B | Barometric sensor | DS2438 |
| C | Counter | DS2423 |
| H | Humidity sensor | DS2438 |
| I | Input, 4 bits | DS2408 |
| L | Output, 8 bits for LEDs | DS2408 |
| O | Output, 4 bits for relays | DS2408 |
| R | Rain sensor | DS2423 |
| T | Temperature only | DS2438 |
| V | Voltage sensor | DS2438 |
| W | Wind speed sensor | DS2423 |
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
TEMP08 Serial One Wire Interface
TEMP08 linked a PC serial port to the 1-Wire bus: up to 60 sensors for temperature, humidity, rain, wind and relays, plus a real-time clock and RJ-12 jack.
TEMP08 Frequently Asked Questions
TEMP08 FAQ: parasite power, sensor wiring and distance, serial settings, DS1820 vs DS18S20 vs DS18B20 vs DS1822, weather station versions and odd readings.
TEMP08 Software Vintages
TEMP08 firmware from 1.00 in August 2003 to 4.06 in October 2018: what each release changed, KX8 versus JB16 processors, EEPROM variants and upgrade paths.
1WIO a Multi-Purpose 1-Wire Sensor
1WIO was a DS2408-based 1-Wire board with options for 4 SPDT relays, 4 opto-isolated inputs and up to 8 LEDs.
Setting up HomeSeer to use TEMP08
How HomeSeer read a TEMP08: open the COM port at startup, add virtual devices R1 onward, use an event script to store temperature, humidity and wind data.