### š1. UHT ā Identity of the Smart Light Bulb
The smart light bulb is a man-made, perceptible device that interacts with humans, processes logic, and operates autonomously to adjust lighting based on user preferences or environmental conditions.
#### UHT Traits
```yaml
- 2: Man-made
- 6: Perceptible
- 10: Emits output (light)
- 11: Processes logic
- 13: Interacts with humans directly
- 15: Autonomous in function
```
**UHT Code**
```text
UHT: 42 FB 00 B0
```
---
## š 2. UHR ā Semantic Relationships
The smart light bulb:
- Receives input from a user or a smart home system
- Adjusts its brightness and color based on environmental sensors
### UHR Links
```yaml
- from: User or Smart Home System
to: Smart Light Bulb
uhr: "C1" # Feeds ā
- from: Environmental Sensor
to: Smart Light Bulb
uhr: "C1" # Feeds ā
```
---
## ā±ļø 3. UHS ā Behavior Over Time
### States:
```yaml
- Off: 42F20000 # Passive, no light
- On: 42FB00B0 # Active, emitting light
- Adjusting: 42FB00C0 # Adjusting brightness/color
```
### Transitions:
```yaml
- Off ā On
trigger: User command or schedule
via: C1
- On ā Adjusting
trigger: Change in environment (e.g., daylight)
via: C1
- Adjusting ā On
trigger: Desired lighting achieved
via: C1
- On ā Off
trigger: User command or schedule
via: C1
```
---
## šØ 4. SDR ā Self-Describing Requirement
```yaml
id: SDR-SMARTLIGHT-01
name: "Smart Light Bulb"
description: "An autonomous light bulb that adjusts its brightness and color based on user input and environmental conditions."
must_have_traits:
- 2 # Man-made
- 6 # Perceptible
- 10 # Emits output
- 11 # Processes logic
- 13 # Interacts with humans
- 15 # Autonomous
required_links:
- relation: "Feeds ā"
uhr: "C1"
target_must_have: [10] # Must emit light
states:
- Off
- On
- Adjusting
delta_expected:
- from: On
to: Adjusting
add: [11] # Must process logic for adjustment
```