Skip to content

Instantly share code, notes, and snippets.

@alkis
Created October 26, 2024 14:00
Show Gist options
  • Save alkis/ffb10ce2c668b6f5fc1e4f18677edfe4 to your computer and use it in GitHub Desktop.
Save alkis/ffb10ce2c668b6f5fc1e4f18677edfe4 to your computer and use it in GitHub Desktop.
{
"version": 1,
"id": "75fe3c0c-2c6d-4bf6-b381-11b92199fa15",
"name": "date/time",
"description": "",
"logLevel": 0,
"enabled": true,
"multiRunStrategy": "parallel",
"orderNumber": 0,
"createdAt": "2024-10-26T15:20:11.507378617+02:00",
"updatedAt": "2024-10-26T15:56:17.54783028+02:00",
"triggerGroups": [
{
"id": "a82a8500-7e76-417e-8e3a-dcf6104f8e38",
"nextBlockID": "b3e1240f-fdb3-4c6b-8ece-751b4cfef250",
"triggers": [
{
"id": "a98d9174-1b37-458a-a439-746263bf9d97",
"type": "TriggerType_Cron",
"cron": "0 * * * * *"
}
]
}
],
"blocks": [
{
"id": "b3e1240f-fdb3-4c6b-8ece-751b4cfef250",
"type": "LogicBlockType_ActionGroup",
"nextBlockID": "",
"nextBlockIDOnError": "",
"onError": "Continue",
"actions": [
{
"id": "c9ff3a6b-61df-425b-816e-566cf5fffdf2",
"type": "ActionType_Device",
"deviceID": "knx-interactor",
"actions": [
{
"type": "ActionDeviceChangeType_SendCommand",
"endpointID": 1,
"clusterID": 64526,
"commandID": 65286,
"parameters": [
0,
2,
"0/0/3",
"CTX('time.year')",
"CTX('time.month')",
"CTX('time.day')",
"CTX('time.weekday')",
"CTX('time.hour')",
"CTX('time.minute')",
"CTX('time.second')",
false,
false,
true,
false,
false,
false,
false,
false,
true,
true
]
}
]
},
{
"id": "7a778a76-25e3-4769-9bef-a5ad9d0a7079",
"type": "ActionType_Device",
"deviceID": "knx-interactor",
"actions": [
{
"type": "ActionDeviceChangeType_SendCommand",
"endpointID": 1,
"clusterID": 64526,
"commandID": 64001,
"parameters": [
0,
2,
"0/0/1",
"CTX('time.weekday')",
"CTX('time.hour')",
"CTX('time.minute')",
"CTX('time.second')"
]
}
]
},
{
"id": "97621d5e-ea46-43cb-9020-118fd7aaa28e",
"type": "ActionType_Device",
"deviceID": "knx-interactor",
"actions": [
{
"type": "ActionDeviceChangeType_SendCommand",
"endpointID": 1,
"clusterID": 64526,
"commandID": 64257,
"parameters": [
0,
2,
"0/0/2",
"CTX('time.day')",
"CTX('time.month')",
"CTX('time.year')"
]
}
]
}
]
}
],
"importMetadata": {
"devices": [
{
"deviceID": "knx-interactor",
"deviceTypeID": 45056,
"backendType": "knx",
"name": "KNX Interactor",
"roomName": "Default"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment