Draft Own Frame
draft_own_frameConstruct and validate an OpenWebNet frame using WHO, command type, and WHERE codes to produce a syntactically correct protocol message.
Instructions
Construct and validate a syntactically correct OpenWebNet frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | Yes | Subsystem WHO code (1 = Lighting, 2 = Automation, 4 = Climate, etc.). | |
| what | No | Action or WHAT code (e.g. 1 for ON, 0 for OFF). | |
| where | Yes | Device address (e.g. '12', '0', '21#4#1'). | |
| values | No | Optional list of values for dimension writes (e.g. ['50', '0'] for 50% brightness). | |
| dimension | No | Dimension index (e.g. 1 for level, 0 for temp). | |
| command_type | Yes | One of 'command', 'status_request', 'dimension_request', 'dimension_writing'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |