Skip to content

Sensor Definitions

This page explains all sensor entities available on your UltimateSensor Mini, their meaning, and links to ESPHome documentation for more details.


Environmental Sensors

CO₂, Temperature & Humidity (SCD41)

EntityDescriptionUnit
SCD41 CO2Carbon dioxide concentrationppm
SCD41 TemperatureAmbient temperature°C
SCD41 HumidityRelative humidity%

The SCD41 is a high-accuracy photoacoustic CO₂ sensor with built-in temperature and humidity measurement.

Built-in Offsets:

  • Temperature: -2.3°C offset applied
  • Humidity: +3% offset applied

CO₂ Level Guidelines:

LevelMeaning
400-450 ppmFresh outdoor air
600 ppmHealthy indoor level
800 ppmAcceptable indoor
1,000 ppmVentilation recommended
1,200 ppmVentilation necessary
2,000+ ppmPoor air quality, health effects

📖 ESPHome SCD4x Documentation


Light Sensor (BH1750)

EntityDescriptionUnit
BH1750 IlluminanceAmbient light intensitylux

Measures light levels from 1 to 65,535 lux. Updates every 60 seconds.

📖 ESPHome BH1750 Documentation


Air Quality (SGP41)

EntityDescriptionUnit
VOC IndexVolatile Organic Compounds indexindex
NOx IndexNitrogen Oxides indexindex

The SGP41 provides air quality indices with temperature/humidity compensation from the SCD41:

  • VOC Index: 0-500 (100 = average baseline, higher = more VOCs)
  • NOx Index: 0-500 (1 = clean air, higher = more NOx)

📖 ESPHome SGP4x Documentation


Presence & Motion Detection (LD2450)

The LD2450 is a millimeter-wave radar that can track up to 3 people simultaneously.

Occupancy Sensors

EntityTypeDescription
OccupancyBinaryOverall room occupancy
Zone 1 OccupancyBinaryZone 1 occupied
Zone 2 OccupancyBinaryZone 2 occupied
Zone 3 OccupancyBinaryZone 3 occupied
Zone 4 OccupancyBinaryZone 4 occupied (disabled by default)

Target Tracking (3 Targets)

For each target (1, 2, 3):

EntityDescriptionUnit
Target X XHorizontal positionmm
Target X YDistance from sensormm
Target X SpeedMovement speedm/s
Target X DistanceEuclidean distancemm
Target X AngleAngle from sensor center°
Target X ResolutionDetection resolutionmm
Target X ActiveTarget currently detectedon/off

Zone Target Counts

EntityDescription
Zone 1 Target CountNumber of people in Zone 1
Zone 2 Target CountNumber of people in Zone 2
Zone 3 Target CountNumber of people in Zone 3
Zone 4 Target CountNumber of people in Zone 4 (disabled by default)

📖 Hi-Link LD2450 Datasheet


Zone Configuration

Each zone can be configured with these number entities:

EntityDescriptionRangeDefault
Zone X Begin XLeft boundary-4000 to 4000 mm-4000
Zone X End XRight boundary-4000 to 4000 mm4000
Zone X Begin YNear boundary0 to 6000 mm0
Zone X End YFar boundary0 to 6000 mm6000
Zone X Occupancy Off DelayDelay before reporting empty0-600 s15

Understanding the Coordinate System

        Sensor (0,0)
           |
    -X <---+---> +X
           |
           v
          +Y (distance from sensor)
  • X-axis: Left (-4000mm) to Right (+4000mm)
  • Y-axis: Distance from sensor (0 to 6000mm)

Global Settings

EntityDescriptionRangeDefault
Occupancy Off DelayGlobal delay before "no occupancy"0-600 s15
Max DistanceMaximum detection distance0-600 cm600

Voice Assistant & Audio

Media Player

EntityTypeDescription
US Mini Media PlayerMedia PlayerPlay audio, TTS, announcements

The media player can:

  • Play MP3 files from URLs
  • Text-to-speech announcements
  • Alarm sounds
  • Volume control (0-100%)

📖 ESPHome I2S Audio Documentation

Voice Assistant Controls

EntityTypeDescription
Use wake wordSwitchEnable/disable wake word detection

When enabled, the device continuously listens for the configured wake word and processes voice commands through Home Assistant.

📖 ESPHome Voice Assistant Documentation


LEDs

EntityTypeDescription
Front lightLightRGB LED on front of device
Back lightLightRGB LED on back of device

Both are WS2812B RGB LEDs controllable via Home Assistant.

Voice Feedback:

  • Front LED turns red when wake word is detected
  • LED turns off when voice processing starts

📖 ESPHome FastLED Light Documentation


Device Controls

EntityTypeDescription
RestartButtonRestart the device
CO2 manual calibrationButtonTrigger CO₂ calibration (outdoor, 420 ppm)
Factory ResetButtonFull factory reset (disabled by default)

Diagnostic Entities

EntityDescription
IP addressCurrent IP address
Connected SSIDWiFi network name
Connected BSSIDWiFi access point MAC
MAC AddressDevice MAC address
WiFi SignalSignal strength (dBm)
CPU TemperatureESP32-S3 internal temperature
ESPHome VersionESPHome firmware version
Software VersionUltimateSensor Mini software version
Hardware VersionHardware variant
API ConnectionHome Assistant connection status

ESPHome Configuration

The UltimateSensor Mini uses ESPHome with the following key substitutions:

yaml
substitutions:
  device_name: ultimatesensor-mini
  friendly_name: "UltimateSensor Mini"
  project_version: "2.15"
  ultimatesensor_mini_hardware_version: "V1"  # or specific variant

GitHub Source Code

All firmware configurations are open source:

  • Basic: ultimatesensor-mini-basic.yaml
  • Complete: ultimatesensor-mini-complete.yaml
  • Common: ultimatesensor-mini-common.yaml (shared configuration)

👉 github.com/smarthomeshop/ultimatesensor-mini

Adopting in ESPHome

To customize your UltimateSensor Mini:

  1. Open ESPHome Dashboard in Home Assistant
  2. The device should appear as "Discovered"
  3. Click Adopt to add it to your ESPHome
  4. Edit the YAML configuration
  5. Deploy changes via OTA

Differences from UltimateSensor

FeatureMiniRegular
PIR Sensor
OLED Display
PM Sensor✅ (Complete)
Voice Assistant
Ethernet/PoE
Status LEDGPIO19GPIO14
ESP ChipESP32-S3ESP32

See Usage Guide for customization examples.