### šŸ”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 ```