-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevents_example.json
More file actions
90 lines (90 loc) · 2.02 KB
/
events_example.json
File metadata and controls
90 lines (90 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"io_triggers": [
{
"name": "temperature_alarm",
"type": "value_threshold",
"endpoint": "kitchen.zigbee.temp_sensor.temperature.real",
"program": "cooling_program",
"priority": "critical",
"threshold": 30.0,
"threshold_rising": true,
"debounce_ms": 5000,
"enabled": true
},
{
"name": "door_sensor_changed",
"type": "input_changed",
"endpoint": "entrance.mesh.door_sensor.state.bool",
"program": "security_program",
"priority": "normal",
"debounce_ms": 1000,
"enabled": true
},
{
"name": "water_leak_offline",
"type": "input_offline",
"endpoint": "basement.wifi.leak_sensor.state.bool",
"program": "alert_program",
"priority": "critical",
"enabled": true
},
{
"name": "hvac_output_error",
"type": "output_error",
"endpoint": "living_room.zigbee.hvac.power.bool",
"program": "diagnostic_program",
"priority": "critical",
"enabled": true
}
],
"scheduled_triggers": [
{
"name": "morning_routine",
"program": "morning_startup",
"priority": "normal",
"schedule": {
"hour": 6,
"minute": 30,
"days": [1, 2, 3, 4, 5],
"months": []
},
"enabled": true
},
{
"name": "evening_lights",
"program": "evening_lighting",
"priority": "normal",
"schedule": {
"hour": 18,
"minute": 0,
"days": [],
"months": []
},
"enabled": true
},
{
"name": "weekly_maintenance",
"program": "maintenance_check",
"priority": "normal",
"schedule": {
"hour": 2,
"minute": 0,
"days": [7],
"months": []
},
"enabled": true
},
{
"name": "summer_cooling",
"program": "climate_control",
"priority": "normal",
"schedule": {
"hour": 12,
"minute": 0,
"days": [],
"months": [6, 7, 8]
},
"enabled": true
}
]
}