Examples
#Scenes
A one-byte group address (DPT 17.001) carries the scene number minus one. Each actuator channel stores its own preset. Scene 1 (Arrival) turns on L1 and L2 and opens the shutter; scene 2 (Departure) switches off the lights and closes the shutter.
<bus-diagram>
<script type="application/json">
{
"formatVersion": 2,
"title": "Scenes",
"description": "One one-byte group address (DPT 17.001) carries the scene number. Each actuator stores the state to apply for each channel. The transmitted bus value is the scene number minus one.",
"lines": [{ "address": "1.1", "name": "Example line" }],
"groupAddresses": [{ "address": "3/1/1", "name": "Living-room scenes", "dpt": "17.001" }],
"devices": [
{
"id": "pushButton",
"name": "Push-button",
"address": "1.1.1",
"kind": "pushButton",
"behavior": "pushButton/v1",
"objects": [
{
"id": "arrival",
"name": "Key 1 Arrival",
"ga": "3/1/1",
"dpt": "17.001",
"port": "input",
"flags": { "W": true, "T": true }
},
{
"id": "departure",
"name": "Key 2 Departure",
"ga": "3/1/1",
"dpt": "17.001",
"port": "input",
"flags": { "W": true, "T": true }
}
],
"buttons": [
{
"id": "button-0",
"label": "Key 1",
"icon": "scene",
"press": { "object": "arrival", "value": 0 }
},
{ "id": "button-1", "label": "Key 2", "press": { "object": "departure", "value": 1 } }
]
},
{
"id": "switchActuator",
"name": "Four-output switching actuator",
"address": "1.1.2",
"kind": "switchActuator",
"behavior": "switchActuator/v1",
"description": "Scene 1 (Arrival) turns on L1 and L2. Scene 2 (Departure) turns everything off.",
"objects": [
{
"id": "sc",
"name": "Scene",
"ga": "3/1/1",
"dpt": "17.001",
"port": "scene",
"flags": { "W": true, "T": false }
}
],
"channels": [
{ "id": "s1", "label": "L1", "equipment": { "type": "lamp" }, "scenes": { "1": 1, "2": 0 } },
{ "id": "s2", "label": "L2", "equipment": { "type": "lamp" }, "scenes": { "1": 1, "2": 0 } },
{ "id": "s3", "label": "L3", "equipment": { "type": "lamp" }, "scenes": { "1": 0, "2": 0 } },
{ "id": "s4", "label": "L4", "equipment": { "type": "lamp" }, "scenes": { "1": 0, "2": 0 } }
]
},
{
"id": "shutterActuator",
"name": "Shutter actuator",
"address": "1.1.3",
"kind": "shutterActuator",
"behavior": "shutterActuator/v1",
"description": "Scene 1 (Arrival) opens the shutter. Scene 2 (Departure) closes it.",
"objects": [
{
"id": "sc",
"name": "Scene",
"ga": "3/1/1",
"dpt": "17.001",
"port": "scene",
"channel": "shutter1",
"flags": { "W": true, "T": false }
}
],
"channels": [
{
"id": "shutter1",
"label": "Shutter 1",
"parameters": { "estimatedTravelTimeMs": 10000 },
"equipment": { "type": "shutter", "parameters": { "actualTravelTimeMs": 10000 } },
"scenes": { "1": 0, "2": 100 }
}
]
}
],
"options": { "speed": 1, "filterTables": false }
}
</script>
</bus-diagram>{
"formatVersion": 2,
"title": "Scenes",
"description": "One one-byte group address (DPT 17.001) carries the scene number. Each actuator stores the state to apply for each channel. The transmitted bus value is the scene number minus one.",
"lines": [{ "address": "1.1", "name": "Example line" }],
"groupAddresses": [{ "address": "3/1/1", "name": "Living-room scenes", "dpt": "17.001" }],
"devices": [
{
"id": "pushButton",
"name": "Push-button",
"address": "1.1.1",
"kind": "pushButton",
"behavior": "pushButton/v1",
"objects": [
{
"id": "arrival",
"name": "Key 1 Arrival",
"ga": "3/1/1",
"dpt": "17.001",
"port": "input",
"flags": { "W": true, "T": true }
},
{
"id": "departure",
"name": "Key 2 Departure",
"ga": "3/1/1",
"dpt": "17.001",
"port": "input",
"flags": { "W": true, "T": true }
}
],
"buttons": [
{
"id": "button-0",
"label": "Key 1",
"icon": "scene",
"press": { "object": "arrival", "value": 0 }
},
{ "id": "button-1", "label": "Key 2", "press": { "object": "departure", "value": 1 } }
]
},
{
"id": "switchActuator",
"name": "Four-output switching actuator",
"address": "1.1.2",
"kind": "switchActuator",
"behavior": "switchActuator/v1",
"description": "Scene 1 (Arrival) turns on L1 and L2. Scene 2 (Departure) turns everything off.",
"objects": [
{
"id": "sc",
"name": "Scene",
"ga": "3/1/1",
"dpt": "17.001",
"port": "scene",
"flags": { "W": true, "T": false }
}
],
"channels": [
{ "id": "s1", "label": "L1", "equipment": { "type": "lamp" }, "scenes": { "1": 1, "2": 0 } },
{ "id": "s2", "label": "L2", "equipment": { "type": "lamp" }, "scenes": { "1": 1, "2": 0 } },
{ "id": "s3", "label": "L3", "equipment": { "type": "lamp" }, "scenes": { "1": 0, "2": 0 } },
{ "id": "s4", "label": "L4", "equipment": { "type": "lamp" }, "scenes": { "1": 0, "2": 0 } }
]
},
{
"id": "shutterActuator",
"name": "Shutter actuator",
"address": "1.1.3",
"kind": "shutterActuator",
"behavior": "shutterActuator/v1",
"description": "Scene 1 (Arrival) opens the shutter. Scene 2 (Departure) closes it.",
"objects": [
{
"id": "sc",
"name": "Scene",
"ga": "3/1/1",
"dpt": "17.001",
"port": "scene",
"channel": "shutter1",
"flags": { "W": true, "T": false }
}
],
"channels": [
{
"id": "shutter1",
"label": "Shutter 1",
"parameters": { "estimatedTravelTimeMs": 10000 },
"equipment": { "type": "shutter", "parameters": { "actualTravelTimeMs": 10000 } },
"scenes": { "1": 0, "2": 100 }
}
]
}
],
"options": { "speed": 1, "filterTables": false }
}