-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpypicode_example.output.txt
25 lines (21 loc) · 1.39 KB
/
pypicode_example.output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pypicode_example
PiCode library version: v1.4-817f1ec
String to decode: "c:011010100101011010100110101001100110010101100110101010101010101012;p:1400,600,6800@"
Decode string successful:
{
"protocols": [
{
"conrad_rsl_switch": {
"id": 1,
"unit": 2,
"state": "on"
}
}
]
}
JSON to encode: "{'arctech_switch': {'id': 92, 'unit': 0, 'on': 1}}"
Encode successful:
c:010002000200020002000200020002000200020002000200020002000200020002000200020002020000020200020002000002000200020200000200020002000203;p:315,2835,1260,10710;r:5@
Encode protocol: "arctech_switch" JSON data: "{'id': 92, 'unit': 0, 'on': 1}"
Encode successful:
pulses(132)=[315, 2835, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 1260, 315, 315, 315, 315, 315, 1260, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 1260, 315, 315, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 315, 315, 1260, 315, 10710]