-
Notifications
You must be signed in to change notification settings - Fork 483
/
fuga_4button_battery_switch.json
95 lines (95 loc) · 2.09 KB
/
fuga_4button_battery_switch.json
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
91
92
93
94
95
{
"schema": "devcap1.schema.json",
"uuid": "6520f051-3aca-4197-8bb1-882398107fc9",
"manufacturername": ["Schneider Electric", "Schneider Electric"],
"modelid": ["FLS/AIRLINK/4", "FLS/SYSTEM-M/4"],
"product": "4 or 2 Button Switch wireless",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_SWITCH",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x15",
"0x0006"
],
"fingerprint": { "profile": "0x0104", "device": "0x000c", "endpoint": "0x15", "in": ["0x0000", "0x0001", "0x0006", "0x0008"] },
"items": [
{
"name": "config/battery",
"parse": {"ep": 21, "cl": "0x0001", "at": "0x0021", "eval": "Item.val = Attr.val / 2"},
"awake": true
},
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/buttonevent"
},
{
"name": "state/lastupdated"
}
]
}
],
"bindings": [
{
"bind": "unicast",
"src.ep": 21,
"cl": "0x0006"
},
{
"bind": "unicast",
"src.ep": 22,
"cl": "0x0006"
},
{
"bind": "unicast",
"src.ep": 21,
"cl": "0x0008"
},
{
"bind": "unicast",
"src.ep": 22,
"cl": "0x0008"
},
{
"bind": "unicast",
"src.ep": 21,
"cl": "0x0001",
"report": [ {"at": "0x0021", "dt": "0x20", "min": 300, "max": 3600, "change": "0x01" } ]
}
]
}