SmartHomeShop Docs

Usage

CeilSense V2 gives Home Assistant a view of the room: is someone there, how bright is it and, with the SCD41 module, how fresh is the air. This page shows what the sensor does in daily use and how to build on it with automations.

In Daily Use

  • Presence is the main signal. Presence turns on when the radar sees someone, also when that person sits still, and turns off once the room is empty and the timeout has passed.
  • Light tells you how bright it is at the ceiling, so lights only switch on when needed.
  • Climate comes from the SCD41 module. CO2, SCD41 Temperature and Humidity update every 30 seconds.
  • LED ring stays off until you use it.
  • Buzzer stays silent until you use it.

CeilSense V2 does not act on its own. The current firmware has no built-in motion light or CO2 warning. You decide what happens through automations in Home Assistant.

Key Entities

Entity Use it for Needs
Presence Room occupancy A radar
LD2450 Zone 1 Target Count Zones with LD2412 + LD2450 LD2412 + LD2450
Polygon Zone 1 Presence Zones with LD2460 LD2460
Illuminance Light automations Nothing extra
CO2 Ventilation SCD41 module
SCD41 Temperature, Humidity Climate trends SCD41 module
LED Ring Visual signals Nothing extra
Buzzer Test Sound signal Nothing extra

All entities are explained in Sensor Definitions.

Automation Examples

To use an example, go to Settings > Automations & scenes, create an automation and switch to YAML mode.

Note: Entity IDs can differ per installation, because they start with your device name. Check yours on the device page. Replace light.living_room and similar IDs with your own devices.

Light On When Occupied and Dark

alias: "Living room: light on when occupied and dark"
triggers:
  - trigger: state
    entity_id: binary_sensor.ceilsense_v2_presence
    to: "on"
conditions:
  - condition: numeric_state
    entity_id: sensor.ceilsense_v2_illuminance
    below: 100
actions:
  - action: light.turn_on
    target:
      entity_id: light.living_room

The threshold is an example. Look at what Illuminance shows in your room when you would want the light on, and use that value.

Light Off When the Room Is Empty

alias: "Living room: light off when empty"
triggers:
  - trigger: state
    entity_id: binary_sensor.ceilsense_v2_presence
    to: "off"
    for:
      minutes: 5
actions:
  - action: light.turn_off
    target:
      entity_id: light.living_room

Ventilation on High CO2

This example needs the SCD41 module.

alias: "Ventilation on high CO2"
triggers:
  - trigger: numeric_state
    entity_id: sensor.ceilsense_v2_co2
    above: 1000
    for:
      minutes: 5
actions:
  - action: fan.turn_on
    target:
      entity_id: fan.ventilation

LED Notification

A short signal on the LED ring when the doorbell rings.

alias: "Doorbell: signal on the LED ring"
triggers:
  - trigger: state
    entity_id: binary_sensor.doorbell
    to: "on"
actions:
  - action: light.turn_on
    target:
      entity_id: light.ceilsense_v2_led_ring
    data:
      rgb_color: [0, 120, 255]
      brightness_pct: 40
      effect: Breathing
  - delay:
      seconds: 10
  - action: light.turn_off
    target:
      entity_id: light.ceilsense_v2_led_ring

More examples are on LED Ring and Buzzer.

Buzzer Signal

The current firmware has a Buzzer Test button that plays a short melody. An automation can press it.

alias: "Washing machine done: buzzer"
triggers:
  - trigger: state
    entity_id: binary_sensor.washing_machine_done
    to: "on"
actions:
  - action: button.press
    target:
      entity_id: button.ceilsense_v2_buzzer_test

Zones

With LD2412 + LD2450, use the target count of a radar zone. Set up the zone first: see Calibration.

alias: "Desk: lamp on in zone 1"
triggers:
  - trigger: numeric_state
    entity_id: sensor.ceilsense_v2_ld2450_zone_1_target_count
    above: 0
actions:
  - action: light.turn_on
    target:
      entity_id: light.desk_lamp

With an LD2460, use a polygon zone that you drew in the Room Designer.

alias: "Sofa: lamp on in zone 1"
triggers:
  - trigger: state
    entity_id: binary_sensor.ceilsense_v2_polygon_zone_1_presence
    to: "on"
actions:
  - action: light.turn_on
    target:
      entity_id: light.sofa_lamp

Dashboard Ideas

  • Presence with a history graph, to see how a room is used through the day
  • A CO2 gauge with green, yellow and red ranges
  • Temperature and humidity trends
  • Light level next to the state of your lamps
  • The CeilSense card from the SmartHomeShop.io integration

Related