The Unit TMOS PIR component reads human presence and activity status.
| Item | Information |
|---|---|
| Product Name | Unit TMOS PIR |
| SKU | U185 |
| Main Function | Human presence and motion detection |
| Communication Interface | I2C |
| Default I2C Address | 0x5A |
| ESPHome Component | sths34pf80 (external component) |
| ESPHome Version Requirement | 2026.2.2 and later |
Add the External Components configuration to the YAML file to load the STHS34PF80 sensor driver.
external_components:
- source: github://m5stack/esphome-yaml/components
components: [sths34pf80]
refresh: 0s Add the sths34pf80 Sensor Platform to publish presence, motion, and chip temperature. presence, motion, and temperature are optional. pres_flag and mot_flag create Binary Sensor entities under this platform.
sensor:
- platform: sths34pf80
presence:
name: "TMOS Presence"
motion:
name: "TMOS Motion"
temperature:
name: "TMOS Temperature"
pres_flag:
name: "TMOS Presence Detected"
mot_flag:
name: "TMOS Motion Detected"
presence_threshold: 200
motion_threshold: 200
presence_hysteresis: 50
motion_hysteresis: 50
odr: 8
update_interval: 1s Main parameters:
| Parameter | Description |
|---|---|
presence_threshold | Presence detection threshold, range 0–32767, default 200. |
motion_threshold | Motion detection threshold, range 0–32767, default 200. |
presence_hysteresis | Presence hysteresis, range 0–255, default 50. |
motion_hysteresis | Motion hysteresis, range 0–255, default 50. |
odr | Internal output data rate, range 1–8, default 8 (30 Hz). |
external_components:
- source: github://m5stack/esphome-yaml/components
components: [sths34pf80]
refresh: 0s
i2c:
sda: GPIOXX
scl: GPIOXX
scan: true
sensor:
- platform: sths34pf80
id: tmos_pir
presence:
name: "TMOS Presence"
motion:
name: "TMOS Motion"
temperature:
name: "TMOS Temperature"
pres_flag:
name: "TMOS Presence Detected"
mot_flag:
name: "TMOS Motion Detected"
presence_threshold: 200
motion_threshold: 200
presence_hysteresis: 50
motion_hysteresis: 50
odr: 8
update_interval: 1s