MatterEx.Cluster.OccupancySensing (matter_ex v0.4.0)

Copy Markdown View Source

Matter Occupancy Sensing cluster (0x0406).

Reports occupancy state from PIR, ultrasonic, or physical-contact sensors. Occupancy is a bitmap: bit 0 = occupied.

Device type 0x0107 (Occupancy Sensor).

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

get_attribute(state, name)

set_attribute(state, name, value)

start_link(opts \\ [])