forked from advens/Z-Attack
-
Notifications
You must be signed in to change notification settings - Fork 6
/
sendData.py
28 lines (28 loc) · 1.48 KB
/
sendData.py
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
CmdClassToSend = {
"D - BATTERY_GET": "\x80\x02\x00\x86",
"D - SWITCH_ALL_GET": "\x27\x02\x00\x00",
"D - SENSOR_BINARY_GET": "\x30\x02\x00\x00",
"D - BASIC_GET": "\x20\x02\x00\x00",
"D - ALARM_GET": "\x71\x04\x00\x00",
"D - CONFIGURATION_GET": "\x70\x05\x01\x00",
"D - MANUFACTURER_GET": "\x72\x04\x00\x86",
"D - FUNC_QUERY": "\x01\x02\x00\x00",
"D - VERSION_GET": "\x86\x11\x00\x00",
"D - POWERLEVEL_GET": "\x73\x02\x00\x86",
"D - THERMOSTAT_MODE_GET (untested)": "\x40\x02\x00\x00",
"D - PROTECTION_GET": "\x75\x02\x00\x00",
"A - SWITCH_BINARY_SET_ON": "\x25\x01\xff\x00",
"A - SWITCH_BINARY_SET_OFF": "\x25\x01\x00\x00",
"A - SWITCH_BINARY_REPORT_ON": "\x25\x03\xff\x00",
"A - SWITCH_BINARY_REPORT_OFF": "\x25\x03\x00\x00",
"A - SECURITY_SchemeGet": "\x98\x04\x00\x00",
"A - SECURITY_NonceGet": "\x98\x40\x00\x00",
"A - SCENE_ACTIVATION_SET(BTN-1 zwave.me KEYFOB)": "\x2b\x01\x0b\xff",
"A - SCENE_ACTIVATION_SET(BTN-2 zwave.me KEYFOB)": "\x2b\x01\x15\xff",
"A - SCENE_ACTIVATION_SET(BTN-3 zwave.me KEYFOB)": "\x2b\x01\x1f\xff",
"A - SCENE_ACTIVATION_SET(BTN-4 zwave.me KEYFOB)": "\x2b\x01\x29\xff",
"A - SCENE_ACTIVATION_SET(BTN-1 AEON KEYFOB)": "\x2b\x01\x01\xff",
"A - SCENE_ACTIVATION_SET(BTN-2 AEON KEYFOB)": "\x2b\x01\x03\xff",
"A - SCENE_ACTIVATION_SET(BTN-3 AEON KEYFOB)": "\x2b\x01\x05\xff",
"A - SCENE_ACTIVATION_SET(BTN-4 AEON KEYFOB)": "\x2b\x01\x07\xff",
}