-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLG Over Serial.json
More file actions
101 lines (101 loc) · 2.3 KB
/
LG Over Serial.json
File metadata and controls
101 lines (101 loc) · 2.3 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
91
92
93
94
95
96
97
98
99
100
101
{
"about": {
"name": "Serial Commands for LG TV",
"config_version": "2.2",
"author": "Mia Hanson"
},
"adapters": [
{
"model": "USB2Serial",
"com": "COM3",
"ports": [
{
"id": "lg_tv_serial",
"name": "Individual TV Power",
"settings": {
"baud_rate": 9600,
"flow_control": 0,
"parity": 0,
"data_bits": 8,
"stop_bits": 1
},
"methods": [
{
"id": "east_on",
"name": "East Power On",
"command": "ka 01 01\r",
"type": "action"
},
{
"id": "south_on",
"name": "South Power On",
"command": "ka 02 01\r",
"type": "action"
},
{
"id": "pillar_on",
"name": "Pillar Power On",
"command": "ka 03 01\r",
"type": "action"
},
{
"id": "east_off",
"name": "East Power Off",
"command": "ka 01 00\r",
"type": "action"
},
{
"id": "south_off",
"name": "South Power Off",
"command": "ka 02 00\r",
"type": "action"
},
{
"id": "pillar_off",
"name": "Pillar Power Off",
"command": "ka 03 00\r",
"type": "action"
}
]
}
]
}
],
"rules": {
"zr_meeting_started": [
"lg_tv_serial.east_on",
"lg_tv_serial.south_on",
"lg_tv_serial.pillar_on"
],
"zr_meeting_ended": [
"lg_tv_serial.east_off",
"lg_tv_serial.south_off",
"lg_tv_serial.pillar_off"
]
},
"scenes":[
{
"id":"all_on",
"name":"All TVs On",
"icon":"mdi:power:outlined",
"commands": [
"lg_tv_serial.east_on",
"lg_tv_serial.south_on",
"lg_tv_serial.pillar_on"
]
},
{
"id":"all_off",
"name":"All TVs off",
"icon":"mdi:power_off:outlined",
"commands": [
"lg_tv_serial.east_off",
"lg_tv_serial.south_off",
"lg_tv_serial.pillar_off"
]
}
],
"styles": [
"lg_tv_serial.icon=icon_power"
]
}