Presence-triggered zone lighting with configurable dimming profiles, timeout periods, and ambient light awareness. Streaming live from ESP32-S3 CSI presence sensors over RVF.
Cog status
All zones nominal
Six zones armed · CSI presence stable · ambient-light tracking engaged. The cog reacts in 42 ms from motion to dim_level event.
Zones armed
6 / 6
all reporting
Lights on
3
of 6 zones
Avg dim level
68%
across lit zones
Motion / hour
47
rolling 60 min
Ambient lux
312
sensor avg
Power draw
142 W
estimated
Dim levels — last 60 min
Per-zone dim_level events, smoothed
Ambient light vs. lit zones
Lux reading drives auto-dim adjustments
Ambient luxLit zones
Energy share by zone
Estimated W·h over last hour
—
Wh / hr
Recent events
light_on · light_off · dim_level · presence
Zones
Six configured zones. Toggle override, adjust dim, or change assigned profile per zone. Overrides expire automatically after the configured timeout.
— / —
Dimming profiles
A profile defines the dim curve over the occupancy lifecycle: fade-in on detection, hold at active level, fade-down on idle, and off after timeout. Drag the points on the curve to reshape, or use the inputs below.
Active profile
—
profile
cycle—peak—%
Fade-in
600 ms
Active dim
85 %
Hold
120 s
Fade-down
40 %
Timeout
45 s
Ambient cap
400 lux
Schedule
Assign profiles to time bands. Click any cell to cycle the assigned profile (Bright → Warm → Night → Off). Cells repeat daily; profile takes effect at zone occupancy.
Weekly schedule
7 days × 24 hours · click a cell to change profile
BrightWarmNightOff
Activity
Event log and presence heatmap. The heatmap shows hourly motion counts across the last 7 days, aggregated from CSI presence frames.
Presence heatmap
7-day × 24-hour motion density
quietbusy
Event log
—
Time
Zone
Event
Value
Source
Sensors
ESP32-S3 nodes broadcasting CSI presence frames. Six nodes, one per zone, plus a single ambient light sensor feeding the auto-dim calculation.
Ambient lux — last 4 hours
SI1145 ambient + IR sensor
Ambient luxAuto-dim ceiling
CSI signal quality
Per-sensor RSSI & detection confidence
Sensor diagnostics
cog runtime · firmware · CSI pipeline
Settings
Cog-level configuration. Changes are written to the cog manifest and broadcast to the fleet on save.
General
Cog identity and runtime
Behaviour
Defaults applied to new zones
Ambient-aware dimming
Skip light_on when lux > cap
Fade transitions
Smooth changes instead of step
Adaptive timeout
Extend timeout in busy zones
Publish dim_level events
Every intermediate step
Event topics
RVF event names emitted by this cog
Event
Direction
Payload
light_on
emit
{ zone_id, profile, dim }
light_off
emit
{ zone_id, reason }
dim_level
emit
{ zone_id, level, lux }
zone_id
topic
string identifier
Test profile on zone
Apply the current profile temporarily. Override clears after the profile's timeout.
Uninstall lighting-zones?
All zones revert to manual switches. Profile and schedule data will be removed from the cog manifest.