-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrest_commands.yaml
122 lines (116 loc) · 3.87 KB
/
rest_commands.yaml
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
pipup_image_on_google_tv_streamer:
url: http://192.168.168.12:7979/notify
content_type: "application/json"
verify_ssl: false
method: "post"
timeout: 20
payload: >
{
"duration": {{ duration | default(20) }},
"position": {{ position | default(0) }},
"title": "{{ title | default('') }}",
"titleColor": "{{ titleColor | default('#50BFF2') }}",
"titleSize": {{ titleSize | default(10) }},
"message": "{{ message }}",
"messageColor": "{{ messageColor | default('#fbf5f5') }}",
"messageSize": {{ messageSize | default(14) }},
"backgroundColor": "{{ backgroundColor | default('#0f0e0e') }}",
"media": {
"image": {
"uri": "{{ url }}",
"width": {{ width | default(640) }}
}
}
}
pipup_url_on_google_tv_streamer:
url: http://192.168.168.12:7979/notify
content_type: "application/json"
verify_ssl: false
method: "post"
timeout: 20
payload: >
{
"duration": {{ duration | default(20) }},
"position": {{ position | default(0) }},
"title": "{{ title | default('') }}",
"titleColor": "{{ titleColor | default('#50BFF2') }}",
"titleSize": {{ titleSize | default(10) }},
"message": "{{ message }}",
"messageColor": "{{ messageColor | default('#fbf5f5') }}",
"messageSize": {{ messageSize | default(14) }},
"backgroundColor": "{{ backgroundColor | default('#0f0e0e') }}",
"media": {
"web": {
"uri": "{{ url }}",
"width": {{ width | default(640) }},
"height": {{ height | default(480) }}
}
}
}
pipup_image_on_google_tv:
url: http://192.168.168.11:7979/notify
content_type: "application/json"
verify_ssl: false
method: "post"
timeout: 20
payload: >
{
"duration": {{ duration | default(20) }},
"position": {{ position | default(0) }},
"title": "{{ title | default('') }}",
"titleColor": "{{ titleColor | default('#50BFF2') }}",
"titleSize": {{ titleSize | default(10) }},
"message": "{{ message }}",
"messageColor": "{{ messageColor | default('#fbf5f5') }}",
"messageSize": {{ messageSize | default(14) }},
"backgroundColor": "{{ backgroundColor | default('#0f0e0e') }}",
"media": {
"image": {
"uri": "{{ url }}",
"width": {{ width | default(640) }}
}
}
}
pipup_url_on_google_tv:
url: http://192.168.168.11:7979/notify
content_type: "application/json"
verify_ssl: false
method: "post"
timeout: 20
payload: >
{
"duration": {{ duration | default(20) }},
"position": {{ position | default(0) }},
"title": "{{ title | default('') }}",
"titleColor": "{{ titleColor | default('#50BFF2') }}",
"titleSize": {{ titleSize | default(10) }},
"message": "{{ message }}",
"messageColor": "{{ messageColor | default('#fbf5f5') }}",
"messageSize": {{ messageSize | default(14) }},
"backgroundColor": "{{ backgroundColor | default('#0f0e0e') }}",
"media": {
"web": {
"uri": "{{ url }}",
"width": {{ width | default(640) }},
"height": {{ height | default(480) }}
}
}
}
reload_google_sheets_weight:
url: http://192.168.168.168:8123/api/config/config_entries/entry/4bcb43c8e6f2f8104c4f5b04b9e0afa4/reload
method: POST
headers:
authorization: !secret api_bearer_token
content-type: application/json
reload_google_sheets_weight2:
url: http://192.168.168.168:8123/api/config/config_entries/entry/70169feef8a863b382a05cc09db71fb1/reload
method: POST
headers:
authorization: !secret api_bearer_token
content-type: application/json
reload_google_sheets_music:
url: http://192.168.168.168:8123/api/config/config_entries/entry/e878450630328624168726fe8e51d15d/reload
method: POST
headers:
authorization: !secret api_bearer_token
content-type: application/json